mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #1537 from lioncash/wx
MemoryView: Fix a dealloc of a stack reference
This commit is contained in:
commit
1e5a232464
@ -230,11 +230,11 @@ void CMemoryView::OnMouseDownR(wxMouseEvent& event)
|
||||
menu.Append(IDM_WATCHADDRESS, _("Add to &watch"));
|
||||
menu.Append(IDM_TOGGLEMEMORY, _("Toggle &memory"));
|
||||
|
||||
wxMenu viewAsSubMenu;
|
||||
viewAsSubMenu.Append(IDM_VIEWASFP, _("FP value"));
|
||||
viewAsSubMenu.Append(IDM_VIEWASASCII, "ASCII");
|
||||
viewAsSubMenu.Append(IDM_VIEWASHEX, _("Hex"));
|
||||
menu.AppendSubMenu(&viewAsSubMenu, _("View As:"));
|
||||
wxMenu* viewAsSubMenu = new wxMenu;
|
||||
viewAsSubMenu->Append(IDM_VIEWASFP, _("FP value"));
|
||||
viewAsSubMenu->Append(IDM_VIEWASASCII, "ASCII");
|
||||
viewAsSubMenu->Append(IDM_VIEWASHEX, _("Hex"));
|
||||
menu.AppendSubMenu(viewAsSubMenu, _("View As:"));
|
||||
|
||||
PopupMenu(&menu);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user