X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58614078c466cffaf0e5d0369741706f130fb793..c030b70fc6270c2e44a81f83e69fcc91d2b3c768:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 59282af991..fa7822024c 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/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);