From 329eeca9c404b5e670af89cf7d2b1e517aa71853 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 10 Jun 2004 11:29:49 +0000 Subject: [PATCH] fixed assert in SetItemText() for wxTR_MULTIPLE controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/treectrl.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index 458156fdf2..dc49862898 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -446,10 +446,14 @@ protected: // refresh a single item void RefreshItem(const wxTreeItemId& item); - wxTextCtrl *m_textCtrl; // used while editing the item label + // data used only while editing the item label: + wxTextCtrl *m_textCtrl; // text control in which it is edited + wxTreeItemId m_idEdited; // the item being edited + wxImageList *m_imageListNormal, // images for tree elements *m_imageListState; // special images for app defined states - bool m_ownsImageListNormal, m_ownsImageListState; + bool m_ownsImageListNormal, + m_ownsImageListState; private: // the common part of all ctors