mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
Workaround for a Visual Studio compiler bug
This commit is contained in:
parent
ad0e97fef4
commit
6eff49a629
1 changed files with 7 additions and 2 deletions
|
|
@ -105,9 +105,14 @@ void TooltipWindow::displayTip (Point<int> screenPos, const String& tip)
|
|||
activeTooltipWindows.addIfNotAlreadyThere (this);
|
||||
|
||||
for (auto* w : activeTooltipWindows)
|
||||
{
|
||||
if (w != this && w->tipShowing == tipShowing)
|
||||
jassertfalse; // Looks like you have more than one TooltipWindow showing the same tip.
|
||||
// Be careful not to create more than one instance of this class!
|
||||
{
|
||||
// Looks like you have more than one TooltipWindow showing the same tip..
|
||||
// Be careful not to create more than one instance of this class!
|
||||
jassertfalse;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
toFront (false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue