[1/5] comctl32/tests: more tests for icon spacing calculation

Alexandre Julliard julliard at winehq.org
Thu Jan 24 09:55:22 CST 2013


Daniel Jelinski <djelinski1 at gmail.com> writes:

> +#ifdef _WIN64
> +    /* NOTE: -1 is not treated the same as (DWORD)-1 by 64bit listview */
> +    ret = SendMessage(hwnd, LVM_SETICONSPACING, 0, (DWORD)-1);
> +todo_wine {
> +    expect(100, LOWORD(ret));
> +    expect(0xFFFF, HIWORD(ret));
> +}
> +    ret = SendMessage(hwnd, LVM_SETICONSPACING, 0, 0xBAADF00DDEADBEEFLL);

Please avoid ifdefs and long long constants.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list