1
0
Fork 0
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:
jules 2017-12-11 11:29:43 +00:00
parent ad0e97fef4
commit 6eff49a629

View file

@ -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);