X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53b28675492e387711489760dbfe08ba5086ce73..7df9fbc3f11f6239ed7417964c0c50ea77b7b7e7:/include/wx/tabctrl.h?ds=sidebyside diff --git a/include/wx/tabctrl.h b/include/wx/tabctrl.h index a007866ed7..202a41408f 100644 --- a/include/wx/tabctrl.h +++ b/include/wx/tabctrl.h @@ -1,12 +1,23 @@ -#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__) +#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" +#elif defined(__WXSTUBS__) +#include "wx/stubs/tabctrl.h" #endif #endif - // __TABCTRLH_BASE__ + // _WX_TABCTRL_H_BASE_