Fixes galore.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4866 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
michael 1999-09-10 23:12:48 +00:00
parent 183e48109f
commit 4c34e9caf4
10 changed files with 423 additions and 8 deletions

View file

@ -56,6 +56,7 @@
#include <AppKit/PSOperators.h>
#include <AppKit/NSDragging.h>
#include <AppKit/NSPasteboard.h>
#include <AppKit/NSHelpManager.h>
BOOL GSViewAcceptsDrag(NSView *v, id<NSDraggingInfo> dragInfo);
@ -1446,10 +1447,28 @@ static NSRecursiveLock *windowsLock;
{
[self makeFirstResponder: v];
if (is_key || [v acceptsFirstMouse: theEvent] == YES)
[v mouseDown: theEvent];
{
if([NSHelpManager isContextHelpModeActive])
{
[v helpRequested: theEvent];
}
else
{
[v mouseDown: theEvent];
}
}
}
else
[v mouseDown: theEvent];
{
if([NSHelpManager isContextHelpModeActive])
{
[v helpRequested: theEvent];
}
else
{
[v mouseDown: theEvent];
}
}
last_point = [theEvent locationInWindow];
break;