gdi: brush creation should not use stock brushes

Kevin Koltzau kevin at
Tue Nov 23 21:02:57 CST 2004

CreateBrushIndirect and CreateSolidBrush only return a stock brush under Win95/98

I've tested this with a Win16 binary on WfWG 3.11 and both Win16 and Win32 binary on
Windows 95, 98, 2000 and XP with the same results.

As returning a stock brush will, IMHO, over complicate SetSysColors, I think removing this
code may be the best option.

 CreateBrushIndirect should not return a stock brush
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stockbrush.diff
Type: text/x-diff
Size: 5820 bytes
Desc: not available
Url :

More information about the wine-patches mailing list