]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/taskbar.h
support SDK < 10.6, fixes #14902
[wxWidgets.git] / include / wx / taskbar.h
index 8f6b9d9e3c509b591126b558899eec0afa72a6c7..9051344aa34460a5c7e05540707de5a34eaa9800 100644 (file)
@@ -27,7 +27,7 @@ enum wxTaskBarIconType
 {
     wxTBI_DOCK,
     wxTBI_CUSTOM_STATUSITEM,
 {
     wxTBI_DOCK,
     wxTBI_CUSTOM_STATUSITEM,
-#if wxOSX_USE_COCOA
+#if defined(wxOSX_USE_COCOA) && wxOSX_USE_COCOA
     wxTBI_DEFAULT_TYPE = wxTBI_CUSTOM_STATUSITEM
 #else
     wxTBI_DEFAULT_TYPE = wxTBI_DOCK
     wxTBI_DEFAULT_TYPE = wxTBI_CUSTOM_STATUSITEM
 #else
     wxTBI_DEFAULT_TYPE = wxTBI_DOCK