]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/msw/misc.py
New wxTreeCtrl wrappers (untested)
[wxWidgets.git] / utils / wxPython / src / msw / misc.py
index b410c28bf0b6f64e422f7184e3c6832bd20742e1..2dd91a04b73cd75a609cf8ea973b7db4ab2a3192 100644 (file)
@@ -487,11 +487,13 @@ wxResourceClear = miscc.wxResourceClear
 def wxResourceCreateBitmap(arg0):
     val = miscc.wxResourceCreateBitmap(arg0)
     val = wxBitmapPtr(val)
+    val.thisown = 1
     return val
 
 def wxResourceCreateIcon(arg0):
     val = miscc.wxResourceCreateIcon(arg0)
     val = wxIconPtr(val)
+    val.thisown = 1
     return val
 
 def wxResourceCreateMenuBar(arg0):