Listview AB1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes this one:
  http://bugs.winehq.org/show_bug.cgi?id=1107

ChangeLog
  Do not draw the text of the item being edited.

--- dlls/comctl32/listview.c.AB0	2002-11-05 21:11:04.000000000 -0500
+++ dlls/comctl32/listview.c	2002-11-05 21:43:15.000000000 -0500
@@ -3515,7 +3515,7 @@
     }
 
     /* Don't bother painting item being edited */
-    if (infoPtr->hwndEdit && lprcFocus && nSubItem == 0) goto postpaint;
+    if (infoPtr->hwndEdit && nItem == infoPtr->nEditLabelItem && nSubItem == 0) goto postpaint;
 
     /* Set the text attributes */
     if (nmlvcd.clrTextBk != CLR_NONE)
@@ -4293,6 +4293,7 @@
 
     LISTVIEW_SetSelection(infoPtr, nItem);
     LISTVIEW_SetItemFocus(infoPtr, nItem);
+    LISTVIEW_InvalidateItem(infoPtr, nItem);
 
     rect.left = LVIR_LABEL;
     if (!LISTVIEW_GetItemRect(infoPtr, nItem, &rect)) return 0;


-- 
Dimi.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux