Fix wxGrid::PosToLinePos() in presence of hidden rows or columns.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2012 23:17:57 +0000 (23:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2012 23:17:57 +0000 (23:17 +0000)
commit5bce3d57015d67ddfa6700e37909c5564cf2872f
tree363e43674022712f0d9c9410f5851ae5ab6c67b1
parentbc7d2e9dd4e84cf2938eee89a3f2ae5a2267043d
Fix wxGrid::PosToLinePos() in presence of hidden rows or columns.

The optimization of the binary search inside this function failed if any
rows/columns were hidden and so were of zero size.

See #14133.

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