X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c61605ef505305c14b12169436bf36a01da10951..29188693b3b8ba4b07762df012cc652d421dae79:/src/osx/iphone/nonownedwnd.mm diff --git a/src/osx/iphone/nonownedwnd.mm b/src/osx/iphone/nonownedwnd.mm index 87018de7b8..9c14e09ac3 100644 --- a/src/osx/iphone/nonownedwnd.mm +++ b/src/osx/iphone/nonownedwnd.mm @@ -335,7 +335,11 @@ wxWidgetImpl* wxWidgetImpl::CreateContentView( wxNonOwnedWindow* now ) wxUIContentView* contentview = [[wxUIContentView alloc] initWithFrame:( fullscreen ? frame : appframe ) ]; contentview.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; wxUIContentViewController* controller = [[wxUIContentViewController alloc] initWithNibName:nil bundle:nil]; + +#ifdef __IPHONE_3_0 controller.wantsFullScreenLayout = fullscreen; +#endif + controller.view = contentview; [contentview release]; [contentview setController:controller];