]> git.saurik.com Git - wxWidgets.git/commit
Reset sorting column in generic wxDataViewCtrl properly.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Apr 2013 17:18:44 +0000 (17:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Apr 2013 17:18:44 +0000 (17:18 +0000)
commit732a176cf3cd4e9c1ff2383b097895dabb427749
tree54aeb01005b8c43315db31fa3d496369b1827d9d
parent62a58fbef55ae50b171f225f372ccfd0a4b251af
Reset sorting column in generic wxDataViewCtrl properly.

We could keep using the column previously used for sorting even after
UnsetAsSortKey() was called on it. Ensure that this doesn't happen by
resetting the owner wxDataViewCtrl sort column index too.

Closes #15160.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/dataview.h
src/generic/datavgen.cpp