Displaying 4 results from an estimated 4 matches for "setclientobject".
Did you mean:
getclientobject
2007 Mar 17
0
[889] branches/wxruby2/wxwidgets_282/swig/shared/control_with_items.i: Ensure SWIG doesn''t generate wrappers for client data methods (Artur Kuptel)
...itions of these methods - which segfault
</span><del>-// TODO - these are not ACTUALLY getting ignored, whether they are
-// named by method only or with full class qualification. Perh Swig 1.3.29 bug?
-%ignore GetClientData(int n) const;
-%ignore GetClientObject(int n) const;
-%ignore SetClientObject(int n, wxClientData * data);
</del><ins>+%ignore *::GetClientData(int n) const;
+%ignore *::GetClientObject(int n) const;
+%ignore *::SetClientObject(int n, wxClientData * data);
</ins><span class="cx">
</span><span class="cx"> %{
</span...
2007 Jul 20
0
[1125] trunk/wxruby2/swig/shared/control_with_items.i: Avoid MSW crashes when unexpected object is returned by SWIG tracking
...11 UTC (rev 1124)
+++ trunk/wxruby2/swig/shared/control_with_items.i        2007-07-20 18:41:10 UTC (rev 1125)
</span><span class="lines">@@ -10,6 +10,8 @@
</span><span class="cx"> %ignore *::SetClientObject(int n, wxClientData * data);
</span><span class="cx">
</span><span class="cx"> %{
</span><ins>+ extern swig_class cWxControlWithItems;
+
</ins><span class="cx"> // Returns a ruby object stored as client data
</spa...
2006 Nov 23
0
[753] trunk/wxruby2/swig/classes/include/wxListBox.h: Added back in client data functions for listbox
...</span><span class="cx"> virtual bool IsEmpty() const;
</span><del>- //virtual void SetClientData(int n , void * data ) ;
</del><ins>+ virtual void SetClientData(int n , void * data ) ;
</ins><span class="cx"> virtual void SetClientObject(int n , wxClientData * data ) ;
</span><span class="cx"> virtual void SetSelection(int n );
</span><span class="cx"> virtual void SetString(int n , const wxString& string );
</span></span></pre>
</div>
</div>
&l...
2006 Nov 21
0
[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more
...st hide the old Wx definitions of these methods - which segfault
+// TODO - these are not ACTUALLY getting ignored, whether they are
+// named by method only or with full class qualification. Perh Swig 1.3.29 bug?
+%ignore GetClientData(int n) const;
+%ignore GetClientObject(int n) const;
+%ignore SetClientObject(int n, wxClientData * data);
+
</ins><span class="cx"> %{
</span><ins>+ // Returns a ruby object stored as client data
+ static VALUE wxControlWithItems_get_client_data(wxControlWithItems *ptr, int n) {
+      &...