very small patch to listview.c file

Ondřej Macek xmacek at informatics.muni.cz
Tue Dec 4 15:39:18 CST 2001


Hallo

When I tried to run some application under wine, I found that the listview
window is cyclicaly redrawing forever. I replaced lines

infoPtr->clrBk = clrBk;
InvalidateRect(hwnd, NULL, TRUE);

with

if(infoPtr->clrBk!=clrBk){
  infoPtr->clrBk = clrBk;
  InvalidateRect(hwnd, NULL, TRUE);
}

and it become working. The application was setting the background of
window when it received some notification message about drawing the
highlithed item.

excuse me for my terrible english

Ondřej Macek, <xmacek at informatics.muni.cz>





More information about the wine-patches mailing list