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
This commit is contained in:
Francesco Montorsi
2008-12-02 19:39:46 +00:00
parent 8a337f95d8
commit d188378e27

View File

@@ -9030,7 +9030,7 @@ bool wxGrid::MovePageUp()
bool wxGrid::MovePageDown() bool wxGrid::MovePageDown()
{ {
return DoMoveCursorByPage( return DoMoveCursorByPage(
wxGridForwardOperations(this, wxGridColumnOperations())); wxGridForwardOperations(this, wxGridRowOperations()));
} }
// helper of DoMoveCursorByBlock(): advance the cell coordinates using diroper // helper of DoMoveCursorByBlock(): advance the cell coordinates using diroper