From: Stefan Csomor Date: Sat, 12 Dec 2009 14:01:28 +0000 (+0000) Subject: rearranging contentview, adding toolbar X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/98040646309346e375e05ff923baada721618ab2?ds=inline rearranging contentview, adding toolbar git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/osx/iphone/chkconf.h b/include/wx/osx/iphone/chkconf.h index 5810f71859..dd53b32f50 100644 --- a/include/wx/osx/iphone/chkconf.h +++ b/include/wx/osx/iphone/chkconf.h @@ -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_ */ diff --git a/include/wx/osx/iphone/private.h b/include/wx/osx/iphone/private.h index fa5cbd5f14..4faad3d7bf 100644 --- a/include/wx/osx/iphone/private.h +++ b/include/wx/osx/iphone/private.h @@ -195,6 +195,12 @@ protected : @end + @interface wxUIView : UIView + { + } + + @end // wxUIView + void WXDLLIMPEXP_CORE wxOSXIPhoneClassAddWXMethods(Class c); #endif