Oops, forgot to return a value

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-05-22 03:38:57 +00:00
parent 9ef73d79c5
commit c61fb03543

View File

@ -791,7 +791,8 @@ public:
PyObject* obj;
bool blocked = wxPyBeginBlockThreads();
obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
wxPyEndBlockThreads(blocked);
wxPyEndBlockThreads(blocked);
return obj;
}
}
};