Use correct width in wxDataViewCustomRendererBase::RenderText().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Dec 2009 11:17:25 +0000 (11:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Dec 2009 11:17:25 +0000 (11:17 +0000)
commitc3fe02e9527b78b708f8fb12e9c9f10d14a78927
treeed5a1ad4222893eb2802bf334c8c2cbc1b2cd2e3
parent3020453f5aa0b36bf7e39183758c7f67736d82ed
Use correct width in wxDataViewCustomRendererBase::RenderText().

The text should be ellipsized to fit in the text rectangle, not the total cell
one (which is larger).

See #11558.

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