Explicitly convert from C string to wxString. Fixes build on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@295 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c0c6fc9e6d
commit
2babda7a80
|
@ -470,7 +470,7 @@ void CCodeWindow::NotifyMapLoaded()
|
||||||
|
|
||||||
for (SymbolDB::XFuncMap::iterator iter = g_symbolDB.GetIterator(); iter != g_symbolDB.End(); iter++)
|
for (SymbolDB::XFuncMap::iterator iter = g_symbolDB.GetIterator(); iter != g_symbolDB.End(); iter++)
|
||||||
{
|
{
|
||||||
int idx = symbols->Append(iter->second.name.c_str());
|
int idx = symbols->Append(wxString::FromAscii(iter->second.name.c_str()));
|
||||||
symbols->SetClientData(idx, (void*)&iter->second);
|
symbols->SetClientData(idx, (void*)&iter->second);
|
||||||
}
|
}
|
||||||
symbols->Show(true);
|
symbols->Show(true);
|
||||||
|
|
Loading…
Reference in New Issue