]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tooltip.h
Fixed OS/2 compilation problems.
[wxWidgets.git] / include / wx / tooltip.h
index 3f23431543b09b3a2b3e302edf1cc4e0ae96d658..4dc9c82dc0c8f13abeb0b663f06113c43fb90fcc 100644 (file)
@@ -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_