mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08: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:
committed by
GitHub
parent
17617221ce
commit
9b8a5fc5f0
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user