X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1897abe1d8ac5e9575f4c9a589ea7ce08189506a..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/gtk/button.cpp diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index f5f76a7b10..a2ec92fdde 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -36,7 +36,7 @@ wxgtk_button_clicked_callback(GtkWidget *WXUNUSED(widget), wxButton *button) if ( button->GTKShouldIgnoreEvent() ) return; - wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId()); + wxCommandEvent event(wxEVT_BUTTON, button->GetId()); event.SetEventObject(button); button->HandleWindowEvent(event); }