mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Merge pull request #2096 from lioncash/wx
DolphinWX: Remove unnecessary Windows-specific code in Frame.cpp
This commit is contained in:
commit
69381580f3
1 changed files with 0 additions and 6 deletions
|
@ -577,13 +577,7 @@ void CFrame::OnActive(wxActivateEvent& event)
|
||||||
if (event.GetActive() && event.GetEventObject() == m_RenderFrame)
|
if (event.GetActive() && event.GetEventObject() == m_RenderFrame)
|
||||||
{
|
{
|
||||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
|
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
|
||||||
{
|
|
||||||
#ifdef __WXMSW__
|
|
||||||
::SetFocus((HWND)m_RenderParent->GetHandle());
|
|
||||||
#else
|
|
||||||
m_RenderParent->SetFocus();
|
m_RenderParent->SetFocus();
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor &&
|
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor &&
|
||||||
Core::GetState() == Core::CORE_RUN)
|
Core::GetState() == Core::CORE_RUN)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue