From d4eb0684f76b012dbec22285100808608fd2b914 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 4 Aug 2014 23:46:37 -0400 Subject: Core: Kill off Host_UpdateBreakPointView() Uses wxWidgets event propagation to the parent window which then appropriately handles the breakpoint list updating. --- Source/Core/DolphinWX/Main.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Source/Core/DolphinWX/Main.cpp') diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index fb8ea71603..5a2fda3687 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -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); -- cgit v1.2.3 From 7bf82f19895f1f6b01d5b3971e1e9e4dae5dc154 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 5 Aug 2014 00:35:53 -0400 Subject: Core: Kill off Host_UpdateLogDisplay() This was actually never used as far as I can tell. There was no wx event handling done whatsoever for the global ID, So this is basically a dead function. --- Source/Core/DolphinWX/Main.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'Source/Core/DolphinWX/Main.cpp') diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index 5a2fda3687..10dede9891 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -542,19 +542,6 @@ void Host_NotifyMapLoaded() } } - -void Host_UpdateLogDisplay() -{ - wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATELOGDISPLAY); - main_frame->GetEventHandler()->AddPendingEvent(event); - - if (main_frame->g_pCodeWindow) - { - main_frame->g_pCodeWindow->GetEventHandler()->AddPendingEvent(event); - } -} - - void Host_UpdateDisasmDialog() { wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATEDISASMDIALOG); @@ -566,7 +553,6 @@ void Host_UpdateDisasmDialog() } } - void Host_ShowJitResults(unsigned int address) { if (main_frame->g_pCodeWindow && main_frame->g_pCodeWindow->m_JitWindow) -- cgit v1.2.3