Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
cutecode
Super wx Problem Solver
Posts: 427 Joined: Fri Dec 09, 2016 7:28 am
Contact:
Post
by cutecode » Mon Feb 10, 2020 3:55 pm
Code: Select all
#include <wx/notifmsg.h>
void GrvSvrDialog::showbaloon(wxString szTitle, wxString szMessage)
{
#if defined(__WXMSW__) && wxUSE_TASKBARICON_BALLOONS
m_taskBarIcon->ShowBalloon(szTitle, szMessage, 10000, wxICON_INFORMATION);
#else
wxGenericNotificationMessage nmsg(szTitle, szMessage, this, wxICON_INFORMATION);
nmsg.Show(10);
#endif // __WXMSW__/!__WXMSW__
}
|error: unknown type name 'wxGenericNotificationMessage'; did you mean 'wxNotificationMessage'?|
ONEEYEMAN
Part Of The Furniture
Posts: 7479 Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine
Post
by ONEEYEMAN » Mon Feb 10, 2020 4:15 pm
Hi,
Did you include an appropriate header from the "wx/generic" folder?
Thank you.
cutecode
Super wx Problem Solver
Posts: 427 Joined: Fri Dec 09, 2016 7:28 am
Contact:
Post
by cutecode » Mon Feb 10, 2020 4:27 pm
thank you