Fix For Menu Bar (resend)

Alexandre Julliard julliard at winehq.org
Tue Nov 9 13:04:41 CST 2004


William Poetra Yoga H <williampoetra at yahoo.com> writes:

> Index: dlls/user/menu.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/user/menu.c,v
> retrieving revision 1.8
> diff -u -r1.8 menu.c
> --- dlls/user/menu.c	8 Nov 2004 22:12:42 -0000	1.8
> +++ dlls/user/menu.c	9 Nov 2004 14:26:09 -0000
> @@ -1441,8 +1441,6 @@
>  	if (lppop->Height == 0)
>  		MENU_MenuBarCalcSize(hDC, lprect, lppop, hwnd);
>  
> -	lprect->bottom = lprect->top + lppop->Height;
> -

This doesn't look right at all, you cannot simply ignore the computed
size of the menu bar, this is going to break owner drawn menus.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list