X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e0ecdd955941a360c65a9f375587a81b0695d38..0d2653ff9752af0cb4ba2b9fc9090700805cb4c5:/wxPython/src/_dataobj.i diff --git a/wxPython/src/_dataobj.i b/wxPython/src/_dataobj.i index cf6baf07ef..d755d6d1ec 100644 --- a/wxPython/src/_dataobj.i +++ b/wxPython/src/_dataobj.i @@ -247,7 +247,7 @@ in the given direction.", ""); PyObject* list = PyList_New(count); for (size_t i=0; iGetData(), self->GetSize()); - wxPyEndBlockThreads(blocked); + wxPyEndBlockThreads(blocked); + return obj; } } };