From 1104248bb5a714ab62fd16aba03d8f330977c29b Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 20 Apr 2012 15:34:24 +0000 Subject: [PATCH] silence warning about wxOSX_USE_COCOA not being defined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/taskbar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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