Ian Macdonald wrote: Hi, is this Linux or Windows?
As an aside: the portable way of forcing a repaint is to call $window->Refresh (and if you want an immediate repaint, Refresh and Update); on Mac you can't paint on a window outside an EVT_PAINT handler.
Regards, Mattia