Discussion:
GetToolTipText
(too old to reply)
teemo10
2009-07-22 14:43:00 UTC
Permalink
wx: CVS

I found a function GetToolTipText in include/wx/window.h which i
thought i could use, only to get link errors in my app. After a little
searching i found that the function is not yet implemented. Thought id
remind whoever put in the declaration for that, to put in the
definition.
Vadim Zeitlin
2009-07-25 23:17:29 UTC
Permalink
Post by teemo10
wx: CVS
I found a function GetToolTipText in include/wx/window.h which i
thought i could use, only to get link errors in my app. After a little
searching i found that the function is not yet implemented. Thought id
remind whoever put in the declaration for that, to put in the
definition.
Thanks, I've just added it (r61535), the implementation is perfectly trivial:

wxString wxWindowBase::GetToolTipText() const
{
return m_tooltip ? m_tooltip->GetTip() : wxString();
}

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Loading...