[PATCH] mdi: fix drawing the MDI client area when creating children.

Alexandre Julliard julliard at winehq.org
Wed Feb 3 09:17:41 CST 2010


Reece Dunn <msclrhd at googlemail.com> writes:

> diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c
> index 631d477..0850282 100644
> --- a/dlls/user32/mdi.c
> +++ b/dlls/user32/mdi.c
> @@ -1132,6 +1132,7 @@ LRESULT MDIClientWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPARAM
>                                              hwnd, 0, csA->hOwner,
>                                              (LPVOID)csA->lParam);
>              }
> +            InvalidateRect(hwnd, NULL, TRUE);
>              return (LRESULT)child;

The window should have been exposed and repainted when the children got
resized. If this doesn't happen it's a bug, but invalidating by hand is
only hiding the problem.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list