Displaying 5 results from an estimated 5 matches for "wxgridcellattr".
Did you mean:
gridcellattr
2007 Feb 14
0
[874] trunk/wxruby2/swig/classes/include/wxGridCellAttr.h: Add missing and useful default ctor
...rgin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[874] trunk/wxruby2/swig/classes/include/wxGridCellAttr.h: Add missing and useful default ctor</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>874</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-02-14 14:13:32 -0500...
2007 Feb 14
0
[873] trunk/wxruby2/swig/classes/GridCellAttr.i: Prevent GC prematurely cleaning up GridCellAttr-related classes
...ot;>@@ -9,8 +9,11 @@
</span><span class="cx"> #include <wx/grid.h>
</span><span class="cx"> %}
</span><span class="cx">
</span><del>-#This is to get arround SWIG trying to call a protected destructor
-%nodefault wxGridCellAttr;
</del><ins>+%apply SWIGTYPE *DISOWN { wxGridCellEditor* editor };
+%apply SWIGTYPE *DISOWN { wxGridCellRenderer* renderer };
</ins><span class="cx">
</span><ins>+// This is to get arround SWIG trying to call a protected destructor
+%nodefaultdtor wxGr...
2007 Mar 18
0
[896] branches/wxruby2/wxwidgets_282/swig/classes/Grid.i: Added DISOWN typemap to prevent free_GridCellRenderer crash on GC/exit
...C (rev 896)
</span><span class="lines">@@ -9,8 +9,9 @@
</span><span class="cx"> #include <wx/grid.h>
</span><span class="cx"> %}
</span><span class="cx">
</span><ins>+%apply SWIGTYPE *DISOWN { wxGridCellAttr* attr };
</ins><span class="cx"> %apply SWIGTYPE *DISOWN { wxGridCellEditor* editor };
</span><del>-%apply SWIGTYPE *DISOWN { wxGridCellAttr* attr };
</del><ins>+%apply SWIGTYPE *DISOWN { wxGridCellRenderer* renderer };
</ins><span class="...
2007 Feb 14
0
[872] trunk/wxruby2/swig/classes/Grid.i: Prevent GC prematurely cleaning up Grid-related classes
...t;>@@ -9,6 +9,8 @@
</span><span class="cx"> #include <wx/grid.h>
</span><span class="cx"> %}
</span><span class="cx">
</span><ins>+%apply SWIGTYPE *DISOWN { wxGridCellEditor* editor };
+%apply SWIGTYPE *DISOWN { wxGridCellAttr* attr };
</ins><span class="cx">
</span><span class="cx"> %import "include/wxObject.h"
</span><span class="cx"> %import "include/wxEvtHandler.h"
</span></span></pre>
</div>
</div>
&...
2007 Jun 01
0
[1044] trunk/wxruby2: Special memory management for Wx::Grid
...gt;
</span><ins>+
+// Memory management is needed for these classes in addition to *DISOWN
+// to prevent premature ruby GC. To save a lot of messy C++ The work is
+// done in pure ruby - see lib/wx/classes/grid.rb
</ins><span class="cx"> %apply SWIGTYPE *DISOWN { wxGridCellAttr* attr };
</span><span class="cx"> %apply SWIGTYPE *DISOWN { wxGridCellEditor* editor };
</span><span class="cx"> %apply SWIGTYPE *DISOWN { wxGridCellRenderer* renderer };
</span></span></pre>
</div>
</div>
</body>
<...