diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-02-22 04:07:58 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-02-22 04:09:37 -0500 |
| commit | d48ad19b8d2fa168118618460dcfde17bc075b4a (patch) | |
| tree | c5655d6ae5a7cf744008f4cc3921b131c55052ed /Source/Core/DolphinWX/Frame.cpp | |
| parent | 860c889454635c0f4f7cf601f8ec77c7b81c19cd (diff) | |
DolphinWX: Remove unnecessary Windows-specific code in Frame.cpp
wx's version of SetFocus internally calls the Windows one.
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Frame.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 2446cb4cd3..8b68e03c45 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -577,13 +577,7 @@ void CFrame::OnActive(wxActivateEvent& event) if (event.GetActive() && event.GetEventObject() == m_RenderFrame) { if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain) - { -#ifdef __WXMSW__ - ::SetFocus((HWND)m_RenderParent->GetHandle()); -#else m_RenderParent->SetFocus(); -#endif - } if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor && Core::GetState() == Core::CORE_RUN) |
