]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/tbargtk.cpp
Fixed resizing of wxTextCtrl
[wxWidgets.git] / src / gtk1 / tbargtk.cpp
index 5af767a335151ac35751169244a838bc2e223412..27f465108c2419e85bc1f9ada69517c36a136270 100644 (file)
@@ -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 );