Stupid error in my last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward
2000-06-21 09:13:29 +00:00
parent 0c25b1bc0a
commit 3ffdc4cfeb

View File

@@ -5301,7 +5301,7 @@ void wxGrid::OnKeyDown( wxKeyEvent& event )
}
else
{
if ( GetGridCursorCol() > 0 )
if ( GetGridCursorCol() < GetNumberCols()-1 )
{
MoveCursorRight( FALSE );
}