]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
Bit fiddling.
[wxWidgets.git] / src / gtk1 / listbox.cpp
index bca38181d53126a97ffac0e31d8735c4ae188764..eb2a1cd5f2ac925a5c2a70b280ca883ea579f44d 100644 (file)
@@ -121,6 +121,10 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
     gtk_widget_show( list_item );
   }
 
+  m_parent->AddChild( this );
+
+  (m_parent->m_insertCallback)( m_parent, this );
+  
   PostCreation();
 
   gtk_widget_realize( GTK_WIDGET(m_list) );