X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff8bfdbbb14af4cd77de9d3534b1cd4f7a033137..07fa75bc31fd49da3e4bd4a8bf056a96493bf26b:/src/gtk/tooltip.cpp?ds=sidebyside diff --git a/src/gtk/tooltip.cpp b/src/gtk/tooltip.cpp index dde56c65ee..789278b792 100644 --- a/src/gtk/tooltip.cpp +++ b/src/gtk/tooltip.cpp @@ -11,6 +11,10 @@ #pragma implementation "tooltip.h" #endif +#include "wx/setup.h" + +#if wxUSE_TOOLTIPS + #include "wx/window.h" #include "wx/tooltip.h" @@ -65,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 ); } @@ -86,4 +90,5 @@ void wxToolTip::SetDelay( long msecs ) gtk_tooltips_set_delay( ss_tooltips, msecs ); } +#endif