3 Dec
2023
3 Dec
'23
9:15 p.m.
Nikolay Sivov (@nsivov) commented about dlls/comctl32/tab.c:
+ bNeedPaint = TRUE; + } + if (infoPtr->uVItemPadding_s != HIWORD(lParam)) + { + infoPtr->uVItemPadding_s = HIWORD(lParam); + bNeedPaint = TRUE; + } + + if (bNeedPaint) + { + TAB_SetItemBounds(infoPtr); + RedrawWindow(infoPtr->hwnd, NULL, NULL, RDW_ERASE | RDW_INVALIDATE | RDW_UPDATENOW); + } + + return 0; } Does it make sense to separate SetPadding to its own commit? It's a dedicate message, so it's not obvious why it should also change, including force repaint part.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4484#note_54790