From 29ae3766ccb6076cf5e875f35ce137905ceb6f79 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 21 Nov 2007 06:40:25 +0000 Subject: [PATCH] fix for AUI pane shrinking each time it is floated git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/minifram.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index cfbd40bae0..e0fa77f064 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -366,6 +366,9 @@ 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); + if (m_parent && (GTK_IS_WINDOW(m_parent->m_widget))) { gtk_window_set_transient_for( GTK_WINDOW(m_widget), GTK_WINDOW(m_parent->m_widget) ); -- 2.45.2