mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 00:56:07 +00:00
comctl32/datetime: Do not paint parent background when painting arrows.
This is tested manually on XP, Win7 and Win10.
This commit is contained in:
parent
b9c882a127
commit
46740a23fd
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue