X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1897abe1d8ac5e9575f4c9a589ea7ce08189506a..11a23db53128bf244a089123b7fd27deb577a889:/src/gtk/button.cpp diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index f5f76a7b10..0dbe3a70c0 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -2,7 +2,6 @@ // Name: src/gtk/button.cpp // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -36,7 +35,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); }