X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7f1f70f4b123468e916b3f3cf4e0d35aa62da03..227e5e99cd140e628d431dc006d30447ed6ad81a:/src/gtk/tooltip.cpp?ds=inline

diff --git a/src/gtk/tooltip.cpp b/src/gtk/tooltip.cpp
index cd0a8670e3..789278b792 100644
--- a/src/gtk/tooltip.cpp
+++ b/src/gtk/tooltip.cpp
@@ -11,7 +11,9 @@
     #pragma implementation "tooltip.h"
 #endif
 
-#ifdef wxUSE_TOOLTIPS
+#include "wx/setup.h"
+
+#if wxUSE_TOOLTIPS
 
 #include "wx/window.h"
 #include "wx/tooltip.h"
@@ -67,7 +69,7 @@ void wxToolTip::Apply( wxWindow *win )
     m_window = win;
 
     if (m_text.IsEmpty())
-        m_window->ApplyToolTip( ss_tooltips, (char*) NULL );
+        m_window->ApplyToolTip( ss_tooltips, (wxChar*) NULL );
     else
         m_window->ApplyToolTip( ss_tooltips, m_text );
 }