]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/taskbar/tbtest.h
Fix testing for existence of paths with trailing separators in wxMSW.
[wxWidgets.git] / samples / taskbar / tbtest.h
index df54f38dcfdd917c14cfbfa08a835e5ff9a0dd44..6c08b2ef87ee58d1dc31e64c6af53645e743e536 100644 (file)
@@ -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