]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/combobox.cpp
1.
[wxWidgets.git] / src / gtk1 / combobox.cpp
index 0fb03dc36a270e5cb0e8174c043f94da11e1b032..f295daac11ac6cbabc4a3f649beb6808a66030e2 100644 (file)
@@ -158,6 +158,7 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
     m_focusWidget = combo->entry;
 
     PostCreation();
     m_focusWidget = combo->entry;
 
     PostCreation();
+    InheritAttributes();
 
     ConnectWidget( combo->button );
 
 
     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 );
     }
 
         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;
     Show( TRUE );
 
     return TRUE;