From cf48ccc00c60c6a6ac7bf0129e0d45df45f390d4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 23 Dec 2001 13:38:23 +0000 Subject: [PATCH] fixed handling of the items with indirect data broken yesterday git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/treectrl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index b5612512f6..3ebf19f9e2 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -423,6 +423,9 @@ public: // and set ourselves as the new one tree->SetIndirectItemData(item, this); + + // we must have the invalid value for the item + m_pItem = 0l; } // dtor deletes the associated data as well -- 2.47.2