]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tabctrl.h
Applied patch [ 858324 ] Calling EndModal inside an EVT_INIT_DIALOG event handler
[wxWidgets.git] / include / wx / tabctrl.h
index ad3b849fd6045dd6ee3c0ab1ca77e416a7994bad..e227529f2246b91d2e2fbee8a38883b4c3e4ea01 100644 (file)
@@ -1,13 +1,21 @@
-#ifndef __TABCTRLH_BASE__
-#define __TABCTRLH_BASE__
+#ifndef _WX_TABCTRL_H_BASE_
+#define _WX_TABCTRL_H_BASE_
 
-#if defined(__WINDOWS__)
+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(__MOTIF__)
-#include "wx/xt/tabctrl.h"
-#elif defined(__GTK__)
-#include "wx/gtk/tabctrl.h"
+#elif defined(__WXMOTIF__)
+#include "wx/motif/tabctrl.h"
+#elif defined(__WXGTK__)
+#elif defined(__WXMAC__)
+#include "wx/mac/tabctrl.h"
+#elif defined(__WXPM__)
+#include "wx/os2/tabctrl.h"
 #endif
 
 #endif
-    // __TABCTRLH_BASE__
+    // _WX_TABCTRL_H_BASE_