// fire the colour-changed event
wxColourPickerEvent event(p, p->GetId(), p->GetColour());
- p->GetEventHandler()->ProcessEvent(event);
+ p->HandleWindowEvent(event);
}
}
m_colour = col;
m_widget = gtk_color_button_new_with_color( m_colour.GetColor() );
+ g_object_ref(m_widget);
gtk_widget_show(m_widget);
// GtkColourButton signals