]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/iphone/chkconf.h
Add wxString::ToStdString() and ToStdWstring().
[wxWidgets.git] / include / wx / osx / iphone / chkconf.h
index 72068e693ef7cd665454f608c768577d5ade28a3..dd53b32f50ca0f1b3395e9aaa607de5af99fbf3c 100644 (file)
@@ -25,7 +25,7 @@
 #define wxHAS_OPENGL_ES
 
 #define wxOSX_USE_QUICKTIME 0
-#define wXOSX_USE_AUDIOTOOLBOX 1
+#define wxOSX_USE_AUDIOTOOLBOX 1
 
 /*
  * turning off capabilities that don't work under iphone yet
 #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_ */