]> git.saurik.com Git - wxWidgets.git/commitdiff
removed the fudge from GetViewRect(), it isn't needed
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 14 Sep 2003 19:36:33 +0000 (19:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 14 Sep 2003 19:36:33 +0000 (19:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index 8338025dba4e8413ffe750d2dc18fbd96fa3d291..31f88779ca3c47cae6934addc5f4efbf077d3e7a 100644 (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);