fixed off-by-few-pixels error in horz scrollbar calculations (patch 575412)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3976,7 +3976,7 @@ void wxListMainWindow::RecalculatePositions(bool noRefresh)
|
||||
ResetVisibleLinesRange();
|
||||
|
||||
SetScrollbars( m_xScroll, m_yScroll,
|
||||
(GetHeaderWidth() + m_xScroll - 1)/m_xScroll,
|
||||
GetHeaderWidth() / m_xScroll,
|
||||
(entireHeight + m_yScroll - 1)/m_yScroll,
|
||||
GetScrollPos(wxHORIZONTAL),
|
||||
GetScrollPos(wxVERTICAL),
|
||||
|
Reference in New Issue
Block a user