Make the pattern drawing in TOOLBAR_DrawPattern look better.

oldstable
Filip Navara 2004-07-16 23:20:55 +00:00 committed by Alexandre Julliard
parent 2de54537d6
commit 6a9cc38d9e
1 changed files with 1 additions and 1 deletions

View File

@ -634,7 +634,7 @@ TOOLBAR_DrawPattern (LPRECT lpRect, NMTBCUSTOMDRAW *tbcd)
INT cy = lpRect->bottom - lpRect->top;
clrTextOld = SetTextColor(hdc, tbcd->clrBtnHighlight);
clrBkOld = SetBkColor(hdc, tbcd->clrBtnFace);
PatBlt (hdc, lpRect->left, lpRect->top, cx, cy, PATCOPY);
PatBlt (hdc, lpRect->left + 2, lpRect->top + 2, cx - 4, cy - 4, PATCOPY);
SetBkColor(hdc, clrBkOld);
SetTextColor(hdc, clrTextOld);
SelectObject (hdc, hbr);