[PATCH] comctl32/listview: Fix NM_CLICK notification when clicking on checkboxes.
Nikolay Sivov
nsivov at codeweavers.com
Wed Dec 5 03:49:02 CST 2018
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/comctl32/listview.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index c5978b37a5..1230c55d5c 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -10238,7 +10238,9 @@ static LRESULT LISTVIEW_LButtonDown(LISTVIEW_INFO *infoPtr, WORD wKey, INT x, IN
{
if ((infoPtr->dwLvExStyle & LVS_EX_CHECKBOXES) && (lvHitTestInfo.flags & LVHT_ONITEMSTATEICON))
{
+ notify_click(infoPtr, NM_CLICK, &lvHitTestInfo);
toggle_checkbox_state(infoPtr, nItem);
+ infoPtr->bLButtonDown = FALSE;
return 0;
}
--
2.19.2
More information about the wine-devel
mailing list