Updated builtinViewColumns.baseName to use CachingImageList.GetImageIndex

This commit is contained in:
HomeWorld
2010-12-07 14:56:09 +02:00
parent b264f36761
commit 8008edd80b

View File

@@ -28,7 +28,7 @@ class BaseName(ViewColumn):
def __init__(self, fittingView, params):
ViewColumn.__init__(self, fittingView)
self.columnText = "Name"
self.shipImage = fittingView.imageList.Add(bitmapLoader.getBitmap("ship_small", "icons"))
self.shipImage = fittingView.imageList.GetImageIndex("ship_small", "icons")
self.mask = wx.LIST_MASK_TEXT
def getText(self, stuff):