/////////////////////////////////////////////////////////////////////////////
-// Name: tooltip.cpp
+// Name: src/gtk1/tooltip.cpp
// Purpose: wxToolTip implementation
// Author: Robert Roebling
// Id: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "tooltip.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#include "wx/setup.h"
-
#if wxUSE_TOOLTIPS
#include "wx/tooltip.h"
-#include "wx/window.h"
-#include "wx/gtk/private.h"
+#ifndef WX_PRECOMP
+ #include "wx/window.h"
+#endif
+
+#include "wx/gtk1/private.h"
//-----------------------------------------------------------------------------
// global data
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 );
gtk_tooltips_set_delay( ss_tooltips, (int)msecs );
}
-#endif
+void wxToolTip::SetAutoPop( long WXUNUSED(msecs) )
+{
+}
+
+void wxToolTip::SetReshow( long WXUNUSED(msecs) )
+{
+}
+#endif