search for: wxlc_virtual

Displaying 5 results from an estimated 5 matches for "wxlc_virtual".

2004 Oct 19
1
Loading wxListCtrl subclass from XRC file
I''m trying to use the wxLC_VIRTUAL style of the wxListCtrl, which seems to require that I subclass the control (as opposed to being able to provide a data model a la Swing or Cocoa), and I''m running into trouble when loading the control from an XRC file. Apparently I need to specify the name of my subclass in the XRC a...
2006 Mar 28
3
ListItem patches
Hi Attached, patches to implement ListItem. This class, in wxruby 0.6.0, allows styling of individual items in a ListCtrl, via a particularly clunky API. In disambiguating the overloaded ListCtrl#set_item method it introduces one non backwards-compatible change. I''ve followed the WxPython convention as described in the Wx class ref, renaming set_item(index, col, string, imageid) to
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
...;> </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspwxListCtrl* wx_lc = (wxListCtrl*) ptr; </span><ins>+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( wx_lc->GetWindowStyle() & wxLC_VIRTUAL ) +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp return; + </ins><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint count = wx_lc->GetItemCount(); </span><span class="cx"> &nbsp...
2006 Nov 13
0
[735] trunk/wxruby2: Got the ''get_item_sample'' sample working had to add some missing ListCtrl constants.
...ass="cx"> // All of these exist on only one platform, so in those </span><span class="lines">@@ -1487,6 +1488,92 @@ </span><span class="cx"> // for compatibility only </span><span class="cx"> #define wxLC_USER_TEXT wxLC_VIRTUAL </span><span class="cx"> </span><ins>+// Mask flags to tell app/GUI what fields of wxListItem are valid +#define wxLIST_MASK_STATE 0x0001 +#define wxLIST_MASK_TEXT 0x0002 +#define wxLIST_MASK_IMAGE 0x0004 +#define wxLIST_MASK_DATA...
2005 May 03
10
Is wxRuby-SWIG version usable enough to package for download?
If wxRuby-SWIG is as usable as wxRuby 0.6.0, maybe it should be given a version number and packaged up for download. Given the nature of SWIG, having a lot more people use it would probably result in more code contributions to this project. Seems most of the changes are 2+ months old, so I''m guessing wxRuby-SWIG is fairly stable right now in terms of frequency of changes...