X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/gtk1/tglbtn.cpp?ds=sidebyside diff --git a/src/gtk1/tglbtn.cpp b/src/gtk1/tglbtn.cpp index 286f3fc478..82972011f1 100644 --- a/src/gtk1/tglbtn.cpp +++ b/src/gtk1/tglbtn.cpp @@ -40,14 +40,14 @@ static void gtk_togglebutton_clicked_callback(GtkWidget *WXUNUSED(widget), wxTog if (cb->m_blockEvent) return; // Generate a wx event. - wxCommandEvent event(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, cb->GetId()); + wxCommandEvent event(wxEVT_TOGGLEBUTTON, cb->GetId()); event.SetInt(cb->GetValue()); event.SetEventObject(cb); cb->HandleWindowEvent(event); } } -wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent ); +wxDEFINE_EVENT( wxEVT_TOGGLEBUTTON, wxCommandEvent ); // ------------------------------------------------------------------------ // wxToggleBitmapButton