Robin Dunn wrote:
Michele Petrazzo wrote:
Hi list, is possible to say to wx to not call, or better call only
one time the paint event on size event? wx call paint two times on
win and "a lot of times" (every pixel move?) on linux.There isn't a built-in way to do what you want, but you can use some
clever coding to bypass the body of your OnPaint if it has been less
than some amount of time since the last resize event.You can also use Freeze/Thaw to stop/restore window updates. For
example:
<-cut->
Ten code's lines is better than one thousand words!
Thanks Robin!
Michele