From: KRosUser kyle.kcsoftwares@gmail.com
--- dlls/comctl32/ipaddress.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/comctl32/ipaddress.c b/dlls/comctl32/ipaddress.c index 493ea77f618..35bafe7d360 100644 --- a/dlls/comctl32/ipaddress.c +++ b/dlls/comctl32/ipaddress.c @@ -171,7 +171,9 @@ static LRESULT IPADDRESS_Draw (const IPADDRESS_INFO *infoPtr, HDC hdc) fgCol = comctl32_color.clrGrayText; }
- FillRect (hdc, &rect, (HBRUSH)(DWORD_PTR)(bgCol+1)); + HBRUSH brush = CreateSolidBrush(bgCol); + FillRect(hdc, &rect, brush); + DeleteObject(brush); DrawEdge (hdc, &rect, EDGE_SUNKEN, BF_RECT | BF_ADJUST); }