]> git.saurik.com Git - wxWidgets.git/commit
Don't shorten text too much in wxControl::Ellipsize().
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 9 Feb 2011 19:52:10 +0000 (19:52 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 9 Feb 2011 19:52:10 +0000 (19:52 +0000)
commit508fc76d0c40e505ec2be7a2d6d985a39383acb1
tree40a7ef53033818949dbebc1476c98ed92175ab6c
parentd6ebae9a94d019147172f265576e02276b066df7
Don't shorten text too much in wxControl::Ellipsize().

If the allowed width is so small that nothing reasonable can fit it,
overlap it. Ellipsized text must always contain "..." to indicate that
it was shortened, it isn't acceptable to omit it.

See #11360.

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