]> git.saurik.com Git - wxWidgets.git/commitdiff
Avoid warning
authorJulian Smart <julian@anthemion.co.uk>
Thu, 8 Jul 2010 13:32:34 +0000 (13:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 8 Jul 2010 13:32:34 +0000 (13:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/iphone/chkconf.h

index c4ddcfd1f2a66f8c38e02ee54e60729fbf1d2131..7b55544335a73c80b895a16f4d61982a9e585bd8 100644 (file)
 
 // iphone has a toolbar that is a regular UIView
 
+#ifdef wxOSX_USE_NATIVE_TOOLBAR
 #if wxOSX_USE_NATIVE_TOOLBAR
 #undef wxOSX_USE_NATIVE_TOOLBAR
 #define wxOSX_USE_NATIVE_TOOLBAR 0
 #endif
+#else
+#define wxOSX_USE_NATIVE_TOOLBAR 0
+#endif
 
 #if wxUSE_RIBBON
 #undef wxUSE_RIBBON