]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed my own typo.. oops
authorRon Lee <ron@debian.org>
Wed, 8 Mar 2000 14:17:37 +0000 (14:17 +0000)
committerRon Lee <ron@debian.org>
Wed, 8 Mar 2000 14:17:37 +0000 (14:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/scrolwin.cpp

index e217fe5adb7b1c00e279d764d0fe0d5fdb2ad3e8..e6afcadfb60cc7ec34b65448583868da3b135584 100644 (file)
@@ -663,7 +663,7 @@ void wxScrolledWindow::OnChar(wxKeyEvent& event)
         case WXK_PAGEUP:
         case WXK_PRIOR:
             int y = sty - (5 * cliy / 6);
-            Scroll(-1, (y == -1) ? 0 : newy);
+            Scroll(-1, (y == -1) ? 0 : y);
             break;
 
         case WXK_PAGEDOWN: