X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7f1f70f4b123468e916b3f3cf4e0d35aa62da03..19da43267e410c8acdd57a31d89b6c5ecce8c36f:/src/gtk/tooltip.cpp 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 ); }