]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
added the missing parameter to SetScrollbars() call in AutoSize()
[wxWidgets.git] / src / generic / grid.cpp
index 26a4668ae0bb677ea616e96fa17bb48ada0be4e5..f712e23b4dbe7b4d5b64d7cedef918d7cda31121 100644 (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();