mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Revert "Use the global ::wxSetCursor instead of the local one from our panel object. Should close 3956."
This reverts commit 884006e4c8
.
This commit is contained in:
@ -514,14 +514,14 @@ void CFrame::OnActive(wxActivateEvent& event)
|
||||
m_RenderParent->SetFocus();
|
||||
#endif
|
||||
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor &&
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor &&
|
||||
Core::GetState() == Core::CORE_RUN)
|
||||
::wxSetCursor(cursor_transparent);
|
||||
m_RenderParent->SetCursor(cursor_transparent);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor)
|
||||
::wxSetCursor(wxNullCursor);
|
||||
m_RenderParent->SetCursor(wxNullCursor);
|
||||
}
|
||||
}
|
||||
event.Skip();
|
||||
|
Reference in New Issue
Block a user