Fix wxComboBox entry sizing with GTK+ >= 3.20, see #17852
This commit is contained in:
parent
bde5e535dc
commit
a03c2ef4e0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user