return tb->active;
}
+void wxCheckBox::Enable( bool enable )
+{
+ wxControl::Enable( enable );
+ GtkButton *bin = GTK_BUTTON( m_widget );
+ GtkWidget *label = bin->child;
+ gtk_widget_set_sensitive( label, enable );
+}
+
void wxCheckBox::SetFont( const wxFont &font )
{
- m_font = font;
+ if (((wxFont*)&font)->Ok())
+ m_font = font;
+ else
+ m_font = *wxSWISS_FONT;
GtkButton *bin = GTK_BUTTON( m_widget );
GtkWidget *label = bin->child;