Skip to content

Commit

Permalink
Merge pull request #2417 from reticulatus/ulc_column_header_images_fix
Browse files Browse the repository at this point in the history
UltimateListCtrl - Fix arg type error when drawing image in column header
  • Loading branch information
swt2c committed Jun 13, 2023
2 parents 567eb5f + a1779b3 commit f4db521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wx/lib/agw/ultimatelistctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -5273,7 +5273,7 @@ def OnPaint(self, event):
if img >= 0:
imageList.Draw(img, dc,
xAligned + wLabel - (ix + HEADER_IMAGE_MARGIN_IN_REPORT_MODE)*(indx+1),
HEADER_OFFSET_Y + (h - 4 - iy)/2,
HEADER_OFFSET_Y + (h - 4 - iy)//2,
wx.IMAGELIST_DRAW_TRANSPARENT)

cw -= ix + HEADER_IMAGE_MARGIN_IN_REPORT_MODE
Expand Down

0 comments on commit f4db521

Please sign in to comment.