code: def on_paint(self, event):
          '''repaint the image'''
          dc = wx.AutoBufferedPaintDC(self)
          dc.DrawBitmap(self._bmp, 0, 0f on_paint(self, event):
          '''repaint the image'''
          dc = wx.AutoBufferedPaintDC(self)
          dc.DrawBitmap(self._bmp, 0, 0)
docs: repaint the image