Alexandre Julliard pushed to branch master at wine / wine
Commits: deb46929 by Zhiyi Zhang at 2025-11-17T11:00:26-06:00 comctl32/tests: Add tests for toolbar WM_ERASEBKGND handling.
- - - - - 0d0932bf by Zhiyi Zhang at 2025-11-17T11:00:26-06:00 comctl32/tests: Add tests for toolbar WM_PAINT handling.
- - - - - f21e5d5a by Zhiyi Zhang at 2025-11-17T11:00:27-06:00 comctl32/toolbar: Erase the background in TOOLBAR_Refresh() when TBSTYLE_TRANSPARENT is present for comctl32 v6.
Comctl32 v6 erases the background when TBSTYLE_TRANSPARENT is present when handling WM_PAINT, not when handling WM_ERASEBKGND. WxWidgets relies on this behavior to draw the toolbar background. Please see https://github.com/wxWidgets/wxWidgets/blob/v2.9.4/src/msw/toolbar.cpp#L1805.
Fix tlReader 10.1.0.2004 toolbar broken rendering after 5e70fef5. After the commit, the comctl32 v6 version is properly reported and wxWidgets decides to use a comctl32 v6 specific code path.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58800
- - - - -
2 changed files:
- dlls/comctl32/tests/toolbar.c - dlls/comctl32/toolbar.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/fb0fc60855dd2836608c748412e0a8...