[PATCH] comctl32: Use ms sans serif in ip controls.

Alexandre Julliard julliard at winehq.org
Mon Jun 23 06:26:53 CDT 2008


"Lei Zhang" <thestig at google.com> writes:

> @@ -191,6 +194,10 @@ static LRESULT IPADDRESS_Create (HWND hwnd, const CREATESTRUCTA *lpCreate)
>      infoPtr->Enabled = TRUE;
>      infoPtr->Notify = lpCreate->hwndParent;
>  
> +    SystemParametersInfoW(SPI_GETICONTITLELOGFONT, 0, &logFont, 0);
> +    strcpyW(logFont.lfFaceName, MSSanSerif);
> +    hFont = CreateFontIndirectW(&logFont);

Do you really need to hardcode MS Sans Serif?  The other controls don't
do that.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list