equal
deleted
inserted
replaced
494 return OnButtonClick |
494 return OnButtonClick |
495 |
495 |
496 def GetChoiceCallBackFunction(self, choicectrl, path): |
496 def GetChoiceCallBackFunction(self, choicectrl, path): |
497 def OnChoiceChanged(event): |
497 def OnChoiceChanged(event): |
498 res = self.SetConfNodeParamsAttribute(path, choicectrl.GetStringSelection()) |
498 res = self.SetConfNodeParamsAttribute(path, choicectrl.GetStringSelection()) |
|
499 if res is None: |
|
500 res = "" |
499 choicectrl.SetStringSelection(res) |
501 choicectrl.SetStringSelection(res) |
500 event.Skip() |
502 event.Skip() |
501 return OnChoiceChanged |
503 return OnChoiceChanged |
502 |
504 |
503 def GetChoiceContentCallBackFunction(self, choicectrl, staticboxsizer, path): |
505 def GetChoiceContentCallBackFunction(self, choicectrl, staticboxsizer, path): |