def draw_bmp(bmp_filepath):
	"""Draws bitmap"""
	def draw(grid, attr, dc, rect):
		bmp = wx.EmptyBitmap(100, 100)
		try:
			dummy = open(bmp_filepath)
			dummy.close()
			bmp.LoadFile(bmp_filepath, wx.BITMAP_TYPE_ANY)
			dc.DrawBitmap(bmp, 0, 0)
		except:
			return
	return draw
Draws bitmap