fix an ascii/wxstring in gamelistctrl, replace fromascii("") with wxemptystring, don't push_back 0 at the end of wstrings

This commit is contained in:
LPFaint99
2011-12-22 14:28:12 -08:00
parent 8f6c25a5aa
commit 825e2ea4df
4 changed files with 8 additions and 10 deletions

View File

@ -27,10 +27,10 @@ wxString CDSPRegTable::GetValue(int row, int col)
{
case 0: return wxString::FromAscii(pdregname(row));
case 1: return wxString::Format(wxT("0x%04x"), DSPCore_ReadRegister(row));
default: return wxString::FromAscii("");
default: return wxEmptyString;
}
}
return wxString::FromAscii("");
return wxEmptyString;
}
void CDSPRegTable::SetValue(int, int, const wxString &)