X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2012fa63905c4b1e2a144a56e48097a46e3f3e1..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/samples/taskbar/tbtest.cpp?ds=sidebyside diff --git a/samples/taskbar/tbtest.cpp b/samples/taskbar/tbtest.cpp index d8934e9a6e..c31128f06b 100644 --- a/samples/taskbar/tbtest.cpp +++ b/samples/taskbar/tbtest.cpp @@ -29,7 +29,7 @@ #endif // the application icon (under Windows and OS/2 it is in resources) -#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXX11__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -138,7 +138,7 @@ MyDialog::MyDialog(const wxString& title) } #if defined(__WXOSX__) && wxOSX_USE_COCOA - m_dockIcon = new MyTaskBarIcon(wxTaskBarIcon::DOCK); + m_dockIcon = new MyTaskBarIcon(wxTBI_DOCK); if ( !m_dockIcon->SetIcon(wxICON(sample)) ) { wxLogError(wxT("Could not set icon."));