Item flags correction for some Display builtin columns

This commit is contained in:
HomeWorld
2010-11-15 18:05:05 +02:00
parent 95652b6edd
commit 458d1f995e
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ class BaseIcon(ViewColumn):
ViewColumn.__init__(self, fittingView)
self.size = 16
self.maxsize = self.size
self.mask = wx.LIST_MASK_TEXT
self.mask = wx.LIST_MASK_IMAGE
self.columnText = ""
self.shipImage = fittingView.imageList.Add(bitmapLoader.getBitmap("ship_small", "icons"))

View File

@@ -30,7 +30,7 @@ class State(ViewColumn):
self.resizable = False
self.size = 24
self.maxsize = self.size
self.mask = wx.LIST_MASK_WIDTH
self.mask = wx.LIST_MASK_IMAGE
for name, state in (("checked", wx.CONTROL_CHECKED), ("unchecked", 0)):
bitmap = wx.EmptyBitmap(16, 16)
dc = wx.MemoryDC()