fixed bug #189 Mouse wheel can scroll textboxes beyond the end

James Hawkins truiken at gmail.com
Sun Aug 1 04:59:32 CDT 2004


Hi,

This patch makes sure that when you use the wheel mouse to scroll an
edit box, you dont scroll past the end of text.  The original test
didn't account for the lines of text that are displayed because of the
size of the edit box so it would scroll to the point where the last
line of text was at the top.

Changelog
   * change condition for stopping the wheel mouse from scrolling
past the end of the text in controls/edit.c

-- 
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edit-scroll-limit.diff
Type: text/x-patch
Size: 787 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040801/fd74bf9e/edit-scroll-limit.bin


More information about the wine-patches mailing list