git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@285 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2008-08-23 19:50:28 +00:00
parent 657dfff6f8
commit 8f6d7ad5e9
10 changed files with 40 additions and 6 deletions

View file

@ -219,9 +219,9 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
{
int sel = Debugger::FindSymbol(selection);
if (sel > 0) {
wxTextEntryDialog input_symbol(this, "Rename symbol:", wxGetTextFromUserPromptStr, Debugger::GetSymbol(sel).GetName().c_str());
wxTextEntryDialog input_symbol(this, wxString::FromAscii("Rename symbol:"), wxGetTextFromUserPromptStr, wxString::FromAscii(Debugger::GetSymbol(sel).GetName().c_str()));
if (input_symbol.ShowModal() == wxID_OK) {
Debugger::AccessSymbol(sel).SetName(input_symbol.GetValue().c_str());
Debugger::AccessSymbol(sel).SetName(input_symbol.GetValue().mb_str());
}
// redraw();
Host_NotifyMapLoaded();