+
+ def onchoose(self, evt):
+ if self.choice.GetSelection()== 0 :
+ if len(self.list_box_1.GetSelections()) > 0 :
+ self.button_1.Enable(True)
+ else :
+ self.button_1.Enable(False)
+ elif self.choice.GetSelection() == 1 :
+ if len(self.list_box_1.GetSelections()) > 1 :
+ self.button_1.Enable(True)
+ else :
+ self.button_1.Enable(False)