summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4e8d90a)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64855
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
* turning off capabilities that don't work under iphone yet
*/
* turning off capabilities that don't work under iphone yet
*/
+#if wxUSE_MIMETYPE
+#undef wxUSE_MIMETYPE
+#define wxUSE_MIMETYPE 0
+#endif
+
#if wxUSE_MDI
#undef wxUSE_MDI
#define wxUSE_MDI 0
#if wxUSE_MDI
#undef wxUSE_MDI
#define wxUSE_MDI 0
wxUIContentView* contentview = [[wxUIContentView alloc] initWithFrame:( fullscreen ? frame : appframe ) ];
contentview.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
wxUIContentViewController* controller = [[wxUIContentViewController alloc] initWithNibName:nil bundle:nil];
wxUIContentView* contentview = [[wxUIContentView alloc] initWithFrame:( fullscreen ? frame : appframe ) ];
contentview.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
wxUIContentViewController* controller = [[wxUIContentViewController alloc] initWithNibName:nil bundle:nil];
controller.wantsFullScreenLayout = fullscreen;
controller.wantsFullScreenLayout = fullscreen;
controller.view = contentview;
[contentview release];
[contentview setController:controller];
controller.view = contentview;
[contentview release];
[contentview setController:controller];
switch ( [[UIApplication sharedApplication] statusBarStyle] )
{
switch ( [[UIApplication sharedApplication] statusBarStyle] )
{
case UIStatusBarStyleBlackOpaque:
toolbar.barStyle = UIBarStyleBlack;
break;
case UIStatusBarStyleBlackOpaque:
toolbar.barStyle = UIBarStyleBlack;
break;
toolbar.barStyle = UIBarStyleBlack;
toolbar.translucent = YES;
break;
toolbar.barStyle = UIBarStyleBlack;
toolbar.translucent = YES;
break;
default:
toolbar.barStyle = UIBarStyleDefault;
break;
default:
toolbar.barStyle = UIBarStyleDefault;
break;