X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdcfde5d20f9dfdef75984802862924a68cdc2e1..f155075229d771430f0793700f5048ad4be00e9d:/samples/taskbar/tbtest.h?ds=sidebyside diff --git a/samples/taskbar/tbtest.h b/samples/taskbar/tbtest.h index df54f38dcf..d667df9186 100644 --- a/samples/taskbar/tbtest.h +++ b/samples/taskbar/tbtest.h @@ -12,8 +12,8 @@ class MyTaskBarIcon : public wxTaskBarIcon { public: -#if defined(__WXCOCOA__) - MyTaskBarIcon(wxTaskBarIconType iconType = DEFAULT_TYPE) +#if defined(__WXOSX__) && wxOSX_USE_COCOA + MyTaskBarIcon(wxTaskBarIconType iconType = wxTBI_DEFAULT_TYPE) : wxTaskBarIcon(iconType) #else MyTaskBarIcon() @@ -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