]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/checkbox.cpp
Added support for SCROLL_TOP and _BOTTOM events
[wxWidgets.git] / src / gtk1 / checkbox.cpp
index d75e1c9cfba5474fa431bca158554c534b9a5926..c125d9d2dfc7534ab41ef489fd66a5bb08a07810 100644 (file)
@@ -65,6 +65,10 @@ bool wxCheckBox::Create(  wxWindow *parent, wxWindowID id, const wxString &label
   gtk_signal_connect( GTK_OBJECT(m_widget), "clicked", 
     GTK_SIGNAL_FUNC(gtk_checkbox_clicked_callback), (gpointer*)this );
     
+  m_parent->AddChild( this );
+
+  (m_parent->m_insertCallback)( m_parent, this );
+  
   PostCreation();
   
   gtk_widget_realize( GTK_BUTTON( m_widget )->child );