]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove DoSetSizeHints() call from Create()
authorPaul Cornett <paulcor@bullseye.com>
Mon, 19 Aug 2013 17:25:56 +0000 (17:25 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 19 Aug 2013 17:25:56 +0000 (17:25 +0000)
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

index 2ef53b9aa709c2c0e55f2259ac9ccb49dd1fdb6d..9e2a4176f94abb4481ce305c98b401e63459592a 100644 (file)
@@ -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);