]> git.saurik.com Git - wxWidgets.git/commit
Fix autosize columns width calculation in generic wxDataViewCtrl.
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 21 Aug 2011 09:07:02 +0000 (09:07 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 21 Aug 2011 09:07:02 +0000 (09:07 +0000)
commitac0981084be17e806d08ffdde0215b3c2585e749
treecd19ab8d5767792ced1ae36df956c530ea9142c7
parent5d9138be7f1a319b80bc6f2607744c02e5ae0d87
Fix autosize columns width calculation in generic wxDataViewCtrl.

Column widths were recomputed too soon -- after the model changed, but
before the control's own data structures were updated to reflect the
change. This could lead to incorrect calculations or worse, crashes.

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