X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd88c1fa96cc76c97e29f01f885423b3887a73ec..6f58f3d7e0ed959dd6a568a70161ec14ec524feb:/src/univ/tglbtn.cpp diff --git a/src/univ/tglbtn.cpp b/src/univ/tglbtn.cpp index b8649b010a..f9d541af6d 100644 --- a/src/univ/tglbtn.cpp +++ b/src/univ/tglbtn.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: univ/tglbtn.cpp +// Name: src/univ/tglbtn.cpp // Purpose: wxToggleButton // Author: Vadim Zeitlin // Modified by: David Bjorkevik @@ -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)