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