]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed home and end accelerators.
authorJulian Smart <julian@anthemion.co.uk>
Thu, 23 Mar 2006 16:16:00 +0000 (16:16 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 23 Mar 2006 16:16:00 +0000 (16:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/uma.cpp

index 2f6077ee1a14eca024e9ce5dfb972ddeabe0a7a1..a80cfb22be3063aa0df1a2b71d9b168afbb03e2a 100644 (file)
@@ -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 ;