]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tabctrl.h
On screens with restricted space, it's useful to be able to add controls
[wxWidgets.git] / include / wx / tabctrl.h
index a007866ed784bfcdcab32a23779e8ea8b1d0232d..55f79c79124e0765097c35633c37134b28f0c4d5 100644 (file)
@@ -1,12 +1,37 @@
-#ifndef __TABCTRLH_BASE__
-#define __TABCTRLH_BASE__
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/tabctrl.h
+// Purpose:     wxTabCtrl base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
 
-#if defined(__WINDOWS__)
+#ifndef _WX_TABCTRL_H_BASE_
+#define _WX_TABCTRL_H_BASE_
+
+#include "wx/defs.h"
+
+#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()
+
+#if defined(__WXMSW__)
 #include "wx/msw/tabctrl.h"
-#elif defined(__MOTIF__)
-#include "wx/xt/tabctrl.h"
-#elif defined(__GTK__)
+#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 // wxUSE_TAB_DIALOG
 #endif
-    // __TABCTRLH_BASE__
+    // _WX_TABCTRL_H_BASE_