Add "rect" paramerer to wxRichToolTip::ShowFor().
Allow to show the tooltip at the exact specified position instead of placing it automatically. Closes #14862. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,11 +73,11 @@ void wxRichToolTip::SetTitleFont(const wxFont& font)
|
||||
m_impl->SetTitleFont(font);
|
||||
}
|
||||
|
||||
void wxRichToolTip::ShowFor(wxWindow* win)
|
||||
void wxRichToolTip::ShowFor(wxWindow* win, wxRect* rect = NULL);
|
||||
{
|
||||
wxCHECK_RET( win, wxS("Must have a valid window") );
|
||||
|
||||
m_impl->ShowFor(win);
|
||||
m_impl->ShowFor(win, rect);
|
||||
}
|
||||
|
||||
wxRichToolTip::~wxRichToolTip()
|
||||
|
Reference in New Issue
Block a user