Ellipsization can't shorten 1-character string.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 9 Feb 2011 19:51:58 +0000 (19:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 9 Feb 2011 19:51:58 +0000 (19:51 +0000)
commitd6ebae9a94d019147172f265576e02276b066df7
tree25e493cc7747e2d741de5739ee16c3f0f4aba938
parent1d065710d3cf39e519f05fd02760006b9a929c38
Ellipsization can't shorten 1-character string.

It doesn't make sense to attempt to shorten 1 character long string, so
don't do it. Note that 2 characters strings may be shortened (consider
e.g. "mm" in some typefaces).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/ctrlcmn.cpp [changed mode: 0644->0755]