mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:47:39 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4341 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
076f49846e
commit
eccba52f9b
3 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Jun 2 20:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSApplication.m: Send performKeyEquivalent messages.
|
||||
* Source/NSWindow.m: Send performKeyEquivalent messages.
|
||||
* Source/NSView.m: Send performKeyEquivalent messages.
|
||||
|
||||
Wed Jun 2 19:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Headers/gnustep/gui/DPSOperators.h: Fixed error in event functions.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -984,6 +984,13 @@ static Class responderClass;
|
|||
[self close];
|
||||
}
|
||||
|
||||
- (BOOL) performKeyEquivalent: (NSEvent*)theEvent
|
||||
{
|
||||
if (content_view)
|
||||
return [content_view performKeyEquivalent: theEvent];
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (void) performMiniaturize: (id)sender
|
||||
{
|
||||
is_miniaturized = YES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue