on iPhone default is to cover entire screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
aa308c95fe
commit
3ec9ba039f
@ -202,7 +202,7 @@ void wxTopLevelWindowBase::GetRectForTopLevelChildren(int *x, int *y, int *w, in
|
||||
wxSize wxTopLevelWindowBase::GetDefaultSize()
|
||||
{
|
||||
wxSize size = wxGetClientDisplayRect().GetSize();
|
||||
|
||||
#ifndef __WXOSX_IPHONE__
|
||||
// create proportionally bigger windows on small screens
|
||||
if ( size.x >= 1024 )
|
||||
size.x = 400;
|
||||
@ -218,7 +218,7 @@ wxSize wxTopLevelWindowBase::GetDefaultSize()
|
||||
size.y *= 2;
|
||||
size.y /= 3;
|
||||
}
|
||||
|
||||
#endif
|
||||
return size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user