summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/FrameTools.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-09-18 21:15:26 -0400
committerLioncash <mathew1800@gmail.com>2014-09-18 21:15:26 -0400
commitc33a9de6affd139b7a9b7133f7d0d134ec466e32 (patch)
tree3a8e8484837bb39215e26f796512fcdd25be0815 /Source/Core/DolphinWX/FrameTools.cpp
parent68d62c3d32296bcf8d6831f70314c1d7c50044c9 (diff)
FrameTools: Set focus on Windows via CFrame::SetFocus
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
-rw-r--r--Source/Core/DolphinWX/FrameTools.cpp4
1 files changed, 0 insertions, 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);