Displaying 6 results from an estimated 6 matches for "wxcontrolwithitems_get_client_data".
2006 Nov 23
0
[748] trunk/wxruby2/swig/classes: Fix an errant Ruby-ism in C++ code (Roy Sutton)
...ot;>@@ -33,7 +33,7 @@
</span><span class="cx"> %markfunc wxChoice "mark_wxControlWithItems";
</span><span class="cx">
</span><span class="cx"> %extend wxChoice {
</span><del>- VALUE get_client_data(int n) { wxControlWithItems_get_client_data(self, n); }
</del><ins>+ VALUE get_client_data(int n) { return wxControlWithItems_get_client_data(self, n); }
</ins><span class="cx"> }
</span><span class="cx"> // end client_data fixes
</span><span class="cx">
</spa...
2006 Nov 21
0
[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more
...mp;nbsp   if ( returnVal == NULL )
-         return Qnil;
-        return returnVal;
- }
</del><ins>+ VALUE get_client_data(int n) { wxControlWithItems_get_client_data(self, n); }
</ins><span class="cx"> }
</span><ins>+// end client_data fixes
</ins><span class="cx">
</span><del>-// end client_data fix
</del><span class="cx">
</span><span class="cx">...
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my
linux box. I compiled the demos and all the demos, save dbbrowse,
work. I think I have a functional wx. Now I''m trying to install wxRuby
from source, since I have a 64 bit machine. I only have permission to
my home directory so my installation is :
/usr/people/stevenq/Applications/wxX11/
2007 Jul 20
0
[1125] trunk/wxruby2/swig/shared/control_with_items.i: Avoid MSW crashes when unexpected object is returned by SWIG tracking
...lass="cx">
</span><span class="cx"> %{
</span><ins>+ extern swig_class cWxControlWithItems;
+
</ins><span class="cx"> // Returns a ruby object stored as client data
</span><span class="cx"> static VALUE wxControlWithItems_get_client_data(wxControlWithItems *ptr, int n) {
</span><span class="cx">         VALUE returnVal = (VALUE) ptr->GetClientData(n);
</span><span class="lines">@@ -24,8 +26,12 @@
</span><span clas...
2007 May 21
0
[1026] trunk/wxruby2/swig/shared/control_with_items.i: Memory mgmt: USe __wx_destroyed__ instead of __swig_dead__; fix some
...nbsp    2007-05-21 18:40:49 UTC (rev 1026)
</span><span class="lines">@@ -13,7 +13,7 @@
</span><span class="cx"> // Returns a ruby object stored as client data
</span><span class="cx"> static VALUE wxControlWithItems_get_client_data(wxControlWithItems *ptr, int n) {
</span><span class="cx">         VALUE returnVal = (VALUE) ptr->GetClientData(n);
</span><del>-       &n...
2007 Jul 21
0
[1133] trunk/wxruby2/swig/shared/control_with_items.i: Move mark func for ControlWithItems into shared file so changes affect
...WxControlWithItems;
</span><ins>+ extern void mark_wxControlWithItems(void* ptr);
</ins><span class="cx">
</span><span class="cx"> // Returns a ruby object stored as client data
</span><span class="cx"> static VALUE wxControlWithItems_get_client_data(wxControlWithItems *ptr, int n) {
</span><span class="lines">@@ -19,33 +20,4 @@
</span><span class="cx">          return Qnil;
</span><span class="cx">  &nb...