]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 702254 ] Life: Fix to page scrolling
authorMattia Barbon <mbarbon@cpan.org>
Sun, 30 Mar 2003 19:14:00 +0000 (19:14 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 30 Mar 2003 19:14:00 +0000 (19:14 +0000)
from Hugh Gibson.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/life/life.cpp

index 7f14638a7af6f05fd3f6dcd4abe2d1c9048dd6e3..b6d1a7ae58e381a8af483591e169fb354cfd15af 100644 (file)
@@ -1057,7 +1057,7 @@ void LifeCanvas::OnScroll(wxScrollWinEvent& event)
     else
     if (type == wxEVT_SCROLLWIN_PAGEDOWN)
     {
-        scrollinc = -10;
+        scrollinc = +10;
     }
     else
     if (type == wxEVT_SCROLLWIN_THUMBTRACK)