mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Get rid of old wx event type usages. Use recommended replacements
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user