]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/toplevel.cpp
don't use wxFileConfig to parse kdeglobals, it's not meant for such use. Fixes bug...
[wxWidgets.git] / src / gtk1 / 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 );