changeset 14312 | 310bfcd9c932 |
parent 13781 | bf3d53b1fba7 |
child 15322 | 3638f33225ec |
--- a/jdk/src/macosx/native/sun/awt/CMenuItem.m Fri Nov 02 19:20:03 2012 +0400 +++ b/jdk/src/macosx/native/sun/awt/CMenuItem.m Fri Nov 02 19:47:12 2012 +0400 @@ -76,7 +76,7 @@ NSEvent *currEvent = [[NSApplication sharedApplication] currentEvent]; if ([currEvent type] == NSKeyDown) { NSString *menuKey = [sender keyEquivalent]; - NSString *eventKey = [currEvent characters]; + NSString *eventKey = [currEvent charactersIgnoringModifiers]; if ([menuKey isEqualToString:eventKey]) { return; }