filter = self.filter.GetValue()
for category, items in _treeList:
if filter:
filter = self.filter.GetValue()
for category, items in _treeList:
if filter:
if items:
child = self.tree.AppendItem(self.root, category)
if not firstChild: firstChild = child
if items:
child = self.tree.AppendItem(self.root, category)
if not firstChild: firstChild = child