X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..591c850f68c7dcc490a0470af55d23be9fb5c11c:/src/univ/button.cpp diff --git a/src/univ/button.cpp b/src/univ/button.cpp index 7f4c253d14..77f2d79c71 100644 --- a/src/univ/button.cpp +++ b/src/univ/button.cpp @@ -278,7 +278,7 @@ void wxButton::Toggle() void wxButton::Click() { - wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId()); + wxCommandEvent event(wxEVT_BUTTON, GetId()); InitCommandEvent(event); Command(event); }