Hi,
 
I'm unable to get rid of a flicker when refreshing my screen, despite
following instructions for using Wx::AutoBufferedPaintDC &
SetBackgroundStyle(wxBG_STYLE_CUSTOM).
 
I'm calling WxDC->Clear at the start of the handler, and while removing
this does remove the flicker, it obviously means anything I don't
overwrite is still there.
 
If I call IsDoubleBuffered on either Panel or Frame, it returns true.
 
I've attached as minimal a sample as I could get (233 lines); if anyone
can see an obvious mistake/bad technique, I'd be very grateful.
 
(Certain things about the code look a trifle weird; this is due to it
being cut down from a much bigger script. Well, mostly.)
 
Thanks,
Ian Macdonald
ickp...@gmail.com
Melbourne, Australia
WARNING: This email and any attachments may be confidential and subject
to copyright. If you are not the intended recipient, you must not
disclose or use the information contained in this email. If you have
received this email in error, please notify the sender and permanently
delete the email immediately. Linfox Pty Ltd and its related
companies do not warrant that this email and any attachments are free of
errors, viruses or tampering by third parties, and will not be
responsible for loss or damage resulting (either directly or indirectly)
from any such error, virus or tampering. If this is a commercial email
within the meaning of the Spam Act, you may unsubscribe from future
commercial emails by emailing unsubscr...@linfox.com

Attachment: sample.pl
Description: sample.pl



Reply via email to