user32: static controls should have a clipping region set while sending the WM_CTLCOLORSTATIC (3rd try, with testcase, fixes bug #9195)

Alexandre Julliard julliard at winehq.org
Wed Aug 29 05:07:36 CDT 2007


"Mikolaj Zalewski" <mikolajz at google.com> writes:

> Is there something wrong with this patch?

You should use IntersectClipRect or ExtSelectClipRgn to avoid
intermediate copies. Also GetClipRgn doesn't return a region code so
checking it against NULLREGION is wrong.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list