X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32e9da8bfaafe4f462f7473a7e11e3387847e121..41dee9d0ce93989c03848ebd7fc21fb402d4c247:/src/gtk1/tbargtk.cpp?ds=sidebyside diff --git a/src/gtk1/tbargtk.cpp b/src/gtk1/tbargtk.cpp index 5af767a335..27f465108c 100644 --- a/src/gtk1/tbargtk.cpp +++ b/src/gtk1/tbargtk.cpp @@ -118,6 +118,10 @@ bool wxToolBar::Create( wxWindow *parent, wxWindowID id, gtk_toolbar_set_tooltips( GTK_TOOLBAR(m_toolbar), TRUE ); + m_parent->AddChild( this ); + + (m_parent->m_insertCallback)( m_parent, this ); + PostCreation(); Show( TRUE );