X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f6f938f3ae351311188f4d95124d51bf44e0f75..e970653a2d44003d5a21171a27707341771c5c4c:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 0fb03dc36a..f295daac11 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -158,6 +158,7 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value, m_focusWidget = combo->entry; PostCreation(); + InheritAttributes(); ConnectWidget( combo->button ); @@ -190,9 +191,6 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value, gtk_widget_set_usize( m_widget, new_size.x, new_size.y ); } - SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) ); - SetForegroundColour( parent->GetForegroundColour() ); - Show( TRUE ); return TRUE;