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:
parent
b9ca40a921
commit
389b961e23
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user