Use stored bitmaps for viewcolumns headers (required to get a proper fitting view snapshot)

This commit is contained in:
HomeWorld
2010-12-11 00:45:09 +02:00
parent d455c65412
commit 2cac5adf8d
8 changed files with 8 additions and 3 deletions

View File

@@ -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