summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2014-11-08 12:26:52 +1100
committerskidau <skidau@gmail.com>2014-11-08 12:26:52 +1100
commita2fa679b2e030259c0e5de8fddf89b1900c75b90 (patch)
tree527ac6b09bb88743100f492d316e0e26b0489de4 /Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
parent35b01c6616766386ba306ac6010fa047c94c7d6d (diff)
parentee22d091a0058eb12acad673bfc4e7346a195484 (diff)
Merge pull request #1507 from lioncash/event
DolphinWX: Eliminate most usages of event tables in the debugger
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"));