Renamed the Menu Accelerators to Key Shortcuts.

Cleared the default mapping of hotkeys as they were conflicting with the key shortcuts.
Removed the Open, Change Disc, Refresh List and Exit hotkeys as they work only when driven from the menu.
This commit is contained in:
skidau
2015-03-06 11:54:29 +11:00
parent 780eef68f6
commit 12ecc537e9
4 changed files with 56 additions and 265 deletions

View File

@ -1414,7 +1414,7 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
if (cmd >= 0)
{
wxCommandEvent evt(wxEVT_MENU, cmd);
wxMenuItem *item = GetMenuBar()->FindItem(cmd);
wxMenuItem* item = GetMenuBar()->FindItem(cmd);
if (item && item->IsCheckable())
{
item->wxMenuItemBase::Toggle();