summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/FrameTools.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2015-07-20 10:04:18 +0200
committerJules Blok <jules.blok@gmail.com>2015-07-20 10:11:11 +0200
commitccb56ddf97dded3af5b2d6e3a41367f56ca7d672 (patch)
tree2b2ca724caa122fb4b425497bbdedab5309e00c5 /Source/Core/DolphinWX/FrameTools.cpp
parentda38e3a8ae7be05ca783e72f0bce821dc23646bd (diff)
CFrame: Claim all keyboard events on OS X.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
-rw-r--r--Source/Core/DolphinWX/FrameTools.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp
index d56a8486b2..a54677423d 100644
--- a/Source/Core/DolphinWX/FrameTools.cpp
+++ b/Source/Core/DolphinWX/FrameTools.cpp
@@ -1046,6 +1046,7 @@ void CFrame::StartGame(const std::string& filename)
m_RenderParent->SetFocus();
+ wxTheApp->Bind(wxEVT_KEY_DOWN, &CFrame::OnKeyDown, this);
wxTheApp->Bind(wxEVT_RIGHT_DOWN, &CFrame::OnMouse, this);
wxTheApp->Bind(wxEVT_RIGHT_UP, &CFrame::OnMouse, this);
wxTheApp->Bind(wxEVT_MIDDLE_DOWN, &CFrame::OnMouse, this);