]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/iphone/chkconf.h
Use wxMenuBar::Attach/Detach() instead of SetInvokingWindow() in wxGTK1.
[wxWidgets.git] / include / wx / osx / iphone / chkconf.h
index 5810f718593106c2a6683995ea32f91cb1bdb0ed..dd53b32f50ca0f1b3395e9aaa607de5af99fbf3c 100644 (file)
 #define wxUSE_RADIOBOX 0
 #define wxUSE_TOGGLEBTN 0
 
-#undef wxUSE_TOOLBAR
 #undef wxUSE_HTML
 
-#define wxUSE_TOOLBAR 0
 #define wxUSE_HTML 0
 
 #undef wxUSE_RICHTEXT
 #define wxUSE_COLOURDLG 0
 #endif // wxUSE_COLOURDLG
 
+// iphone has a toolbar that is a regular UIView
+
+#if wxOSX_USE_NATIVE_TOOLBAR
+#undef wxOSX_USE_NATIVE_TOOLBAR
+#define wxOSX_USE_NATIVE_TOOLBAR 0
+#endif
+
 #endif
     /* _WX_OSX_IPHONE_CHKCONF_H_ */