Switch to sip 4.13.1, fix build script for Lion/Xcode4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-02-09 05:41:35 +00:00
parent d86998b84d
commit 820ef9b5c9
4 changed files with 33 additions and 11 deletions

View File

@@ -5729,6 +5729,9 @@ static PyObject *pickle_type(PyObject *obj, PyObject *ignore)
*/
init_args = ctd->ctd_pickle(sip_api_get_cpp_ptr((sipSimpleWrapper *)obj, NULL));
if (init_args == NULL)
return NULL;
if (!PyTuple_Check(init_args))
{
PyErr_Format(PyExc_TypeError,