projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move menu messages handling from wxFrame to wxTLW in wxMSW.
[wxWidgets.git]
/
src
/
osx
/
carbon
/
uma.cpp
diff --git
a/src/osx/carbon/uma.cpp
b/src/osx/carbon/uma.cpp
index fd077da11327988badae674aea1ef585b81a4db9..a89ca35d15d6a925c982f14d19959a1cf2dbf56b 100644
(file)
--- 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 )