Merge pull request #3199 from sepalani/debug_mem_range

MemoryCheckDlg: Fix close/cancel buttons
This commit is contained in:
Lioncash 2015-10-23 14:56:03 -04:00
commit 382a2f390c

View File

@ -23,7 +23,7 @@ MemoryCheckDlg::MemoryCheckDlg(CBreakPointWindow *parent)
: wxDialog(parent, wxID_ANY, _("Memory Check")) : wxDialog(parent, wxID_ANY, _("Memory Check"))
, m_parent(parent) , m_parent(parent)
{ {
Bind(wxEVT_BUTTON, &MemoryCheckDlg::OnOK, this); Bind(wxEVT_BUTTON, &MemoryCheckDlg::OnOK, this, wxID_OK);
m_pEditStartAddress = new wxTextCtrl(this, wxID_ANY, ""); m_pEditStartAddress = new wxTextCtrl(this, wxID_ANY, "");
m_pEditEndAddress = new wxTextCtrl(this, wxID_ANY, ""); m_pEditEndAddress = new wxTextCtrl(this, wxID_ANY, "");