mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Reset wxTAB_TRAVERSAL.
Fixes issue 3903.
This commit is contained in:
parent
cb715f4fc9
commit
1ed06f1dc4
@ -873,6 +873,12 @@ void CFrame::StartGame(const std::string& filename)
|
||||
m_RenderFrame->SetWindowStyle(m_RenderFrame->GetWindowStyle() | wxSTAY_ON_TOP);
|
||||
else
|
||||
m_RenderFrame->SetWindowStyle(m_RenderFrame->GetWindowStyle() & ~wxSTAY_ON_TOP);
|
||||
|
||||
// No, I really don't want TAB_TRAVERSAL being set behind my back,
|
||||
// thanks. (Note that calling DisableSelfFocus would prevent this flag
|
||||
// from being set for new children, but wouldn't reset the existing
|
||||
// flag.)
|
||||
m_RenderParent->SetWindowStyle(m_RenderParent->GetWindowStyle() & ~wxTAB_TRAVERSAL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user