X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..4521f6c88cbefa7f13e3733d344776b795f981e4:/src/cocoa/checkbox.mm diff --git a/src/cocoa/checkbox.mm b/src/cocoa/checkbox.mm index eba72f400c..603d7362d1 100644 --- a/src/cocoa/checkbox.mm +++ b/src/cocoa/checkbox.mm @@ -4,7 +4,6 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -26,7 +25,6 @@ #import #import -IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl) BEGIN_EVENT_TABLE(wxCheckBox, wxCheckBoxBase) END_EVENT_TABLE() WX_IMPLEMENT_COCOA_OWNER(wxCheckBox,NSButton,NSControl,NSView) @@ -131,7 +129,7 @@ void wxCheckBox::Cocoa_wxNSButtonAction(void) // skip mixed, go right back to on [GetNSButton() setState: NSOnState]; } - wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, GetId()); + wxCommandEvent event(wxEVT_CHECKBOX, GetId()); InitCommandEvent(event); // event.SetEventObject(this); event.SetInt(Get3StateValue()); Command(event);