Add support for delayed changing of text in columns via a delayedText
method that will get called if getText returns false
This commit is contained in:
@@ -127,6 +127,10 @@ class Display(wx.ListCtrl):
|
||||
oldText = colItem.GetText()
|
||||
oldImageId = colItem.GetImage()
|
||||
newText = col.getText(st)
|
||||
if newText is False:
|
||||
col.delayedText(st, self, colItem)
|
||||
newText = ""
|
||||
|
||||
newImageId = col.getImageId(st)
|
||||
|
||||
colItem.SetText(newText)
|
||||
|
||||
Reference in New Issue
Block a user