[wxruby-users] Black background using paint_buffered

Andreas Warberg lists at ruby-forum.com
Wed Apr 23 06:24:39 EDT 2008


Hi,

To avoid flickering during screen updates in a Frame on Windows I
recently switched from

paint do | dc |
   #...
end

to

paint_buffered do | dc |
   #...
end

The background colour of the Frame is set to WHITE, which is respected
under paint, but is replaced by BLACK under paint_buffered.

The painting jobs seems fine, though all my black lines become invisible
:P

Is there something I can do to sort this out? Perhaps supply my own
buffer...

Thank you!

Regards, Andreas
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list