Displaying 2 results from an estimated 2 matches for "wx_lc".
Did you mean:
wlc
2007 Jan 23
0
[851] trunk/wxruby2/swig/classes/ListCtrl.i: Don''t try and mark item data for virtual ListCtrls, b/c it can crash
...n><span class="cx">          return;
</span><span class="cx">
</span><span class="cx">         wxListCtrl* wx_lc = (wxListCtrl*) ptr;
</span><ins>+        if ( wx_lc->GetWindowStyle() & wxLC_VIRTUAL )
+         return;
+
</ins><span class="cx"&g...
2006 Nov 30
0
[765] trunk/wxruby2: Fixed item_data functions for ListCtrl, plus test
...t(rb_obj, rb_intern("@__swig_dead__") ) == Qtrue )
+         return;
</ins><span class="cx">
</span><ins>+        wxListCtrl* wx_lc = (wxListCtrl*) ptr;
+        int count = wx_lc->GetItemCount();
+        if ( count == 0 ) return;
</ins><span class="cx">
</span><ins&...