Fixed a compiler performance warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker 2001-04-17 11:05:24 +00:00
parent b9ca40a921
commit 389b961e23

View File

@ -3718,7 +3718,7 @@ void wxGrid::CalcDimensions()
// do set scrollbar parameters
SetScrollbars( GRID_SCROLL_LINE, GRID_SCROLL_LINE,
w, h, x, y, GetBatchCount() );
w, h, x, y, (GetBatchCount() != 0));
}