]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tglbtn.h
simplify wxEVT_MENU_OPEN/CLOSE generation
[wxWidgets.git] / include / wx / tglbtn.h
index 228cffdd31ca12659e0debfe2eff1763d2709980..d21217610287227336fed9f17e51bd0a4e540871 100644 (file)
@@ -20,9 +20,7 @@
 #include "wx/event.h"
 #include "wx/control.h"     // base class
 
-BEGIN_DECLARE_EVENT_TYPES()
-    DECLARE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 19)
-END_DECLARE_EVENT_TYPES()
+extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TOGGLEBUTTON_CLICKED;
 
 // ----------------------------------------------------------------------------
 // wxToggleButtonBase