changing fill color of ogl-shape (again)

Stef Mientki s.mientki at ru.nl
Fri Jun 1 15:37:04 PDT 2007


hello,

I've an ogl-shape:
    Shape=ogl.CircleShape(80)

Now if want to change the color
    Shape.SetBrush(wx.WHITE_BRUSH)

But nothing happens,
It does work, if after the SetBrush, I write:
    Shape.Flash()

But I've the feeling that this is not the correct way,
I'ld expect something like a " Redraw"  method.

thanks,
Stef Mientki





More information about the wxpython-users mailing list