]> git.saurik.com Git - wxWidgets.git/commit
Fix crash when auto-sizing a wxDataViewCtrl column.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 30 Sep 2013 23:49:26 +0000 (23:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 30 Sep 2013 23:49:26 +0000 (23:49 +0000)
commit38ececd4c399ade4c47ca424eb72dbbd5dda528e
treec8a0a1087a475342d45cb91e23cb7985b3509eab
parent5db33691bede6529448b2c29c5568512d09041ed
Fix crash when auto-sizing a wxDataViewCtrl column.

The code was confused about the difference between the model and view columns
indices and incorrectly used the former as the latter, which could result in
an out of bound array access.

Closes #15420.

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