From: Ron Lee Date: Wed, 8 Mar 2000 14:17:37 +0000 (+0000) Subject: fixed my own typo.. oops X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/87e1d2a51b75e8665a5ec9ea476e54d03256af71 fixed my own typo.. oops git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/scrolwin.cpp b/src/generic/scrolwin.cpp index e217fe5adb..e6afcadfb6 100644 --- a/src/generic/scrolwin.cpp +++ b/src/generic/scrolwin.cpp @@ -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: