X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd88c1fa96cc76c97e29f01f885423b3887a73ec..61f09f569358d7b2752733c4a24d1bd10daefae2:/src/univ/tglbtn.cpp diff --git a/src/univ/tglbtn.cpp b/src/univ/tglbtn.cpp index b8649b010a..91a90ac238 100644 --- a/src/univ/tglbtn.cpp +++ b/src/univ/tglbtn.cpp @@ -19,7 +19,7 @@ #include "wx/tglbtn.h" -DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED) +wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent ); IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxButton)