[PATCH (try2)] comctl32/listview: Derive subitem rect from listview origin

Andrew Eikum aeikum at codeweavers.com
Tue May 18 10:38:23 CDT 2010


The old code used the containing item's position to determine the
subitem's rect.  Instead, we should be using the entire listview's
origin as the offset, since the item position can change as columns
are inserted and re-arranged, leading to broken listviews.

Try2: Now has tests suggested by Nikolay
---
  dlls/comctl32/listview.c       |    4 +-
  dlls/comctl32/tests/listview.c |   54 
++++++++++++++++++++++++++++++++++++++++
  2 files changed, 56 insertions(+), 2 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-listview-Derive-subitem-rect-from-listview-.patch
Type: text/x-patch
Size: 2963 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100518/98af7441/attachment.bin>


More information about the wine-patches mailing list