Displaying 5 results from an estimated 5 matches for "mark_wxtreectrl".
2006 Dec 05
0
[779] trunk/wxruby2: Added TreeCtrl#traverse method and documentation
...mp;nbsp        rb_gc_mark(ruby_obj);
+         }
+ }
+
+ // SWIG''s entry point function for GC mark
</ins><span class="cx"> static void mark_wxTreeCtrl(void *ptr)
</span><span class="cx"> {
</span><span class="cx">         VALUE rb_obj = SWIG_RubyInstanceFor(ptr);
</span><span class="lines">@@ -86,8 +88,17 @@
</spa...
2007 Jul 21
0
[1137] trunk/wxruby2/swig/classes/TreeCtrl.i: Call correct shared function to check whether TreeCtrl is deleted in markfunc
...    2007-07-21 16:47:32 UTC (rev 1137)
</span><span class="lines">@@ -91,8 +91,7 @@
</span><span class="cx"> // SWIG''s entry point function for GC mark
</span><span class="cx"> static void mark_wxTreeCtrl(void *ptr)
</span><span class="cx"> {
</span><del>-        VALUE rb_obj = SWIG_RubyInstanceFor(ptr);
-        if ( rb_iv_get(rb_obj, &q...
2007 Mar 27
0
[920] branches/wxruby2/wxwidgets_282/swig/classes/TreeCtrl.i: Fix compile error: TreeCtrl no longer inherits from wxScrolledWindow on GTK/Mac
...i        2007-03-27 17:54:41 UTC (rev 920)
</span><span class="lines">@@ -98,19 +98,12 @@
</span><span class="cx"> %}
</span><span class="cx"> %markfunc wxTreeCtrl "mark_wxTreeCtrl";
</span><span class="cx">
</span><del>-%import "include/wxObject.h"
-%import "include/wxEvtHandler.h"
-%import "include/wxWindow.h"
-
-#if defined(__WXMSW__)
</del><span class="cx"> %import "include/wx...
2006 Dec 23
0
[797] trunk/wxruby2/swig/classes/TreeCtrl.i: Traverse method moved to wxSugar
...id = SWIG_NewPointerObj(copy_id, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN);
-        rb_yield(rb_item_id);
- }
</del><span class="cx"> %}
</span><span class="cx"> %markfunc wxTreeCtrl "mark_wxTreeCtrl";
</span><span class="cx">
</span><span class="lines">@@ -116,24 +108,6 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> %extend wxTreeCtrl {
</span&...
2006 Nov 16
0
[741] trunk/wxruby2: Fix get_item_data, hiding TreeItemData messiness, fix GC-ing (Alex Fenton)
...mp;nbspchild = tree_ctrl->GetNextSibling(child);
+                 }
+         }
+ }
+
+ static void mark_wxTreeCtrl(void *ptr)
+ {
+        VALUE rb_obj = SWIG_RubyInstanceFor(ptr);
+        if ( rb_ivar_get(rb_obj, rb_intern("@__swig_dead__") ) == Qtrue )
+  ...