mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
More multi-byte display fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4750 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -48,7 +48,7 @@ void CARCodeAddEdit::CreateGUIControls(int _selection)
|
||||
}
|
||||
else
|
||||
{
|
||||
currentName = wxString::FromAscii(arCodes.at(_selection).name.c_str());
|
||||
currentName = wxString(arCodes.at(_selection).name.c_str(), *wxConvCurrent);
|
||||
tempEntries = arCodes.at(_selection);
|
||||
}
|
||||
|
||||
@ -94,7 +94,7 @@ void CARCodeAddEdit::OnClose(wxCloseEvent& WXUNUSED (event))
|
||||
void CARCodeAddEdit::ChangeEntry(wxSpinEvent& event)
|
||||
{
|
||||
ActionReplay::ARCode currentCode = arCodes.at((int)arCodes.size() - event.GetPosition());
|
||||
EditCheatName->SetValue(wxString::FromAscii(currentCode.name.c_str()));
|
||||
EditCheatName->SetValue(wxString(currentCode.name.c_str(), *wxConvCurrent));
|
||||
UpdateTextCtrl(currentCode);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user