Add support for the context help cursor.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23708 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-10-02 08:42:04 +00:00
parent 3005771e57
commit c201ae734e
6 changed files with 50 additions and 24 deletions

View file

@ -180,14 +180,16 @@
- (void) helpRequested: (NSEvent*)theEvent
{
if (![[NSHelpManager sharedHelpManager]
showContextHelpForObject: self
locationHint: [theEvent locationInWindow]])
if (_next_responder)
{
[_next_responder helpRequested: theEvent];
return;
}
if ([[NSHelpManager sharedHelpManager]
showContextHelpForObject: self
locationHint: [theEvent locationInWindow]] == NO)
{
if (_next_responder)
{
[_next_responder helpRequested: theEvent];
return;
}
}
[NSHelpManager setContextHelpModeActive: NO];
}