]> git.saurik.com Git - wxWidgets.git/commitdiff
on iPhone default is to cover entire screen
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 21 Sep 2009 13:11:26 +0000 (13:11 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 21 Sep 2009 13:11:26 +0000 (13:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/toplvcmn.cpp

index 9a6688dd4e26f11ed9d555d9732e10ca0362b45f..c45dd1d55ed0388b2ca09481cafa698bb488bfbc 100644 (file)
@@ -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;
 }