From 7304f3850d4c38512908c437e1659f3ba87810b6 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 8 Jul 2010 13:32:34 +0000 Subject: [PATCH] Avoid warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/iphone/chkconf.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/osx/iphone/chkconf.h b/include/wx/osx/iphone/chkconf.h index c4ddcfd1f2..7b55544335 100644 --- a/include/wx/osx/iphone/chkconf.h +++ b/include/wx/osx/iphone/chkconf.h @@ -284,10 +284,14 @@ // 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