[Git][wine/wine][master] 2 commits: comctl32/tests: Add more tests for TCS_OWNERDRAWFIXED.
Alexandre Julliard pushed to branch master at wine / wine Commits: fcef3675 by Zhiyi Zhang at 2026-03-12T17:37:08+01:00 comctl32/tests: Add more tests for TCS_OWNERDRAWFIXED. - - - - - 4c1102c4 by Zhiyi Zhang at 2026-03-12T17:37:08+01:00 comctl32/tab: Use a clip region to protect the tab item background. Use a clip region to protect the tab item background when drawing the text of an owner-draw tab control. This partially reverts 0d173d01. Tests show that the top edge of the rcItem in DRAWITEMSTRUCT shouldn't be added 2 pixels for a owner-draw tab, and the tab item background can't be overwritten when painting the text, which suggests the presence of a clip region. Fix the text position being off by 2 pixels for an application, which uses the rcItem in DRAWITEMSTRUCT to calculate text position. - - - - - 4 changed files: - dlls/comctl32/commctrl.c - dlls/comctl32/tab.c - dlls/comctl32/tests/tab.c - dlls/comctl32_v6/button.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/6a1cbf3cd2ed73240660fd2011aac8... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/6a1cbf3cd2ed73240660fd2011aac8... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)