git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4341 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-06-02 19:43:09 +00:00
parent b43335e2e9
commit 8fe2c79614
3 changed files with 18 additions and 0 deletions

View file

@ -1643,6 +1643,11 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
- (BOOL) performKeyEquivalent: (NSEvent*)theEvent
{
unsigned i;
for (i = 0; i < [sub_views count]; i++)
if ([[sub_views objectAtIndex: i] performKeyEquivalent: theEvent] == YES)
return YES;
return NO;
}