From 1ed06f1dc41a451b3ed895ac591ac2c26989bc84 Mon Sep 17 00:00:00 2001 From: comex Date: Sat, 28 Sep 2013 23:00:56 -0400 Subject: [PATCH] Reset wxTAB_TRAVERSAL. Fixes issue 3903. --- Source/Core/DolphinWX/Src/FrameTools.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index c146facec6..5864c6ae8c 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -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 {