X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ddd5387387e8af9a38eff1a516687a698a71b2b7..2d499dbbb3c618b53e92f230ca88e6618856b634:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 1f39a8f9ad..936f383894 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -378,7 +378,7 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value, // gtk_widget_set_size_request( m_widget, setsize.x, setsize.y ); } - SetBestSize(size); // need this too because this is a wxControlWithItems + SetInitialSize(size); // need this too because this is a wxControlWithItems return true;