[PATCH 1/2] comctl32: LVM_SETITEMTEXT is not supported on LVS_OWNERDATA

Nikolay Sivov bunglehead at gmail.com
Thu May 10 05:02:00 CDT 2012


On 5/10/2012 12:01, Piotr Caban wrote:
>
> Thanks to this patch we no longer ask about the item text inside this
> notification before returning error.
> ---
>  dlls/comctl32/listview.c       |    1 +
>  dlls/comctl32/tests/listview.c |    8 +++++++-
>  2 files changed, 8 insertions(+), 1 deletions(-)
>

>     case LVM_SETITEMTEXTA:
>     case LVM_SETITEMTEXTW:
> +    if (infoPtr->dwStyle&  LVS_OWNERDATA) return FALSE;
>       return LISTVIEW_SetItemTextT(infoPtr, (INT)wParam, (LPLVITEMW)lParam,
>                                    uMsg == LVM_SETITEMTEXTW);
Please place this inside LISTVIEW_SetItemTextT().



More information about the wine-devel mailing list