]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
one 'no' is enough when GTK 1.2.0 is not found
[wxWidgets.git] / src / gtk / stattext.cpp
index 102a55b09ad85b2465e2e58ce2b90d7b1193c19c..da2c3fd960aeff38670226d247932b5b5b853432 100644 (file)
@@ -76,9 +76,7 @@ bool wxStaticText::Create(wxWindow *parent,
 
     SetSize( newSize.x, newSize.y );
 
-    m_parent->AddChild( this );
-
-    (m_parent->m_insertCallback)( m_parent, this );
+    m_parent->DoAddChild( this );
 
     PostCreation();