]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gauge.cpp
correct a bug in the MSW code using wxMask
[wxWidgets.git] / src / gtk / gauge.cpp
index 82e27351ce401606aeceb5bc44d1567cc9ed76b6..eb0f339bb0b63fb6f6139181cff59e9af389632c 100644 (file)
@@ -35,6 +35,10 @@ 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 );
+  
   PostCreation();
   
   Show( TRUE );