X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d788b830c9653eaabcda82ef226d0a099e31552..33ef0bdb1f177245425428b0c5d46786b8b66825:/src/gtk/minifram.cpp?ds=sidebyside diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index b84b537ef2..a452992cc8 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -354,6 +354,9 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title m_gdkFunc = 0; if (style & wxRESIZE_BORDER) m_gdkFunc = GDK_FUNC_RESIZE; + gtk_window_set_default_size(GTK_WINDOW(m_widget), m_width, m_height); + m_decorSize.Set(0, 0); + m_deferShow = false; // don't allow sizing smaller than decorations GdkGeometry geom;