mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 09:53:54 +00:00
comctl32: Allow expanding/collapsing treeview nodes multiple times.
This commit is contained in:
parent
ba4b88bc00
commit
06d284cabb
@ -5238,13 +5238,11 @@ TREEVIEW_KeyDown(TREEVIEW_INFO *infoPtr, WPARAM wParam)
|
||||
break;
|
||||
|
||||
case VK_ADD:
|
||||
if (!(prevItem->state & TVIS_EXPANDED))
|
||||
TREEVIEW_Expand(infoPtr, prevItem, FALSE, TRUE);
|
||||
TREEVIEW_Expand(infoPtr, prevItem, FALSE, TRUE);
|
||||
break;
|
||||
|
||||
case VK_SUBTRACT:
|
||||
if (prevItem->state & TVIS_EXPANDED)
|
||||
TREEVIEW_Collapse(infoPtr, prevItem, FALSE, TRUE);
|
||||
TREEVIEW_Collapse(infoPtr, prevItem, FALSE, TRUE);
|
||||
break;
|
||||
|
||||
case VK_PRIOR:
|
||||
|
Loading…
Reference in New Issue
Block a user