 
            comctl32/IPAddress component background is incorrectly painted when disabled

This is due to an incorrect Brush being used
Fixed : 
 
            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); }
 
            Do you have a demo application for this? I don't see it rendering like this on current Windows by default.
 
            This merge request was closed by Kyle Katarn.


