Don't fill wxListEvent::m_item when using virtual list control in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Jan 2012 12:51:40 +0000 (12:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Jan 2012 12:51:40 +0000 (12:51 +0000)
commit8c62f53ee29a62db198a5250e79e3b2ea9d865e8
treeef95374c4ece6be9d347b820cc3f15ae8e323fb8
parent1e40bd4c74cd63318b41adebd5afe63e56b54a5e
Don't fill wxListEvent::m_item when using virtual list control in wxMSW.

When using virtual list control the main program already has the items data so
it's completely useless to call GetItem() when preparing an event for it. It
is also inefficient to call GetItem() for potentially many items.

For both of these reasons the generic version already didn't fill the item
contents for virtual list controls events. Now modify wxMSW to not do it
neither.

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