X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bce6aec996f0e9da49963af7183f7bc9cd1fca3..64d315544fe5ebe0a22297ff340a99e63230415f:/src/gtk1/listbox.cpp diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index bca38181d5..eb2a1cd5f2 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -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) );