]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Corrected cursors for during capture mouse.
[wxWidgets.git] / src / generic / listctrl.cpp
index e2109c176c61a45792d43d9fcdd6bd28675faaf5..c64f7e42293c932a67b6a91c5de5e50113134ae1 100644 (file)
@@ -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)
     {