Module: wine Branch: master Commit: b7f0dd64da73a07ec1096a48a78797eff3b7ce2e URL: http://source.winehq.org/git/wine.git/?a=commit;h=b7f0dd64da73a07ec1096a48a7...
Author: Nikolay Sivov bunglehead@gmail.com Date: Fri Mar 13 05:23:07 2009 -0400
comctl32: LVN_ITEMCHANGED notification should be sent for each item when group selected for ~LVS_OWNERDATA.
---
dlls/comctl32/listview.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 5379561..caf82b9 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -3170,8 +3170,10 @@ static void LISTVIEW_SetGroupSelection(LISTVIEW_INFO *infoPtr, INT nItem) iterator_destroy(&i); }
+ /* disable per item notifications on LVS_OWNERDATA style + FIXME: single LVN_ODSTATECHANGED should be used */ bOldChange = infoPtr->bDoChangeNotify; - infoPtr->bDoChangeNotify = FALSE; + if (infoPtr->dwStyle & LVS_OWNERDATA) infoPtr->bDoChangeNotify = FALSE;
LISTVIEW_DeselectAllSkipItems(infoPtr, selection);