mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[COMCTL32] Tab control: Use InvalidateRect in TAB_SetItemT update (#6154)
Based on KRosUser's tab.patch. - In TAB_SetItemT function, use InvalidateRect instead of TAB_InvalidateTabArea. CORE-11454
This commit is contained in:
parent
17617221ce
commit
9b8a5fc5f0
1 changed files with 4 additions and 0 deletions
|
@ -2800,7 +2800,11 @@ TAB_SetItemT (TAB_INFO *infoPtr, INT iItem, LPTCITEMW tabItem, BOOL bUnicode)
|
||||||
|
|
||||||
/* Update and repaint tabs */
|
/* Update and repaint tabs */
|
||||||
TAB_SetItemBounds(infoPtr);
|
TAB_SetItemBounds(infoPtr);
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
InvalidateRect(infoPtr->hwnd, NULL, TRUE);
|
||||||
|
#else
|
||||||
TAB_InvalidateTabArea(infoPtr);
|
TAB_InvalidateTabArea(infoPtr);
|
||||||
|
#endif
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue