SWIGged code update for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-11-30 05:08:46 +00:00
parent 4161723f46
commit 3e2125031b
23 changed files with 391 additions and 417 deletions

View File

@@ -473,18 +473,12 @@ static PyObject *_wrap_wxTopLevelWindow_GetIcon(PyObject *self, PyObject *args,
}
{
wxPy_BEGIN_ALLOW_THREADS;
const wxIcon & _result_ref = wxTopLevelWindow_GetIcon(_arg0);
_result = (wxIcon *) &_result_ref;
_result = new wxIcon (wxTopLevelWindow_GetIcon(_arg0));
wxPy_END_ALLOW_THREADS;
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}