mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:30:38 +00:00
merged to trunk current status
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/themes@23385 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
64dac156e8
commit
296a0bd206
87 changed files with 4164 additions and 2031 deletions
|
@ -500,10 +500,15 @@ static id buttonCellClass = nil;
|
|||
[NSControl-performClick:]
|
||||
[NSEvent-charactersIgnoringModifiers] [NSEvent-modifierFlags]</p>
|
||||
|
||||
Does nothing and returns NO if the receiver is disabled or if it is
|
||||
blocked by a modal window being run.
|
||||
|
||||
*/
|
||||
- (BOOL) performKeyEquivalent: (NSEvent *)anEvent
|
||||
{
|
||||
if ([self isEnabled])
|
||||
NSWindow *w = [self window];
|
||||
|
||||
if ([self isEnabled] && ([w worksWhenModal] || [NSApp modalWindow] == w))
|
||||
{
|
||||
NSString *key = [self keyEquivalent];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue