From b79d8d9e10193cf0eb1381790f454a6ab14f6641 Mon Sep 17 00:00:00 2001 From: skidau Date: Sat, 26 May 2012 15:45:58 +1000 Subject: [PATCH] Fixed the Cheat Search. Patch by nagosaki. --- Source/Core/DolphinWX/Src/CheatsWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/CheatsWindow.cpp b/Source/Core/DolphinWX/Src/CheatsWindow.cpp index 3a2a414b4b..eb25117533 100644 --- a/Source/Core/DolphinWX/Src/CheatsWindow.cpp +++ b/Source/Core/DolphinWX/Src/CheatsWindow.cpp @@ -443,7 +443,7 @@ void CheatSearchTab::FilterCheatSearchResults(wxCommandEvent&) if (filter_mask != 7) // don't need the value for the "None" filter { unsigned long parsed_x_val = 0; - wxString x_val = textctrl_value_x->GetLabel(); + wxString x_val = textctrl_value_x->GetValue(); if (!x_val.ToULong(&parsed_x_val, 0)) { @@ -494,8 +494,9 @@ void CheatSearchTab::FilterCheatSearchResults(wxCommandEvent&) UpdateCheatSearchResultsList(); } -void CheatSearchTab::ApplyFocus(wxCommandEvent&) +void CheatSearchTab::ApplyFocus(wxCommandEvent& ev) { + ev.Skip(true); value_x_radiobtn.rad_uservalue->SetValue(true); }