X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..b7e9f8b136c02826c7e5b3bf9b339d2013ac05f6:/include/wx/tabctrl.h?ds=sidebyside diff --git a/include/wx/tabctrl.h b/include/wx/tabctrl.h index ad3b849fd6..136b9fd08e 100644 --- a/include/wx/tabctrl.h +++ b/include/wx/tabctrl.h @@ -1,13 +1,34 @@ -#ifndef __TABCTRLH_BASE__ -#define __TABCTRLH_BASE__ - -#if defined(__WINDOWS__) -#include "wx/msw/tabctrl.h" -#elif defined(__MOTIF__) -#include "wx/xt/tabctrl.h" -#elif defined(__GTK__) -#include "wx/gtk/tabctrl.h" +///////////////////////////////////////////////////////////////////////////// +// 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_ + +#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(__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_