wine/ windows/painting.c dlls/user/painting.c

Rein Klazes rklazes at
Sat Aug 28 13:05:09 CDT 2004

On Wed, 25 Aug 2004 19:46:11 -0500, you wrote:

> Log message:
> 	GetUpdateRgn should clip the returned region to the client area.
> 	Changed GetUpdateRect and ExcludeUpdateRgn to call GetUpdateRgn.
> 	Moved these 3 functions to dlls/user/painting.c.

This has the effect that a program that like agent does this:

case WM_PAINT:
    if( GetUpdateRect(hWnd, ...) {
        hdc = BeginPaint(hWnd,...);


causes a lot of:

err:msg:DispatchMessageA BeginPaint not called on WM_PAINT for hwnd

Is it not possible to restrict the update region to the client area in
the first place?

Rein Klazes
rklazes at

More information about the wine-devel mailing list