]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tooltip.h
wxMSWUniv wxWindowMSW vs. wxWindow fix.
[wxWidgets.git] / include / wx / tooltip.h
index a7719973be9d44d68da095ff6cff89a953cb17c8..c20fc7b6d92bd58cca1bad3619f97637d680b45d 100644 (file)
@@ -1,19 +1,26 @@
 #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__)
-#include "wx/motif/tooltip.h"
+// #include "wx/motif/tooltip.h"
 #elif defined(__WXGTK__)
 #include "wx/gtk/tooltip.h"
-#elif defined(__WXQT__)
-#include "wx/qt/tooltip.h"
 #elif defined(__WXMAC__)
 #include "wx/mac/tooltip.h"
-#elif defined(__WXSTUBS__)
-#include "wx/stubs/tooltip.h"
+#elif defined(__WXCOCOA__)
+#include "wx/cocoa/tooltip.h"
+#elif defined(__WXPM__)
+#include "wx/os2/tooltip.h"
+#endif
+
 #endif
+    // wxUSE_TOOLTIPS
 
 #endif
     // _WX_TOOLTIP_H_BASE_