Fix mouseDown invocation in NSWindow

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12416 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-02-06 10:29:26 +00:00
parent 830678b878
commit 067359747d
2 changed files with 14 additions and 0 deletions

View file

@ -2623,6 +2623,10 @@ resetCursorRectsForView(NSView *theView)
[self update];
}
- (void) mouseDown: (NSEvent*)theEvent
{
// Quietly discard an unused mouse down.
}
- (void) sendEvent: (NSEvent*)theEvent
{
@ -2667,6 +2671,10 @@ resetCursorRectsForView(NSView *theView)
[v mouseDown: theEvent];
}
}
else
{
[self mouseDown: theEvent];
}
}
_lastPoint = [theEvent locationInWindow];
break;