]> git.saurik.com Git - wxWidgets.git/commit
Invalidate stored wxTreeItemIds when the corresponding item is deleted in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Jan 2010 00:28:47 +0000 (00:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Jan 2010 00:28:47 +0000 (00:28 +0000)
commitf19259fce02ed19263b3bad7269c11546ce95e07
treef47afa59934d0bb0bef8f9726584798b22f3d461
parentd6d857b12404a9e50bebdd8d143a547b72332f2d
Invalidate stored wxTreeItemIds when the corresponding item is deleted in wxMSW.

m_htSelStart and m_htClickedItem stored in wxTreeCtrl must be invalidated when
the item they point to is deleted (which also happens when all the items are
deleted), otherwise the selection doesn't behave correctly after doing it.

Closes #11619.

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