Fix wxComboBox entry sizing with GTK+ >= 3.20, see #17852

This commit is contained in:
Paul Cornett 2017-07-16 09:09:06 -07:00
parent bde5e535dc
commit a03c2ef4e0

View File

@ -153,6 +153,9 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
!HasFlag(wxTE_PROCESS_ENTER) );
gtk_editable_set_editable(GTK_EDITABLE(entry), true);
#ifdef __WXGTK3__
gtk_entry_set_width_chars(entry, 0);
#endif
}
Append(n, choices);