Patch #945404, fix icon clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3238,7 +3238,7 @@ void wxTreeListMainWindow::PaintItem(wxTreeListItem *item, wxDC& dc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
wxDCClipper clipper(dc, /*coord_x,*/ extra_offset,
|
wxDCClipper clipper(dc, /*coord_x,*/ extra_offset,
|
||||||
item->GetY() + extraH, clip_width,
|
item->GetY(), clip_width,
|
||||||
total_h);
|
total_h);
|
||||||
|
|
||||||
if(image != NO_IMAGE) {
|
if(image != NO_IMAGE) {
|
||||||
|
Reference in New Issue
Block a user