Commit 42a474ed authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

Tab control doesn't refresh tab area on TCM_SETCURSEL.

parent c8a3f7ac
......@@ -115,6 +115,8 @@ TAB_SetCurSel (HWND hwnd,WPARAM wParam)
if ((iItem >= 0) && (iItem < infoPtr->uNumItem)) {
prevItem=infoPtr->iSelected;
infoPtr->iSelected=iItem;
TAB_EnsureSelectionVisible(hwnd, infoPtr);
TAB_InvalidateTabArea(hwnd, infoPtr);
}
return prevItem;
}
......
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