Displaying 3 results from an estimated 3 matches for "wxtreeitemdata".
Did you mean:
treeitemdata
2007 Mar 29
0
[927] branches/wxruby2/wxwidgets_282/swig/classes: Changed the version of InsertItem that puts the item before current selection to InsertItemBefore
...bsp     wxTreeItemId insert_item_before(const wxTreeItemId& parent,
+ size_t index,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL)
+        {
+                return self->InsertItem(parent,index,text,image,selectedImage,...
2006 Nov 16
0
[741] trunk/wxruby2: Fix get_item_data, hiding TreeItemData messiness, fix GC-ing (Alex Fenton)
...ng
-#%ignore wxTreeCtrl::SetStateImageList;
</del><ins>+ // ITEM DATA fixes - This is done so the API user never sees a
+// TreeItemData object - where in Wx C++ such an object
+// would be passed or returned by a method, any Ruby object may be used.
+%{
+class wxRbTreeItemData : public wxTreeItemData {
+public:
+ wxRbTreeItemData(VALUE obj = Qnil) {
+ m_obj = obj;
+ }
</ins><span class="cx">
</span><ins>+ VALUE GetRubyObject() {
+         return m_obj;
+ }
</ins><spa...
2006 Dec 05
0
[779] trunk/wxruby2: Added TreeCtrl#traverse method and documentation
...;nbsp       2006-12-05 19:07:34 UTC (rev 779)
</span><span class="lines">@@ -15,18 +15,10 @@
</span><span class="cx"> %{
</span><span class="cx"> class wxRbTreeItemData : public wxTreeItemData {
</span><span class="cx"> public:
</span><del>- wxRbTreeItemData(VALUE obj = Qnil) {
- m_obj = obj;
- }
-
- VALUE GetRubyObject() {
-         return m_obj;
- }
-
- void SetRub...