X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70175534bf8e76514ebaf878b327c2fee3f8525f..bfa78c63b9045c2a594ca6f04dc26a70c21f5f42:/include/wx/taskbar.h

diff --git a/include/wx/taskbar.h b/include/wx/taskbar.h
index 8f6b9d9e3c..9051344aa3 100644
--- a/include/wx/taskbar.h
+++ b/include/wx/taskbar.h
@@ -27,7 +27,7 @@ enum wxTaskBarIconType
 {
     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