diff options
| author | John Peterson <jpeterson57@gmail.com> | 2009-09-06 13:36:05 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2009-09-06 13:36:05 +0000 |
| commit | a3345ea942c975ceaaccf9b7bf7a4121411cba41 (patch) | |
| tree | 054b9a2d28bfc798ac5238a58c82e8aff2e9ab94 /Source/Core/DebuggerWX/Src/CodeWindow.cpp | |
| parent | 49e849dc946adba835ffbef64be867eca23bfa63 (diff) | |
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
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindow.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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) |
