Fix appearance of items without icons in wxDataViewCtrl in wxOSX/Cocoa.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Mar 2012 12:53:25 +0000 (12:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Mar 2012 12:53:25 +0000 (12:53 +0000)
commit9b98a2bcfdcd8e7f6f06bb7aeab3261b75382a95
tree7cc37a862496a10264eb81658d0f201d55e8c03c
parent9de49b112f4d1c87f818ab9c62331dbb81f23937
Fix appearance of items without icons in wxDataViewCtrl in wxOSX/Cocoa.

We need to set the cell image to none explicitly if the item doesn't have any,
otherwise the image for the previous cell would be reused.

Closes #14112.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/cocoa/dataview.mm