X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d6a9fdd13ab25f0ac7c54a3ec8098f8b5c1d118..7fcdf88f88a44faacadc5f8b03a8bda28694ea08:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index d8746af217..627a4e3489 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -219,6 +219,11 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value, // and case-sensitive gtk_combo_set_case_sensitive( GTK_COMBO(m_widget), TRUE ); +#ifdef __WXGTK20__ + if (style & wxNO_BORDER) + g_object_set( GTK_ENTRY( combo->entry ), "has-frame", FALSE, NULL ); +#endif + GtkWidget *list = GTK_COMBO(m_widget)->list; #ifndef __WXGTK20__