Hi, Usually I use Wx::StaticBitmap to display images, but now I decided to give the 'official' way a try.
So I have something similar to: sub draw { ... my $img = Wx::Image->new( ... ); ... some image manipulations ... my $bm = Wx::Bitmap->new( $img ); my $dc = Wx::ClientDC->new( $panel ); $dc->Clear; $dc->DrawBitmap( $bm, 0, 0, 0 ); } I call this subroutine from the PAINT and SIZE events. It works fine, except for flicker. Every time a new image is drawn, there's flicker. I've verified that the draw routine is called only once so that cannot be the problem. Apparently I'm overlooking something. Any hints? Thanks, Johan