code: def get_code(self):
          
  
          selection = self.GetSelection()
  
          if selection == wx.NOT_FOUND:
              selection = 0
  
          # Return code string
          return self.styles[selection][1]
docs: Returns code representation of value of widget