[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:
Katayama Hirofumi MZ 2023-12-12 06:27:46 +09:00 committed by GitHub
parent 17617221ce
commit 9b8a5fc5f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}