Duplicate: Listview update - LVM_GETITEMRECT

Dimitrie O. Paun dpaun at rogers.com
Tue Sep 10 22:08:34 CDT 2002


On September 10, 2002 10:26 pm, Guy L. Albertelli wrote:
> +#if !LISTVIEW_DEBUG
> +  if (infoPtr->clrBk != CLR_NONE)
> +#endif
> +  {
> +    HBRUSH hBrush = CreateSolidBrush(clrbrsh);
> +    FillRect(hdc, rc, hBrush);
> +    DeleteObject(hBrush);
> +  }
> +}

I *really* don't like these #ifs. Do we really have to have them?
listview.c is already such a big file, and it's not easy to work
with. Let's not make it harder...

-- 
Dimi.




More information about the wine-devel mailing list