The DataViewCustomRenderer used in the database tree's DataViewModel only accepts a string as the value returned by DataViewModel's GetValue method.
It would be more natural to just pass the Item object or the id as an integer instead.
See also https://groups.google.com/forum/#!topic/wxpython-users/F9tqqwOcIFw
The
DataViewCustomRenderer
used in the database tree'sDataViewModel
only accepts a string as the value returned byDataViewModel
'sGetValue
method. It would be more natural to just pass the Item object or the id as an integer instead. See also https://groups.google.com/forum/#!topic/wxpython-users/F9tqqwOcIFw