[2/2 RESEND] comctl32: Remove clrTextBkDefault member from LISTVIEW_INFO and fix (clrTextBk == CLR_DEFAULT) handling for custom drawing

Felix Nawothnig flexo at holycrap.org
Fri Mar 9 12:19:24 CST 2007


Forgot about restoring the bkclr... This may have or may have not 
already been done by the "oldClrTextBk = infoPtr->clrTextBk;" (I believe 
it did) but if the old code saved & restored twice I'd prefer to keep it 
for now.

I'm rather sure that this saving of the infoPtr members is redundant 
anyway (could they change inside the refresh?) but that's for another 
patch of this mess...

---
  dlls/comctl32/listview.c       |   11 ++++-------
  dlls/comctl32/tests/listview.c |    4 ++--
  2 files changed, 6 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6fa1dbe25478feceeb4ba4403dae7868578d0a65.diff
Type: text/x-patch
Size: 2592 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070309/80da9591/6fa1dbe25478feceeb4ba4403dae7868578d0a65.bin


More information about the wine-patches mailing list