#endif
// the application icon (under Windows and OS/2 it is in resources)
-#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) || defined(__WXX11__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
}
#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."));