Fix by Milan Babuskov <albis@eunet.yu> in MovePageUp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-03-24 17:21:57 +00:00
parent cec20f68b2
commit 0bbcffb2f5

View File

@@ -7888,7 +7888,7 @@ bool wxGrid::MovePageUp()
int y = GetRowTop(row);
int newRow = YToRow( y - ch + 1 );
if ( newRow == -1 )
if ( newRow < 0 )
{
newRow = 0;
}