def OnPaint(self, event):
        dc = wx.PaintDC(self)
        self.update()
Paint event handler for when the window is resized and
dataset/ETHPy150Open enthought/mayavi/tvtk/util/wx_gradient_editor.py/wxGradientControl.OnPaint