X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/593ac8df8eea35e4e0402a7ab0fbba13440b20bf..81b0235f13a7e3cca27d1883d1098bfe285a9351:/src/gtk/button.cpp diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index 12e0807e50..cfa49892f7 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -44,7 +44,7 @@ static void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), wxButton * wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId()); event.SetEventObject(button); - button->GetEventHandler()->ProcessEvent(event); + button->HandleWindowEvent(event); } }