Displaying 4 results from an estimated 4 matches for "dogcmarkitemdata".
2006 Dec 23
0
[797] trunk/wxruby2/swig/classes/TreeCtrl.i: Traverse method moved to wxSugar
...mp;nbsp      }
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+ // Called on every tree item to do GC marking of itemdata
</ins><span class="cx"> static void DoGCMarkItemData(void *ptr, const wxTreeItemId& item_id)
</span><span class="cx"> {
</span><span class="cx">         wxTreeCtrl* tree_ctrl = (wxTreeCtrl*) ptr;
</span><span class="lines&qu...
2008 Jan 21
0
Wx::GenericDirCtrl Segfault Crash
...tem(). It never actually reaches
this point, as I will expand one folder, no problem (But the event doesn''t
fire), and if I start scrolling through the list, it''ll segfault. I ran GDB
on it, and came up with the backtrace log, showing that it''s crashing in the
middle of DoGCMarkItemData(), from RecurseOverTreeIds(), and
RecurseFromRoot(), and finally from wxRubyApp::mark_iterate(). Here''s the
backtrace log, hope it helps:
[eumario at localhost wxRIDE]$ gdb --args ruby -llib wxRIDE.rb
GNU gdb 6.3-9pclos2007 (PCLinuxOS release 2007)
Copyright 2004 Free Software Foundation...
2006 Dec 05
0
[779] trunk/wxruby2: Added TreeCtrl#traverse method and documentation
...amp;nbsp    }
</span><span class="cx">          }
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+ static void DoGCMarkItemData(void *ptr, const wxTreeItemId& item_id)
+ {
+        wxTreeCtrl* tree_ctrl = (wxTreeCtrl*) ptr;
+        // check if there''s item data, and mark it
+&nbs...
2007 Jun 05
0
[1046] trunk/wxruby2/swig/classes/TreeCtrl.i: Prevent crashes in TreeCtrl from premature deletion of associated ImageList
...cx">         wxTreeItemId root_id = tree_ctrl->GetRootItem();
</span><span class="cx">         RecurseOverTreeIds(tree_ctrl, root_id, &DoGCMarkItemData);
</span><span class="cx"> }
</span></span></pre>
</div>
</div>
</body>
</html>