noreply at rubyforge.org
2009-May-02 15:38 UTC
[wxruby-development] [ wxruby-Bugs-25758 ] ListCtrl#get_selections returns an empty Array (on Windows)
Bugs item #25758, was opened at 02/05/2009 17:38 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=25758&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Pascal Hurni (phi) Assigned to: Nobody (None) Summary: ListCtrl#get_selections returns an empty Array (on Windows) Initial Comment: Hi, The new helper method #get_selections for ListCtrl doesn''t work correctly at least on my machine: Ruby 1.8.6, Windows XP 32bits. I supply a patch to resolve the issue. The flag passed to get_next_item was LIST_NEXT_BELOW, I replaced it with the more general one (according to the docs) LIST_NEXT_ALL. Regards, Pascal ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=25758&group_id=35