From 0a5ab16aeed5a84175a5956ce583eb376702c546 Mon Sep 17 00:00:00 2001 From: Gerard Patel Date: Sat, 18 Aug 2001 16:07:06 +0000 Subject: [PATCH] Fix FillRect calls in FILEDLG95_LOOKIN_DrawItem. --- dlls/commdlg/filedlg95.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/commdlg/filedlg95.c b/dlls/commdlg/filedlg95.c index 6846511592b..b7a39cb8212 100644 --- a/dlls/commdlg/filedlg95.c +++ b/dlls/commdlg/filedlg95.c @@ -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 */