Correct generic wxListCtrl display of items with icons in list mode.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Dec 2011 13:56:50 +0000 (13:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Dec 2011 13:56:50 +0000 (13:56 +0000)
commit08be21f56d5f60eddbd41c89f6dfe1a414a79f6e
treea0778a2c9e20ec0da2be79d8db2056969876ffa1
parent7451b5c459fc53b98f292e7442d36273e00c26af
Correct generic wxListCtrl display of items with icons in list mode.

The changes of r70066 improved the layout for icon and small icon modes but
broke it for the list mode if items had icons because the item width should
account for the icon as well in this case. Simply disable the code added in
this revision when in list mode, we don't need to do anything then anyhow as
the layout already worked correctly for it.

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