Store row/column selection more appropriately in wxGrid.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 Dec 2011 22:05:23 +0000 (22:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 Dec 2011 22:05:23 +0000 (22:05 +0000)
commitbe8fbbff6637fbbc011f48e8b41d291467b95d61
tree6b9758f06b6c25f1cffbabee0324a7aa5af47d4a
parent144a67054a50d9e47ebfc2cc1e3ca4393ecbdd8e
Store row/column selection more appropriately in wxGrid.

Use wxGridSelection::m_rowSelection and m_colSelection for storing the
selected rows/columns respectively instead of storing them in m_blockXXX
arrays. This makes more sense and allows to easily implement the proper
handling of Ctrl-clicking in the row or column selection modes.

Closes #12638.

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