search for: mark_wxlistctrl

Displaying 1 result from an estimated 1 matches for "mark_wxlistctrl".

2006 Nov 30
0
[765] trunk/wxruby2: Fixed item_data functions for ListCtrl, plus test
...amp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspreturn Qnil; + }&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp </ins><span class="cx"> } </span><span class="cx"> </span><ins>+%markfunc wxListCtrl "mark_wxListCtrl"; +%{ + // Prevents Ruby''s GC sweeping up items that are stored as item data + static void mark_wxListCtrl(void* ptr) { + // Checks whether the C++ object is still around first... +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspVALUE rb_obj = SWIG_RubyInsta...