]> git.saurik.com Git - wxWidgets.git/commit
Always draw standard-sized checkboxes in generic wxDataViewToggleRenderer.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Dec 2009 11:17:32 +0000 (11:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Dec 2009 11:17:32 +0000 (11:17 +0000)
commit68d7680d0f68719823563d4692fea6a68d330476
treeb3b0cd14cadc50a472db09cefa445d94349a6240
parentc3fe02e9527b78b708f8fb12e9c9f10d14a78927
Always draw standard-sized checkboxes in generic wxDataViewToggleRenderer.

The checkbox should be always shown in its normal size, otherwise it looks
strange. And this also fixes the overflow of the checkbox in the next column
which happened if the size passed to Render() had negative width before.

See #11558.

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