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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user