cleanup a->w cross calls in commdlg/fontdlg.c

Dmitry Timoshkov dmitry at
Sun Aug 1 06:22:00 CDT 2004

"James Hawkins" <truiken at> wrote:

> Changelog
>     * fix cross-call functions

> -    return DialogBoxIndirectParamA(COMDLG32_hInstance, template,
> +    return DialogBoxIndirectParamW(COMDLG32_hInstance, template,
>              lpChFont->hwndOwner, FormatCharDlgProcA, (LPARAM)lpChFont );

You can't pass a not unicode dlgproc to DialogBoxIndirectParamW and
hope that it will work.


More information about the wine-devel mailing list