]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tabctrl.h
give a name to the unnamed enum to make it easier to document it
[wxWidgets.git] / include / wx / tabctrl.h
index 136b9fd08e9ec49c7886b13908f92889fb1807e1..4337e4eb8f33dcba57181152801e0858d20d3b1e 100644 (file)
 
 #if wxUSE_TAB_DIALOG
 
-BEGIN_DECLARE_EVENT_TYPES()
-    DECLARE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGED, 800)
-    DECLARE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGING, 801)
-END_DECLARE_EVENT_TYPES()
+extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TAB_SEL_CHANGED;
+extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TAB_SEL_CHANGING;
 
 #if defined(__WXMSW__)
     #include "wx/msw/tabctrl.h"
@@ -30,5 +28,5 @@ END_DECLARE_EVENT_TYPES()
 #endif
 
 #endif // wxUSE_TAB_DIALOG
-#endif
-    // _WX_TABCTRL_H_BASE_
+
+#endif // _WX_TABCTRL_H_BASE_