1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Increased the warning level for the Xcode builds of the demo + introjucer, and avoided a few warnings.

This commit is contained in:
jules 2013-07-29 13:15:21 +01:00
parent ac3151ad1f
commit aafa12fd81
9 changed files with 24 additions and 25 deletions

View file

@ -401,8 +401,6 @@ Rectangle<int> ComponentPeer::globalToLocal (const Rectangle<int>& screenPositio
Rectangle<int> ComponentPeer::getAreaCoveredBy (Component& subComponent) const
{
jassert (component.isParentOf (&subComponent)); // this can only be used for child components.
return Component::ComponentHelpers::scaledScreenPosToUnscaled
(component.getLocalArea (&subComponent, subComponent.getLocalBounds()));
}