[wxPython-users] Bitmap in a wxScrolledWindow

Simon Clay simon.clay at imperial.ac.uk
Fri Jun 16 04:30:36 PDT 2006


On Fri, Jun 16, 2006 at 12:18:52PM +0100, Gavana, Andrea wrote:
> 
>    I started using a wx.StaticBitmap, which works very well for my
>    purposes: almost no flicker (as I only have to set its position). The
>    problem is that, I don't think I will be able to implement zooming
>    functionalities with a wx.StaticBitmap. I switched then to a DC
>    drawbitmap approach, but it is horribly filckering :-)

If you aren't doing it already, bind wx.EVT_ERASE_BACKGROUND to a
do-nothing function.  That cured flicker in one of my apps (a wx.Slider
controlling a threshold in a bitmap).  

	Simon.





More information about the wxpython-users mailing list