Use stored bitmaps for viewcolumns headers (required to get a proper fitting view snapshot)
This commit is contained in:
@@ -39,6 +39,7 @@ class MaxRange(ViewColumn):
|
||||
iconFile = info.icon.iconFile if info.icon else None
|
||||
if iconFile:
|
||||
self.imageId = fittingView.imageList.GetImageIndex(iconFile, "pack")
|
||||
self.bitmap = bitmapLoader.getBitmap(iconFile, "pack")
|
||||
else:
|
||||
self.imageId = -1
|
||||
self.mask = wx.LIST_MASK_IMAGE
|
||||
|
||||
Reference in New Issue
Block a user