X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..d48687a0719620cc888072db31bb3814dea400ab:/src/gtk1/tooltip.cpp?ds=sidebyside diff --git a/src/gtk1/tooltip.cpp b/src/gtk1/tooltip.cpp index 0ac2a8b1da..28d243f789 100644 --- a/src/gtk1/tooltip.cpp +++ b/src/gtk1/tooltip.cpp @@ -13,7 +13,10 @@ #if wxUSE_TOOLTIPS #include "wx/tooltip.h" -#include "wx/window.h" + +#ifndef WX_PRECOMP + #include "wx/window.h" +#endif #include "wx/gtk1/private.h" @@ -52,7 +55,7 @@ void wxToolTip::Apply( wxWindow *win ) m_window = win; - if (m_text.IsEmpty()) + if (m_text.empty()) m_window->ApplyToolTip( ss_tooltips, (wxChar*) NULL ); else m_window->ApplyToolTip( ss_tooltips, m_text ); @@ -76,4 +79,12 @@ void wxToolTip::SetDelay( long msecs ) gtk_tooltips_set_delay( ss_tooltips, (int)msecs ); } +void wxToolTip::SetAutoPop( long WXUNUSED(msecs) ) +{ +} + +void wxToolTip::SetReshow( long WXUNUSED(msecs) ) +{ +} + #endif