Fix the checkbox cell size in generic wxDataViewToggleRenderer.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Aug 2012 22:44:21 +0000 (22:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Aug 2012 22:44:21 +0000 (22:44 +0000)
commit45a04dd31ac86ce6d317fef080f127e8c96f2626
tree8d28dc9dc97e205779306fbb05cdd0c06e940b1b
parentc0feacc82952faca3e688757d84dbba5e47f9bc0
Fix the checkbox cell size in generic wxDataViewToggleRenderer.

r62940 fixed an appearance problem with the checkboxes in wxDataViewCtrl but
introduced another one: as the checkbox was now always drawn in the entire
cell rectangle, the cell alignment was not taken into account any more.

Fix this by only increasing the checkbox rectangle up to the required minimal
size but not any more.

Closes #14504.

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