Remove "safety margin" from wxControl::Ellipsize().
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 9 Feb 2011 19:51:47 +0000 (19:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 9 Feb 2011 19:51:47 +0000 (19:51 +0000)
commit1d065710d3cf39e519f05fd02760006b9a929c38
tree0c43166e412478a00d682cea15e30116c76695e7
parent90fae9d2cfd82625c8c8279660237514470bc31a
Remove "safety margin" from wxControl::Ellipsize().

When ellipsizing kicks in, the text is much shorter than the available
space -- there's a "safety margin" of one character's width that is
always left unused. This appears to be some kludge that worked around
algorithm defects, not something that should really be needed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/control.h
src/common/ctrlcmn.cpp