[wxruby-users] paint_buffered

John Kennedy johnnyk3 at gmail.com
Mon Nov 3 11:56:01 EST 2008


This is something that I've spent *many* days ripping my hair out over.
Eventually, I found that I was calling 'paint' when I should have used
'refresh'.
Could you supply us with some code so we could take a look?

On Mon, Nov 3, 2008 at 11:35 AM, Anton Hörnquist <lists at ruby-forum.com>wrote:

> Hello,
>
> In order to reduce flicker in my paint-intense app I've switched from
> paint |dc| to paint_buffered |dc|. Unfortunately, there is no difference
> after switching. Does anyone know why? Are there any other workarounds
> for this?
>
> I'm on winxp, ruby 1.8.4, wxruby 1.9.9 (i've tried wxruby 1.9.8 but the
> result is the same)
>
> /Anton
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20081103/4bb1aba3/attachment.html>


More information about the wxruby-users mailing list