OSX wxGenericNotificationMessage not found Topic is solved

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.
Post Reply
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 327
Joined: Fri Dec 09, 2016 7:28 am
Contact:

OSX wxGenericNotificationMessage not found

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'?|
wx 3.1.4 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 4160
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: OSX wxGenericNotificationMessage not found

Post by ONEEYEMAN » Mon Feb 10, 2020 4:15 pm

Hi,
Did you include an appropriate header from the "wx/generic" folder?

Thank you.

User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 327
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: OSX wxGenericNotificationMessage not found

Post by cutecode » Mon Feb 10, 2020 4:27 pm

thank you
wx 3.1.4 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru

Post Reply