X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd88c1fa96cc76c97e29f01f885423b3887a73ec..ba75967c9c0656ec0bcc342878cd9cdd27857ea9:/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)