]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _misc_wrap.cpp
index ce0010e519858577b2ec0858bbb71f81c4dd087d..a1ac992a0511ce6c5c21597bd820f03e94e3ebd8 100644 (file)
@@ -1470,7 +1470,8 @@ PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
             PyObject* obj;
             bool blocked = wxPyBeginBlockThreads();
             obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
-            wxPyEndBlockThreads(blocked);      
+            wxPyEndBlockThreads(blocked);
+            return obj;
         }
 
 #include <wx/metafile.h>