Hi all, i have a question: i need a Wx::ListItem to wrap my content but i get a strange result... irb(main):001:0> require ''wx'' => true irb(main):002:0> li = Wx::ListItem.new => #<Wx::ListItem:0x281610c> irb(main):003:0> li.set_data(3) => nil irb(main):004:0> li.get_data => 7 any hint? thank you, fabio. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Fabio Petrucci wrote:> i need a Wx::ListItem to wrap my content but i get a strange result... > > irb(main):001:0> require ''wx'' > => true > irb(main):002:0> li = Wx::ListItem.new > => #<Wx::ListItem:0x281610c> > irb(main):003:0> li.set_data(3) > => nil > irb(main):004:0> li.get_data > => 7Thanks for the report. We were missing a little wrapper round the function. This is fixed in SVN and will be in the upcoming release. cheers alex