1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

Couple of minor mouse-pointer fixes.

This commit is contained in:
Julian Storer 2010-03-15 14:08:40 +00:00
parent 574694f458
commit 81b2e7818d
15 changed files with 239 additions and 221 deletions

View file

@ -1503,10 +1503,13 @@ bool Component::isBroughtToFrontOnMouseClick() const throw()
//==============================================================================
void Component::setMouseCursor (const MouseCursor& cursor)
{
cursor_ = cursor;
if (cursor_ != cursor)
{
cursor_ = cursor;
if (flags.visibleFlag)
sendFakeMouseMove();
if (flags.visibleFlag)
updateMouseCursor();
}
}
const MouseCursor Component::getMouseCursor()