]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tabctrl.h
disable report view mode under Mac as it hangs the native wxListCtrl implementation...
[wxWidgets.git] / include / wx / tabctrl.h
index 202a41408f97dc30c67505cdd04ca2d7bb84f7ff..4bbf65eaf2099d90774ca5bcdb73f7adea751bce 100644 (file)
@@ -1,23 +1,32 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/tabctrl.h
+// Purpose:     wxTabCtrl base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
 #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()
+#include "wx/defs.h"
+
+#if wxUSE_TAB_DIALOG
+
+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"
-#elif defined(__WXMOTIF__)
-#include "wx/motif/tabctrl.h"
-#elif defined(__WXGTK__)
+    #include "wx/msw/tabctrl.h"
 #elif defined(__WXMAC__)
-#include "wx/mac/tabctrl.h"
+    #include "wx/osx/tabctrl.h"
 #elif defined(__WXPM__)
-#include "wx/os2/tabctrl.h"
-#elif defined(__WXSTUBS__)
-#include "wx/stubs/tabctrl.h"
+    #include "wx/os2/tabctrl.h"
 #endif
 
-#endif
-    // _WX_TABCTRL_H_BASE_
+#endif // wxUSE_TAB_DIALOG
+
+#endif // _WX_TABCTRL_H_BASE_