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

@@ -528,7 +528,7 @@ class FittingView(d.Display):
opts.m_labelText = name
if imgId != -1:
bmp = self.imageList.GetBitmap(imgId)
bmp = col.bitmap
opts.m_labelBitmap = bmp
width = render.DrawHeaderButton (self, mdc, (cx, padding, columnsWidths[i], headerSize), wx.CONTROL_CURRENT,