erase bkgnd on page scroller control

Alexandre Julliard julliard at winehq.com
Sat Mar 3 19:11:54 CST 2001


Susan Farley <susan at codeweavers.com> writes:

> @@ -720,7 +721,8 @@
>      PAGER_INFO *infoPtr;
>      DWORD dwStyle = GetWindowLongA (hwnd, GWL_STYLE);
>  
> -    dwStyle |= WS_CLIPCHILDREN;
> +    /* background color of the child should be the same as the pager */
> +    dwStyle &= ~WS_CLIPCHILDREN;  

Shouldn't we simply leave WS_CLIPCHILDREN alone and use whatever the
app specified when creating the window, instead of forcing it one way
or another?

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list