From 3a4cf8a84d9a41c63125c1c1cdd6d0fbb98f41f0 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 19 Aug 2013 17:25:56 +0000 Subject: [PATCH] Remove DoSetSizeHints() call from Create() The reason it was added does not seem to be reproducible anymore, and it interferes with wxRESIZE_BORDER on Ubuntu. Closes #14870 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/toplevel.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 2ef53b9aa7..9e2a4176f9 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -749,9 +749,6 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent, gtk_window_set_policy(GTK_WINDOW(m_widget), 1, 1, 1); #endif - // GTK sometimes chooses very small size if max size hint is not explicitly set - DoSetSizeHints(m_minWidth, m_minHeight, m_maxWidth, m_maxHeight, m_incWidth, m_incHeight); - m_decorSize = GetCachedDecorSize(); int w, h; GTKDoGetSize(&w, &h); -- 2.47.2