mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 00:56:07 +00:00
comctl32/listview: Send LVN_ODSTATECHANGED only for LVS_OWNERDATA listviews.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53123 Signed-off-by: Angelo Haller <angelo@szanni.org>
This commit is contained in:
parent
425fd8f80e
commit
6c814f81aa
|
@ -3587,7 +3587,8 @@ static BOOL LISTVIEW_AddGroupSelection(LISTVIEW_INFO *infoPtr, INT nItem)
|
|||
for (i = nFirst; i <= nLast; i++)
|
||||
LISTVIEW_SetItemState(infoPtr,i,&item);
|
||||
|
||||
LISTVIEW_SetOwnerDataState(infoPtr, nFirst, nLast, &item);
|
||||
if (infoPtr->dwStyle & LVS_OWNERDATA)
|
||||
LISTVIEW_SetOwnerDataState(infoPtr, nFirst, nLast, &item);
|
||||
|
||||
if (!IsWindow(hwndSelf))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue