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

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

View File

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