From 005b6dc88b7e5de5e39016c52d1d2cf173654d9b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 19 Jul 2020 17:24:43 +0200 Subject: [PATCH] Fix window focus after the last commit Initialize m_disableFocusFromKbd, added by the parent commit, correctly to "false" and not "true". See https://github.com/wxWidgets/wxWidgets/pull/1516 --- src/common/wincmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 092c95f94e..34f3737bbc 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -320,7 +320,7 @@ wxWindowBase::wxWindowBase() m_containingSizer = NULL; m_autoLayout = false; - m_disableFocusFromKbd = true; + m_disableFocusFromKbd = false; #if wxUSE_DRAG_AND_DROP m_dropTarget = NULL;