Re: [PATCH v28 0/1] MR9442: comctl32/treeview: check for child item before SendExpanding
24 Feb
2026
24 Feb
'26
6:01 p.m.
Thomas Csovcsity (@thc13) commented about dlls/comctl32/treeview.c:
if (!TREEVIEW_HasChildren(infoPtr, item)) return FALSE;
- if (bUser && TREEVIEW_SendExpanding(infoPtr, item, action)) - return TRUE; - + /* + * the child items may not actually exist, they could be virtual. + * Just use item->firstChild to check for physical children, + * before TREEVIEW_SendExpanding may change it. + */
Commet is from https://gitlab.winehq.org/thc13/wine/-/edit/treeview_bug-23077/dlls/comctl32... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9442#note_130393
9
Age (days ago)
9
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas Csovcsity (@thc13)