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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user