// Purpose: wxRichToolTip implementation common to all platforms.
// Author: Vadim Zeitlin
// Created: 2011-10-18
-// RCS-ID: $Id: wxhead.cpp,v 1.11 2010-04-22 12:44:51 zeitlin Exp $
+// RCS-ID: $Id$
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
m_impl->SetCustomIcon(icon);
}
-void wxRichToolTip::SetTimeout(unsigned milliseconds)
+void wxRichToolTip::SetTimeout(unsigned milliseconds,
+ unsigned millisecondsDelay)
{
- m_impl->SetTimeout(milliseconds);
+ m_impl->SetTimeout(milliseconds, millisecondsDelay);
}
void wxRichToolTip::SetTipKind(wxTipKind tipKind)
m_impl->SetTitleFont(font);
}
-void wxRichToolTip::ShowFor(wxWindow* win)
+void wxRichToolTip::ShowFor(wxWindow* win, const wxRect* rect)
{
wxCHECK_RET( win, wxS("Must have a valid window") );
- m_impl->ShowFor(win);
+ m_impl->ShowFor(win, rect);
}
wxRichToolTip::~wxRichToolTip()