X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/gtk/minifram.cpp diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index 9febe6584f..ed003a902c 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -347,10 +347,6 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title if (style & wxRESIZE_BORDER) m_gdkFunc = GDK_FUNC_RESIZE; - // need to reset default size after changing m_gdkDecor - gtk_window_set_default_size(GTK_WINDOW(m_widget), m_width, m_height); - m_decorSize.Set(0, 0); - // don't allow sizing smaller than decorations GdkGeometry geom; geom.min_width = 2 * m_miniEdge;