From: Stefan Csomor Date: Tue, 16 Aug 2011 12:17:13 +0000 (+0000) Subject: support for raw ctrl shortcut X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3e7c34b5a19630968d4857dbbef04b6d87dacc63 support for raw ctrl shortcut git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/uma.cpp b/src/osx/carbon/uma.cpp index fd077da113..a89ca35d15 100644 --- a/src/osx/carbon/uma.cpp +++ b/src/osx/carbon/uma.cpp @@ -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 )