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

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


"James Hawkins" <truiken at gmail.com> 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.

-- 
Dmitry.




More information about the wine-devel mailing list