]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/tglbtn.cpp
fixing modal dialog quit after nested message box problem
[wxWidgets.git] / src / univ / tglbtn.cpp
index b8649b010aca5117751d087a6e7b9f0ab267d658..91a90ac238073fda4a65ed1c949b2c1beb1a01c2 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)