git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8108
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// check whether it has any custom attributes
if ( info.HasAttributes() )
{
// check whether it has any custom attributes
if ( info.HasAttributes() )
{
+ m_attrs.Delete(item.iItem); // remove existing attributes
m_attrs.Put(item.iItem, (wxObject *)new wxListItemAttr(*info.GetAttributes()));
m_hasAnyAttr = TRUE;
m_attrs.Put(item.iItem, (wxObject *)new wxListItemAttr(*info.GetAttributes()));
m_hasAnyAttr = TRUE;