Delete the items if we actually own them.
This commit is contained in:
parent
8f15b6e6b3
commit
bf761a331c
|
@ -3890,7 +3890,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr)
|
|||
nmlv.iItem = i;
|
||||
notify_listview(infoPtr, LVN_DELETEITEM, &nmlv);
|
||||
}
|
||||
if (infoPtr->dwStyle & LVS_OWNERDATA)
|
||||
if (!(infoPtr->dwStyle & LVS_OWNERDATA))
|
||||
{
|
||||
hdpaSubItems = (HDPA)DPA_GetPtr(infoPtr->hdpaItems, i);
|
||||
for (j = 0; j < hdpaSubItems->nItemCount; j++)
|
||||
|
|
Loading…
Reference in New Issue