fixed off by 1 bug in SelectRange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5f73281084
commit
33a037495e
@ -222,7 +222,7 @@ void wxVScrolledWindow::RefreshLines(size_t from, size_t to)
|
||||
rect.y += OnGetLineHeight(nBefore);
|
||||
}
|
||||
|
||||
for ( size_t nBetween = from; nBetween < to; nBetween++ )
|
||||
for ( size_t nBetween = from; nBetween <= to; nBetween++ )
|
||||
{
|
||||
rect.height += OnGetLineHeight(nBetween);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user