X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0134e31e676ec59ac708195d25803d730000530..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 324803e4d8..fc6793855f 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -360,7 +360,7 @@ wxButton::SetDefaultStyle(wxButton *btn, bool on) bool wxButton::SendClickEvent() { - wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId()); + wxCommandEvent event(wxEVT_BUTTON, GetId()); event.SetEventObject(this); return ProcessCommand(event);