Core: Kill off Host_ShowJitResults

Another host function that can be killed off by simple wx event handling
This commit is contained in:
Lioncash 2014-08-15 15:10:41 -04:00
parent d5d5580424
commit cf46ac7dc9
11 changed files with 15 additions and 24 deletions

View file

@ -309,7 +309,12 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
break;
case IDM_JITRESULTS:
m_debugger->ShowJitResults(m_selection);
{
// Propagate back to the parent window and tell it
// to flip to the JIT tab for the current address.
wxCommandEvent jit_event(wxEVT_HOST_COMMAND, IDM_UPDATEJITPANE);
GetEventHandler()->AddPendingEvent(jit_event);
}
break;
case IDM_FOLLOWBRANCH: