don't overdo the clipping otherwise we truncate descenders in the header label on OS X

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-09-25 23:13:21 +00:00
parent 005a65170e
commit fc75d58855

View File

@@ -1882,7 +1882,7 @@ void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
// draw the text and image clipping them so that they
// don't overwrite the column boundary
wxDCClipper clipper(dc, x, HEADER_OFFSET_Y, cw, h - 4 );
wxDCClipper clipper(dc, x, HEADER_OFFSET_Y, cw, h );
// if we have an image, draw it on the right of the label
if ( imageList )