]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/tglbtn.cpp
Simplified event based Drag API for wxDataViewCtrl
[wxWidgets.git] / src / univ / tglbtn.cpp
index b8649b010aca5117751d087a6e7b9f0ab267d658..ff04717a748502fdf17f96635012ec8b46a4dbcc 100644 (file)
@@ -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)