git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27549
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
glyph += 13 ;
if ( !explicitCommandKey )
modifiers |= kMenuNoCommandModifier ;
glyph += 13 ;
if ( !explicitCommandKey )
modifiers |= kMenuNoCommandModifier ;
macKey = kDownArrowCharCode ;
glyph = kMenuDownArrowGlyph ;
break ;
macKey = kDownArrowCharCode ;
glyph = kMenuDownArrowGlyph ;
break ;
+ default :
+ macKey = toupper( key ) ;
+ break ;
+ // we now allow non command key shortcuts
+ // remove in case this gives problems
+ if ( !explicitCommandKey )
+ modifiers |= kMenuNoCommandModifier ;
}
// 1d and 1e have special meaning to SetItemCmd, so
}
// 1d and 1e have special meaning to SetItemCmd, so