]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tabctrl.h
fixed the bug with the order of 2 size events when the scrollbar[s] (dis)appear in...
[wxWidgets.git] / include / wx / tabctrl.h
index 13306d2212c984a0befe73e56d79cc9646f239a7..202a41408f97dc30c67505cdd04ca2d7bb84f7ff 100644 (file)
@@ -1,12 +1,23 @@
-#ifndef __TABCTRLH_BASE__
-#define __TABCTRLH_BASE__
+#ifndef _WX_TABCTRL_H_BASE_
+#define _WX_TABCTRL_H_BASE_
+
+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()
 
 #if defined(__WXMSW__)
 #include "wx/msw/tabctrl.h"
 #elif defined(__WXMOTIF__)
-#include "wx/xt/tabctrl.h"
+#include "wx/motif/tabctrl.h"
 #elif defined(__WXGTK__)
+#elif defined(__WXMAC__)
+#include "wx/mac/tabctrl.h"
+#elif defined(__WXPM__)
+#include "wx/os2/tabctrl.h"
+#elif defined(__WXSTUBS__)
+#include "wx/stubs/tabctrl.h"
 #endif
 
 #endif
-    // __TABCTRLH_BASE__
+    // _WX_TABCTRL_H_BASE_