X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e53c1c21e1241487f62737f0d442277d1c8d872..2c2fafe9c88ea0ff93b2e1eb7267ceb74bb8958a:/src/gtk/tglbtn.cpp diff --git a/src/gtk/tglbtn.cpp b/src/gtk/tglbtn.cpp index 26f1061997..63fd5414cc 100644 --- a/src/gtk/tglbtn.cpp +++ b/src/gtk/tglbtn.cpp @@ -39,7 +39,7 @@ static void gtk_togglebutton_clicked_callback(GtkWidget *WXUNUSED(widget), wxTog } } -DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED) +wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent ) // ------------------------------------------------------------------------ // wxBitmapToggleButton