Module: wine Branch: master Commit: 46740a23fd6ee48378d866a169d906034e5414de URL: https://gitlab.winehq.org/wine/wine/-/commit/46740a23fd6ee48378d866a169d9060...
Author: Zhiyi Zhang zzhang@codeweavers.com Date: Wed Aug 31 22:12:32 2022 +0800
comctl32/datetime: Do not paint parent background when painting arrows.
This is tested manually on XP, Win7 and Win10.
---
dlls/comctl32/datetime.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c index f142ea8ede5..53c17798668 100644 --- a/dlls/comctl32/datetime.c +++ b/dlls/comctl32/datetime.c @@ -793,8 +793,6 @@ DATETIME_Refresh (DATETIME_INFO *infoPtr, HDC hdc) else state = ABS_DOWNNORMAL;
- if (IsThemeBackgroundPartiallyTransparent(theme, SBP_ARROWBTN, state)) - DrawThemeParentBackground(infoPtr->hwndSelf, hdc, &infoPtr->calbutton); DrawThemeBackground(theme, hdc, SBP_ARROWBTN, state, &infoPtr->calbutton, NULL); } else