MemoryCheckDlg: Fix event buttons

This commit is contained in:
Sepalani 2015-10-23 20:37:29 +02:00
parent bdfe889eac
commit 6b662280a9

View file

@ -23,7 +23,7 @@ MemoryCheckDlg::MemoryCheckDlg(CBreakPointWindow *parent)
: wxDialog(parent, wxID_ANY, _("Memory Check"))
, 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_pEditEndAddress = new wxTextCtrl(this, wxID_ANY, "");