]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbox.cpp
Played a little with sockets.
[wxWidgets.git] / src / gtk / statbox.cpp
index c4d3cb49edafdc7a69dbe1c89ae06a6400f70f54..d1c978b2ef4de609ba58bf6e40b8ca3817c61a1e 100644 (file)
@@ -45,9 +45,7 @@ bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label
     
     m_widget = gtk_frame_new(m_label.mbc_str());
 
-    m_parent->AddChild( this );
-
-    (m_parent->m_insertCallback)( m_parent, this );
+    m_parent->DoAddChild( this );
   
     PostCreation();