X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe8402e653b5e8f41c8025ce1b9539cca6d6f0b8..92a98ecc5369edfebf13151dc9e9d4acaf326342:/src/cocoa/button.mm diff --git a/src/cocoa/button.mm b/src/cocoa/button.mm index 4a14d6ba2d..ab68639c6e 100644 --- a/src/cocoa/button.mm +++ b/src/cocoa/button.mm @@ -4,9 +4,8 @@ // Author: David Elliott // Modified by: // Created: 2002/12/30 -// RCS-ID: $Id$ // Copyright: (c) 2002 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -79,7 +78,7 @@ wxButton::~wxButton() void wxButton::Cocoa_wxNSButtonAction(void) { wxLogTrace(wxTRACE_COCOA,wxT("YAY!")); - wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId()); + wxCommandEvent event(wxEVT_BUTTON, GetId()); InitCommandEvent(event); // event.SetEventObject(this); Command(event); }