X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dc44eff0235c5f30940f32ccc6d9d82a236e7d2..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/gtk/infobar.cpp?ds=sidebyside diff --git a/src/gtk/infobar.cpp b/src/gtk/infobar.cpp index 9963cdb516..defc0738aa 100644 --- a/src/gtk/infobar.cpp +++ b/src/gtk/infobar.cpp @@ -197,7 +197,7 @@ void wxInfoBar::Dismiss() void wxInfoBar::GTKResponse(int btnid) { - wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, btnid); + wxCommandEvent event(wxEVT_BUTTON, btnid); event.SetEventObject(this); if ( !HandleWindowEvent(event) )