From: Vadim Zeitlin Date: Sun, 23 Dec 2001 13:38:23 +0000 (+0000) Subject: fixed handling of the items with indirect data broken yesterday X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cf48ccc00c60c6a6ac7bf0129e0d45df45f390d4 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 --- 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