Fix keyboard navigation in wxGrid with reordered columns.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Jun 2011 13:33:10 +0000 (13:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Jun 2011 13:33:10 +0000 (13:33 +0000)
commit8770af492aec443f8016c27ff46cbb01cd2e8357
tree15be4127198e313970c597e9783f23106b468adc
parent2c6d6dfe606b142618a8fe200fb8e4594372e514
Fix keyboard navigation in wxGrid with reordered columns.

Don't mix up column internal indices and display positions in wxGrid keyboard
navigation code.

This ensures that pressing left/right cursor arrows always moves the cursor to
the previous/next column on the display, even if the columns were reordered.

Closes #13281.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/generic/private/grid.h