Fix FillRect calls in FILEDLG95_LOOKIN_DrawItem.

This commit is contained in:
Gerard Patel 2001-08-18 16:07:06 +00:00 committed by Alexandre Julliard
parent 83e0bac511
commit 0a5ab16aee
1 changed files with 2 additions and 2 deletions

View File

@ -2011,13 +2011,13 @@ static LRESULT FILEDLG95_LOOKIN_DrawItem(LPDRAWITEMSTRUCT pDIStruct)
{
SetTextColor(pDIStruct->hDC,(0x00FFFFFF & ~(crText)));
SetBkColor(pDIStruct->hDC,crHighLight);
FillRect(pDIStruct->hDC,&pDIStruct->rcItem,(HBRUSH)crHighLight);
FillRect(pDIStruct->hDC,&pDIStruct->rcItem,GetSysColorBrush(COLOR_HIGHLIGHT));
}
else
{
SetTextColor(pDIStruct->hDC,crText);
SetBkColor(pDIStruct->hDC,crWin);
FillRect(pDIStruct->hDC,&pDIStruct->rcItem,(HBRUSH)crWin);
FillRect(pDIStruct->hDC,&pDIStruct->rcItem,GetSysColorBrush(COLOR_WINDOW));
}
/* Do not indent item if drawing in the edit of the combo */