def OnCompareItems(self, item1, item2):
t1 = self.GetItemText(item1)
t2 = self.GetItemText(item2)
- self.log.WriteText('compare: ' + t1 + '<>' + t2 + '\n')
+ self.log.WriteText('compare: ' + t1 + ' <> ' + t2 + '\n')
if t1 < t2: return -1
if t1 == t2: return 0
return 1
wxTR_HAS_BUTTONS | wxTR_EDIT_LABELS# | wxTR_MULTIPLE
, self.log)
+
#import images
#il = wxImageList(16, 16)
#idx1 = il.Add(images.getSmilesBitmap())