Hi
Roman Kingsland wrote:
> I am having problems using the 'resize' and 'size'
methods of
> Wx::Image. They seem to be undefined:
>
> wxruby2-preview (0.0.40)
> Ruby interface to the wxWidgets GUI library
>
Thanks for the report - it seems these two have been missed
in the
header files which generate the methods in Ruby. Will be
fixed for the
next release.
In the meantime, you could probably use a MemoryDC to do
something
similar to those methods, drawing the original bitmap onto a
suitably
sized 'canvas' image. Or if you've compiled your own wxruby2
I can give
you a patch.
a
_______________________________________________
wxruby-users mailing list
wxruby-users rubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/wxruby-users
|