Double-buffering standard controls

Matt Roth-Cline wrote:

Hi all. This is probably a dumb question; apologies in advance.

I'm looking to double-buffer my window to avoid flicker. (Yes, I know that's not the only way to avoid flicker, but I'd still like to get double-buffering working.)

All of the examples of double-buffering that I've seen use custom drawing for the items being double-buffered. Those examples haven't helped me much, because the window that I'd like to double-buffer is a standard wxFrame with a standard wxPanel and standard wxTextCtrl on it.

So how do I double-buffer a frame that contains standard controls, drawn in the standard ways?

There isn't a way to do it explicitly, although some platforms already do it implictily.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!