DolphinWX: Remove unnecessary Windows-specific code in Frame.cpp

wx's version of SetFocus internally calls the Windows one.
This commit is contained in:
Lioncash 2015-02-22 04:07:58 -05:00
parent 860c889454
commit d48ad19b8d
1 changed files with 0 additions and 6 deletions

View File

@ -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)