]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
Use gtk_init_check instead of gtk_init so that we can racefully exit
[wxWidgets.git] / src / gtk / toplevel.cpp
index 4153c61a48d560946e55494fdcd7c049c4ded1fd..b4a0ed8489592ba1856e716e9705b6fa0d14a76f 100644 (file)
@@ -328,7 +328,7 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
     // least for MSW compatibility)
     wxSize size = sizeOrig;
     size.x = WidthDefault(size.x);
-    size.y = WidthDefault(size.y);
+    size.y = HeightDefault(size.y);
 
     wxTopLevelWindows.Append( this );