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
This commit is contained in:
Paul Cornett 2013-08-19 17:25:56 +00:00
parent ef1a87f606
commit 3a4cf8a84d

View 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);