clearing shortcuts, patch from Leland, fixes #10342
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -187,7 +187,12 @@ void UMAInsertSubMenuItem( MenuRef menu , const wxString& title, wxFontEncoding
|
||||
void UMASetMenuItemShortcut( MenuRef menu , MenuItemIndex item , wxAcceleratorEntry *entry )
|
||||
{
|
||||
if ( !entry )
|
||||
{
|
||||
SetMenuItemModifiers( menu, item , kMenuNoModifiers );
|
||||
SetMenuItemKeyGlyph( menu, item , kMenuNullGlyph );
|
||||
SetItemCmd( menu, item , 0 );
|
||||
return ;
|
||||
}
|
||||
|
||||
UInt8 modifiers = 0 ;
|
||||
SInt16 key = entry->GetKeyCode() ;
|
||||
|
Reference in New Issue
Block a user