X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58614078c466cffaf0e5d0369741706f130fb793..3bc755fc89fbb7ef10442c6b5216f4c77abf4bd8:/src/gtk1/statbox.cpp?ds=sidebyside diff --git a/src/gtk1/statbox.cpp b/src/gtk1/statbox.cpp index 59282af991..fa7822024c 100644 --- a/src/gtk1/statbox.cpp +++ b/src/gtk1/statbox.cpp @@ -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);