X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c58d1d31048b31d9934f3ad6c4e56d407694d49..1274add43f7e746721102ae6f206c8b0f746271c:/src/common/richtooltipcmn.cpp?ds=sidebyside diff --git a/src/common/richtooltipcmn.cpp b/src/common/richtooltipcmn.cpp index 5914af4ad2..58ed5d03b1 100644 --- a/src/common/richtooltipcmn.cpp +++ b/src/common/richtooltipcmn.cpp @@ -3,7 +3,7 @@ // 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 // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -57,9 +57,10 @@ void wxRichToolTip::SetIcon(const wxIcon& icon) 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) @@ -72,11 +73,11 @@ void wxRichToolTip::SetTitleFont(const wxFont& font) 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()