From: Julian Smart Date: Thu, 23 Mar 2006 16:16:00 +0000 (+0000) Subject: Fixed home and end accelerators. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4952771da3299869bfdb805edb2906ca6551637e Fixed home and end accelerators. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/uma.cpp b/src/mac/carbon/uma.cpp index 2f6077ee1a..a80cfb22be 100644 --- a/src/mac/carbon/uma.cpp +++ b/src/mac/carbon/uma.cpp @@ -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 ;