]> git.saurik.com Git - wxWidgets.git/commit
Fix hit testing in generic wxDataViewToggleRenderer.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Apr 2013 17:39:43 +0000 (17:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Apr 2013 17:39:43 +0000 (17:39 +0000)
commit9483e1ac7739c2f920067c2a9343f1b158bc975c
treea2a0d706a390781b410ff9da93b3612a94091d74
parent732a176cf3cd4e9c1ff2383b097895dabb427749
Fix hit testing in generic wxDataViewToggleRenderer.

Handle clicks on the checkboxes in generic wxDataViewCtrl correctly by taking
into account that the checkbox rectangle is centred inside the total cell
rectangle.

Closes #15144.

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