NEVER EVER USE wx.ImageList.Draw with arg solidBackground=TRUE - it will fuck up the bitmap contained into it

This commit is contained in:
HomeWorld
2010-12-10 21:49:36 +02:00
parent 7c089faeb3
commit d455c65412

View File

@@ -561,7 +561,7 @@ class FittingView(d.Display):
tcx = cx
if imgId != -1:
self.imageList.Draw(imgId,mdc,cx,cy,wx.IMAGELIST_DRAW_TRANSPARENT,True)
self.imageList.Draw(imgId,mdc,cx,cy,wx.IMAGELIST_DRAW_TRANSPARENT,False)
tcx += isize + padding
if name != "":