X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/cocoa/button.mm diff --git a/src/cocoa/button.mm b/src/cocoa/button.mm index 1ef4130155..a78e3b6c59 100644 --- a/src/cocoa/button.mm +++ b/src/cocoa/button.mm @@ -79,7 +79,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); }