X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f5cf9cc23f7763e9ee7984b171bb4b6a3ce3ffb..0d045709bcd64c28a155a2a9fb29d95f56a0ff7b:/src/gtk/control.cpp diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index 9641245f39..f940e07bdb 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/control.cpp @@ -82,7 +82,7 @@ void wxControl::PostCreation(const wxSize& size) gtk_widget_ensure_style(m_widget); ApplyWidgetStyle(); - SetInitialBestSize(size); + SetInitialSize(size); } // ----------------------------------------------------------------------------