X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d1d77e8f6fd8cfd530f5e180cbff70a1ac737e0..78bba745fc1ded9def5066792f6611960372af4c:/utils/wxPython/src/gtk/misc.py diff --git a/utils/wxPython/src/gtk/misc.py b/utils/wxPython/src/gtk/misc.py index 003ff667c8..50d8781f5c 100644 --- a/utils/wxPython/src/gtk/misc.py +++ b/utils/wxPython/src/gtk/misc.py @@ -432,11 +432,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):