X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/166040cf594c63f8edf3534f2435630fb8c443a4..9485b24f43766ad97ba1b77a70c7c1f2a40184a6:/src/osx/tglbtn_osx.cpp?ds=sidebyside diff --git a/src/osx/tglbtn_osx.cpp b/src/osx/tglbtn_osx.cpp index 162739fe44..4aff7506b6 100644 --- a/src/osx/tglbtn_osx.cpp +++ b/src/osx/tglbtn_osx.cpp @@ -31,7 +31,7 @@ // ---------------------------------------------------------------------------- IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl) -DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED) +wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent ) // ============================================================================ // implementation