]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/image.i
Updated note about wxSTC using wxPopupWindow
[wxWidgets.git] / wxPython / src / image.i
index ab9ccc65e9af94edde6f6c514b859fad7366d8fb..84d1c7c5f0a59180e04e926fc0c29779e159b286 100644 (file)
@@ -191,6 +191,7 @@ public:
             dataPtr = (unsigned char*) malloc(len);
             memcpy(dataPtr, PyString_AsString(data), len);
             self->SetData(dataPtr);
+            // wxImage takes ownership of dataPtr...
         }
     }