support for raw ctrl shortcut
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -96,6 +96,9 @@ void UMASetMenuItemShortcut( MenuRef menu , MenuItemIndex item , wxAcceleratorEn
|
||||
if (entry->GetFlags() & wxACCEL_SHIFT)
|
||||
modifiers |= kMenuShiftModifier ;
|
||||
|
||||
if (entry->GetFlags() & wxACCEL_RAW_CTRL)
|
||||
modifiers |= kMenuControlModifier ;
|
||||
|
||||
SInt16 glyph = 0 ;
|
||||
SInt16 macKey = key ;
|
||||
if ( key >= WXK_F1 && key <= WXK_F15 )
|
||||
|
Reference in New Issue
Block a user