]> git.saurik.com Git - wxWidgets.git/commit
* rename maxOnOverflow parameter to CoordToRowOrCol() to clipToMinMax
authorRoger Gammans <rgammans@computer-surgery.co.uk>
Thu, 3 Apr 2003 21:14:07 +0000 (21:14 +0000)
committerRoger Gammans <rgammans@computer-surgery.co.uk>
Thu, 3 Apr 2003 21:14:07 +0000 (21:14 +0000)
commita967f0480b8297a4bc6378fe3c919f20170a5ccf
tree30ca7fc69336396166c5e23ee36ef4b90ae1c7c3
parent02822c8cdfad75d044faed32f3103b6935ed01c5
 * rename maxOnOverflow parameter to CoordToRowOrCol() to clipToMinMax

 * ensure CoordToRowOrCol() range is  0 -> nMax if clipOnMinMax is set
                                and -1 -> nMax if clipOnMinMax is not set

 * check on uses of YToRow() / XToCol() and replace with
   calls internalYToRow() / internalXToCol() removing any external
   overflow handling where appropriate.

 * Add tests for overflow to prevent sending 'off grid' label events,
   would be indistinguishable from CornerLabel events.

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