mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Merge pull request #2417 from reticulatus/ulc_column_header_images_fix
UltimateListCtrl - Fix arg type error when drawing image in column header
This commit is contained in:
@@ -5273,7 +5273,7 @@ class UltimateListHeaderWindow(wx.Control):
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user