From: Francesco Montorsi Date: Tue, 2 Dec 2008 19:39:46 +0000 (+0000) Subject: fix typo making wxGrid crash upon usage of PgDown: MovePageDown() is a row operation... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d188378e278399c148b9d39130eb183b8873b0a1?ds=inline 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 --- 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