code: def OnBorderChoice(self, event):
          
  
          choicelist = event.GetEventObject().GetItems()
          self.borderstate = choicelist[event.GetInt()]
docs: Change the borders that are affected by color and width changes