]> git.saurik.com Git - wxWidgets.git/commit
Fix drawing of expander columns not at 0 position in generic wxDVC.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 21 Jul 2011 13:50:14 +0000 (13:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 21 Jul 2011 13:50:14 +0000 (13:50 +0000)
commit311c4a7a852c719f234a3822acc4b5d526c2711f
tree46b4d3a5bbf64bea970309ebf9dedc340230c345
parent4385e702963373bf015f5a9dbad95c9b9c2e0809
Fix drawing of expander columns not at 0 position in generic wxDVC.

The drawing code in the generic version of wxDataViewCtrl incorrectly supposed
that the expander column was always at position 0. This resulted in the
expander column not being drawn at all if it was not really the first one.

Fix the test to use wxDataViewCtrl::GetExpanderColumn() to correct this.

Closes #12870.

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