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).
This commit is contained in:
Vadim Zeitlin 2018-01-30 19:40:59 +01:00
parent 9f57b6ed20
commit f775501ba0

View File

@ -751,8 +751,6 @@ 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();
}
}