X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..d7b20621ef1170ed3c505f65d77227cf18c80499:/include/wx/tabctrl.h?ds=inline diff --git a/include/wx/tabctrl.h b/include/wx/tabctrl.h index c84b8cdc03..4337e4eb8f 100644 --- a/include/wx/tabctrl.h +++ b/include/wx/tabctrl.h @@ -12,21 +12,21 @@ #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/mac/tabctrl.h" #elif defined(__WXPM__) -#include "wx/os2/tabctrl.h" + #include "wx/os2/tabctrl.h" #endif -#endif - // _WX_TABCTRL_H_BASE_ +#endif // wxUSE_TAB_DIALOG + +#endif // _WX_TABCTRL_H_BASE_