Commit ba5d267b authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

Make sure TreeView gets redrawn after calling EnsureVisible.

parent 73d97fae
......@@ -4436,8 +4436,7 @@ TREEVIEW_SetFirstVisible(TREEVIEW_INFO *infoPtr,
SetScrollPos(infoPtr->hwnd, SB_VERT,
newFirstVisible->visibleOrder, TRUE);
ScrollWindow(infoPtr->hwnd, 0, scroll, NULL, NULL);
UpdateWindow(infoPtr->hwnd);
ScrollWindowEx(infoPtr->hwnd, 0, scroll, NULL, NULL, NULL, NULL, SW_ERASE | SW_INVALIDATE);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment