]> git.saurik.com Git - wxWidgets.git/commitdiff
fix typo making wxGrid crash upon usage of PgDown: MovePageDown() is a row operation...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 2 Dec 2008 19:39:46 +0000 (19:39 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 2 Dec 2008 19:39:46 +0000 (19:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index 71fe9ec9a9aea9bffbae0efc53cae386b6c88ed6..acfdc88d3fd7a876954b6e64eb4f9c85e0c0b2b0 100644 (file)
@@ -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