Make multiline checkboxes wider in wxMSW to avoid word wrap.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Dec 2011 11:03:15 +0000 (11:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Dec 2011 11:03:15 +0000 (11:03 +0000)
commit35f92de30054e0db3ffc8f4abb3e6dcb541c4b2f
tree4c809d1be40bf62dcef5effaa1c81a0840213446
parenta97f71fa60686f329ca83f333fcf52a918916764
Make multiline checkboxes wider in wxMSW to avoid word wrap.

At least for some versions of Windows (Server 2003 with classic look and feel)
the native checkboxes auto wrapped the label as it wrongly considered that the
width we specified for it was not big enough. Compensate for this by making
the checkbox wider -- this is just a hack but still better than corrupting the
checkbox display.

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