comctl32/datetime: Do not paint parent background when painting arrows.

This is tested manually on XP, Win7 and Win10.
This commit is contained in:
Zhiyi Zhang 2022-08-31 22:12:32 +08:00 committed by Alexandre Julliard
parent b9c882a127
commit 46740a23fd

View file

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