Item flags correction for some Display builtin columns
This commit is contained in:
@@ -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"))
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user