//---------------------------------------------------------------------------
-PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
+PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source, bool setThisOwn) {
PyObject* target = NULL;
if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
}
}
if (! target) {
- target = wxPyMake_wxObject2(source, FALSE);
+ target = wxPyMake_wxObject2(source, setThisOwn, false);
if (target != Py_None)
((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
}
pyList = PyList_New(0);
while (node) {
wxObj = node->GetData();
- pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
+ pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj, false);
PyList_Append(pyList, pyObj);
node = node->GetNext();
}
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 1);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 1);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
{
PyObject *o = PyInt_FromLong((long) (*arg3));
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 1);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
{
if (temp5)
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
{
if (temp3)
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
}
}
{
+ if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
{
if (temp6)
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
{
PyObject *o = PyInt_FromLong((long) (*arg4));
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
{
PyObject *o = PyInt_FromLong((long) (*arg4));
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
{
+ if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxOGLInitialize();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
{
+ if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxOGLCleanUp();