Skip to content

Commit

Permalink
Merge pull request #1470 from lioncash/ui
Browse files Browse the repository at this point in the history
CheatSearchTab: Use a more specific event type for ApplyFocus
  • Loading branch information
lioncash committed Nov 2, 2014
2 parents 59c673a + ca2391d commit 9daaf94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/DolphinWX/Cheats/CheatSearchTab.h
Expand Up @@ -10,7 +10,7 @@
class wxButton;
class wxChoice;
class wxCommandEvent;
class wxEvent;
class wxFocusEvent;
class wxListBox;
class wxRadioBox;
class wxRadioButton;
Expand Down Expand Up @@ -57,5 +57,5 @@ class CheatSearchTab final : public wxPanel
void StartNewSearch(wxCommandEvent& event);
void FilterCheatSearchResults(wxCommandEvent& event);
void CreateARCode(wxCommandEvent&);
void ApplyFocus(wxEvent&);
void ApplyFocus(wxFocusEvent&);
};

0 comments on commit 9daaf94

Please sign in to comment.