mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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 */
|
||||
TAB_SetItemBounds(infoPtr);
|
||||
#ifdef __REACTOS__
|
||||
InvalidateRect(infoPtr->hwnd, NULL, TRUE);
|
||||
#else
|
||||
TAB_InvalidateTabArea(infoPtr);
|
||||
#endif
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue