X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdcfde5d20f9dfdef75984802862924a68cdc2e1..b640fa17f3359e2766232e5dae3922de28236bde:/samples/taskbar/tbtest.h 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