X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bce6aec996f0e9da49963af7183f7bc9cd1fca3..6b037754f53cc35e177bf6787bace26c7cecc6e1:/src/gtk/stattext.cpp diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 978321af9f..d753dc0155 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -92,6 +92,10 @@ bool wxStaticText::Create( wxWindow *parent, wxWindowID id, const wxString &labe SetSize( newSize.x, newSize.y ); + m_parent->AddChild( this ); + + (m_parent->m_insertCallback)( m_parent, this ); + PostCreation(); SetBackgroundColour( parent->GetBackgroundColour() );