[PATCH 1/2] user32: SetSysColors updates brushes from GetSysColorBrush and add test

Fabian Maurer dark.shadow4 at web.de
Sat Jan 14 14:23:24 CST 2017

On Saturday, January 14, 2017 11:14:31 PM CET Nikolay Sivov wrote:
> This is too much. If you only need to update object property while
> keeping same handle, you only need one additional call like
> __wine_set_gdi_object_color(), that should work for both brushes and
> pens, checking if it's a system object too, as an additional precaution.
Thanks, that makes sense.

> This looks very dirty.
Since it's the first member it's fine as long as the structure doesn't change.
I wanted to avoid pulling the struct into the header too, but maybe I can 
rework it.


More information about the wine-devel mailing list