]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/combobox.cpp
Bit fiddling.
[wxWidgets.git] / src / gtk1 / combobox.cpp
index 1b72045d739d4c49f7316dc336938e2fee44f063..ebc9849d38424dd516f93eb3dc811ce3ab2965be 100644 (file)
@@ -93,6 +93,10 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id, const wxString& value,
       GTK_SIGNAL_FUNC(gtk_combo_clicked_callback), (gpointer)this );
   }
   
+  m_parent->AddChild( this );
+
+  (m_parent->m_insertCallback)( m_parent, this );
+  
   PostCreation();
 
   ConnectWidget( GTK_COMBO(m_widget)->button );