noreply at rubyforge.org
2008-Jun-02 08:34 UTC
[wxruby-development] [ wxruby-Bugs-20477 ] Wx::ListEvent#get_item crashes when navigating with the keypad
Bugs item #20477, was opened at 02/06/2008 10:34 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=20477&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Pascal Hurni (phi) Assigned to: Nobody (None) Summary: Wx::ListEvent#get_item crashes when navigating with the keypad Initial Comment: Having a ListCtrl with an ''item_selected'' event handler, and inside it calling get_item on the passed event object may crash. To reproduce the bug: If the first selection occurs with the keypad, no bug arise when navigating further with the keys. Once you select an item with the mouse, the next navigation keypress will crash. (well, only if you call get_item on the passed event object). This bug is new in 1.9.7, version 1.9.5 is fine. See attached example code to reproduce the bug. (I''ve only tested this on Windows) Pascal. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=20477&group_id=35
Reasonably Related Threads
- FW: Wx::ListCtrl#get_item method
- [ wxruby-Bugs-20446 ] Wx::ToolBar API changed in 1.9.7, new Wx::ToolBarTool doc missing
- Wx::ListCtrl#get_item method
- Problem with ListCtrl#get_item
- [740] trunk/wxruby2: API - Make ListCtrl#get_item return a ListCtrl item corresponding to a row and