From 279b1aea9dd6b57cee4db4375aa007d029db5ec0 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sat, 24 Nov 2001 23:55:43 +0000 Subject: [PATCH] Must honour wxUSE_TOOLTIPS in tooltip.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/tooltip.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/wx/tooltip.h b/include/wx/tooltip.h index 3f23431543..4dc9c82dc0 100644 --- a/include/wx/tooltip.h +++ b/include/wx/tooltip.h @@ -1,6 +1,10 @@ #ifndef _WX_TOOLTIP_H_BASE_ #define _WX_TOOLTIP_H_BASE_ +#include "wx/setup.h" + +#if wxUSE_TOOLTIPS + #if defined(__WXMSW__) #include "wx/msw/tooltip.h" #elif defined(__WXMOTIF__) @@ -15,5 +19,8 @@ // #include "wx/stubs/tooltip.h" #endif +#endif + // wxUSE_TOOLTIPS + #endif // _WX_TOOLTIP_H_BASE_ -- 2.45.2