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