Fix accelerstors with down and left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -401,7 +401,7 @@ void UMASetMenuItemShortcut( MenuRef menu , MenuItemIndex item , wxAcceleratorEn
|
||||
|
||||
// 1d and 1e have special meaning to SetItemCmd, so
|
||||
// do not use for these character codes.
|
||||
if (key != WXK_UP && key != WXK_RIGHT)
|
||||
if (key != WXK_UP && key != WXK_RIGHT && key != WXK_DOWN && key != WXK_LEFT)
|
||||
SetItemCmd( menu, item , macKey );
|
||||
|
||||
SetMenuItemModifiers( menu, item , modifiers ) ;
|
||||
|
||||
Reference in New Issue
Block a user