def put_surface(self, surface, x=0, y=0, use_mask=True): dc = wx.ClientDC(self) dc.DrawBitmap(copy_surface_to_bitmap(surface), x, y, use_mask)
def gc_draw_surface(self, surface, x=0, y=0, use_mask=True): self.dc.DrawBitmap(copy_surface_to_bitmap(surface), x, y, use_mask)