Fixed home and end accelerators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -388,6 +388,15 @@ void UMASetMenuItemShortcut( MenuRef menu , MenuItemIndex item , wxAcceleratorEn
|
||||
glyph = kMenuDownArrowGlyph ;
|
||||
break ;
|
||||
|
||||
case WXK_HOME :
|
||||
macKey = kHomeCharCode ;
|
||||
glyph = kMenuNorthwestArrowGlyph ;
|
||||
break ;
|
||||
|
||||
case WXK_END :
|
||||
macKey = kEndCharCode ;
|
||||
glyph = kMenuSoutheastArrowGlyph ;
|
||||
break ;
|
||||
default :
|
||||
macKey = toupper( key ) ;
|
||||
break ;
|
||||
|
Reference in New Issue
Block a user