Displaying 5 results from an estimated 5 matches for "wxclientdata".
Did you mean:
clientdata
2006 Nov 23
0
[753] trunk/wxruby2/swig/classes/include/wxListBox.h: Added back in client data functions for listbox
...item );
</span><del>- //virtual int Append(const wxString& item , void * clientData );
</del><ins>+ virtual int Append(const wxString& item , void * clientData );
</ins><span class="cx"> virtual int Append(const wxString& item , wxClientData * clientData );
</span><span class="cx"> virtual void Append(const wxArrayString& strings );
</span><span class="cx"> virtual void Clear();
</span><span class="lines">@@ -40,10 +40,10 @@
</span><span class="cx&...
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)
...- 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><span class=&q...
2007 Jul 20
0
[1125] trunk/wxruby2/swig/shared/control_with_items.i: Avoid MSW crashes when unexpected object is returned by SWIG tracking
...unk/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
</span><span class=&...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...class="lines">@@ -67,7 +67,7 @@
</span><span class="cx"> virtual int FindString(const wxString& string );
</span><span class="cx"> virtual void * GetClientData(int n ) const;
</span><span class="cx"> virtual wxClientData * GetClientObject(int n ) const;
</span><del>- virtual int GetCount() const;
</del><ins>+ virtual unsigned int GetCount() const;
</ins><span class="cx"> virtual int GetSelection() const;
</span><span class="cx"> virtual wxSt...
2006 Nov 21
0
[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more
...itions 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) {
+        VALUE r...