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:
@@ -275,7 +275,7 @@ void wxNonOwnedWindowIPhoneImpl::Maximize(bool maximize)
|
|||||||
{
|
{
|
||||||
if ( maximize )
|
if ( maximize )
|
||||||
{
|
{
|
||||||
CGRect r = [[UIScreen mainScreen] applicationFrame];
|
CGRect r = [[UIScreen mainScreen] bounds];
|
||||||
[m_macWindow setFrame:r];
|
[m_macWindow setFrame:r];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user