search for: getclientobject

Displaying 4 results from an estimated 4 matches for "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)
...uot;> // First hide the old Wx definitions 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><spa...
2006 Nov 21
0
[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more
...t;> %include "../shared/control_with_items.i" </span><span class="cx"> %markfunc wxChoice "mark_wxControlWithItems"; </span><span class="cx"> </span><del>-%ignore wxChoice::GetClientData(int n) const; -%ignore wxChoice::GetClientObject(int n) const; </del><span class="cx"> %extend wxChoice { </span><del>- VALUE get_client_data(int n) - { -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspVALUE returnVal = (VALUE) self->GetClientData(n); -&nbsp&nbsp&nbsp&...
2006 Nov 07
0
[722] trunk/wxruby2/swig: Wx::Choice fixes for get_client_data (AF)
...s="cx"> </span><span class="cx"> </span><ins>+// start client_data fixes +%include "../shared/control_with_items.i" +%markfunc wxChoice "mark_wxControlWithItems"; + +%ignore wxChoice::GetClientData(int n) const; +%ignore wxChoice::GetClientObject(int n) const; +%extend wxChoice { + VALUE get_client_data(int n) + { +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspVALUE returnVal = (VALUE) self->GetClientData(n); +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( returnVal == NULL ) +&am...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...nes">@@ -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 wxString GetString(int...