- GtkStyle *style = (GtkStyle*) NULL;
- if (!m_hasOwnStyle)
- {
- m_hasOwnStyle = TRUE;
- style = gtk_style_copy( gtk_widget_get_style( label ) );
- }
- else
- {
- style = gtk_widget_get_style( label );
- }
+ gtk_widget_set_style( GTK_BUTTON(m_widget)->child, m_widgetStyle );
+}
+
+void wxCheckBox::SetBackgroundColour( const wxColour &colour )
+{
+ wxCHECK_RET( m_widget != NULL, "invalid checkbox" );
+
+ wxControl::SetBackgroundColour( colour );