code: def _get_paste_data_gen(self, key, data):
          
  
          if type(data) is wx._gdi.Bitmap:
              code_str = self.bmp2code(key, data)
              return [[code_str]]
          else:
              return (line.split("\t") for line in data.split("\n"))
docs: Generator for paste data
  
          Can be used in grid.actions.paste