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:
@@ -1882,7 +1882,7 @@ void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
|||||||
|
|
||||||
// draw the text and image clipping them so that they
|
// draw the text and image clipping them so that they
|
||||||
// don't overwrite the column boundary
|
// 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 we have an image, draw it on the right of the label
|
||||||
if ( imageList )
|
if ( imageList )
|
||||||
|
Reference in New Issue
Block a user