Tooltips: Added ToolTipWidth= key | Fix for using [MeasureName] as ToolTipText alone.

This commit is contained in:
jsmorley
2010-07-20 21:20:14 +00:00
parent abc5df233d
commit b3507f6f8e
5 changed files with 12 additions and 6 deletions

View File

@ -2349,6 +2349,10 @@ void CMeterWindow::Update(bool nodraw)
j = m_Meters.begin();
for ( ; j != m_Meters.end(); ++j)
{
if (!((*j)->GetToolTipHandle() != NULL) && (!(*j)->GetToolTipText().empty()))
{
(*j)->CreateToolTip(this);
}
if ((*j)->GetToolTipHandle() != NULL)
{
(*j)->UpdateToolTip();