Displaying 2 results from an estimated 2 matches for "m_obj".
Did you mean:
mp_obj
2006 Dec 05
0
[779] trunk/wxruby2: Added TreeCtrl#traverse method and documentation
...>@@ -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 SetRubyObject(VALUE obj) {
-         m_obj = obj;
- }
-
</del><in...
2006 Nov 16
0
[741] trunk/wxruby2: Fix get_item_data, hiding TreeItemData messiness, fix GC-ing (Alex Fenton)
...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><span class="cx">
</span><ins>+ void SetRub...