noreply at rubyforge.org
2009-May-14 21:46 UTC
[wxruby-development] [ wxruby-Bugs-25907 ] CheckListbox append doesn''t return location of new item (Fix attached)
Bugs item #25907, was opened at 2009-05-14 16:46 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=25907&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Michael Satterwhite (msatterwhite) Assigned to: Nobody (None) Summary: CheckListbox append doesn''t return location of new item (Fix attached) Initial Comment: When append is called, a checklistbox is supposed to return the index of the newly inserted item. Currently, it returns a nil. The following code will correct the problem. I''m running wxruby 2.0.0.0 Fix: 14c14 < super(item) ---> n = super(item)15a16> return n---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=25907&group_id=35