show first item added with InsertItem() correctly (part of patch 833247)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-02-07 14:31:29 +00:00
parent 461dae941d
commit 5205e26b9b

View File

@@ -1565,6 +1565,9 @@ long wxListCtrl::InsertItem(wxListItem& info)
{
// take copy of attributes
data->attr = new wxListItemAttr(*info.GetAttributes());
// and remember that we have some now...
m_hasAnyAttr = TRUE;
}
};