CheatSearchTab: Use a more specific event type for ApplyFocus

This commit is contained in:
Lioncash 2014-11-02 00:30:02 -04:00
parent 59c673aec6
commit ca2391dd1e
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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&);
};