diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 26a4668ae0..f712e23b4d 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -10595,7 +10595,7 @@ void wxGrid::AutoSize() // we know that we're not going to have scrollbars so disable them now to // avoid trouble in SetClientSize() which can otherwise set the correct // client size but also leave space for (not needed any more) scrollbars - SetScrollbars(0, 0, 0, 0, 0, true); + SetScrollbars(0, 0, 0, 0, 0, 0, true); SetClientSize(sizeFit.x + m_rowLabelWidth, sizeFit.y + m_colLabelHeight); EndBatch();