Recognize lack of wxTAB_TRAVERSAL style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-10-01 17:56:04 +00:00
parent fe6ee7ec10
commit c80f436e83

View File

@@ -4977,7 +4977,10 @@ void wxPropertyGrid::HandleKeyEvent(wxKeyEvent &event)
if ( keycode == WXK_TAB )
{
if ( HasFlag(wxTAB_TRAVERSAL) )
SendNavigationKeyEvent( event.ShiftDown()?0:1 );
else
event.Skip();
return;
}