8036757: [macosx] Space menu accelerator not rendered correctly
Reviewed-by: anthony, serb
This commit is contained in:
parent
2e800053d0
commit
8843617840
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -259,7 +259,7 @@ static unichar AWTKeyToMacShortcut(jint awtKey, BOOL doShift) {
|
||||
case java_awt_event_KeyEvent_VK_QUOTE : macKey = '\''; break;
|
||||
|
||||
case java_awt_event_KeyEvent_VK_ESCAPE : macKey = 0x1B; break;
|
||||
// case java_awt_event_KeyEvent_VK_SPACE : macKey = kMenuSpaceGlyph; break;
|
||||
case java_awt_event_KeyEvent_VK_SPACE : macKey = ' '; break;
|
||||
case java_awt_event_KeyEvent_VK_PAGE_UP : macKey = NSPageUpFunctionKey; break;
|
||||
case java_awt_event_KeyEvent_VK_PAGE_DOWN : macKey = NSPageDownFunctionKey; break;
|
||||
case java_awt_event_KeyEvent_VK_END : macKey = NSEndFunctionKey; break;
|
||||
|
Loading…
Reference in New Issue
Block a user