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(); UpdateCheatSearchResultsList();
} }
void CheatSearchTab::ApplyFocus(wxEvent& ev) void CheatSearchTab::ApplyFocus(wxFocusEvent& ev)
{ {
ev.Skip(); ev.Skip();
m_value_x_radiobtn.rad_uservalue->SetValue(true); m_value_x_radiobtn.rad_uservalue->SetValue(true);

View File

@ -10,7 +10,7 @@
class wxButton; class wxButton;
class wxChoice; class wxChoice;
class wxCommandEvent; class wxCommandEvent;
class wxEvent; class wxFocusEvent;
class wxListBox; class wxListBox;
class wxRadioBox; class wxRadioBox;
class wxRadioButton; class wxRadioButton;
@ -57,5 +57,5 @@ private:
void StartNewSearch(wxCommandEvent& event); void StartNewSearch(wxCommandEvent& event);
void FilterCheatSearchResults(wxCommandEvent& event); void FilterCheatSearchResults(wxCommandEvent& event);
void CreateARCode(wxCommandEvent&); void CreateARCode(wxCommandEvent&);
void ApplyFocus(wxEvent&); void ApplyFocus(wxFocusEvent&);
}; };