]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statline.cpp
Attempt to add primary selection support, but doesn't work.
[wxWidgets.git] / src / gtk1 / statline.cpp
index a9a3c2f305060d82c413758a250b2501ed46fdd9..572edb0b1da85fb3963266281295e7881cd2dcdc 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Robert Roebling
 // Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
-// Licence:    wxWindows licence
+// Licence:           wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
@@ -46,9 +46,7 @@ bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
     else
         m_widget = gtk_hseparator_new();
   
-    m_parent->AddChild( this );
-
-    (m_parent->m_insertCallback)( m_parent, this );
+    m_parent->DoAddChild( this );
   
     PostCreation();