X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdcfde5d20f9dfdef75984802862924a68cdc2e1..89b3361ec25cf1e6d255b14c7633d8375646e4fb:/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