X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/593ac8df8eea35e4e0402a7ab0fbba13440b20bf..4581c9136be3b3f5d722b69b104d1f95e29de733:/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); } }