reverted my 2 previous checkins -- will merge back from 2.3 as soon as it proves stable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-08-23 10:39:19 +00:00
parent 4ab299e341
commit 1180177533

View File

@@ -632,7 +632,6 @@ bool wxListCtrl::SetItem(wxListItem& info)
// check whether it has any custom attributes
if ( info.HasAttributes() )
{
delete m_attrs.Delete(item.iItem); // remove existing attributes
m_attrs.Put(item.iItem, (wxObject *)new wxListItemAttr(*info.GetAttributes()));
m_hasAnyAttr = TRUE;