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 ;
|
glyph = kMenuDownArrowGlyph ;
|
||||||
break ;
|
break ;
|
||||||
|
|
||||||
|
case WXK_HOME :
|
||||||
|
macKey = kHomeCharCode ;
|
||||||
|
glyph = kMenuNorthwestArrowGlyph ;
|
||||||
|
break ;
|
||||||
|
|
||||||
|
case WXK_END :
|
||||||
|
macKey = kEndCharCode ;
|
||||||
|
glyph = kMenuSoutheastArrowGlyph ;
|
||||||
|
break ;
|
||||||
default :
|
default :
|
||||||
macKey = toupper( key ) ;
|
macKey = toupper( key ) ;
|
||||||
break ;
|
break ;
|
||||||
|
Reference in New Issue
Block a user