summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/RegisterView.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-11-05 22:19:52 -0500
committerLioncash <mathew1800@gmail.com>2014-11-05 23:03:06 -0500
commitee22d091a0058eb12acad673bfc4e7346a195484 (patch)
tree4730e76cce5d6a71507cc56f1e3139d2e697cc89 /Source/Core/DolphinWX/Debugger/RegisterView.cpp
parentbe386e974bdadceea3adefa04bf031e665bd0a8c (diff)
DolphinWX: Eliminate most usages of event tables in the debugger.
Moves things over to Bind.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/RegisterView.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/RegisterView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Debugger/RegisterView.cpp b/Source/Core/DolphinWX/Debugger/RegisterView.cpp
index 928a709f88..cb5594a487 100644
--- a/Source/Core/DolphinWX/Debugger/RegisterView.cpp
+++ b/Source/Core/DolphinWX/Debugger/RegisterView.cpp
@@ -255,6 +255,9 @@ CRegisterView::CRegisterView(wxWindow *parent, wxWindowID id)
SetColLabelSize(0);
DisableDragRowSize();
+ Bind(wxEVT_GRID_CELL_RIGHT_CLICK, &CRegisterView::OnMouseDownR, this);
+ Bind(wxEVT_MENU, &CRegisterView::OnPopupMenu, this);
+
AutoSizeColumns();
}