diff --git a/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp b/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp index b0999ad98b..dfc96fd785 100644 --- a/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp +++ b/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp @@ -254,7 +254,7 @@ void CheatSearchTab::FilterCheatSearchResults(wxCommandEvent&) UpdateCheatSearchResultsList(); } -void CheatSearchTab::ApplyFocus(wxEvent& ev) +void CheatSearchTab::ApplyFocus(wxFocusEvent& ev) { ev.Skip(); m_value_x_radiobtn.rad_uservalue->SetValue(true); diff --git a/Source/Core/DolphinWX/Cheats/CheatSearchTab.h b/Source/Core/DolphinWX/Cheats/CheatSearchTab.h index d3f4615435..c05f46a6fd 100644 --- a/Source/Core/DolphinWX/Cheats/CheatSearchTab.h +++ b/Source/Core/DolphinWX/Cheats/CheatSearchTab.h @@ -10,7 +10,7 @@ class wxButton; class wxChoice; class wxCommandEvent; -class wxEvent; +class wxFocusEvent; class wxListBox; class wxRadioBox; class wxRadioButton; @@ -57,5 +57,5 @@ private: void StartNewSearch(wxCommandEvent& event); void FilterCheatSearchResults(wxCommandEvent& event); void CreateARCode(wxCommandEvent&); - void ApplyFocus(wxEvent&); + void ApplyFocus(wxFocusEvent&); };