]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tabctrl.h
fix client to screen (and vice versa) conversion
[wxWidgets.git] / include / wx / tabctrl.h
index c84b8cdc032c8163f8d15c6a24784820110244d0..55f79c79124e0765097c35633c37134b28f0c4d5 100644 (file)
 #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_