]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/gauge.cpp
Added wxWindowBase::CentreOnParent to allow top level windows to be
[wxWidgets.git] / src / gtk1 / gauge.cpp
index 051b70390b35aa0c261051fa08019e0214bdaa09..ff974edef9af2ff96b6c28b6ce8ae8a613aa4d0a 100644 (file)
@@ -37,9 +37,7 @@ bool wxGauge::Create( wxWindow *parent, wxWindowID id,  int range,
   
   m_widget = gtk_progress_bar_new();
   
-  m_parent->AddChild( this );
-
-  (m_parent->m_insertCallback)( m_parent, this );
+  m_parent->DoAddChild( this );
   
   PostCreation();