From f775501ba0a3b514cd0417e947c307c850d1dfec Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 30 Jan 2018 19:40:59 +0100 Subject: [PATCH] Don't eat TAB unconditionally in wxComboCtrl This prevented TAB navigation from doing anything at all when the focus was on wxComboCtrl in wxGTK and, probably, all the other non-MSW ports (in wxMSW TAB navigation happens before normal key processing, so this check was irrelevant there). --- src/common/combocmn.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 33342b6952..3dc6901f82 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -751,9 +751,7 @@ void wxComboBoxExtraInputHandler::OnKey(wxKeyEvent& event) if ( !combo->GetEventHandler()->ProcessEvent(redirectedEvent) ) { - // Don't let TAB through to the text ctrl - looks ugly - if ( event.GetKeyCode() != WXK_TAB ) - event.Skip(); + event.Skip(); } }