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:
@@ -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
|
||||
|
Reference in New Issue
Block a user