fixing toplevel position

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-01-26 15:55:20 +00:00
parent 1cea736e03
commit 516e9d1335

View 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];
}
}