X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e520c3f75cbfb0ed6a751576d7032ef196a1817d..cc4d5638c66a409e421420ed7110917755a66788:/src/common/richtooltipcmn.cpp?ds=sidebyside diff --git a/src/common/richtooltipcmn.cpp b/src/common/richtooltipcmn.cpp index d2c829ba82..6788488ff9 100644 --- a/src/common/richtooltipcmn.cpp +++ b/src/common/richtooltipcmn.cpp @@ -3,7 +3,6 @@ // 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 $ // Copyright: (c) 2011 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -57,9 +56,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) @@ -67,11 +67,16 @@ void wxRichToolTip::SetTipKind(wxTipKind tipKind) m_impl->SetTipKind(tipKind); } -void wxRichToolTip::ShowFor(wxWindow* win) +void wxRichToolTip::SetTitleFont(const wxFont& font) +{ + m_impl->SetTitleFont(font); +} + +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()