]> git.saurik.com Git - wxWidgets.git/commitdiff
Correction to splittree; removed newgrid sample reference from index.htm
authorJulian Smart <julian@anthemion.co.uk>
Wed, 26 Mar 2003 14:13:07 +0000 (14:13 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 26 Mar 2003 14:13:07 +0000 (14:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/gizmos/splittree.cpp

index 5aaa32a48b5b0eafe9d79bab0ba07be2e8a7312b..709d86f729ab5bb2d363a88cd81aeea115df4506 100644 (file)
@@ -113,7 +113,7 @@ void wxRemotelyScrolledTreeCtrl::SetScrollbars(int pixelsPerUnitX, int pixelsPer
     if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
     {
         wxGenericTreeCtrl* win = (wxGenericTreeCtrl*) this;
-        win->wxGenericTreeCtrl::SetScrollbars(pixelsPerUnitX, 0, noUnitsX, 0, xPos, 0, noRefresh);
+        win->wxGenericTreeCtrl::SetScrollbars(pixelsPerUnitX, pixelsPerUnitY, noUnitsX, 0, xPos, 0, /* noRefresh */ TRUE);
 
         wxScrolledWindow* scrolledWindow = GetScrolledWindow();
         if (scrolledWindow)