Tab control doesn't refresh tab area on TCM_SETCURSEL.
This commit is contained in:
parent
c8a3f7acb2
commit
42a474ed65
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue