very small patch to listview.c file

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

 



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@informatics.muni.cz>




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

  Powered by Linux