]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing toplevel position
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 26 Jan 2011 15:55:20 +0000 (15:55 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 26 Jan 2011 15:55:20 +0000 (15:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/iphone/nonownedwnd.mm

index 1d73fd09ed63f3c2cbaa4a2ee898f89c5f499137..36c80695b481200dc8824fb1aeffec44bccf6076 100644 (file)
@@ -275,7 +275,7 @@ void wxNonOwnedWindowIPhoneImpl::Maximize(bool maximize)
 {
     if ( maximize )
     {
-        CGRect r = [[UIScreen mainScreen] applicationFrame];
+        CGRect r = [[UIScreen mainScreen] bounds];
         [m_macWindow setFrame:r];
     }
 }