X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..2dfa1d9e11128c9708bbf55feeb442471828ac63:/include/wx/tabctrl.h diff --git a/include/wx/tabctrl.h b/include/wx/tabctrl.h index c84b8cdc03..55f79c7912 100644 --- a/include/wx/tabctrl.h +++ b/include/wx/tabctrl.h @@ -12,6 +12,10 @@ #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) @@ -28,5 +32,6 @@ END_DECLARE_EVENT_TYPES() #include "wx/os2/tabctrl.h" #endif +#endif // wxUSE_TAB_DIALOG #endif // _WX_TABCTRL_H_BASE_