Initialize listview item size.

Dimitrie O. Paun dimi at intelliware.ca
Mon Feb 3 11:14:15 CST 2003


On Mon, 3 Feb 2003, Duane Clark wrote:

> This is a separate bug from the other listview patches. If an app sends 
> a LISTVIEW_Paint to a new listview before adding any items (which an app 
> was :-) the item size was not getting set, causing subsequent 
> LISTVIEW_Paint calls to clip the painting.

Sorry Duane, maybe it's just Monday morning, but I don't understand this.
If the listview has no items, what is it supposed to paint?

Also, this just doesn't seem like the right place to place this check.
What if the app doesn't call LVM_SETITEMCOUNT?

-- 
Dimi.





More information about the wine-devel mailing list