search for: getclientdata

Displaying 11 results from an estimated 11 matches for "getclientdata".

2006 Nov 21
0
[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more
...fixes </span><span class="cx"> %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->Ge...
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)
...lt;/span><span class="cx"> // 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=&...
2006 Nov 07
0
[722] trunk/wxruby2/swig: Wx::Choice fixes for get_client_data (AF)
...pan><del>- </del><span class="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&nb...
2007 May 21
0
[1026] trunk/wxruby2/swig/shared/control_with_items.i: Memory mgmt: USe __wx_destroyed__ instead of __swig_dead__; fix some
...as client data </span><span class="cx"> static VALUE wxControlWithItems_get_client_data(wxControlWithItems *ptr, int n) { </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspVALUE returnVal = (VALUE) ptr->GetClientData(n); </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( returnVal == NULL ) </del><ins>+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( returnVal ) </ins><span class="cx"> &nbsp&...
2007 Jul 21
0
[1135] trunk/wxruby2/swig/mark_free_impl.i: Convert from DOS to Unix newlines
...nbsp&nbsp&nbsp&nbspreturn; // Control containing only strings - - for (int i = 0; i < count; ++i) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{ -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp VALUE object = (VALUE) wx_cwi->GetClientData(i); -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp if ( object && object != Qnil ) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsprb_gc_mark(object); -&nbsp&amp...
2007 Apr 02
0
[936] branches/wxruby2/wxwidgets_282/swig/shared/control_with_items.i: Remove debugging output
...amp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp { </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspVALUE object = (VALUE) wx_cwi->GetClientData(i); </span></span></pre> </div> </div> </body> </html>
2007 Jul 20
0
[1125] trunk/wxruby2/swig/shared/control_with_items.i: Avoid MSW crashes when unexpected object is returned by SWIG tracking
...as client data </span><span class="cx"> static VALUE wxControlWithItems_get_client_data(wxControlWithItems *ptr, int n) { </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspVALUE returnVal = (VALUE) ptr->GetClientData(n); </span><span class="lines">@@ -24,8 +26,12 @@ </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspVALUE rb_obj = SWIG_RubyInstanceFor(ptr); </span><span class="cx"> &nbsp&nbsp&...
2007 Jul 21
0
[1133] trunk/wxruby2/swig/shared/control_with_items.i: Move mark func for ControlWithItems into shared file so changes affect
...&nbspfor (int i = 0; i < count; ++i) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp { -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspVALUE object = (VALUE) wx_cwi->GetClientData(i); -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( object && object != Qnil ) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp...
2007 Jul 21
0
[1134] trunk/wxruby2/swig/mark_free_impl.i: When window is deleted, unhook ruby obj from DATA_PTR to avoid MSW crashes
...nbsp&nbsp&nbsp&nbspreturn; // Control containing only strings + + for (int i = 0; i < count; ++i) +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{ +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp VALUE object = (VALUE) wx_cwi->GetClientData(i); +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp if ( object && object != Qnil ) +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsprb_gc_mark(object); +&nbsp&amp...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...;nbsp&nbsp&nbsp&nbsp2007-03-17 18:39:40 UTC (rev 883) </span><span 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 i...
2006 Dec 01
0
[766] trunk/wxruby2: Added item_data aliases for client_data functions, update doc & tests;
...an class="cx"> * "ControlWithItems#delete":#ControlWithItems_delete </span><span class="cx"> * "ControlWithItems#find_string":#ControlWithItems_findstring </span><del>-* "ControlWithItems#get_client_data":#ControlWithItems_getclientdata -* "ControlWithItems#get_client_object":#ControlWithItems_getclientobject </del><span class="cx"> * "ControlWithItems#get_count":#ControlWithItems_getcount </span><ins>+* "ControlWithItems#get_item_data":#ControlWithItems_getitemdata &...