}
}
-DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)
+wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent )
// ------------------------------------------------------------------------
// wxBitmapToggleButton
if (state == GetValue())
return;
- GTKEnableEvents();
+ GTKDisableEvents();
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(m_widget), state);
- GTKDisableEvents();
+ GTKEnableEvents();
}
// bool GetValue() const