#define SWIG_TypeCast SWIG_Python_TypeCast
#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
#define SWIG_TypeName SWIG_Python_TypeName
+#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
#define SWIG_TypeQuery SWIG_Python_TypeQuery
#define SWIG_TypeClientData SWIG_Python_TypeClientData
#define SWIG_PackData SWIG_Python_PackData
SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
+SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
}
#endif
+
/***********************************************************************
* pyrun.swg for wxPython
*
*
************************************************************************/
-#include "Python.h"
-
#ifdef __cplusplus
extern "C" {
#endif
#endif
+
/* -------- TYPES TABLE (BEGIN) -------- */
#define SWIGTYPE_p_wxOGLConstraint swig_types[0]
#define SWIG_name "_ogl"
-/* Auxiliar swig macros */
+/* Auxiliar swig macros that appear in the header */
+
+#define SWIG_OLDOBJ 1
+#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
+#define SWIG_PYSTR SWIG_NEWOBJ + 1
#ifdef __cplusplus
#define SWIGSTATICINLINE(a) static inline a
#define SWIGSTATIC(a) static a
-#define swig_new_array(type, size) (new type[(size)])
+#define swig_new_array(size,Type) (new Type[(size)])
+#define swig_delete(cptr) delete cptr
#define swig_delete_array(cptr) delete[] cptr
-#define swig_const_cast(type,a) const_cast<type>(a)
-#define swig_static_cast(type,a) static_cast<type>(a)
-#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
-
-#ifdef HAVE_NUMERIC_CAST
-#define swig_numeric_cast(type,a) numeric_cast<type>(a)
-#else
-#define swig_numeric_cast(type,a) static_cast<type>(a)
-#endif
+#define swig_const_cast(a,Type) const_cast<Type >(a)
+#define swig_static_cast(a,Type) static_cast<Type >(a)
+#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
+#define swig_new_copy(ptr,Type) (new Type(*ptr))
+#define swig_numeric_cast(a,Type) static_cast<Type >(a)
#else /* C case */
#define SWIGSTATICINLINE(a) static a
#define SWIGSTATIC(a) static a
-#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
+#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
+#define swig_delete(cptr) free((char*)cptr)
#define swig_delete_array(cptr) free((char*)cptr)
-#define swig_const_cast(type,a) (type)(a)
-#define swig_static_cast(type,a) (type)(a)
-#define swig_reinterpret_cast(type,a) (type)(a)
-#define swig_numeric_cast(type,a) (type)(a)
+#define swig_const_cast(a,Type) (Type)(a)
+#define swig_static_cast(a,Type) (Type)(a)
+#define swig_reinterpret_cast(a,Type) (Type)(a)
+#define swig_numeric_cast(a,Type) (Type)(a)
+#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
#endif /* __cplusplus */
-#define SWIG_FromSignedChar PyInt_FromLong
-#define SWIG_FromUnsignedChar PyInt_FromLong
-#define SWIG_FromShort PyInt_FromLong
-#define SWIG_FromUnsignedShort PyInt_FromLong
-#define SWIG_FromInt PyInt_FromLong
-#define SWIG_FromLong PyInt_FromLong
-#define SWIG_FromFloat PyFloat_FromDouble
-#define SWIG_FromDouble PyFloat_FromDouble
-#define SWIG_FromFloat PyFloat_FromDouble
-#define SWIG_FromDouble PyFloat_FromDouble
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_signed_SS_char PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_unsigned_SS_char PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_short PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_unsigned_SS_short PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_int PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_long PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_float PyFloat_FromDouble
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_double PyFloat_FromDouble
+/*@@*/
#include "wx/wxPython/wxPython.h"
static const wxString wxPyEmptyString(wxEmptyString);
+// See my_fragments.i
+SWIGSTATICINLINE(int)
+SWIG_AsVal_double(PyObject *obj, double* val)
+{
+ if (PyNumber_Check(obj)) {
+ if (val) *val = PyFloat_AsDouble(obj);
+ return 1;
+ }
+ else {
+ PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
+ obj->ob_type->tp_name);
+ PyErr_SetObject(PyExc_TypeError, errmsg);
+ Py_DECREF(errmsg);
+ }
+ return 0;
+}
+
+
SWIGSTATICINLINE(double)
-SWIG_AsDouble(PyObject *obj)
+SWIG_As_double(PyObject* obj)
{
- double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
-#if HAVE_LONG_LONG
- ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
-#else
- ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
-#endif
- if (PyErr_Occurred()) {
- PyErr_Clear();
- PyErr_SetString(PyExc_TypeError, "a double is expected");
+ double v;
+ if (!SWIG_AsVal_double(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier. the other
+ solution is throw an exception, but since this code should work
+ with plain C ....
+ */
+ memset((void*)&v, 0, sizeof(double));
}
- return val;
+ return v;
}
-
+
SWIGSTATICINLINE(int)
-SWIG_CheckDouble(PyObject* obj)
+SWIG_Check_double(PyObject* obj)
{
- SWIG_AsDouble(obj);
- if (PyErr_Occurred()) {
- PyErr_Clear();
- return 0;
- } else {
- return 1;
- }
+ return SWIG_AsVal_double(obj, (double*)0);
}
#include <limits.h>
-SWIGSTATICINLINE(long)
-SWIG_CheckLongInRange(long value, const char* type,
- long min_value, long max_value)
+SWIGSTATICINLINE(int)
+ SWIG_CheckLongInRange(long value, long min_value, long max_value,
+ const char *errmsg)
{
- if (!PyErr_Occurred()) {
- if (value < min_value) {
- PyObject *err =
- PyString_FromFormat("value %ld is less than '%s' minimum %ld",
- value, type, min_value);
-
- PyErr_SetObject(PyExc_OverflowError, err);
- Py_DECREF(err);
- } else if (value > max_value) {
- PyObject *err =
- PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
- value, type, max_value);
- PyErr_SetObject(PyExc_OverflowError, err);
- Py_DECREF(err);
+ if (value < min_value) {
+ if (errmsg) {
+ PyErr_Format(PyExc_OverflowError,
+ "value %ld is less than '%s' minimum %ld",
+ value, errmsg, min_value);
+ }
+ return 0;
+ } else if (value > max_value) {
+ if (errmsg) {
+ PyErr_Format(PyExc_OverflowError,
+ "value %ld is greater than '%s' maximum %ld",
+ value, errmsg, max_value);
}
+ return 0;
}
- return value;
+ return 1;
}
-SWIGSTATICINLINE(long)
-SWIG_AsLong(PyObject * obj)
+// See my_fragments.i
+SWIGSTATICINLINE(int)
+SWIG_AsVal_long(PyObject* obj, long* val)
{
- return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
+ if (PyNumber_Check(obj)) {
+ if (val) *val = PyInt_AsLong(obj);
+ return 1;
+ }
+ else {
+ PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
+ obj->ob_type->tp_name);
+ PyErr_SetObject(PyExc_TypeError, errmsg);
+ Py_DECREF(errmsg);
+ }
+ return 0;
}
#if INT_MAX != LONG_MAX
SWIGSTATICINLINE(int)
-SWIG_AsInt(PyObject *obj)
+ SWIG_AsVal_int(PyObject *obj, int *val)
{
- return swig_numeric_cast(int,
- SWIG_CheckLongInRange(SWIG_AsLong(obj),
- "int", INT_MIN, INT_MAX));
+ const char* errmsg = val ? "int" : 0;
+ long v;
+ if (SWIG_AsVal_long(obj, &v)) {
+ if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
+ if (val) *val = swig_numeric_cast(v, int);
+ return 1;
+ } else {
+ return 0;
+ }
+ } else {
+ PyErr_Clear();
+ }
+ if (val) {
+ PyErr_SetString(PyExc_TypeError, "an int is expected");
+ }
+ return 0;
}
#else
-#define SWIG_AsInt SWIG_AsLong
+SWIGSTATICINLINE(int)
+ SWIG_AsVal_int(PyObject *obj, int *val)
+{
+ return SWIG_AsVal_long(obj,(long*)val);
+}
#endif
SWIGSTATICINLINE(int)
-SWIG_CheckInt(PyObject* obj)
+SWIG_As_int(PyObject* obj)
{
- SWIG_AsInt(obj);
- if (PyErr_Occurred()) {
- PyErr_Clear();
- return 0;
- } else {
- return 1;
+ int v;
+ if (!SWIG_AsVal_int(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier. the other
+ solution is throw an exception, but since this code should work
+ with plain C ....
+ */
+ memset((void*)&v, 0, sizeof(int));
}
+ return v;
+}
+
+
+SWIGSTATICINLINE(int)
+SWIG_Check_int(PyObject* obj)
+{
+ return SWIG_AsVal_int(obj, (int*)0);
}
-static PyObject* t_output_helper(PyObject* target, PyObject* o) {
+ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
-
+
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
- } else {
+ } else {
if (!PyTuple_Check(target)) {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
- }
+ }
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, o);
Py_DECREF(o3);
}
return target;
-}
+ }
+
WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
self->SetClientObject(new wxPyOORClientData(_self));
}
-SWIGSTATICINLINE(bool)
-SWIG_AsBool(PyObject *obj)
+SWIGSTATICINLINE(int)
+ SWIG_AsVal_bool(PyObject *obj, bool *val)
{
- return PyObject_IsTrue(obj) ? true : false;
+ /* if (val) *val = PyObject_IsTrue(obj); return 1; */
+ if (obj == Py_True) {
+ if (val) *val = true;
+ return 1;
+ }
+ if (obj == Py_False) {
+ if (val) *val = false;
+ return 1;
+ }
+ int res = 0;
+ if (SWIG_AsVal_int(obj, &res)) {
+ if (val) *val = (bool)res;
+ return 1;
+ }
+ if (val) {
+ PyErr_SetString(PyExc_TypeError, "a bool is expected");
+ }
+ return 0;
}
-SWIGSTATICINLINE(int)
-SWIG_CheckBool(PyObject* obj)
+SWIGSTATICINLINE(bool)
+SWIG_As_bool(PyObject* obj)
{
- SWIG_AsBool(obj);
- if (PyErr_Occurred()) {
- PyErr_Clear();
- return 0;
- } else {
- return 1;
+ bool v;
+ if (!SWIG_AsVal_bool(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier. the other
+ solution is throw an exception, but since this code should work
+ with plain C ....
+ */
+ memset((void*)&v, 0, sizeof(bool));
}
+ return v;
+}
+
+
+SWIGSTATICINLINE(int)
+SWIG_Check_bool(PyObject* obj)
+{
+ return SWIG_AsVal_bool(obj, (bool*)0);
}
wxList& list = self->GetChildren();
return wxPy_ConvertShapeList(&list);
}
+
+SWIGSTATICINLINE(PyObject*)
+ SWIG_From_bool(bool value)
+{
+ PyObject *obj = value ? Py_True : Py_False;
+ Py_INCREF(obj);
+ return obj;
+}
+
+
+
PyObject *wxPyShape_GetLines(wxPyShape *self){
wxList& list = self->GetLines();
return wxPy_ConvertShapeList(&list);
}
-SWIGSTATICINLINE(int)
-SWIG_CheckLong(PyObject* obj)
+SWIGSTATICINLINE(long)
+SWIG_As_long(PyObject* obj)
{
- SWIG_AsLong(obj);
- if (PyErr_Occurred()) {
- PyErr_Clear();
- return 0;
- } else {
- return 1;
+ long v;
+ if (!SWIG_AsVal_long(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier. the other
+ solution is throw an exception, but since this code should work
+ with plain C ....
+ */
+ memset((void*)&v, 0, sizeof(long));
}
+ return v;
+}
+
+
+SWIGSTATICINLINE(int)
+SWIG_Check_long(PyObject* obj)
+{
+ return SWIG_AsVal_long(obj, (long*)0);
}
PyObject *wxPyShape_GetRegions(wxPyShape *self){
}
PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
wxList* list = self->GetLineControlPoints();
- return wxPy_ConvertShapeList(list);
+ return wxPy_ConvertRealPointList(list);
+ }
+void wxPyLineShape_SetLineControlPoints(wxPyLineShape *self,PyObject *list){
+ wxList* real_point_list = wxPy_wxRealPoint_ListHelper(list);
+ self->MakeLineControlPoints((int)(real_point_list->GetCount()));
+ wxList* old_control_points = self->GetLineControlPoints();
+ wxNode* old_node = old_control_points->GetFirst();
+ wxNode* real_node = real_point_list->GetFirst();
+ while(old_node)
+ {
+ wxRealPoint* old_point = (wxRealPoint*)old_node->GetData();
+ wxRealPoint* new_point = (wxRealPoint*)real_node->GetData();
+ old_point->x = new_point->x;
+ old_point->y = new_point->y;
+ old_node = old_node->GetNext();
+ real_node = real_node->GetNext();
+ }
+ self->ClearPointList(*real_point_list);
+ delete real_point_list;
}
WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
}
PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
wxList* list = self->GetPoints();
- PyObject* pyList;
- PyObject* pyObj;
- wxObject* wxObj;
- wxNode* node = list->GetFirst();
-
- wxPyBeginBlockThreads();
- pyList = PyList_New(0);
- while (node) {
- wxObj = node->GetData();
- pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
- PyList_Append(pyList, pyObj);
- node = node->GetNext();
- }
- wxPyEndBlockThreads();
- return pyList;
+ return wxPy_ConvertRealPointList(list);
}
PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
wxList* list = self->GetOriginalPoints();
wxObject* wxObj;
wxNode* node = list->GetFirst();
- wxPyBeginBlockThreads();
+ bool blocked = wxPyBeginBlockThreads();
pyList = PyList_New(0);
while (node) {
wxObj = node->GetData();
PyList_Append(pyList, pyObj);
node = node->GetNext();
}
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return pyList;
}
// work for any class for the VERY generic cases, but beyond that the helper
// needs to know more about the type.
wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
- wxPyBeginBlockThreads();
+ bool blocked = wxPyBeginBlockThreads();
if (!PyList_Check(pyList)) {
PyErr_SetString(PyExc_TypeError, "Expected a list object.");
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return NULL;
}
int count = PyList_Size(pyList);
wxList* list = new wxList;
if (! list) {
PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return NULL;
}
for (int x=0; x<count; x++) {
wxString errmsg;
errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return NULL;
}
list->Append(wxo);
}
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return list;
}
//---------------------------------------------------------------------------
wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
- wxPyBeginBlockThreads();
+ bool blocked = wxPyBeginBlockThreads();
if (!PyList_Check(pyList)) {
PyErr_SetString(PyExc_TypeError, "Expected a list object.");
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return NULL;
}
int count = PyList_Size(pyList);
wxList* list = new wxList;
if (! list) {
PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return NULL;
}
for (int x=0; x<count; x++) {
wxRealPoint* wxo = NULL;
if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return NULL;
}
list->Append((wxObject*) new wxRealPoint(*wxo));
}
}
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return list;
}
//---------------------------------------------------------------------------
-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));
}
//---------------------------------------------------------------------------
+PyObject* wxPy_ConvertRealPointList(wxListBase* listbase) {
+ wxList* list = (wxList*)listbase;
+ PyObject* pyList;
+ PyObject* pyObj;
+ wxObject* wxObj;
+ wxNode* node = list->GetFirst();
+
+ bool blocked = wxPyBeginBlockThreads();
+ pyList = PyList_New(0);
+ while (node) {
+ wxObj = node->GetData();
+ pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
+ PyList_Append(pyList, pyObj);
+ node = node->GetNext();
+ }
+ wxPyEndBlockThreads(blocked);
+ return pyList;
+}
+
+//---------------------------------------------------------------------------
+
PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
wxList* list = (wxList*)listbase;
PyObject* pyList;
wxObject* wxObj;
wxNode* node = list->GetFirst();
- wxPyBeginBlockThreads();
+ bool blocked = wxPyBeginBlockThreads();
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();
}
- wxPyEndBlockThreads();
+ wxPyEndBlockThreads(blocked);
return pyList;
}
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
double *arg2 = (double *) 0 ;
double *arg3 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
double *arg2 = (double *) 0 ;
double *arg3 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
double *arg2 = (double *) 0 ;
double *arg3 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
double *arg2 = (double *) 0 ;
double *arg3 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
if (obj0) {
- arg1 = (int) SWIG_AsInt(obj0);
+ arg1 = (int)SWIG_As_int(obj0);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj1) {
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj2) {
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (arg1) (arg1)->m_id = arg2;
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
result = (int) ((arg1)->m_id);
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (arg1) (arg1)->m_x = arg2;
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
result = (double) ((arg1)->m_x);
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (arg1) (arg1)->m_y = arg2;
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
result = (double) ((arg1)->m_y);
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxShapeEvtHandler(result);
- }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShapeEvtHandler, 1);
return resultobj;
fail:
return NULL;
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:
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxShapeEvtHandler(result);
- }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShape, 1);
return resultobj;
fail:
return NULL;
double *arg2 = (double *) 0 ;
double *arg3 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
double *arg2 = (double *) 0 ;
double *arg3 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
double *arg7 = (double *) 0 ;
bool result;
double temp6 ;
+ int res6 = 0 ;
double temp7 ;
+ int res7 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
};
- arg6 = &temp6;
- arg7 = &temp7;
+ arg6 = &temp6; res6 = SWIG_NEWOBJ;
+ arg7 = &temp7; res7 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
{
- PyObject *o = PyFloat_FromDouble((double) (*arg6));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg7));
- resultobj = t_output_helper(resultobj,o);
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
}
+ resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res7 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg7)) : SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj2) {
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
bool *arg2 = (bool *) 0 ;
bool *arg3 = (bool *) 0 ;
bool temp2 ;
+ int res2 = 0 ;
bool temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyInt_FromLong((long) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyInt_FromLong((long) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_bool((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_bool, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_bool((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, 0)));
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
double *arg5 = (double *) 0 ;
bool result;
int temp4 ;
+ int res4 = 0 ;
double temp5 ;
+ int res5 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "self",(char *) "x",(char *) "y", NULL
};
- arg4 = &temp4;
- arg5 = &temp5;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
+ arg5 = &temp5; res5 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
{
- PyObject *o = PyInt_FromLong((long) (*arg4));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg5));
- resultobj = t_output_helper(resultobj,o);
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
}
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
+ resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (long) SWIG_AsLong(obj1);
+ arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromLong((long)result);
+ resultobj = SWIG_From_long((long)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (bool) SWIG_AsBool(obj4);
+ arg5 = (bool)SWIG_As_bool(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (bool) SWIG_AsBool(obj3);
+ arg4 = (bool)SWIG_As_bool(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
temp3 = True;
}
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (obj2) {
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
arg2 = NULL;
}
if (obj2) {
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
temp2 = True;
}
if (obj2) {
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
temp2 = True;
}
if (obj2) {
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
{
if (temp2)
delete arg2;
wxPyShape *result;
bool temp2 = False ;
int temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "regionName", NULL
};
- arg3 = &temp3;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
- }
- {
- PyObject *o = PyInt_FromLong((long) (*arg3));
- resultobj = t_output_helper(resultobj,o);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
{
if (temp2)
delete arg2;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
bool result;
double temp3 ;
+ int res3 = 0 ;
double temp4 ;
+ int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
};
- arg3 = &temp3;
- arg4 = &temp4;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (obj2) {
- arg5 = (int) SWIG_AsInt(obj2);
+ arg5 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj3) {
- arg6 = (int) SWIG_AsInt(obj3);
+ arg6 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
{
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg4));
- resultobj = t_output_helper(resultobj,o);
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
}
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
bool result;
double temp3 ;
+ int res3 = 0 ;
double temp4 ;
+ int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
};
- arg3 = &temp3;
- arg4 = &temp4;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (obj2) {
- arg5 = (int) SWIG_AsInt(obj2);
+ arg5 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj3) {
- arg6 = (int) SWIG_AsInt(obj3);
+ arg6 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
{
- PyObject *o = PyFloat_FromDouble((double) (*arg4));
- resultobj = t_output_helper(resultobj,o);
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
}
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
arg3 = &temp3;
if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
}
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
arg3 = &temp3;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
SWIG_fail;
}
if (obj2) {
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj3) {
- arg4 = (bool) SWIG_AsBool(obj3);
+ arg4 = (bool)SWIG_As_bool(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_fail;
}
if (obj2) {
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj3) {
- arg4 = (bool) SWIG_AsBool(obj3);
+ arg4 = (bool)SWIG_As_bool(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
arg3 = &temp3;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
arg4 = &temp4;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (long) SWIG_AsLong(obj1);
+ arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromLong((long)result);
+ resultobj = SWIG_From_long((long)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
return resultobj;
fail:
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
{
if (temp2)
delete arg2;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
arg2 = &temp2;
if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
arg2 = &temp2;
if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint *arg3 = (wxPoint *) 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
+ (char *) "self",(char *) "points", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
- SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxPoint_LIST_helper(obj1, &arg2);
+ if (arg3 == NULL) SWIG_fail;
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawLines(arg2,arg3);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (arg3) delete [] arg3;
+ }
return resultobj;
fail:
+ {
+ if (arg3) delete [] arg3;
+ }
return NULL;
}
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
+ (char *) "self",(char *) "points",(char *) "flags", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
- SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ {
+ arg3 = wxPoint_LIST_helper(obj1, &arg2);
+ if (arg3 == NULL) SWIG_fail;
+ }
+ if (obj2) {
+ arg4 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (arg3) delete [] arg3;
+ }
return resultobj;
fail:
+ {
+ if (arg3) delete [] arg3;
+ }
return NULL;
}
wxPoint *arg3 = (wxPoint *) 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
+ (char *) "self",(char *) "points", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
- SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxPoint_LIST_helper(obj1, &arg2);
+ if (arg3 == NULL) SWIG_fail;
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawSpline(arg2,arg3);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (arg3) delete [] arg3;
+ }
return resultobj;
fail:
+ {
+ if (arg3) delete [] arg3;
+ }
return NULL;
}
arg2 = NULL;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
arg2 = NULL;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
- arg1 = (double) SWIG_AsDouble(obj0);
+ arg1 = (double)SWIG_As_double(obj0);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj1) {
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
}
if (obj2) {
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj3) {
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
arg2 = &temp2;
if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint *arg3 = (wxPoint *) 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
+ (char *) "self",(char *) "points", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
- SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxPoint_LIST_helper(obj1, &arg2);
+ if (arg3 == NULL) SWIG_fail;
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawLines(arg2,arg3);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (arg3) delete [] arg3;
+ }
return resultobj;
fail:
+ {
+ if (arg3) delete [] arg3;
+ }
return NULL;
}
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
+ (char *) "self",(char *) "points",(char *) "flags", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
- SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ {
+ arg3 = wxPoint_LIST_helper(obj1, &arg2);
+ if (arg3 == NULL) SWIG_fail;
+ }
+ if (obj2) {
+ arg4 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (arg3) delete [] arg3;
+ }
return resultobj;
fail:
+ {
+ if (arg3) delete [] arg3;
+ }
return NULL;
}
arg2 = &temp2;
if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint *arg3 = (wxPoint *) 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
+ (char *) "self",(char *) "points", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPoint,
- SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxPoint_LIST_helper(obj1, &arg2);
+ if (arg3 == NULL) SWIG_fail;
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawSpline(arg2,arg3);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (arg3) delete [] arg3;
+ }
return resultobj;
fail:
+ {
+ if (arg3) delete [] arg3;
+ }
return NULL;
}
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
{
if (temp2)
delete arg2;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
arg2 = NULL;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
arg2 = NULL;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
- arg1 = (int) SWIG_AsInt(obj0);
+ arg1 = (int)SWIG_As_int(obj0);
if (PyErr_Occurred()) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
- arg1 = (double) SWIG_AsDouble(obj0);
+ arg1 = (double)SWIG_As_double(obj0);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj1) {
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxShapeEvtHandler(result);
- }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDivisionShape, 1);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
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(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (bool) SWIG_AsBool(obj3);
+ arg4 = (bool)SWIG_As_bool(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
- arg1 = (double) SWIG_AsDouble(obj0);
+ arg1 = (double)SWIG_As_double(obj0);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj1) {
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
if (obj0) {
- arg1 = (double) SWIG_AsDouble(obj0);
+ arg1 = (double)SWIG_As_double(obj0);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
if (obj0) {
- arg1 = (int) SWIG_AsInt(obj0);
+ arg1 = (int)SWIG_As_int(obj0);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj2) {
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj3) {
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
}
if (obj6) {
- arg7 = (long) SWIG_AsLong(obj6);
+ arg7 = (long)SWIG_As_long(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
{
if (temp5)
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromLong((long)result);
+ resultobj = SWIG_From_long((long)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
if (obj2) {
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj3) {
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
}
if (obj7) {
- arg8 = (long) SWIG_AsLong(obj7);
+ arg8 = (long)SWIG_As_long(obj7);
if (PyErr_Occurred()) SWIG_fail;
}
{
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
arg3 = obj2;
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
{
if (temp2)
delete arg2;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (bool) SWIG_AsBool(obj4);
+ arg5 = (bool)SWIG_As_bool(obj4);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (long) SWIG_AsLong(obj1);
+ arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
arg3 = wxString_in_helper(obj2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
{
if (temp3)
delete arg3;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (long) SWIG_AsLong(obj1);
+ arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
arg3 = wxString_in_helper(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
{
if (temp3)
double *arg4 = (double *) 0 ;
double *arg5 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
double temp4 ;
+ int res4 = 0 ;
double temp5 ;
+ int res5 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
- arg4 = &temp4;
- arg5 = &temp5;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
+ arg5 = &temp5; res5 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg4));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg5));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
int *arg4 = (int *) 0 ;
bool arg5 ;
int temp3 ;
+ int res3 = 0 ;
int temp4 ;
+ int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "self",(char *) "image",(char *) "incoming", NULL
};
- arg3 = &temp3;
- arg4 = &temp4;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg5 = (bool) SWIG_AsBool(obj2);
+ arg5 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyInt_FromLong((long) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyInt_FromLong((long) (*arg4));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
double *arg4 = (double *) 0 ;
double *arg5 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
double temp4 ;
+ int res4 = 0 ;
double temp5 ;
+ int res5 = 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
- arg2 = &temp2;
- arg3 = &temp3;
- arg4 = &temp4;
- arg5 = &temp5;
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
+ arg5 = &temp5; res5 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg4));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg5));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
double *arg3 = (double *) 0 ;
double *arg4 = (double *) 0 ;
double temp3 ;
+ int res3 = 0 ;
double temp4 ;
+ int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "position", NULL
};
- arg3 = &temp3;
- arg4 = &temp4;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg4));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
}
+static PyObject *_wrap_PyLineShape_SetLineControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
+ PyObject *arg2 = (PyObject *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "list", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg2 = obj1;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxPyLineShape_SetLineControlPoints(arg1,arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (int) SWIG_AsInt(obj2);
+ arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
if (obj0) {
- arg1 = (double) SWIG_AsDouble(obj0);
+ arg1 = (double)SWIG_As_double(obj0);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj1) {
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
if (obj6) {
- arg7 = (bool) SWIG_AsBool(obj6);
+ arg7 = (bool)SWIG_As_bool(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
SWIG_fail;
}
if (obj2) {
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (bool) SWIG_AsBool(obj2);
+ arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj6) {
- arg7 = (int) SWIG_AsInt(obj6);
+ arg7 = (int)SWIG_As_int(obj6);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
- arg6 = (int) SWIG_AsInt(obj5);
+ arg6 = (int)SWIG_As_int(obj5);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
return resultobj;
fail:
PyErr_SetString(PyExc_TypeError,"null reference");
SWIG_fail;
}
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (double) SWIG_AsDouble(obj4);
+ arg5 = (double)SWIG_As_double(obj4);
if (PyErr_Occurred()) SWIG_fail;
- arg6 = (double) SWIG_AsDouble(obj5);
+ arg6 = (double)SWIG_As_double(obj5);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (long) SWIG_AsLong(obj1);
+ arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromDouble((double)result);
+ resultobj = SWIG_From_double((double)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_FromInt((int)result);
+ resultobj = SWIG_From_int((int)result);
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
double *arg2 = (double *) 0 ;
double *arg3 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
- temp2 = PyFloat_AsDouble(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = &temp2;
+ if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,0) != -1)) {
+ temp2 = SWIG_As_double(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg2 = &temp2;
+ res2 = SWIG_NEWOBJ;
+ }
}
{
- temp3 = PyFloat_AsDouble(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = &temp3;
+ if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,0) != -1)) {
+ temp3 = SWIG_As_double(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg3 = &temp3;
+ res3 = SWIG_NEWOBJ;
+ }
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
}
if (obj1) {
- arg2 = (int) SWIG_AsInt(obj1);
+ arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj2) {
}
}
if (obj4) {
- arg5 = (long) SWIG_AsLong(obj4);
+ arg5 = (long)SWIG_As_long(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
if (obj5) {
}
}
{
+ if (!wxPyCheckForApp()) SWIG_fail;
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- {
- resultobj = wxPyMake_wxObject(result);
- }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShapeCanvas, 1);
{
if (temp6)
delete arg6;
wxPyShape *arg6 = (wxPyShape *) NULL ;
wxPyShape *result;
int temp4 ;
+ int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
};
- arg4 = &temp4;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
- }
- {
- PyObject *o = PyInt_FromLong((long) (*arg4));
- resultobj = t_output_helper(resultobj,o);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
return resultobj;
fail:
return NULL;
int arg5 ;
wxPyShape *result;
int temp4 ;
+ int res4 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
(char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
};
- arg4 = &temp4;
+ arg4 = &temp4; res4 = SWIG_NEWOBJ;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg5 = (int) SWIG_AsInt(obj3);
+ arg5 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxShapeEvtHandler(result);
- }
- {
- PyObject *o = PyInt_FromLong((long) (*arg4));
- resultobj = t_output_helper(resultobj,o);
+ resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
}
+ resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
return resultobj;
fail:
return NULL;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
return resultobj;
fail:
return NULL;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (bool) SWIG_AsBool(obj1);
+ arg2 = (bool)SWIG_As_bool(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
- arg4 = (double) SWIG_AsDouble(obj3);
+ arg4 = (double)SWIG_As_double(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj4) {
- arg5 = (int) SWIG_AsInt(obj4);
+ arg5 = (int)SWIG_As_int(obj4);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
- arg2 = (double) SWIG_AsDouble(obj1);
+ arg2 = (double)SWIG_As_double(obj1);
if (PyErr_Occurred()) SWIG_fail;
- arg3 = (double) SWIG_AsDouble(obj2);
+ arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
- arg4 = (int) SWIG_AsInt(obj3);
+ arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
double *arg2 = (double *) 0 ;
double *arg3 = (double *) 0 ;
double temp2 ;
+ int res2 = 0 ;
double temp3 ;
+ int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
- temp2 = PyFloat_AsDouble(obj1);
- if (PyErr_Occurred()) SWIG_fail;
- arg2 = &temp2;
+ if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,0) != -1)) {
+ temp2 = SWIG_As_double(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg2 = &temp2;
+ res2 = SWIG_NEWOBJ;
+ }
}
{
- temp3 = PyFloat_AsDouble(obj2);
- if (PyErr_Occurred()) SWIG_fail;
- arg3 = &temp3;
+ if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,0) != -1)) {
+ temp3 = SWIG_As_double(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg3 = &temp3;
+ res3 = SWIG_NEWOBJ;
+ }
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg2));
- resultobj = t_output_helper(resultobj,o);
- }
- {
- PyObject *o = PyFloat_FromDouble((double) (*arg3));
- resultobj = t_output_helper(resultobj,o);
- }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
return resultobj;
fail:
return NULL;
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();
{ (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction) _wrap_PyLineShape_SetLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS, NULL },
static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
}
+static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
+ return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
+}
static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
}
static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
}
+static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
+ return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
+}
static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
}
static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) ((wxSashWindow *) x));
}
+static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
+}
static void *_p_wxControlTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) ((wxControl *) x));
}
static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
}
+static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
+}
static void *_p_wxSashEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
}
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
}
+static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
+}
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
}
static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0, 0, 0, 0},{"_p_wxArrowHead", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0, 0, 0, 0},{"_p_wxStringList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0, 0, 0, 0},{"_p_wxList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0, 0, 0, 0},{"_p_wxPyDivisionShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0, 0, 0, 0},{"_p_wxPyDrawnShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0, 0, 0, 0},{"_p_wxPyPolygonShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0, 0, 0, 0},{"_p_wxPyBitmapShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyShapeEvtHandler[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0, 0, 0, 0},{"_p_wxPyShapeCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
}
SWIG_InstallConstants(d,swig_const_table);
- PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE));
- PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
- PyDict_SetItemString(d,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT));
- PyDict_SetItemString(d,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL));
- PyDict_SetItemString(d,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE));
- PyDict_SetItemString(d,"ARROW_END", SWIG_FromInt((int)ARROW_END));
- PyDict_SetItemString(d,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH));
- PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE));
- PyDict_SetItemString(d,"ARROW_START", SWIG_FromInt((int)ARROW_START));
- PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE));
- PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE));
- PyDict_SetItemString(d,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW));
- PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE));
- PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE));
- PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE));
- PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END));
- PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START));
- PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL));
- PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL));
- PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL));
- PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
- PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
- PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE));
- PyDict_SetItemString(d,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE));
- PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ));
- PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT));
- PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
- PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ));
- PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT));
- PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
- PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE));
- PyDict_SetItemString(d,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE));
- PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT));
- PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT));
- PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT));
- PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT));
- PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT));
- PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT));
- PyDict_SetItemString(d,"OP_ALL", SWIG_FromInt((int)OP_ALL));
- PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE));
- PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE));
- PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING));
- PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
- PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
- PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
- PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
- PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
- PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF));
- PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF));
- PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE));
- PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW));
- PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
- PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
- PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
- PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
- PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
- PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
- PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
- PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
- PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE));
- PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT));
- PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP));
- PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT));
- PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM));
+ PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_From_int((int)oglMETAFLAGS_OUTLINE));
+ PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_From_int((int)oglMETAFLAGS_ATTACHMENTS));
+ PyDict_SetItemString(d,"KEY_SHIFT", SWIG_From_int((int)KEY_SHIFT));
+ PyDict_SetItemString(d,"KEY_CTRL", SWIG_From_int((int)KEY_CTRL));
+ PyDict_SetItemString(d,"ARROW_NONE", SWIG_From_int((int)ARROW_NONE));
+ PyDict_SetItemString(d,"ARROW_END", SWIG_From_int((int)ARROW_END));
+ PyDict_SetItemString(d,"ARROW_BOTH", SWIG_From_int((int)ARROW_BOTH));
+ PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_From_int((int)ARROW_MIDDLE));
+ PyDict_SetItemString(d,"ARROW_START", SWIG_From_int((int)ARROW_START));
+ PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_From_int((int)ARROW_HOLLOW_CIRCLE));
+ PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_From_int((int)ARROW_FILLED_CIRCLE));
+ PyDict_SetItemString(d,"ARROW_ARROW", SWIG_From_int((int)ARROW_ARROW));
+ PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_From_int((int)ARROW_SINGLE_OBLIQUE));
+ PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_From_int((int)ARROW_DOUBLE_OBLIQUE));
+ PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_From_int((int)ARROW_METAFILE));
+ PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_From_int((int)ARROW_POSITION_END));
+ PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_From_int((int)ARROW_POSITION_START));
+ PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_From_int((int)CONTROL_POINT_VERTICAL));
+ PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_From_int((int)CONTROL_POINT_HORIZONTAL));
+ PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_From_int((int)CONTROL_POINT_DIAGONAL));
+ PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_From_int((int)CONTROL_POINT_ENDPOINT_TO));
+ PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_From_int((int)CONTROL_POINT_ENDPOINT_FROM));
+ PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_From_int((int)CONTROL_POINT_LINE));
+ PyDict_SetItemString(d,"FORMAT_NONE", SWIG_From_int((int)FORMAT_NONE));
+ PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_From_int((int)FORMAT_CENTRE_HORIZ));
+ PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_From_int((int)FORMAT_CENTRE_VERT));
+ PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_From_int((int)FORMAT_SIZE_TO_CONTENTS));
+ PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_From_int((int)LINE_ALIGNMENT_HORIZ));
+ PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_From_int((int)LINE_ALIGNMENT_VERT));
+ PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_From_int((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
+ PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_From_int((int)LINE_ALIGNMENT_NONE));
+ PyDict_SetItemString(d,"SHADOW_NONE", SWIG_From_int((int)SHADOW_NONE));
+ PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_From_int((int)SHADOW_LEFT));
+ PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_From_int((int)SHADOW_RIGHT));
+ PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_From_int((int)OP_CLICK_LEFT));
+ PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_From_int((int)OP_CLICK_RIGHT));
+ PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_From_int((int)OP_DRAG_LEFT));
+ PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_From_int((int)OP_DRAG_RIGHT));
+ PyDict_SetItemString(d,"OP_ALL", SWIG_From_int((int)OP_ALL));
+ PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_From_int((int)ATTACHMENT_MODE_NONE));
+ PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_From_int((int)ATTACHMENT_MODE_EDGE));
+ PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_From_int((int)ATTACHMENT_MODE_BRANCHING));
+ PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_From_int((int)BRANCHING_ATTACHMENT_NORMAL));
+ PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_From_int((int)BRANCHING_ATTACHMENT_BLOB));
+ PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_From_int((int)gyCONSTRAINT_CENTRED_VERTICALLY));
+ PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_From_int((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
+ PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_From_int((int)gyCONSTRAINT_CENTRED_BOTH));
+ PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_From_int((int)gyCONSTRAINT_LEFT_OF));
+ PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_From_int((int)gyCONSTRAINT_RIGHT_OF));
+ PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_From_int((int)gyCONSTRAINT_ABOVE));
+ PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_From_int((int)gyCONSTRAINT_BELOW));
+ PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_TOP));
+ PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_BOTTOM));
+ PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_LEFT));
+ PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_RIGHT));
+ PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_TOP));
+ PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
+ PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_LEFT));
+ PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
+ PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_From_int((int)DIVISION_SIDE_NONE));
+ PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_From_int((int)DIVISION_SIDE_LEFT));
+ PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_From_int((int)DIVISION_SIDE_TOP));
+ PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_From_int((int)DIVISION_SIDE_RIGHT));
+ PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_From_int((int)DIVISION_SIDE_BOTTOM));
// initoglbasicc();