treeview: Fix horizontal scrolling.

Duane Clark fpga at pacbell.net
Thu Jan 11 17:06:05 CST 2007


In beersmith, two things were preventing the drawing of scrollbars. 
First, the main check was whether the tree width was greater than the 
window width, ignoring whether the tree was in fact already scrolled. 
The second thing was that the horizontal scrollbar was only being 
redrawn if the scroll position changed. But other things, such as the 
size of the window changing (which beersmith did), can require that the 
scrollbar be redrawn.

Changelog: Fix horizontal scrolling.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tree04.diff
Type: text/x-patch
Size: 1213 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070111/5de7b7d7/tree04.bin


More information about the wine-patches mailing list