From: Vadim Zeitlin Date: Sun, 14 Sep 2003 19:36:33 +0000 (+0000) Subject: removed the fudge from GetViewRect(), it isn't needed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a328684392b1a97623ff02cb4bb174d25f376900 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 --- diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 8338025dba..31f88779ca 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -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);