X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e520c3f75cbfb0ed6a751576d7032ef196a1817d..87f0b1323b7ac77f02133b836c8dfee63b0fd387:/src/common/richtooltipcmn.cpp?ds=inline diff --git a/src/common/richtooltipcmn.cpp b/src/common/richtooltipcmn.cpp index d2c829ba82..4231ea8c7e 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) @@ -67,11 +68,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, wxRect* rect) { wxCHECK_RET( win, wxS("Must have a valid window") ); - m_impl->ShowFor(win); + m_impl->ShowFor(win, rect); } wxRichToolTip::~wxRichToolTip()