X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/univ/button.cpp?ds=inline 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); }