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:
@@ -8002,7 +8002,7 @@ bool wxGrid::MovePageUp()
|
|||||||
|
|
||||||
int y = GetRowTop(row);
|
int y = GetRowTop(row);
|
||||||
int newRow = YToRow( y - ch + 1 );
|
int newRow = YToRow( y - ch + 1 );
|
||||||
if ( newRow == -1 )
|
if ( newRow < 0 )
|
||||||
{
|
{
|
||||||
newRow = 0;
|
newRow = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user