From a3345ea942c975ceaaccf9b7bf7a4121411cba41 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Sun, 6 Sep 2009 13:36:05 +0000 Subject: GUI: Fixed a double keydown event in the main frame, the double click in the video window (didn't know about CS_DBLCLKS) OpenGL: Fixed the live resolution setting git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4211 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/Src/CodeWindow.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp') diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp index 87ac941a74..bb06ddaa19 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp @@ -194,10 +194,9 @@ wxAuiToolBar *CCodeWindow::GetToolBar() void CCodeWindow::OnKeyDown(wxKeyEvent& event) { - if ((event.GetKeyCode() == WXK_SPACE) && Parent->IsActive()) - SingleCPUStep(); - else - event.Skip(); + event.Skip(); + + if ((event.GetKeyCode() == WXK_SPACE) && Parent->IsActive()) SingleCPUStep(); } void CCodeWindow::OnHostMessage(wxCommandEvent& event) -- cgit v1.2.3