wxListCtrl uses SetWindowChange() in its OnChar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-02-29 15:00:21 +00:00
parent 7beec8135e
commit c5145d4177

View File

@ -1979,6 +1979,7 @@ void wxListMainWindow::OnChar( wxKeyEvent &event )
if (event.KeyCode() == WXK_TAB)
{
wxNavigationKeyEvent nevent;
nevent.SetWindowChange( event.ControlDown() );
nevent.SetDirection( !event.ShiftDown() );
nevent.SetEventObject( GetParent()->GetParent() );
nevent.SetCurrentFocus( m_parent );