]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tabctrl.h
dirty hack to fix deprecation warning when building wxMotif
[wxWidgets.git] / include / wx / tabctrl.h
index c766f72bf354b7ec91fa45ac09b7b9d960dc190b..c84b8cdc032c8163f8d15c6a24784820110244d0 100644 (file)
@@ -1,6 +1,22 @@
+/////////////////////////////////////////////////////////////////////////////
+// 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()
+
 #if defined(__WXMSW__)
 #include "wx/msw/tabctrl.h"
 #elif defined(__WXMOTIF__)
@@ -8,8 +24,8 @@
 #elif defined(__WXGTK__)
 #elif defined(__WXMAC__)
 #include "wx/mac/tabctrl.h"
-#elif defined(__WXSTUBS__)
-#include "wx/stubs/tabctrl.h"
+#elif defined(__WXPM__)
+#include "wx/os2/tabctrl.h"
 #endif
 
 #endif