]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridStdEdRend.py
Implemented the first phase of OOR (Original Object Return). See the
[wxWidgets.git] / wxPython / demo / GridStdEdRend.py
index 5835a8227e0dfe11e985a571b6c78b28bbc194e0..5ad7c752d54b29aac124b9b08d4321540e1e8f6e 100644 (file)
@@ -142,6 +142,7 @@ Renderers used together.
         attr.SetReadOnly(true)
         attr.SetAlignment(wxRIGHT, -1)
         self.SetColAttr(renCol, attr)
+        attr.IncRef()
         self.SetColAttr(edCol, attr)
 
         # There is a bug in wxGTK for this method...