From 6b662280a9743c4dfade799695d0682fd45b9958 Mon Sep 17 00:00:00 2001 From: Sepalani Date: Fri, 23 Oct 2015 20:37:29 +0200 Subject: [PATCH] MemoryCheckDlg: Fix event buttons --- Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp b/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp index af438c227f..06bce154ea 100644 --- a/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp +++ b/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp @@ -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, "");