Displaying 2 results from an estimated 2 matches for "getstateimagelist".
2007 Jun 27
0
[1089] trunk/wxruby2/swig/classes/TreeCtrl.i: Hide missing method call in TreeCtrl on Win32
...sp       if ( img_list ) rb_gc_mark(SWIG_RubyInstanceFor(img_list));
</span><ins>+#endif
</ins><span class="cx">         img_list = tree_ctrl->GetStateImageList();
</span><span class="cx">         if ( img_list ) rb_gc_mark(SWIG_RubyInstanceFor(img_list));
</span><span class="cx">
</span></span></pre>
</div>
</div>
<...
2007 Jun 05
0
[1046] trunk/wxruby2/swig/classes/TreeCtrl.i: Prevent crashes in TreeCtrl from premature deletion of associated ImageList
...bsp  img_list = tree_ctrl->GetButtonsImageList();
+        if ( img_list ) rb_gc_mark(SWIG_RubyInstanceFor(img_list));
+        img_list = tree_ctrl->GetStateImageList();
+        if ( img_list ) rb_gc_mark(SWIG_RubyInstanceFor(img_list));
+
+        // Now mark the item data
</ins><span class="cx">  &nb...