From fc75d588551807588e15496ec987a88ab86205fb Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 25 Sep 2007 23:13:21 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index fb5e60e8a5..0b6115e817 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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 )