+ def OnClickBox(self, evt):
+ box = self.boxes[evt.GetId()]
+ # Collapse/restore static box, change label
+ self.ShowGroup(box.gnum, not box.show)
+ if box.show: box.SetLabel('[+] ' + box.name)
+ else: box.SetLabel('[-] ' + box.name)
+ self.Layout()
+