summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeView.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-09 00:50:14 -0400
committerLioncash <mathew1800@gmail.com>2014-08-09 00:50:14 -0400
commite266635f404bd59bb9d93ad34492ea33d236ae6a (patch)
tree2b6b38418c1f2390a98f89a0680ad8b6cc1335cd /Source/Core/DolphinWX/Debugger/CodeView.cpp
parent907e0d094fd9fe396018c57e5fce3937d951af13 (diff)
parentdc2bc621a4ab405671568c831e8228ad94aaf565 (diff)
Merge pull request #740 from lioncash/host
Core: Kill off a few Host interface functions.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeView.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeView.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeView.cpp b/Source/Core/DolphinWX/Debugger/CodeView.cpp
index 80b5598dfc..182451beac 100644
--- a/Source/Core/DolphinWX/Debugger/CodeView.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeView.cpp
@@ -33,6 +33,7 @@
#include "Common/SymbolDB.h"
#include "Core/Core.h"
#include "Core/Host.h"
+#include "DolphinWX/Globals.h"
#include "DolphinWX/WxUtils.h"
#include "DolphinWX/Debugger/CodeView.h"
#include "DolphinWX/Debugger/DebuggerUIUtil.h"
@@ -139,7 +140,10 @@ void CCodeView::ToggleBreakpoint(u32 address)
{
m_debugger->ToggleBreakpoint(address);
Refresh();
- Host_UpdateBreakPointView();
+
+ // Propagate back to the parent window to update the breakpoint list.
+ wxCommandEvent evt(wxEVT_HOST_COMMAND, IDM_UPDATEBREAKPOINTS);
+ GetEventHandler()->AddPendingEvent(evt);
}
void CCodeView::OnMouseMove(wxMouseEvent& event)