search for: hasclientobjectdata

Displaying 5 results from an estimated 5 matches for "hasclientobjectdata".

2007 Jul 21
0
[1135] trunk/wxruby2/swig/mark_free_impl.i: Convert from DOS to Unix newlines
...amp;nbsp&nbsp&nbsp&nbsp&nbsp&nbspreturn; - - wxControlWithItems* wx_cwi = (wxControlWithItems*) ptr; - int count = wx_cwi->GetCount(); - if ( count == 0 ) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspreturn; // Empty control - if ( ! wx_cwi->HasClientObjectData() && ! wx_cwi->HasClientUntypedData() ) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspreturn; // Control containing only strings - - for (int i = 0; i < count; ++i) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{ -&nbsp&...
2007 Apr 02
0
[936] branches/wxruby2/wxwidgets_282/swig/shared/control_with_items.i: Remove debugging output
...nbsp2007-04-02 18:42:37 UTC (rev 936) </span><span class="lines">@@ -32,7 +32,7 @@ </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp return; </span><span class="cx"> if(!wx_cwi->HasClientObjectData()&&!wx_cwi->HasClientUntypedData()) </span><span class="cx"> return; // Control containing only strings </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("4x\n"); </del><ins>+ </i...
2007 Jul 21
0
[1133] trunk/wxruby2/swig/shared/control_with_items.i: Move mark func for ControlWithItems into shared file so changes affect
...amp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint count = wx_cwi->GetCount(); -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( count == 0 ) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp return; - if(!wx_cwi->HasClientObjectData()&&!wx_cwi->HasClientUntypedData()) - return; // Control containing only strings - -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor (int i = 0; i < count; ++i) -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp { -&nbsp&am...
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)
...gt;<span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspif ( count == 0 ) </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp return; </span><ins>+ if(!wx_cwi->HasClientObjectData()&&!wx_cwi->HasClientUntypedData()) + return; // Control containing only strings +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("4x\n"); </ins><span class="cx"> &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
...amp;nbsp&nbsp&nbsp&nbsp&nbsp&nbspreturn; + + wxControlWithItems* wx_cwi = (wxControlWithItems*) ptr; + int count = wx_cwi->GetCount(); + if ( count == 0 ) +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspreturn; // Empty control + if ( ! wx_cwi->HasClientObjectData() && ! wx_cwi->HasClientUntypedData() ) +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspreturn; // Control containing only strings + + for (int i = 0; i < count; ++i) +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{ +&nbsp&...