Don't use any icon for items inserted without one in wxMSW wxListCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2013 22:49:23 +0000 (22:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2013 22:49:23 +0000 (22:49 +0000)
commit6c0d5a69e9ced225343b3d79d4b2892013287c5f
tree8036fd46c6edd6b327f8d74e316649b09ac58d79
parent029a401d74c00ce86f485fafeda73520d315fb0f
Don't use any icon for items inserted without one in wxMSW wxListCtrl.

Previously we erroneously used the first icon in the image list for them
instead. This was inconsistent with wxGTK and didn't make much sense, even if
it is the default behaviour of the native control, so don't do this any more
and explicitly specify I_IMAGENONE for the icon if it wasn't given.

Closes #15421.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/msw/listctrl.cpp