search for: get_tree_ctrl

Displaying 3 results from an estimated 3 matches for "get_tree_ctrl".

2008 Jan 22
0
[ wxruby-Bugs-17396 ] Wx::GenericDirCtrl#get_tree_ctrl()
...03:48 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=17396&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Mario Steele (eumario) Assigned to: Nobody (None) Summary: Wx::GenericDirCtrl#get_tree_ctrl() Initial Comment: When grabbing Wx::GenericDirCtrl#get_tree_ctrl(), and associating events with it, causes GC Memory error. See dump attached. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid...
2008 Jan 22
0
Wx::GenericDirCtrl fixes
...couple of things to note. I''ve updated the wxGenericDirCtrl.h file, to include the ReCreateTree() method, as it was missing, and was very simple to add. I''ve compiled, and checked to make sure everything looks good, and it does. Also, a temporary solution, till wxGenericDirCtrl#get_tree_ctrl() is fixed, is that you can sub-class Wx::GenericDirCtrl() into your own class, and intercept messages sent by the TreeCtrl within it. Example: class MyDirCtrl < Wx::GenericDirCtrl def initialize(*args) super evt_tree_item_selected(Wx::ID_ANY) { |evt| do_event(evt) } end end As fa...
2008 Jan 21
0
Wx::GenericDirCtrl Segfault Crash
...Found another GC bug in wxRuby. I ran into this problem, when trying to implement Wx::GenericDirCtrl into wxRuby. The specific case in which this is occuring, is when I attach the two event handlers for evt_tree_item_expanding() and evt_tree_item_activated() when grabbing the Wx::GenericDirCtrl#get_tree_ctrl(). All I have it doing, is attempting to catch these events (Which I really don''t need evt_tree_item_expanding() at this point and time), and print evt.get_item(). It never actually reaches this point, as I will expand one folder, no problem (But the event doesn''t fire), and if...