Commit 46740a23 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

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

This is tested manually on XP, Win7 and Win10.
parent b9c882a1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment