From c33a9de6affd139b7a9b7133f7d0d134ec466e32 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 18 Sep 2014 21:15:26 -0400 Subject: [PATCH] FrameTools: Set focus on Windows via CFrame::SetFocus --- Source/Core/DolphinWX/FrameTools.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index e6a9aaad17..90254c9a14 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -973,11 +973,7 @@ void CFrame::StartGame(const std::string& filename) X11Utils::XWindowFromHandle(GetHandle()), true); #endif -#ifdef _WIN32 - ::SetFocus((HWND)m_RenderParent->GetHandle()); -#else m_RenderParent->SetFocus(); -#endif wxTheApp->Bind(wxEVT_KEY_DOWN, &CFrame::OnKeyDown, this); wxTheApp->Bind(wxEVT_KEY_UP, &CFrame::OnKeyUp, this);