X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afa292ff314e4d032cf267dd16741589b7689193..76e7cfab8fdb0c7862fd07e427af54181717fc62:/src/cocoa/radiobox.mm diff --git a/src/cocoa/radiobox.mm b/src/cocoa/radiobox.mm index 6ce3aa2dd3..08045602af 100644 --- a/src/cocoa/radiobox.mm +++ b/src/cocoa/radiobox.mm @@ -4,10 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/02/15 -// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott // (c) 2007 Software 2000 Ltd. -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -255,7 +254,7 @@ bool wxRadioBox::Show(unsigned int n, bool show) // TODO // NOTE: Cocoa has no visible state for cells so we'd need to replace the // cell with a dummy one to hide it or alternatively subclass NSButtonCell - // and add the behavior. + // and add the behaviour. return false; } @@ -268,7 +267,7 @@ wxSize wxRadioBox::DoGetBestSize() const void wxRadioBox::CocoaTarget_action(void) { - wxCommandEvent event(wxEVT_COMMAND_RADIOBOX_SELECTED, GetId()); + wxCommandEvent event(wxEVT_RADIOBOX, GetId()); InitCommandEvent(event); event.SetInt(GetSelection()); // i.e. SetSelection. Command(event);