X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01470e37412f2ddb1375f888d1d70b41de8d38b6..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/osx/iphone/nonownedwnd.mm diff --git a/src/osx/iphone/nonownedwnd.mm b/src/osx/iphone/nonownedwnd.mm index 1d73fd09ed..2f10c57c35 100644 --- a/src/osx/iphone/nonownedwnd.mm +++ b/src/osx/iphone/nonownedwnd.mm @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/osx/cocoa/nonownedwnd.mm +// Name: src/osx/iphone/nonownedwnd.mm // Purpose: non owned window for iphone // Author: Stefan Csomor // Modified by: // Created: 2008-06-20 -// RCS-ID: $Id: nonownedwnd.mm 48805 2007-09-19 14:52:25Z SC $ +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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]; } }