From ca2391dd1ee6311ff03d653c85ee56b9c851162e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 2 Nov 2014 00:30:02 -0400 Subject: [PATCH] CheatSearchTab: Use a more specific event type for ApplyFocus --- Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp | 2 +- Source/Core/DolphinWX/Cheats/CheatSearchTab.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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&); };