X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e711d5c093dcc758e3f1670caf845612ea9fa92..47df2b8c540f17c55464719d0da74c0b43a29515:/include/wx/tooltip.h

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_