Displaying 1 result from an estimated 1 matches for "getwindowstyle".
Did you mean:
setwindowstyle
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
...pan class="cx">
</span><span class="cx">         wxListCtrl* wx_lc = (wxListCtrl*) ptr;
</span><ins>+        if ( wx_lc->GetWindowStyle() & wxLC_VIRTUAL )
+         return;
+
</ins><span class="cx">         int count = wx_lc->GetItemCount();
</span><span class="c...