1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-03 03:30:06 +00:00

More minor nullptr stuff.

This commit is contained in:
Julian Storer 2011-04-07 23:02:48 +01:00
parent b047d9be53
commit 0271fdf167
19 changed files with 116 additions and 108 deletions

View file

@ -156,7 +156,7 @@ Component* Desktop::findComponentAt (const Point<int>& screenPosition) const
if (c->isVisible())
{
const Point<int> relative (c->getLocalPoint (0, screenPosition));
const Point<int> relative (c->getLocalPoint (nullptr, screenPosition));
if (c->contains (relative))
return c->getComponentAt (relative);
@ -353,7 +353,7 @@ void Desktop::sendMouseMove()
if (target != nullptr)
{
Component::BailOutChecker checker (target);
const Point<int> pos (target->getLocalPoint (0, lastFakeMouseMove));
const Point<int> pos (target->getLocalPoint (nullptr, lastFakeMouseMove));
const Time now (Time::getCurrentTime());
const MouseEvent me (getMainMouseSource(), pos, ModifierKeys::getCurrentModifiers(),