Fix wxGrid::AutoSizeColOrRow() logic for multicells.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2012 23:17:34 +0000 (23:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2012 23:17:34 +0000 (23:17 +0000)
commitbc7d2e9dd4e84cf2938eee89a3f2ae5a2267043d
treed085915f67adaa51e91b5a90b3e8ed6bd9e505e9
parenta349dc1085c34b54deaaab3022b01dfd8aeb3cbd
Fix wxGrid::AutoSizeColOrRow() logic for multicells.

This fixes the regression of r64885 and also tries to make the code more
clear by setting the variables explicitly to their correct values.

Closes #14611.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/grid.cpp