diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index eec3845ec1..414ecd652f 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -545,16 +545,10 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent, wxWindowID id, const wxString& title, const wxPoint& pos, - const wxSize& sizeOrig, + const wxSize& size, long style, const wxString &name ) { - // always create a frame of some reasonable, even if arbitrary, size (at - // least for MSW compatibility) - wxSize size = sizeOrig; - size.x = WidthDefault(size.x); - size.y = HeightDefault(size.y); - wxTopLevelWindows.Append( this ); if (!PreCreation( parent, pos, size ) ||