X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdcfde5d20f9dfdef75984802862924a68cdc2e1..e0dec8753abaf97e006ea1185bfb6775b28df0a8:/samples/taskbar/tbtest.h diff --git a/samples/taskbar/tbtest.h b/samples/taskbar/tbtest.h index df54f38dcf..6c08b2ef87 100644 --- a/samples/taskbar/tbtest.h +++ b/samples/taskbar/tbtest.h @@ -12,7 +12,7 @@ class MyTaskBarIcon : public wxTaskBarIcon { public: -#if defined(__WXCOCOA__) +#if defined(__WXOSX__) && wxOSX_USE_COCOA MyTaskBarIcon(wxTaskBarIconType iconType = DEFAULT_TYPE) : wxTaskBarIcon(iconType) #else @@ -53,7 +53,7 @@ protected: void OnCloseWindow(wxCloseEvent& event); MyTaskBarIcon *m_taskBarIcon; -#if defined(__WXCOCOA__) +#if defined(__WXOSX__) && wxOSX_USE_COCOA MyTaskBarIcon *m_dockIcon; #endif