Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reset wxTAB_TRAVERSAL.
Fixes issue 3903.
  • Loading branch information
comex committed Sep 29, 2013
1 parent cb715f4 commit 1ed06f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/Core/DolphinWX/Src/FrameTools.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit 1ed06f1

Please sign in to comment.