]> git.saurik.com Git - wxWidgets.git/commit
Ensure that wxListEvent::m_itemIndex and m_item.m_itemId are in sync.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Jan 2012 12:51:42 +0000 (12:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Jan 2012 12:51:42 +0000 (12:51 +0000)
commit18dd5378056ee9248ed697c91b00e59e4217d809
tree6924bfe9423ce865b2dc9100c512e28be94d5f53
parent8c62f53ee29a62db198a5250e79e3b2ea9d865e8
Ensure that wxListEvent::m_itemIndex and m_item.m_itemId are in sync.

Unfortunately we have two ways to get the item affected by wxListEvent: via
its m_itemIndex (or GetIndex()) and m_item.m_itemId (or GetItem()). This can't
be changed for the usual backwards compatibility reasons but at least make
sure that both contain the same values in the events sent by the generic
version (MSW one already did it).

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