Draw the underline 1 pixel higher in wxDC::DrawLabel().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:47:55 +0000 (12:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:47:55 +0000 (12:47 +0000)
commit5fd67293ffdf3b3007f3aa945325b8d66fc2de8d
treeb145539e7d939abc9c9df5a27069680642739794
parent46e3b70f200c75afe308cc10123e513cd0227265
Draw the underline 1 pixel higher in wxDC::DrawLabel().

Adjust the height of the underline to be compatible with native MSW behaviour.

Notice that in wxGTK we should use pango_font_metrics_get_underline_position()
to get the font-dependent value that should be used here.

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