Maximize for iPhone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-01-26 07:42:33 +00:00
parent 554b2800c6
commit 01470e3741

View File

@@ -273,6 +273,11 @@ void wxNonOwnedWindowIPhoneImpl::Iconize( bool iconize )
void wxNonOwnedWindowIPhoneImpl::Maximize(bool maximize)
{
if ( maximize )
{
CGRect r = [[UIScreen mainScreen] applicationFrame];
[m_macWindow setFrame:r];
}
}
bool wxNonOwnedWindowIPhoneImpl::IsFullScreen() const