added the missing parameter to SetScrollbars() call in AutoSize()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-12-04 10:43:43 +00:00
parent ba2eff22a4
commit 39621ee0e7

View File

@@ -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();