From d188378e278399c148b9d39130eb183b8873b0a1 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Tue, 2 Dec 2008 19:39:46 +0000 Subject: [PATCH] fix typo making wxGrid crash upon usage of PgDown: MovePageDown() is a row operation, not a column op git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 71fe9ec9a9..acfdc88d3f 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -9030,7 +9030,7 @@ bool wxGrid::MovePageUp() bool wxGrid::MovePageDown() { return DoMoveCursorByPage( - wxGridForwardOperations(this, wxGridColumnOperations())); + wxGridForwardOperations(this, wxGridRowOperations())); } // helper of DoMoveCursorByBlock(): advance the cell coordinates using diroper -- 2.45.2