allow arbitrary positions for toplevel windows (also initially off-screen )

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-11-09 08:02:40 +00:00
parent f71bb8efc3
commit ed2c31509f

View 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);