Don't change the icon when editing wxDataViewIconText cells in generic version.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Apr 2012 18:40:23 +0000 (18:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Apr 2012 18:40:23 +0000 (18:40 +0000)
commitcdacccaee86586cca3fa15f51eb572db2c1024c9
tree8bf3317413f22cf75e37d05bd634eb59e3ec6cde
parente911dd0a5abd10c32d6cce4cff44e1cb06c3036b
Don't change the icon when editing wxDataViewIconText cells in generic version.

wxDataViewIconTextRenderer changed the icon to that of the last item drawn by
it when editing a cell. Fix this by getting the original icon directly from
the model instead of from the last item.

Closes #14187.

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