X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e16d05a284b8e032211fad9b6556f824d26853d..e3ab69523b78d79752943ab6d044c334045a1e57:/include/wx/osx/iphone/chkconf.h diff --git a/include/wx/osx/iphone/chkconf.h b/include/wx/osx/iphone/chkconf.h index 72068e693e..dd53b32f50 100644 --- a/include/wx/osx/iphone/chkconf.h +++ b/include/wx/osx/iphone/chkconf.h @@ -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 @@ -120,10 +120,8 @@ #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 @@ -292,6 +290,13 @@ #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_ */