X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00a395425ca9bc2af88f24d56324779c726fba94..546db2a8f8e9975eba9e54d7f4b7f3546a4a515d:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index e2109c176c..c64f7e4229 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -1424,6 +1424,14 @@ void wxListMainWindow::OnChar( wxKeyEvent &event ) ke.SetEventObject( parent ); if (parent->GetEventHandler()->ProcessEvent( ke )) return; + if (event.KeyCode() == WXK_TAB) + { + wxNavigationKeyEvent nevent; + nevent.SetDirection( !event.ShiftDown() ); + nevent.SetCurrentFocus( m_parent ); + if (m_parent->GetEventHandler()->ProcessEvent( nevent )) return; + } + /* no item -> nothing to do */ if (!m_current) {