]> git.saurik.com Git - wxWidgets.git/commitdiff
allow arbitrary positions for toplevel windows (also initially off-screen )
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 9 Nov 2004 08:02:40 +0000 (08:02 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 9 Nov 2004 08:02:40 +0000 (08:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp

index c4914ac596a486242fbf70985ac4ee284af73bd2..a794c8077a97fb7a70162569e2faee6c6221cf52 100644 (file)
@@ -948,10 +948,6 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
 
     int x = (int)pos.x;
     int y = (int)pos.y;
-    if ( y < 50 )
-        y = 50 ;
-    if ( x < 20 )
-        x = 20 ;
 
     int w = WidthDefault(size.x);
     int h = HeightDefault(size.y);