mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Minor fixes and warning removals for VC7.
This commit is contained in:
parent
7381243506
commit
6a4e8f235c
22 changed files with 192 additions and 97 deletions
|
|
@ -75,7 +75,7 @@ void TooltipWindow::mouseEnter (const MouseEvent&)
|
|||
hide();
|
||||
}
|
||||
|
||||
void TooltipWindow::showFor (Component* const c, const String& tip)
|
||||
void TooltipWindow::showFor (const String& tip)
|
||||
{
|
||||
jassert (tip.isNotEmpty());
|
||||
tipShowing = tip;
|
||||
|
|
@ -171,7 +171,7 @@ void TooltipWindow::timerCallback()
|
|||
}
|
||||
else if (tipChanged)
|
||||
{
|
||||
showFor (newComp, newTip);
|
||||
showFor (newTip);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -182,7 +182,7 @@ void TooltipWindow::timerCallback()
|
|||
&& newTip != tipShowing
|
||||
&& now > lastCompChangeTime + millisecondsBeforeTipAppears)
|
||||
{
|
||||
showFor (newComp, newTip);
|
||||
showFor (newTip);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue