mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
Get rid of old wx event type usages. Use recommended replacements
This commit is contained in:
parent
5391b2dd9c
commit
90df5efd01
13 changed files with 135 additions and 136 deletions
|
@ -966,7 +966,7 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
|||
int cmd = GetCmdForHotkey(i);
|
||||
if (cmd >= 0)
|
||||
{
|
||||
wxCommandEvent evt(wxEVT_COMMAND_MENU_SELECTED, cmd);
|
||||
wxCommandEvent evt(wxEVT_MENU, cmd);
|
||||
wxMenuItem *item = GetMenuBar()->FindItem(cmd);
|
||||
if (item && item->IsCheckable())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue