mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-03 09:48:32 +00:00
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@285 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
657dfff6f8
commit
8f6d7ad5e9
10 changed files with 40 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue