Finish first complete implementation of character implant editor: needs
polishing
This commit is contained in:
@@ -23,9 +23,9 @@ from gui.builtinViewColumns import *
|
||||
import sys
|
||||
|
||||
class Display(wx.ListCtrl):
|
||||
def __init__(self, parent):
|
||||
def __init__(self, parent, style = 0):
|
||||
|
||||
wx.ListCtrl.__init__(self, parent, style=wx.LC_REPORT | wx.BORDER_NONE)
|
||||
wx.ListCtrl.__init__(self, parent, style=wx.LC_REPORT | wx.BORDER_NONE | style)
|
||||
|
||||
self.imageList = wx.ImageList(16, 16)
|
||||
self.SetImageList(self.imageList, wx.IMAGE_LIST_SMALL)
|
||||
@@ -149,6 +149,10 @@ class Display(wx.ListCtrl):
|
||||
self.Select(sel)
|
||||
self.Thaw()
|
||||
|
||||
def update(self, stuff):
|
||||
self.populate(stuff)
|
||||
self.refresh(stuff)
|
||||
|
||||
def getColumn(self, point):
|
||||
x = point[0]
|
||||
total = 0
|
||||
|
||||
Reference in New Issue
Block a user