Restore the use of correct alignment in wxDVC renderers.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Nov 2009 15:51:50 +0000 (15:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Nov 2009 15:51:50 +0000 (15:51 +0000)
commit9e9cfb91150fee916b286ffa29fa4b5a0885849f
tree12ac69d9fe85dab4d2510627a5fa5e8e2f87841c
parent6b1a022253a5ff031be99d8cfcdf52e3851caec9
Restore the use of correct alignment in wxDVC renderers.

The code from old CalculateAlignment() was somehow lost during the
refactoring, restore it in wxDataViewCustomRendererBase::RenderText().

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