]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statbox.cpp
Added support for SCROLL_TOP and _BOTTOM events
[wxWidgets.git] / src / gtk1 / 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_widget = gtk_frame_new(m_label);
 
+  m_parent->AddChild( this );
+
+  (m_parent->m_insertCallback)( m_parent, this );
+  
   PostCreation();
 
   SetLabel(label);
   PostCreation();
 
   SetLabel(label);