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:
@@ -1044,13 +1044,6 @@ wxRect wxListCtrl::GetViewRect() const
|
|||||||
|
|
||||||
wxZeroMemory(rc);
|
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;
|
wxRect rect;
|
||||||
wxCopyRECTToRect(rc, rect);
|
wxCopyRECTToRect(rc, rect);
|
||||||
|
Reference in New Issue
Block a user