]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbox.cpp
Dialog Editor corrections for latest wxWin changes; removed wxProp files
[wxWidgets.git] / src / gtk / statbox.cpp
index 59282af9917f5ac38b44b0bb7f28d96e614ae901..fa7822024ce09be3134f12ba527c3f9035556fb9 100644 (file)
@@ -40,6 +40,10 @@ bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label
 
   m_widget = gtk_frame_new(m_label);
 
+  m_parent->AddChild( this );
+
+  (m_parent->m_insertCallback)( m_parent, this );
+  
   PostCreation();
 
   SetLabel(label);