#if wxUSE_TOOLTIPS
#include "wx/tooltip.h"
-#include "wx/window.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/window.h"
+#endif
#include "wx/gtk1/private.h"
// global data
//-----------------------------------------------------------------------------
-static GtkTooltips *ss_tooltips = (GtkTooltips*) NULL;
+static GtkTooltips *ss_tooltips = NULL;
//-----------------------------------------------------------------------------
// wxToolTip
wxToolTip::wxToolTip( const wxString &tip )
{
m_text = tip;
- m_window = (wxWindow*) NULL;
+ m_window = NULL;
}
void wxToolTip::SetTip( const wxString &tip )
m_window = win;
- if (m_text.IsEmpty())
- m_window->ApplyToolTip( ss_tooltips, (wxChar*) NULL );
+ if (m_text.empty())
+ m_window->ApplyToolTip( ss_tooltips, NULL );
else
m_window->ApplyToolTip( ss_tooltips, m_text );
}
gtk_tooltips_set_delay( ss_tooltips, (int)msecs );
}
+void wxToolTip::SetAutoPop( long WXUNUSED(msecs) )
+{
+}
+
+void wxToolTip::SetReshow( long WXUNUSED(msecs) )
+{
+}
+
#endif