mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
DolphinWX: Get rid of unnecessary hotkey code.
This commit is contained in:
parent
a09cf1d8f1
commit
77ce389bb0
1 changed files with 0 additions and 6 deletions
|
@ -482,12 +482,6 @@ wxString CFrame::GetMenuLabel(int Id)
|
|||
Label = wxString::Format(_("Undefined %i"), Id);
|
||||
}
|
||||
|
||||
// wxWidgets only accepts Ctrl/Alt/Shift as menu accelerator
|
||||
// modifiers. On OS X, "Ctrl+" is mapped to the Command key.
|
||||
#ifdef __APPLE__
|
||||
if (hotkeymodifier & wxMOD_CMD)
|
||||
hotkeymodifier |= wxMOD_CONTROL;
|
||||
#endif
|
||||
hotkeymodifier &= wxMOD_CONTROL | wxMOD_ALT | wxMOD_SHIFT;
|
||||
|
||||
Modifier = InputCommon::WXKeymodToString(hotkeymodifier);
|
||||
|
|
Loading…
Add table
Reference in a new issue