removed the fudge from GetViewRect(), it isn't needed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-09-14 19:36:33 +00:00
parent ae03fa2c96
commit a328684392

View File

@ -1044,13 +1044,6 @@ wxRect wxListCtrl::GetViewRect() const
wxZeroMemory(rc);
}
else
{
// VZ: I have no idea why is this needed but without it the listbook
// control shows a tiny vertical scrollbar, make sure that it works
// correctly if you decide to change this
rc.bottom += 5;
}
wxRect rect;
wxCopyRECTToRect(rc, rect);