From ccb56ddf97dded3af5b2d6e3a41367f56ca7d672 Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Mon, 20 Jul 2015 10:04:18 +0200 Subject: CFrame: Claim all keyboard events on OS X. --- Source/Core/DolphinWX/FrameTools.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/DolphinWX/FrameTools.cpp') 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); -- cgit v1.2.3