]> git.saurik.com Git - wxWidgets.git/commit
Fix resizing of wxGrid columns when they were reordered.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Nov 2010 15:02:42 +0000 (15:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Nov 2010 15:02:42 +0000 (15:02 +0000)
commitf71adb50291d95932159cbd3afa6a0a6fb86b20e
tree18ee9ce0dc1317507967903167fcb83937c79bd6
parent76d23441fc72342cab289f818fa6b379489564b5
Fix resizing of wxGrid columns when they were reordered.

The column resizing code in wxGrid didn't take account of the fact that the
column positions and indices could be different. Correct it by inserting calls
to wxGrid::GetColAt() and GetColPos() in a new wxGridOperations::GetLineBefore()
method.

Closes #11984.

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