summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-11-02 00:30:02 -0400
committerLioncash <mathew1800@gmail.com>2014-11-02 00:30:02 -0400
commitca2391dd1ee6311ff03d653c85ee56b9c851162e (patch)
treef327d7651c5ba38814f2d1252a135b2b68b0f1b3 /Source/Core
parent59c673aec6f12e1fa44c619314ab0acfb9f9abb2 (diff)
CheatSearchTab: Use a more specific event type for ApplyFocus
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp2
-rw-r--r--Source/Core/DolphinWX/Cheats/CheatSearchTab.h4
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&);
};