[fxruby-users] possible FXImage issues

Lyle Johnson lyle at knology.net
Fri Feb 4 08:24:08 EST 2005


On Feb 1, 2005, at 8:56 PM, Oliver Smith wrote:

> I'm trying to update a program from FXRuby 1.0 to FXRuby 1.2 and I'm
> running into problems with FXImage.  Here's what worked before:
>
> buffer = FXImage.new(getApp, "\0" * buffer_size, 0, 
> buffer_width,buffer_height)
>
> buffer.create
>
> And now I get this:
>
> 'wrong argument type String (expected Array) (TypeError)'
>
> So I tried changing "\0" to [0] and then I get a segfault on
> buffer.create.  The image.rb sample also gives me the TypeError
> message.

OK, I see the bug. This is being fixed for version 1.2.4.



More information about the fxruby-users mailing list