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     return;
-
- wxControlWithItems* wx_cwi = (wxControlWithItems*) ptr;
- int count = wx_cwi->GetCount();
- if ( count == 0 )
-        return; // Empty control
- if ( ! wx_cwi->HasClientObjectData() && ! wx_cwi->HasClientUntypedData() )
-        return; // Control containing only strings
-
- for (int i = 0; i < count; ++i)
-        {
- &...
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">          return;
</span><span class="cx"> if(!wx_cwi->HasClientObjectData()&&!wx_cwi->HasClientUntypedData())
</span><span class="cx"> return; // Control containing only strings
</span><del>-        printf("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       int count = wx_cwi->GetCount();
-        if ( count == 0 )
-         return;
- if(!wx_cwi->HasClientObjectData()&&!wx_cwi->HasClientUntypedData())
- return; // Control containing only strings
-
-        for (int i = 0; i < count; ++i)
-         {
- &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">         if ( count == 0 )
</span><span class="cx">          return;
</span><ins>+ if(!wx_cwi->HasClientObjectData()&&!wx_cwi->HasClientUntypedData())
+ return; // Control containing only strings
+        printf("4x\n");
</ins><span class="cx">       &...
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     return;
+
+ wxControlWithItems* wx_cwi = (wxControlWithItems*) ptr;
+ int count = wx_cwi->GetCount();
+ if ( count == 0 )
+        return; // Empty control
+ if ( ! wx_cwi->HasClientObjectData() && ! wx_cwi->HasClientUntypedData() )
+        return; // Control containing only strings
+
+ for (int i = 0; i < count; ++i)
+        {
+ &...