Core: Kill off Host_UpdateBreakPointView()

Uses wxWidgets event propagation to the parent window which then appropriately handles the breakpoint list updating.
This commit is contained in:
Lioncash
2014-08-04 23:46:37 -04:00
parent 99dc069b9a
commit d4eb0684f7
7 changed files with 10 additions and 20 deletions

View File

@ -591,17 +591,6 @@ void Host_UpdateTitle(const std::string& title)
main_frame->GetEventHandler()->AddPendingEvent(event);
}
void Host_UpdateBreakPointView()
{
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATEBREAKPOINTS);
main_frame->GetEventHandler()->AddPendingEvent(event);
if (main_frame->g_pCodeWindow)
{
main_frame->g_pCodeWindow->GetEventHandler()->AddPendingEvent(event);
}
}
void Host_GetRenderWindowSize(int& x, int& y, int& width, int& height)
{
main_frame->GetRenderWindowSize(x, y, width, height);