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