X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1111cedc6a23b41737d84f8530aa8df898cbddc5..3a5bcc4db0851bf8cd3063917511b0b17c7f9679:/src/gtk/toplevel.cpp?ds=sidebyside diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 4153c61a48..b4a0ed8489 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -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 );