summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.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/MemoryCheckDlg.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/MemoryCheckDlg.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp b/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
index ca2d9a812e..c1cc1dedb5 100644
--- a/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
+++ b/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
@@ -25,14 +25,12 @@
#define TEXT_BOX(text) new wxStaticText(this, wxID_ANY, _(text))
-BEGIN_EVENT_TABLE(MemoryCheckDlg, wxDialog)
- EVT_BUTTON(wxID_OK, MemoryCheckDlg::OnOK)
-END_EVENT_TABLE()
-
MemoryCheckDlg::MemoryCheckDlg(CBreakPointWindow *parent)
: wxDialog(parent, wxID_ANY, _("Memory Check"))
, m_parent(parent)
{
+ Bind(wxEVT_BUTTON, &MemoryCheckDlg::OnOK, this);
+
m_pEditStartAddress = new wxTextCtrl(this, wxID_ANY, "");
m_pEditEndAddress = new wxTextCtrl(this, wxID_ANY, "");
m_pWriteFlag = new wxCheckBox(this, wxID_ANY, _("Write"));