]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
Doc updates (debug stuff); Cygwin corrections
[wxWidgets.git] / src / gtk / stattext.cpp
index 978321af9f026d89c7f6a0fbb30f4dd36984b503..d753dc015563c2425e36bf17894776c40c0b31d1 100644 (file)
@@ -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() );