2 * FILE : contrib/ogl/oglbasic.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initoglbasicc
56 #define SWIG_name "oglbasicc"
59 #include "oglhelpers.h"
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "String type required";
94 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
96 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
100 static void *SwigwxShapeRegionTowxObject(void *ptr
) {
103 src
= (wxShapeRegion
*) ptr
;
104 dest
= (wxObject
*) src
;
105 return (void *) dest
;
108 #define new_wxShapeRegion() (new wxShapeRegion())
109 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
110 PyObject
* _resultobj
;
111 wxShapeRegion
* _result
;
112 char *_kwnames
[] = { NULL
};
116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
119 wxPy_BEGIN_ALLOW_THREADS
;
120 _result
= (wxShapeRegion
*)new_wxShapeRegion();
122 wxPy_END_ALLOW_THREADS
;
124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
125 _resultobj
= Py_BuildValue("s",_ptemp
);
128 _resultobj
= Py_None
;
133 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
134 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
135 PyObject
* _resultobj
;
136 wxShapeRegion
* _arg0
;
138 PyObject
* _argo0
= 0;
139 PyObject
* _obj1
= 0;
140 char *_kwnames
[] = { "self","s", NULL
};
143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
153 #if PYTHON_API_VERSION >= 1009
154 char* tmpPtr
; int tmpSize
;
155 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
156 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
159 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
161 _arg1
= new wxString(tmpPtr
, tmpSize
);
163 if (!PyString_Check(_obj1
)) {
164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
167 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
171 wxPy_BEGIN_ALLOW_THREADS
;
172 wxShapeRegion_SetText(_arg0
,*_arg1
);
174 wxPy_END_ALLOW_THREADS
;
175 } Py_INCREF(Py_None
);
176 _resultobj
= Py_None
;
184 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
185 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
187 wxShapeRegion
* _arg0
;
189 PyObject
* _argo0
= 0;
190 PyObject
* _obj1
= 0;
191 char *_kwnames
[] = { "self","f", NULL
};
194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_obj1
))
197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
206 if (_obj1
== Py_None
) { temp
= NULL
; }
207 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
213 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
217 temp
->GetUnderlined(),
219 temp
->GetEncoding());
224 wxPy_BEGIN_ALLOW_THREADS
;
225 wxShapeRegion_SetFont(_arg0
,_arg1
);
227 wxPy_END_ALLOW_THREADS
;
228 } Py_INCREF(Py_None
);
229 _resultobj
= Py_None
;
233 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
234 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
236 wxShapeRegion
* _arg0
;
239 PyObject
* _argo0
= 0;
240 char *_kwnames
[] = { "self","w","h", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
253 wxPy_BEGIN_ALLOW_THREADS
;
254 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
256 wxPy_END_ALLOW_THREADS
;
257 } Py_INCREF(Py_None
);
258 _resultobj
= Py_None
;
262 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
263 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 wxShapeRegion
* _arg0
;
268 PyObject
* _argo0
= 0;
269 char *_kwnames
[] = { "self","w","h", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
282 wxPy_BEGIN_ALLOW_THREADS
;
283 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
285 wxPy_END_ALLOW_THREADS
;
286 } Py_INCREF(Py_None
);
287 _resultobj
= Py_None
;
291 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
292 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
294 wxShapeRegion
* _arg0
;
297 PyObject
* _argo0
= 0;
298 char *_kwnames
[] = { "self","x","y", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
311 wxPy_BEGIN_ALLOW_THREADS
;
312 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
314 wxPy_END_ALLOW_THREADS
;
315 } Py_INCREF(Py_None
);
316 _resultobj
= Py_None
;
320 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
321 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
323 wxShapeRegion
* _arg0
;
326 PyObject
* _argo0
= 0;
327 char *_kwnames
[] = { "self","x","y", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
340 wxPy_BEGIN_ALLOW_THREADS
;
341 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
343 wxPy_END_ALLOW_THREADS
;
344 } Py_INCREF(Py_None
);
345 _resultobj
= Py_None
;
349 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
350 static PyObject
*_wrap_wxShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
351 PyObject
* _resultobj
;
352 wxShapeRegion
* _arg0
;
354 PyObject
* _argo0
= 0;
355 char *_kwnames
[] = { "self","mode", NULL
};
358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetFormatMode",_kwnames
,&_argo0
,&_arg1
))
361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
368 wxPy_BEGIN_ALLOW_THREADS
;
369 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
371 wxPy_END_ALLOW_THREADS
;
372 } Py_INCREF(Py_None
);
373 _resultobj
= Py_None
;
377 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
378 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
380 wxShapeRegion
* _arg0
;
382 PyObject
* _argo0
= 0;
383 PyObject
* _obj1
= 0;
384 char *_kwnames
[] = { "self","s", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
397 #if PYTHON_API_VERSION >= 1009
398 char* tmpPtr
; int tmpSize
;
399 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
403 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
405 _arg1
= new wxString(tmpPtr
, tmpSize
);
407 if (!PyString_Check(_obj1
)) {
408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
411 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
415 wxPy_BEGIN_ALLOW_THREADS
;
416 wxShapeRegion_SetName(_arg0
,*_arg1
);
418 wxPy_END_ALLOW_THREADS
;
419 } Py_INCREF(Py_None
);
420 _resultobj
= Py_None
;
428 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
429 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
431 wxShapeRegion
* _arg0
;
433 PyObject
* _argo0
= 0;
434 PyObject
* _obj1
= 0;
435 char *_kwnames
[] = { "self","col", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
448 #if PYTHON_API_VERSION >= 1009
449 char* tmpPtr
; int tmpSize
;
450 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
451 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
454 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
456 _arg1
= new wxString(tmpPtr
, tmpSize
);
458 if (!PyString_Check(_obj1
)) {
459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
462 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
466 wxPy_BEGIN_ALLOW_THREADS
;
467 wxShapeRegion_SetColour(_arg0
,*_arg1
);
469 wxPy_END_ALLOW_THREADS
;
470 } Py_INCREF(Py_None
);
471 _resultobj
= Py_None
;
479 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
480 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
483 wxShapeRegion
* _arg0
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
501 wxPy_END_ALLOW_THREADS
;
503 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
511 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
512 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
515 wxShapeRegion
* _arg0
;
516 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self", NULL
};
521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
531 wxPy_BEGIN_ALLOW_THREADS
;
532 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
534 wxPy_END_ALLOW_THREADS
;
536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
537 _resultobj
= Py_BuildValue("s",_ptemp
);
540 _resultobj
= Py_None
;
545 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
546 static PyObject
*_wrap_wxShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
548 wxShapeRegion
* _arg0
;
553 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
573 wxPy_BEGIN_ALLOW_THREADS
;
574 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
576 wxPy_END_ALLOW_THREADS
;
577 } Py_INCREF(Py_None
);
578 _resultobj
= Py_None
;
581 o
= PyFloat_FromDouble((double) (*_arg1
));
582 _resultobj
= t_output_helper(_resultobj
, o
);
586 o
= PyFloat_FromDouble((double) (*_arg2
));
587 _resultobj
= t_output_helper(_resultobj
, o
);
592 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
593 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
595 wxShapeRegion
* _arg0
;
600 PyObject
* _argo0
= 0;
601 char *_kwnames
[] = { "self", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetProportion",_kwnames
,&_argo0
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
620 wxPy_BEGIN_ALLOW_THREADS
;
621 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
623 wxPy_END_ALLOW_THREADS
;
624 } Py_INCREF(Py_None
);
625 _resultobj
= Py_None
;
628 o
= PyFloat_FromDouble((double) (*_arg1
));
629 _resultobj
= t_output_helper(_resultobj
, o
);
633 o
= PyFloat_FromDouble((double) (*_arg2
));
634 _resultobj
= t_output_helper(_resultobj
, o
);
639 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
640 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
642 wxShapeRegion
* _arg0
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetSize",_kwnames
,&_argo0
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
667 wxPy_BEGIN_ALLOW_THREADS
;
668 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
670 wxPy_END_ALLOW_THREADS
;
671 } Py_INCREF(Py_None
);
672 _resultobj
= Py_None
;
675 o
= PyFloat_FromDouble((double) (*_arg1
));
676 _resultobj
= t_output_helper(_resultobj
, o
);
680 o
= PyFloat_FromDouble((double) (*_arg2
));
681 _resultobj
= t_output_helper(_resultobj
, o
);
686 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
687 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
689 wxShapeRegion
* _arg0
;
694 PyObject
* _argo0
= 0;
695 char *_kwnames
[] = { "self", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPosition",_kwnames
,&_argo0
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
714 wxPy_BEGIN_ALLOW_THREADS
;
715 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
717 wxPy_END_ALLOW_THREADS
;
718 } Py_INCREF(Py_None
);
719 _resultobj
= Py_None
;
722 o
= PyFloat_FromDouble((double) (*_arg1
));
723 _resultobj
= t_output_helper(_resultobj
, o
);
727 o
= PyFloat_FromDouble((double) (*_arg2
));
728 _resultobj
= t_output_helper(_resultobj
, o
);
733 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
734 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
737 wxShapeRegion
* _arg0
;
738 PyObject
* _argo0
= 0;
739 char *_kwnames
[] = { "self", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
755 wxPy_END_ALLOW_THREADS
;
756 } _resultobj
= Py_BuildValue("i",_result
);
760 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
761 static PyObject
*_wrap_wxShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
764 wxShapeRegion
* _arg0
;
765 PyObject
* _argo0
= 0;
766 char *_kwnames
[] = { "self", NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetName",_kwnames
,&_argo0
))
772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
779 wxPy_BEGIN_ALLOW_THREADS
;
780 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
782 wxPy_END_ALLOW_THREADS
;
784 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
792 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
793 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
796 wxShapeRegion
* _arg0
;
797 PyObject
* _argo0
= 0;
798 char *_kwnames
[] = { "self", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
811 wxPy_BEGIN_ALLOW_THREADS
;
812 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
814 wxPy_END_ALLOW_THREADS
;
816 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
824 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
825 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
828 wxShapeRegion
* _arg0
;
829 PyObject
* _argo0
= 0;
830 char *_kwnames
[] = { "self", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
847 wxPy_END_ALLOW_THREADS
;
849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
850 _resultobj
= Py_BuildValue("s",_ptemp
);
853 _resultobj
= Py_None
;
858 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
859 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
862 wxShapeRegion
* _arg0
;
863 PyObject
* _argo0
= 0;
864 char *_kwnames
[] = { "self", NULL
};
868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
878 wxPy_BEGIN_ALLOW_THREADS
;
879 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
880 _result
= (wxList
*) &_result_ref
;
882 wxPy_END_ALLOW_THREADS
;
884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
885 _resultobj
= Py_BuildValue("s",_ptemp
);
888 _resultobj
= Py_None
;
893 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
894 static PyObject
*_wrap_wxShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 PyObject
* _resultobj
;
897 wxShapeRegion
* _arg0
;
898 PyObject
* _argo0
= 0;
899 char *_kwnames
[] = { "self", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenColour",_kwnames
,&_argo0
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
912 wxPy_BEGIN_ALLOW_THREADS
;
913 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
915 wxPy_END_ALLOW_THREADS
;
917 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
925 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
926 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
929 wxShapeRegion
* _arg0
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
947 wxPy_END_ALLOW_THREADS
;
948 } _resultobj
= Py_BuildValue("i",_result
);
952 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
953 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
955 wxShapeRegion
* _arg0
;
957 PyObject
* _argo0
= 0;
958 char *_kwnames
[] = { "self","style", NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
971 wxPy_BEGIN_ALLOW_THREADS
;
972 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
974 wxPy_END_ALLOW_THREADS
;
975 } Py_INCREF(Py_None
);
976 _resultobj
= Py_None
;
980 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
981 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
983 wxShapeRegion
* _arg0
;
985 PyObject
* _argo0
= 0;
986 PyObject
* _obj1
= 0;
987 char *_kwnames
[] = { "self","col", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
1000 #if PYTHON_API_VERSION >= 1009
1001 char* tmpPtr
; int tmpSize
;
1002 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1003 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1006 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1008 _arg1
= new wxString(tmpPtr
, tmpSize
);
1010 if (!PyString_Check(_obj1
)) {
1011 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1014 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
1021 wxPy_END_ALLOW_THREADS
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1031 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
1032 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1035 wxShapeRegion
* _arg0
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "self", NULL
};
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
1044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1051 wxPy_BEGIN_ALLOW_THREADS
;
1052 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
1054 wxPy_END_ALLOW_THREADS
;
1056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1057 _resultobj
= Py_BuildValue("s",_ptemp
);
1060 _resultobj
= Py_None
;
1065 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1066 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1069 wxShapeRegion
* _arg0
;
1070 PyObject
* _argo0
= 0;
1071 char *_kwnames
[] = { "self", NULL
};
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1084 wxPy_BEGIN_ALLOW_THREADS
;
1085 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1087 wxPy_END_ALLOW_THREADS
;
1088 } _resultobj
= Py_BuildValue("d",_result
);
1092 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1093 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1096 wxShapeRegion
* _arg0
;
1097 PyObject
* _argo0
= 0;
1098 char *_kwnames
[] = { "self", NULL
};
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1114 wxPy_END_ALLOW_THREADS
;
1115 } _resultobj
= Py_BuildValue("d",_result
);
1119 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1120 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1122 wxShapeRegion
* _arg0
;
1123 PyObject
* _argo0
= 0;
1124 char *_kwnames
[] = { "self", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_kwnames
,&_argo0
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 wxShapeRegion_ClearText(_arg0
);
1140 wxPy_END_ALLOW_THREADS
;
1141 } Py_INCREF(Py_None
);
1142 _resultobj
= Py_None
;
1146 static void *SwigwxPyShapeEvtHandlerTowxObject(void *ptr
) {
1147 wxPyShapeEvtHandler
*src
;
1149 src
= (wxPyShapeEvtHandler
*) ptr
;
1150 dest
= (wxObject
*) src
;
1151 return (void *) dest
;
1154 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1155 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
* _resultobj
;
1157 wxPyShapeEvtHandler
* _result
;
1158 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1159 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1160 PyObject
* _argo0
= 0;
1161 PyObject
* _argo1
= 0;
1162 char *_kwnames
[] = { "prev","shape", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1183 wxPy_BEGIN_ALLOW_THREADS
;
1184 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1186 wxPy_END_ALLOW_THREADS
;
1188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1192 _resultobj
= Py_None
;
1197 #define wxPyShapeEvtHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1198 static PyObject
*_wrap_wxPyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1200 wxPyShapeEvtHandler
* _arg0
;
1203 PyObject
* _argo0
= 0;
1204 PyObject
* _obj1
= 0;
1205 PyObject
* _obj2
= 0;
1206 char *_kwnames
[] = { "self","self","_class", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeEvtHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setCallbackInfo. Expected _wxPyShapeEvtHandler_p.");
1225 wxPy_BEGIN_ALLOW_THREADS
;
1226 wxPyShapeEvtHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1228 wxPy_END_ALLOW_THREADS
;
1229 } Py_INCREF(Py_None
);
1230 _resultobj
= Py_None
;
1234 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1235 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1237 wxPyShapeEvtHandler
* _arg0
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 wxPyShapeEvtHandler_Destroy(_arg0
);
1255 wxPy_END_ALLOW_THREADS
;
1256 } Py_INCREF(Py_None
);
1257 _resultobj
= Py_None
;
1261 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1262 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1264 wxPyShapeEvtHandler
* _arg0
;
1266 PyObject
* _argo0
= 0;
1267 PyObject
* _argo1
= 0;
1268 char *_kwnames
[] = { "self","sh", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1291 wxPy_END_ALLOW_THREADS
;
1292 } Py_INCREF(Py_None
);
1293 _resultobj
= Py_None
;
1297 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1298 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1300 wxPyShape
* _result
;
1301 wxPyShapeEvtHandler
* _arg0
;
1302 PyObject
* _argo0
= 0;
1303 char *_kwnames
[] = { "self", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1316 wxPy_BEGIN_ALLOW_THREADS
;
1317 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1319 wxPy_END_ALLOW_THREADS
;
1320 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1324 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1325 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1327 wxPyShapeEvtHandler
* _arg0
;
1328 wxPyShapeEvtHandler
* _arg1
;
1329 PyObject
* _argo0
= 0;
1330 PyObject
* _argo1
= 0;
1331 char *_kwnames
[] = { "self","handler", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1354 wxPy_END_ALLOW_THREADS
;
1355 } Py_INCREF(Py_None
);
1356 _resultobj
= Py_None
;
1360 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1361 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1363 wxPyShapeEvtHandler
* _result
;
1364 wxPyShapeEvtHandler
* _arg0
;
1365 PyObject
* _argo0
= 0;
1366 char *_kwnames
[] = { "self", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1382 wxPy_END_ALLOW_THREADS
;
1383 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1387 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1388 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1390 wxPyShapeEvtHandler
* _result
;
1391 wxPyShapeEvtHandler
* _arg0
;
1392 PyObject
* _argo0
= 0;
1393 char *_kwnames
[] = { "self", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1406 wxPy_BEGIN_ALLOW_THREADS
;
1407 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1409 wxPy_END_ALLOW_THREADS
;
1410 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1414 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1415 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
* _resultobj
;
1417 wxPyShapeEvtHandler
* _arg0
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1432 wxPy_BEGIN_ALLOW_THREADS
;
1433 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1435 wxPy_END_ALLOW_THREADS
;
1436 } Py_INCREF(Py_None
);
1437 _resultobj
= Py_None
;
1441 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1442 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1444 wxPyShapeEvtHandler
* _arg0
;
1446 PyObject
* _argo0
= 0;
1447 PyObject
* _argo1
= 0;
1448 char *_kwnames
[] = { "self","dc", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } Py_INCREF(Py_None
);
1473 _resultobj
= Py_None
;
1477 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1478 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1480 wxPyShapeEvtHandler
* _arg0
;
1482 PyObject
* _argo0
= 0;
1483 PyObject
* _argo1
= 0;
1484 char *_kwnames
[] = { "self","dc", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1507 wxPy_END_ALLOW_THREADS
;
1508 } Py_INCREF(Py_None
);
1509 _resultobj
= Py_None
;
1513 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1514 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1516 wxPyShapeEvtHandler
* _arg0
;
1518 bool _arg2
= (bool ) FALSE
;
1519 PyObject
* _argo0
= 0;
1520 PyObject
* _argo1
= 0;
1521 int tempbool2
= (int) FALSE
;
1522 char *_kwnames
[] = { "self","dc","erase", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1541 _arg2
= (bool ) tempbool2
;
1543 wxPy_BEGIN_ALLOW_THREADS
;
1544 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1546 wxPy_END_ALLOW_THREADS
;
1547 } Py_INCREF(Py_None
);
1548 _resultobj
= Py_None
;
1552 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1553 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
* _resultobj
;
1555 wxPyShapeEvtHandler
* _arg0
;
1557 PyObject
* _argo0
= 0;
1558 PyObject
* _argo1
= 0;
1559 char *_kwnames
[] = { "self","dc", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1579 wxPy_BEGIN_ALLOW_THREADS
;
1580 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1582 wxPy_END_ALLOW_THREADS
;
1583 } Py_INCREF(Py_None
);
1584 _resultobj
= Py_None
;
1588 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1589 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1591 wxPyShapeEvtHandler
* _arg0
;
1593 PyObject
* _argo0
= 0;
1594 PyObject
* _argo1
= 0;
1595 char *_kwnames
[] = { "self","dc", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } Py_INCREF(Py_None
);
1620 _resultobj
= Py_None
;
1624 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1625 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1627 wxPyShapeEvtHandler
* _arg0
;
1629 PyObject
* _argo0
= 0;
1630 PyObject
* _argo1
= 0;
1631 char *_kwnames
[] = { "self","dc", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1660 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1661 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1663 wxPyShapeEvtHandler
* _arg0
;
1665 PyObject
* _argo0
= 0;
1666 PyObject
* _argo1
= 0;
1667 char *_kwnames
[] = { "self","dc", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1690 wxPy_END_ALLOW_THREADS
;
1691 } Py_INCREF(Py_None
);
1692 _resultobj
= Py_None
;
1696 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1697 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1699 wxPyShapeEvtHandler
* _arg0
;
1702 int _arg3
= (int ) 0;
1703 int _arg4
= (int ) 0;
1704 PyObject
* _argo0
= 0;
1705 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1718 wxPy_BEGIN_ALLOW_THREADS
;
1719 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1721 wxPy_END_ALLOW_THREADS
;
1722 } Py_INCREF(Py_None
);
1723 _resultobj
= Py_None
;
1727 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1728 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1730 wxPyShapeEvtHandler
* _arg0
;
1733 int _arg3
= (int ) 0;
1734 int _arg4
= (int ) 0;
1735 PyObject
* _argo0
= 0;
1736 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1749 wxPy_BEGIN_ALLOW_THREADS
;
1750 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1752 wxPy_END_ALLOW_THREADS
;
1753 } Py_INCREF(Py_None
);
1754 _resultobj
= Py_None
;
1758 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1759 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1761 wxPyShapeEvtHandler
* _arg0
;
1764 int _arg3
= (int ) 0;
1765 int _arg4
= (int ) 0;
1766 PyObject
* _argo0
= 0;
1767 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1780 wxPy_BEGIN_ALLOW_THREADS
;
1781 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1783 wxPy_END_ALLOW_THREADS
;
1784 } Py_INCREF(Py_None
);
1785 _resultobj
= Py_None
;
1789 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1790 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1792 wxPyShapeEvtHandler
* _arg0
;
1795 PyObject
* _argo0
= 0;
1796 char *_kwnames
[] = { "self","x","y", NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1809 wxPy_BEGIN_ALLOW_THREADS
;
1810 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1812 wxPy_END_ALLOW_THREADS
;
1813 } Py_INCREF(Py_None
);
1814 _resultobj
= Py_None
;
1818 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1819 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1822 wxPyShapeEvtHandler
* _arg0
;
1828 bool _arg6
= (bool ) TRUE
;
1829 PyObject
* _argo0
= 0;
1830 PyObject
* _argo1
= 0;
1831 int tempbool6
= (int) TRUE
;
1832 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1845 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1851 _arg6
= (bool ) tempbool6
;
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1861 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1862 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1864 wxPyShapeEvtHandler
* _arg0
;
1870 bool _arg6
= (bool ) TRUE
;
1871 PyObject
* _argo0
= 0;
1872 PyObject
* _argo1
= 0;
1873 int tempbool6
= (int) TRUE
;
1874 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1887 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1893 _arg6
= (bool ) tempbool6
;
1895 wxPy_BEGIN_ALLOW_THREADS
;
1896 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1898 wxPy_END_ALLOW_THREADS
;
1899 } Py_INCREF(Py_None
);
1900 _resultobj
= Py_None
;
1904 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1905 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1907 wxPyShapeEvtHandler
* _arg0
;
1911 int _arg4
= (int ) 0;
1912 int _arg5
= (int ) 0;
1913 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1927 _arg1
= (bool ) tempbool1
;
1929 wxPy_BEGIN_ALLOW_THREADS
;
1930 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1932 wxPy_END_ALLOW_THREADS
;
1933 } Py_INCREF(Py_None
);
1934 _resultobj
= Py_None
;
1938 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1939 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1941 wxPyShapeEvtHandler
* _arg0
;
1944 int _arg3
= (int ) 0;
1945 int _arg4
= (int ) 0;
1946 PyObject
* _argo0
= 0;
1947 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1960 wxPy_BEGIN_ALLOW_THREADS
;
1961 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1963 wxPy_END_ALLOW_THREADS
;
1964 } Py_INCREF(Py_None
);
1965 _resultobj
= Py_None
;
1969 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1970 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1972 wxPyShapeEvtHandler
* _arg0
;
1975 int _arg3
= (int ) 0;
1976 int _arg4
= (int ) 0;
1977 PyObject
* _argo0
= 0;
1978 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
1991 wxPy_BEGIN_ALLOW_THREADS
;
1992 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1994 wxPy_END_ALLOW_THREADS
;
1995 } Py_INCREF(Py_None
);
1996 _resultobj
= Py_None
;
2000 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2001 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
* _resultobj
;
2003 wxPyShapeEvtHandler
* _arg0
;
2007 int _arg4
= (int ) 0;
2008 int _arg5
= (int ) 0;
2009 PyObject
* _argo0
= 0;
2011 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
2023 _arg1
= (bool ) tempbool1
;
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2034 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2035 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2037 wxPyShapeEvtHandler
* _arg0
;
2040 int _arg3
= (int ) 0;
2041 int _arg4
= (int ) 0;
2042 PyObject
* _argo0
= 0;
2043 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2056 wxPy_BEGIN_ALLOW_THREADS
;
2057 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2059 wxPy_END_ALLOW_THREADS
;
2060 } Py_INCREF(Py_None
);
2061 _resultobj
= Py_None
;
2065 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2066 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2068 wxPyShapeEvtHandler
* _arg0
;
2071 int _arg3
= (int ) 0;
2072 int _arg4
= (int ) 0;
2073 PyObject
* _argo0
= 0;
2074 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2087 wxPy_BEGIN_ALLOW_THREADS
;
2088 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2090 wxPy_END_ALLOW_THREADS
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2096 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2097 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2099 wxPyShapeEvtHandler
* _arg0
;
2105 PyObject
* _argo0
= 0;
2106 PyObject
* _argo1
= 0;
2107 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2130 wxPy_END_ALLOW_THREADS
;
2131 } Py_INCREF(Py_None
);
2132 _resultobj
= Py_None
;
2136 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2137 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2139 wxPyShapeEvtHandler
* _arg0
;
2141 PyObject
* _argo0
= 0;
2142 PyObject
* _argo1
= 0;
2143 char *_kwnames
[] = { "self","dc", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2163 wxPy_BEGIN_ALLOW_THREADS
;
2164 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2166 wxPy_END_ALLOW_THREADS
;
2167 } Py_INCREF(Py_None
);
2168 _resultobj
= Py_None
;
2172 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2173 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
* _resultobj
;
2175 wxPyShapeEvtHandler
* _arg0
;
2177 PyObject
* _argo0
= 0;
2178 PyObject
* _argo1
= 0;
2179 char *_kwnames
[] = { "self","dc", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2199 wxPy_BEGIN_ALLOW_THREADS
;
2200 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2202 wxPy_END_ALLOW_THREADS
;
2203 } Py_INCREF(Py_None
);
2204 _resultobj
= Py_None
;
2208 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2209 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
* _resultobj
;
2211 wxPyShapeEvtHandler
* _arg0
;
2213 bool _arg2
= (bool ) TRUE
;
2214 PyObject
* _argo0
= 0;
2215 PyObject
* _argo1
= 0;
2216 int tempbool2
= (int) TRUE
;
2217 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2236 _arg2
= (bool ) tempbool2
;
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2241 wxPy_END_ALLOW_THREADS
;
2242 } Py_INCREF(Py_None
);
2243 _resultobj
= Py_None
;
2247 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2248 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2250 wxPyShapeEvtHandler
* _arg0
;
2251 wxPyControlPoint
* _arg1
;
2255 int _arg5
= (int ) 0;
2256 int _arg6
= (int ) 0;
2257 PyObject
* _argo0
= 0;
2258 PyObject
* _argo1
= 0;
2260 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2279 _arg2
= (bool ) tempbool2
;
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2284 wxPy_END_ALLOW_THREADS
;
2285 } Py_INCREF(Py_None
);
2286 _resultobj
= Py_None
;
2290 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2291 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2293 wxPyShapeEvtHandler
* _arg0
;
2294 wxPyControlPoint
* _arg1
;
2297 int _arg4
= (int ) 0;
2298 int _arg5
= (int ) 0;
2299 PyObject
* _argo0
= 0;
2300 PyObject
* _argo1
= 0;
2301 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2321 wxPy_BEGIN_ALLOW_THREADS
;
2322 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2324 wxPy_END_ALLOW_THREADS
;
2325 } Py_INCREF(Py_None
);
2326 _resultobj
= Py_None
;
2330 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2331 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2333 wxPyShapeEvtHandler
* _arg0
;
2334 wxPyControlPoint
* _arg1
;
2337 int _arg4
= (int ) 0;
2338 int _arg5
= (int ) 0;
2339 PyObject
* _argo0
= 0;
2340 PyObject
* _argo1
= 0;
2341 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2364 wxPy_END_ALLOW_THREADS
;
2365 } Py_INCREF(Py_None
);
2366 _resultobj
= Py_None
;
2370 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2371 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2373 wxPyShapeEvtHandler
* _arg0
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self","w","h", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2393 wxPy_END_ALLOW_THREADS
;
2394 } Py_INCREF(Py_None
);
2395 _resultobj
= Py_None
;
2399 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2400 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
* _resultobj
;
2402 wxPyShapeEvtHandler
* _arg0
;
2405 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self","w","h", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2422 wxPy_END_ALLOW_THREADS
;
2423 } Py_INCREF(Py_None
);
2424 _resultobj
= Py_None
;
2428 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2430 wxPyShapeEvtHandler
*dest
;
2431 src
= (wxPyShape
*) ptr
;
2432 dest
= (wxPyShapeEvtHandler
*) src
;
2433 return (void *) dest
;
2436 static void *SwigwxPyShapeTowxObject(void *ptr
) {
2439 src
= (wxPyShape
*) ptr
;
2440 dest
= (wxObject
*) src
;
2441 return (void *) dest
;
2444 #define wxPyShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2445 static PyObject
*_wrap_wxPyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2450 PyObject
* _argo0
= 0;
2451 PyObject
* _obj1
= 0;
2452 PyObject
* _obj2
= 0;
2453 char *_kwnames
[] = { "self","self","_class", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setCallbackInfo. Expected _wxPyShape_p.");
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 wxPyShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2475 wxPy_END_ALLOW_THREADS
;
2476 } Py_INCREF(Py_None
);
2477 _resultobj
= Py_None
;
2481 static void wxPyShape_Destroy(wxPyShape
*self
) { delete self
; }
2482 static PyObject
*_wrap_wxPyShape_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2485 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Destroy",_kwnames
,&_argo0
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p.");
2499 wxPy_BEGIN_ALLOW_THREADS
;
2500 wxPyShape_Destroy(_arg0
);
2502 wxPy_END_ALLOW_THREADS
;
2503 } Py_INCREF(Py_None
);
2504 _resultobj
= Py_None
;
2508 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2509 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2516 PyObject
* _argo0
= 0;
2517 char *_kwnames
[] = { "self", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2539 wxPy_END_ALLOW_THREADS
;
2540 } Py_INCREF(Py_None
);
2541 _resultobj
= Py_None
;
2544 o
= PyFloat_FromDouble((double) (*_arg1
));
2545 _resultobj
= t_output_helper(_resultobj
, o
);
2549 o
= PyFloat_FromDouble((double) (*_arg2
));
2550 _resultobj
= t_output_helper(_resultobj
, o
);
2555 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2556 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2563 PyObject
* _argo0
= 0;
2564 char *_kwnames
[] = { "self", NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2583 wxPy_BEGIN_ALLOW_THREADS
;
2584 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2586 wxPy_END_ALLOW_THREADS
;
2587 } Py_INCREF(Py_None
);
2588 _resultobj
= Py_None
;
2591 o
= PyFloat_FromDouble((double) (*_arg1
));
2592 _resultobj
= t_output_helper(_resultobj
, o
);
2596 o
= PyFloat_FromDouble((double) (*_arg2
));
2597 _resultobj
= t_output_helper(_resultobj
, o
);
2602 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2603 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2638 wxPy_END_ALLOW_THREADS
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2642 o
= PyFloat_FromDouble((double) (*_arg5
));
2643 _resultobj
= t_output_helper(_resultobj
, o
);
2647 o
= PyFloat_FromDouble((double) (*_arg6
));
2648 _resultobj
= t_output_helper(_resultobj
, o
);
2653 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2654 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2656 wxPyShapeCanvas
* _result
;
2658 PyObject
* _argo0
= 0;
2659 char *_kwnames
[] = { "self", NULL
};
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2675 wxPy_END_ALLOW_THREADS
;
2676 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2680 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2681 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2684 wxPyShapeCanvas
* _arg1
;
2685 PyObject
* _argo0
= 0;
2686 PyObject
* _argo1
= 0;
2687 char *_kwnames
[] = { "self","the_canvas", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2700 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2707 wxPy_BEGIN_ALLOW_THREADS
;
2708 wxPyShape_SetCanvas(_arg0
,_arg1
);
2710 wxPy_END_ALLOW_THREADS
;
2711 } Py_INCREF(Py_None
);
2712 _resultobj
= Py_None
;
2716 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2717 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2720 wxPyShapeCanvas
* _arg1
;
2721 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2722 PyObject
* _argo0
= 0;
2723 PyObject
* _argo1
= 0;
2724 PyObject
* _argo2
= 0;
2725 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2745 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2752 wxPy_BEGIN_ALLOW_THREADS
;
2753 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2755 wxPy_END_ALLOW_THREADS
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2762 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2765 wxPyShapeCanvas
* _arg1
;
2766 PyObject
* _argo0
= 0;
2767 PyObject
* _argo1
= 0;
2768 char *_kwnames
[] = { "self","the_canvas", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2788 wxPy_BEGIN_ALLOW_THREADS
;
2789 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2791 wxPy_END_ALLOW_THREADS
;
2792 } Py_INCREF(Py_None
);
2793 _resultobj
= Py_None
;
2797 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2798 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2801 wxPyShapeCanvas
* _arg1
;
2802 PyObject
* _argo0
= 0;
2803 PyObject
* _argo1
= 0;
2804 char *_kwnames
[] = { "self","the_canvas", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2817 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2827 wxPy_END_ALLOW_THREADS
;
2828 } Py_INCREF(Py_None
);
2829 _resultobj
= Py_None
;
2833 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2834 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2838 PyObject
* _argo0
= 0;
2839 char *_kwnames
[] = { "self", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2852 wxPy_BEGIN_ALLOW_THREADS
;
2853 _result
= (double )wxPyShape_GetX(_arg0
);
2855 wxPy_END_ALLOW_THREADS
;
2856 } _resultobj
= Py_BuildValue("d",_result
);
2860 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2861 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
* _resultobj
;
2865 PyObject
* _argo0
= 0;
2866 char *_kwnames
[] = { "self", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2879 wxPy_BEGIN_ALLOW_THREADS
;
2880 _result
= (double )wxPyShape_GetY(_arg0
);
2882 wxPy_END_ALLOW_THREADS
;
2883 } _resultobj
= Py_BuildValue("d",_result
);
2887 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2888 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self","x", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2906 wxPy_BEGIN_ALLOW_THREADS
;
2907 wxPyShape_SetX(_arg0
,_arg1
);
2909 wxPy_END_ALLOW_THREADS
;
2910 } Py_INCREF(Py_None
);
2911 _resultobj
= Py_None
;
2915 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2916 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2920 PyObject
* _argo0
= 0;
2921 char *_kwnames
[] = { "self","y", NULL
};
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2934 wxPy_BEGIN_ALLOW_THREADS
;
2935 wxPyShape_SetY(_arg0
,_arg1
);
2937 wxPy_END_ALLOW_THREADS
;
2938 } Py_INCREF(Py_None
);
2939 _resultobj
= Py_None
;
2943 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2944 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2946 wxPyShape
* _result
;
2948 PyObject
* _argo0
= 0;
2949 char *_kwnames
[] = { "self", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
2965 wxPy_END_ALLOW_THREADS
;
2966 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2970 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2971 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2975 PyObject
* _argo0
= 0;
2976 PyObject
* _argo1
= 0;
2977 char *_kwnames
[] = { "self","p", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 wxPyShape_SetParent(_arg0
,_arg1
);
3000 wxPy_END_ALLOW_THREADS
;
3001 } Py_INCREF(Py_None
);
3002 _resultobj
= Py_None
;
3006 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
3007 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3009 wxPyShape
* _result
;
3011 PyObject
* _argo0
= 0;
3012 char *_kwnames
[] = { "self", NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
3018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
3025 wxPy_BEGIN_ALLOW_THREADS
;
3026 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
3028 wxPy_END_ALLOW_THREADS
;
3029 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3033 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3034 wxList
& list
= self
->GetChildren();
3035 return wxPy_ConvertList(&list
, "wxPyShape");
3037 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3041 PyObject
* _argo0
= 0;
3042 char *_kwnames
[] = { "self", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3055 wxPy_BEGIN_ALLOW_THREADS
;
3056 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3058 wxPy_END_ALLOW_THREADS
;
3060 _resultobj
= _result
;
3065 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3066 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3069 PyObject
* _argo0
= 0;
3070 char *_kwnames
[] = { "self", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 wxPyShape_Unlink(_arg0
);
3086 wxPy_END_ALLOW_THREADS
;
3087 } Py_INCREF(Py_None
);
3088 _resultobj
= Py_None
;
3092 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3093 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3097 PyObject
* _argo0
= 0;
3099 char *_kwnames
[] = { "self","drawH", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3111 _arg1
= (bool ) tempbool1
;
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3116 wxPy_END_ALLOW_THREADS
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3123 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3127 PyObject
* _argo0
= 0;
3128 char *_kwnames
[] = { "self", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3141 wxPy_BEGIN_ALLOW_THREADS
;
3142 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3144 wxPy_END_ALLOW_THREADS
;
3145 } _resultobj
= Py_BuildValue("i",_result
);
3149 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3150 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3153 PyObject
* _argo0
= 0;
3154 char *_kwnames
[] = { "self", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3167 wxPy_BEGIN_ALLOW_THREADS
;
3168 wxPyShape_MakeControlPoints(_arg0
);
3170 wxPy_END_ALLOW_THREADS
;
3171 } Py_INCREF(Py_None
);
3172 _resultobj
= Py_None
;
3176 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3177 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3180 wxDC
* _arg1
= (wxDC
*) NULL
;
3181 PyObject
* _argo0
= 0;
3182 PyObject
* _argo1
= 0;
3183 char *_kwnames
[] = { "self","dc", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3203 wxPy_BEGIN_ALLOW_THREADS
;
3204 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3206 wxPy_END_ALLOW_THREADS
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3213 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3216 PyObject
* _argo0
= 0;
3217 char *_kwnames
[] = { "self", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3230 wxPy_BEGIN_ALLOW_THREADS
;
3231 wxPyShape_ResetControlPoints(_arg0
);
3233 wxPy_END_ALLOW_THREADS
;
3234 } Py_INCREF(Py_None
);
3235 _resultobj
= Py_None
;
3239 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3240 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxPyShapeEvtHandler
* _result
;
3244 PyObject
* _argo0
= 0;
3245 char *_kwnames
[] = { "self", NULL
};
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3258 wxPy_BEGIN_ALLOW_THREADS
;
3259 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3261 wxPy_END_ALLOW_THREADS
;
3262 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3266 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3267 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3270 wxPyShapeEvtHandler
* _arg1
;
3271 PyObject
* _argo0
= 0;
3272 PyObject
* _argo1
= 0;
3273 char *_kwnames
[] = { "self","handler", NULL
};
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3293 wxPy_BEGIN_ALLOW_THREADS
;
3294 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3296 wxPy_END_ALLOW_THREADS
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3303 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3306 PyObject
* _argo0
= 0;
3307 char *_kwnames
[] = { "self", NULL
};
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3320 wxPy_BEGIN_ALLOW_THREADS
;
3321 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3323 wxPy_END_ALLOW_THREADS
;
3324 } Py_INCREF(Py_None
);
3325 _resultobj
= Py_None
;
3329 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3330 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
* _resultobj
;
3333 PyObject
* _argo0
= 0;
3334 char *_kwnames
[] = { "self", NULL
};
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3347 wxPy_BEGIN_ALLOW_THREADS
;
3348 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3350 wxPy_END_ALLOW_THREADS
;
3351 } Py_INCREF(Py_None
);
3352 _resultobj
= Py_None
;
3356 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3357 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 _result
= (bool )wxPyShape_Recompute(_arg0
);
3378 wxPy_END_ALLOW_THREADS
;
3379 } _resultobj
= Py_BuildValue("i",_result
);
3383 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3384 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3387 PyObject
* _argo0
= 0;
3388 char *_kwnames
[] = { "self", NULL
};
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3401 wxPy_BEGIN_ALLOW_THREADS
;
3402 wxPyShape_CalculateSize(_arg0
);
3404 wxPy_END_ALLOW_THREADS
;
3405 } Py_INCREF(Py_None
);
3406 _resultobj
= Py_None
;
3410 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3411 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
* _resultobj
;
3414 bool _arg1
= (bool ) TRUE
;
3415 wxDC
* _arg2
= (wxDC
*) NULL
;
3416 PyObject
* _argo0
= 0;
3417 int tempbool1
= (int) TRUE
;
3418 PyObject
* _argo2
= 0;
3419 char *_kwnames
[] = { "self","select","dc", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3431 _arg1
= (bool ) tempbool1
;
3433 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3440 wxPy_BEGIN_ALLOW_THREADS
;
3441 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3443 wxPy_END_ALLOW_THREADS
;
3444 } Py_INCREF(Py_None
);
3445 _resultobj
= Py_None
;
3449 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3450 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3453 bool _arg1
= (bool ) TRUE
;
3454 bool _arg2
= (bool ) FALSE
;
3455 PyObject
* _argo0
= 0;
3456 int tempbool1
= (int) TRUE
;
3457 int tempbool2
= (int) FALSE
;
3458 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3470 _arg1
= (bool ) tempbool1
;
3471 _arg2
= (bool ) tempbool2
;
3473 wxPy_BEGIN_ALLOW_THREADS
;
3474 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3476 wxPy_END_ALLOW_THREADS
;
3477 } Py_INCREF(Py_None
);
3478 _resultobj
= Py_None
;
3482 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3483 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3487 PyObject
* _argo0
= 0;
3488 char *_kwnames
[] = { "self", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3501 wxPy_BEGIN_ALLOW_THREADS
;
3502 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3504 wxPy_END_ALLOW_THREADS
;
3505 } _resultobj
= Py_BuildValue("i",_result
);
3509 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3510 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3528 wxPy_BEGIN_ALLOW_THREADS
;
3529 _result
= (bool )wxPyShape_Selected(_arg0
);
3531 wxPy_END_ALLOW_THREADS
;
3532 } _resultobj
= Py_BuildValue("i",_result
);
3536 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3537 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3541 PyObject
* _argo0
= 0;
3542 char *_kwnames
[] = { "self", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3555 wxPy_BEGIN_ALLOW_THREADS
;
3556 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3558 wxPy_END_ALLOW_THREADS
;
3559 } _resultobj
= Py_BuildValue("i",_result
);
3563 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3564 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3567 int _arg1
= (int ) OP_ALL
;
3568 bool _arg2
= (bool ) FALSE
;
3569 PyObject
* _argo0
= 0;
3570 int tempbool2
= (int) FALSE
;
3571 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3583 _arg2
= (bool ) tempbool2
;
3585 wxPy_BEGIN_ALLOW_THREADS
;
3586 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3588 wxPy_END_ALLOW_THREADS
;
3589 } Py_INCREF(Py_None
);
3590 _resultobj
= Py_None
;
3594 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3595 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3599 PyObject
* _argo0
= 0;
3600 char *_kwnames
[] = { "self", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3613 wxPy_BEGIN_ALLOW_THREADS
;
3614 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3616 wxPy_END_ALLOW_THREADS
;
3617 } _resultobj
= Py_BuildValue("i",_result
);
3621 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3622 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
* _resultobj
;
3626 bool _arg2
= (bool ) FALSE
;
3627 PyObject
* _argo0
= 0;
3629 int tempbool2
= (int) FALSE
;
3630 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3642 _arg1
= (bool ) tempbool1
;
3643 _arg2
= (bool ) tempbool2
;
3645 wxPy_BEGIN_ALLOW_THREADS
;
3646 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3648 wxPy_END_ALLOW_THREADS
;
3649 } Py_INCREF(Py_None
);
3650 _resultobj
= Py_None
;
3654 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3655 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3660 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self","x","y", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3675 _arg1
= (bool ) tempbool1
;
3676 _arg2
= (bool ) tempbool2
;
3678 wxPy_BEGIN_ALLOW_THREADS
;
3679 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3681 wxPy_END_ALLOW_THREADS
;
3682 } Py_INCREF(Py_None
);
3683 _resultobj
= Py_None
;
3687 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3688 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3693 PyObject
* _argo0
= 0;
3694 PyObject
* _argo1
= 0;
3695 PyObject
* _argo2
= 0;
3696 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3716 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3726 wxPy_END_ALLOW_THREADS
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3732 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3733 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3737 PyObject
* _argo0
= 0;
3738 char *_kwnames
[] = { "self", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3754 wxPy_END_ALLOW_THREADS
;
3755 } _resultobj
= Py_BuildValue("i",_result
);
3759 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3760 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "self", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3778 wxPy_BEGIN_ALLOW_THREADS
;
3779 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3781 wxPy_END_ALLOW_THREADS
;
3782 } _resultobj
= Py_BuildValue("i",_result
);
3786 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3787 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
* _resultobj
;
3791 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self","sp", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3805 _arg1
= (bool ) tempbool1
;
3807 wxPy_BEGIN_ALLOW_THREADS
;
3808 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3810 wxPy_END_ALLOW_THREADS
;
3811 } Py_INCREF(Py_None
);
3812 _resultobj
= Py_None
;
3816 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3817 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3821 PyObject
* _argo0
= 0;
3822 char *_kwnames
[] = { "self", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3835 wxPy_BEGIN_ALLOW_THREADS
;
3836 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3838 wxPy_END_ALLOW_THREADS
;
3839 } _resultobj
= Py_BuildValue("i",_result
);
3843 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3844 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3848 bool _arg2
= (bool ) FALSE
;
3849 PyObject
* _argo0
= 0;
3850 int tempbool2
= (int) FALSE
;
3851 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3863 _arg2
= (bool ) tempbool2
;
3865 wxPy_BEGIN_ALLOW_THREADS
;
3866 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3868 wxPy_END_ALLOW_THREADS
;
3869 } Py_INCREF(Py_None
);
3870 _resultobj
= Py_None
;
3874 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3875 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3879 PyObject
* _argo0
= 0;
3880 char *_kwnames
[] = { "self", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3896 wxPy_END_ALLOW_THREADS
;
3897 } _resultobj
= Py_BuildValue("i",_result
);
3901 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3902 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3912 PyObject
* _argo0
= 0;
3913 char *_kwnames
[] = { "self","x","y", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3932 wxPy_BEGIN_ALLOW_THREADS
;
3933 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3935 wxPy_END_ALLOW_THREADS
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3939 o
= PyInt_FromLong((long) (*_arg3
));
3940 _resultobj
= t_output_helper(_resultobj
, o
);
3944 o
= PyFloat_FromDouble((double) (*_arg4
));
3945 _resultobj
= t_output_helper(_resultobj
, o
);
3950 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3951 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3955 PyObject
* _argo0
= 0;
3957 char *_kwnames
[] = { "self","cr", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
3969 _arg1
= (bool ) tempbool1
;
3971 wxPy_BEGIN_ALLOW_THREADS
;
3972 wxPyShape_SetCentreResize(_arg0
,_arg1
);
3974 wxPy_END_ALLOW_THREADS
;
3975 } Py_INCREF(Py_None
);
3976 _resultobj
= Py_None
;
3980 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
3981 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3985 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "self", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
3999 wxPy_BEGIN_ALLOW_THREADS
;
4000 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
4002 wxPy_END_ALLOW_THREADS
;
4003 } _resultobj
= Py_BuildValue("i",_result
);
4007 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4008 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
* _resultobj
;
4012 PyObject
* _argo0
= 0;
4014 char *_kwnames
[] = { "self","ar", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4026 _arg1
= (bool ) tempbool1
;
4028 wxPy_BEGIN_ALLOW_THREADS
;
4029 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4031 wxPy_END_ALLOW_THREADS
;
4032 } Py_INCREF(Py_None
);
4033 _resultobj
= Py_None
;
4037 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4038 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4056 wxPy_BEGIN_ALLOW_THREADS
;
4057 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4059 wxPy_END_ALLOW_THREADS
;
4060 } _resultobj
= Py_BuildValue("i",_result
);
4064 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4065 wxList
& list
= self
->GetLines();
4066 return wxPy_ConvertList(&list
, "wxPyLineShape");
4068 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4072 PyObject
* _argo0
= 0;
4073 char *_kwnames
[] = { "self", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4086 wxPy_BEGIN_ALLOW_THREADS
;
4087 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4089 wxPy_END_ALLOW_THREADS
;
4091 _resultobj
= _result
;
4096 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4097 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
* _resultobj
;
4101 PyObject
* _argo0
= 0;
4103 char *_kwnames
[] = { "self","flag", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4115 _arg1
= (bool ) tempbool1
;
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4120 wxPy_END_ALLOW_THREADS
;
4121 } Py_INCREF(Py_None
);
4122 _resultobj
= Py_None
;
4126 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4127 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4131 PyObject
* _argo0
= 0;
4132 char *_kwnames
[] = { "self", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4145 wxPy_BEGIN_ALLOW_THREADS
;
4146 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4148 wxPy_END_ALLOW_THREADS
;
4149 } _resultobj
= Py_BuildValue("i",_result
);
4153 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4154 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4158 PyObject
* _argo0
= 0;
4159 char *_kwnames
[] = { "self","mode", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4172 wxPy_BEGIN_ALLOW_THREADS
;
4173 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4175 wxPy_END_ALLOW_THREADS
;
4176 } Py_INCREF(Py_None
);
4177 _resultobj
= Py_None
;
4181 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4182 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4200 wxPy_BEGIN_ALLOW_THREADS
;
4201 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4203 wxPy_END_ALLOW_THREADS
;
4204 } _resultobj
= Py_BuildValue("i",_result
);
4208 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4209 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
* _resultobj
;
4213 PyObject
* _argo0
= 0;
4214 char *_kwnames
[] = { "self","i", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4227 wxPy_BEGIN_ALLOW_THREADS
;
4228 wxPyShape_SetId(_arg0
,_arg1
);
4230 wxPy_END_ALLOW_THREADS
;
4231 } Py_INCREF(Py_None
);
4232 _resultobj
= Py_None
;
4236 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4237 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
* _resultobj
;
4241 PyObject
* _argo0
= 0;
4242 char *_kwnames
[] = { "self", NULL
};
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4255 wxPy_BEGIN_ALLOW_THREADS
;
4256 _result
= (long )wxPyShape_GetId(_arg0
);
4258 wxPy_END_ALLOW_THREADS
;
4259 } _resultobj
= Py_BuildValue("l",_result
);
4263 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4264 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4268 PyObject
* _argo0
= 0;
4269 PyObject
* _obj1
= 0;
4270 char *_kwnames
[] = { "self","pen", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_obj1
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4285 if (_obj1
== Py_None
) { temp
= NULL
; }
4286 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxPen_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxPen_p.");
4292 _arg1
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4299 wxPy_BEGIN_ALLOW_THREADS
;
4300 wxPyShape_SetPen(_arg0
,_arg1
);
4302 wxPy_END_ALLOW_THREADS
;
4303 } Py_INCREF(Py_None
);
4304 _resultobj
= Py_None
;
4308 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4309 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4313 PyObject
* _argo0
= 0;
4314 PyObject
* _obj1
= 0;
4315 char *_kwnames
[] = { "self","brush", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_obj1
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4330 if (_obj1
== Py_None
) { temp
= NULL
; }
4331 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxBrush_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxBrush_p.");
4337 _arg1
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4342 wxPy_BEGIN_ALLOW_THREADS
;
4343 wxPyShape_SetBrush(_arg0
,_arg1
);
4345 wxPy_END_ALLOW_THREADS
;
4346 } Py_INCREF(Py_None
);
4347 _resultobj
= Py_None
;
4351 static void wxPyShape_SetClientData(wxPyShape
*self
,PyObject
* userData
) {
4352 wxPyUserData
* data
= NULL
;
4354 data
= new wxPyUserData(userData
);
4355 self
->SetClientData(data
);
4357 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4361 PyObject
* _argo0
= 0;
4362 PyObject
* _obj1
= 0;
4363 char *_kwnames
[] = { "self","userData", NULL
};
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_obj1
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 wxPyShape_SetClientData(_arg0
,_arg1
);
4382 wxPy_END_ALLOW_THREADS
;
4383 } Py_INCREF(Py_None
);
4384 _resultobj
= Py_None
;
4388 static PyObject
* wxPyShape_GetClientData(wxPyShape
*self
) {
4389 wxPyUserData
* data
= (wxPyUserData
*)self
->GetClientData();
4391 Py_INCREF(data
->m_obj
);
4398 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4402 PyObject
* _argo0
= 0;
4403 char *_kwnames
[] = { "self", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4416 wxPy_BEGIN_ALLOW_THREADS
;
4417 _result
= (PyObject
*)wxPyShape_GetClientData(_arg0
);
4419 wxPy_END_ALLOW_THREADS
;
4421 _resultobj
= _result
;
4426 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4427 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4431 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self","show", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4445 _arg1
= (bool ) tempbool1
;
4447 wxPy_BEGIN_ALLOW_THREADS
;
4448 wxPyShape_Show(_arg0
,_arg1
);
4450 wxPy_END_ALLOW_THREADS
;
4451 } Py_INCREF(Py_None
);
4452 _resultobj
= Py_None
;
4456 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4457 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4461 PyObject
* _argo0
= 0;
4462 char *_kwnames
[] = { "self", NULL
};
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4475 wxPy_BEGIN_ALLOW_THREADS
;
4476 _result
= (bool )wxPyShape_IsShown(_arg0
);
4478 wxPy_END_ALLOW_THREADS
;
4479 } _resultobj
= Py_BuildValue("i",_result
);
4483 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4484 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4490 bool _arg4
= (bool ) TRUE
;
4491 PyObject
* _argo0
= 0;
4492 PyObject
* _argo1
= 0;
4493 int tempbool4
= (int) TRUE
;
4494 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4507 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4513 _arg4
= (bool ) tempbool4
;
4515 wxPy_BEGIN_ALLOW_THREADS
;
4516 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4518 wxPy_END_ALLOW_THREADS
;
4519 } Py_INCREF(Py_None
);
4520 _resultobj
= Py_None
;
4524 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4525 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4529 PyObject
* _argo0
= 0;
4530 PyObject
* _argo1
= 0;
4531 char *_kwnames
[] = { "self","dc", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4551 wxPy_BEGIN_ALLOW_THREADS
;
4552 wxPyShape_Erase(_arg0
,*_arg1
);
4554 wxPy_END_ALLOW_THREADS
;
4555 } Py_INCREF(Py_None
);
4556 _resultobj
= Py_None
;
4560 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4561 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
* _resultobj
;
4565 PyObject
* _argo0
= 0;
4566 PyObject
* _argo1
= 0;
4567 char *_kwnames
[] = { "self","dc", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4580 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4587 wxPy_BEGIN_ALLOW_THREADS
;
4588 wxPyShape_EraseContents(_arg0
,*_arg1
);
4590 wxPy_END_ALLOW_THREADS
;
4591 } Py_INCREF(Py_None
);
4592 _resultobj
= Py_None
;
4596 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4597 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4601 PyObject
* _argo0
= 0;
4602 PyObject
* _argo1
= 0;
4603 char *_kwnames
[] = { "self","dc", NULL
};
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4616 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4623 wxPy_BEGIN_ALLOW_THREADS
;
4624 wxPyShape_Draw(_arg0
,*_arg1
);
4626 wxPy_END_ALLOW_THREADS
;
4627 } Py_INCREF(Py_None
);
4628 _resultobj
= Py_None
;
4632 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4633 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
* _resultobj
;
4636 PyObject
* _argo0
= 0;
4637 char *_kwnames
[] = { "self", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4650 wxPy_BEGIN_ALLOW_THREADS
;
4651 wxPyShape_Flash(_arg0
);
4653 wxPy_END_ALLOW_THREADS
;
4654 } Py_INCREF(Py_None
);
4655 _resultobj
= Py_None
;
4659 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4660 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4664 PyObject
* _argo0
= 0;
4665 PyObject
* _argo1
= 0;
4666 char *_kwnames
[] = { "self","dc", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4686 wxPy_BEGIN_ALLOW_THREADS
;
4687 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4689 wxPy_END_ALLOW_THREADS
;
4690 } Py_INCREF(Py_None
);
4691 _resultobj
= Py_None
;
4695 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4696 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4700 PyObject
* _argo0
= 0;
4701 PyObject
* _argo1
= 0;
4702 char *_kwnames
[] = { "self","dc", NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4722 wxPy_BEGIN_ALLOW_THREADS
;
4723 wxPyShape_DrawContents(_arg0
,*_arg1
);
4725 wxPy_END_ALLOW_THREADS
;
4726 } Py_INCREF(Py_None
);
4727 _resultobj
= Py_None
;
4731 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4732 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4737 bool _arg3
= (bool ) TRUE
;
4738 PyObject
* _argo0
= 0;
4739 int tempbool3
= (int) TRUE
;
4740 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4752 _arg3
= (bool ) tempbool3
;
4754 wxPy_BEGIN_ALLOW_THREADS
;
4755 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4757 wxPy_END_ALLOW_THREADS
;
4758 } Py_INCREF(Py_None
);
4759 _resultobj
= Py_None
;
4763 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4764 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4769 PyObject
* _argo0
= 0;
4770 char *_kwnames
[] = { "self","x","y", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4783 wxPy_BEGIN_ALLOW_THREADS
;
4784 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4786 wxPy_END_ALLOW_THREADS
;
4787 } Py_INCREF(Py_None
);
4788 _resultobj
= Py_None
;
4792 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4793 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4796 wxPyShapeCanvas
* _arg1
;
4797 PyObject
* _argo0
= 0;
4798 PyObject
* _argo1
= 0;
4799 char *_kwnames
[] = { "self","can", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4819 wxPy_BEGIN_ALLOW_THREADS
;
4820 wxPyShape_Attach(_arg0
,_arg1
);
4822 wxPy_END_ALLOW_THREADS
;
4823 } Py_INCREF(Py_None
);
4824 _resultobj
= Py_None
;
4828 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4829 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4832 PyObject
* _argo0
= 0;
4833 char *_kwnames
[] = { "self", NULL
};
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4846 wxPy_BEGIN_ALLOW_THREADS
;
4847 wxPyShape_Detach(_arg0
);
4849 wxPy_END_ALLOW_THREADS
;
4850 } Py_INCREF(Py_None
);
4851 _resultobj
= Py_None
;
4855 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4856 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4860 PyObject
* _argo0
= 0;
4861 char *_kwnames
[] = { "self", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 _result
= (bool )wxPyShape_Constrain(_arg0
);
4877 wxPy_END_ALLOW_THREADS
;
4878 } _resultobj
= Py_BuildValue("i",_result
);
4882 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4883 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4886 wxPyLineShape
* _arg1
;
4888 int _arg3
= (int ) 0;
4889 int _arg4
= (int ) 0;
4890 int _arg5
= (int ) -1;
4891 int _arg6
= (int ) -1;
4892 PyObject
* _argo0
= 0;
4893 PyObject
* _argo1
= 0;
4894 PyObject
* _argo2
= 0;
4895 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4915 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4925 wxPy_END_ALLOW_THREADS
;
4926 } Py_INCREF(Py_None
);
4927 _resultobj
= Py_None
;
4931 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4932 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4936 wxPyLineShape
* _arg1
;
4937 PyObject
* _argo0
= 0;
4938 PyObject
* _argo1
= 0;
4939 char *_kwnames
[] = { "self","line", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4959 wxPy_BEGIN_ALLOW_THREADS
;
4960 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4962 wxPy_END_ALLOW_THREADS
;
4963 } _resultobj
= Py_BuildValue("i",_result
);
4967 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4968 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
* _resultobj
;
4972 PyObject
* _argo0
= 0;
4973 PyObject
* _obj1
= 0;
4974 char *_kwnames
[] = { "self","string", NULL
};
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4987 #if PYTHON_API_VERSION >= 1009
4988 char* tmpPtr
; int tmpSize
;
4989 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4990 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4993 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4995 _arg1
= new wxString(tmpPtr
, tmpSize
);
4997 if (!PyString_Check(_obj1
)) {
4998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5001 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5005 wxPy_BEGIN_ALLOW_THREADS
;
5006 wxPyShape_AddText(_arg0
,*_arg1
);
5008 wxPy_END_ALLOW_THREADS
;
5009 } Py_INCREF(Py_None
);
5010 _resultobj
= Py_None
;
5018 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5019 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5023 PyObject
* _argo0
= 0;
5024 char *_kwnames
[] = { "self", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5038 wxPy_BEGIN_ALLOW_THREADS
;
5039 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
5041 wxPy_END_ALLOW_THREADS
;
5043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5044 _resultobj
= Py_BuildValue("s",_ptemp
);
5047 _resultobj
= Py_None
;
5052 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5053 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5057 PyObject
* _argo0
= 0;
5058 char *_kwnames
[] = { "self", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5072 wxPy_BEGIN_ALLOW_THREADS
;
5073 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5075 wxPy_END_ALLOW_THREADS
;
5077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5078 _resultobj
= Py_BuildValue("s",_ptemp
);
5081 _resultobj
= Py_None
;
5086 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5087 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5090 PyObject
* _argo0
= 0;
5091 char *_kwnames
[] = { "self", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5104 wxPy_BEGIN_ALLOW_THREADS
;
5105 wxPyShape_SetDefaultRegionSize(_arg0
);
5107 wxPy_END_ALLOW_THREADS
;
5108 } Py_INCREF(Py_None
);
5109 _resultobj
= Py_None
;
5113 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5114 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5119 int _arg3
= (int ) 0;
5120 PyObject
* _argo0
= 0;
5121 PyObject
* _argo1
= 0;
5122 PyObject
* _obj2
= 0;
5123 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5143 #if PYTHON_API_VERSION >= 1009
5144 char* tmpPtr
; int tmpSize
;
5145 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5149 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5151 _arg2
= new wxString(tmpPtr
, tmpSize
);
5153 if (!PyString_Check(_obj2
)) {
5154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5157 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5161 wxPy_BEGIN_ALLOW_THREADS
;
5162 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5164 wxPy_END_ALLOW_THREADS
;
5165 } Py_INCREF(Py_None
);
5166 _resultobj
= Py_None
;
5174 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5175 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
* _resultobj
;
5179 int _arg2
= (int ) 0;
5180 PyObject
* _argo0
= 0;
5181 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5194 wxPy_BEGIN_ALLOW_THREADS
;
5195 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5197 wxPy_END_ALLOW_THREADS
;
5198 } Py_INCREF(Py_None
);
5199 _resultobj
= Py_None
;
5203 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5204 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5208 int _arg1
= (int ) 0;
5209 PyObject
* _argo0
= 0;
5210 char *_kwnames
[] = { "self","regionId", NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5223 wxPy_BEGIN_ALLOW_THREADS
;
5224 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5226 wxPy_END_ALLOW_THREADS
;
5227 } _resultobj
= Py_BuildValue("i",_result
);
5231 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5232 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5236 int _arg2
= (int ) 0;
5237 PyObject
* _argo0
= 0;
5238 PyObject
* _obj1
= 0;
5239 char *_kwnames
[] = { "self","font","regionId", NULL
};
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5254 if (_obj1
== Py_None
) { temp
= NULL
; }
5255 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
5261 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5265 temp
->GetUnderlined(),
5266 temp
->GetFaceName(),
5267 temp
->GetEncoding());
5272 wxPy_BEGIN_ALLOW_THREADS
;
5273 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5275 wxPy_END_ALLOW_THREADS
;
5276 } Py_INCREF(Py_None
);
5277 _resultobj
= Py_None
;
5281 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5282 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
* _resultobj
;
5286 int _arg1
= (int ) 0;
5287 PyObject
* _argo0
= 0;
5288 char *_kwnames
[] = { "self","regionId", NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5302 wxPy_BEGIN_ALLOW_THREADS
;
5303 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5305 wxPy_END_ALLOW_THREADS
;
5307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5308 _resultobj
= Py_BuildValue("s",_ptemp
);
5311 _resultobj
= Py_None
;
5316 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5317 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
* _resultobj
;
5321 int _arg2
= (int ) 0;
5322 PyObject
* _argo0
= 0;
5323 PyObject
* _obj1
= 0;
5324 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5337 #if PYTHON_API_VERSION >= 1009
5338 char* tmpPtr
; int tmpSize
;
5339 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5343 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5345 _arg1
= new wxString(tmpPtr
, tmpSize
);
5347 if (!PyString_Check(_obj1
)) {
5348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5351 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5355 wxPy_BEGIN_ALLOW_THREADS
;
5356 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5358 wxPy_END_ALLOW_THREADS
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5368 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5369 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
* _resultobj
;
5373 int _arg1
= (int ) 0;
5374 PyObject
* _argo0
= 0;
5375 char *_kwnames
[] = { "self","regionId", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5388 wxPy_BEGIN_ALLOW_THREADS
;
5389 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5391 wxPy_END_ALLOW_THREADS
;
5393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5401 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5402 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5406 PyObject
* _argo0
= 0;
5407 char *_kwnames
[] = { "self", NULL
};
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5420 wxPy_BEGIN_ALLOW_THREADS
;
5421 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5423 wxPy_END_ALLOW_THREADS
;
5424 } _resultobj
= Py_BuildValue("i",_result
);
5428 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5429 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
* _resultobj
;
5433 int _arg2
= (int ) 0;
5434 PyObject
* _argo0
= 0;
5435 PyObject
* _obj1
= 0;
5436 char *_kwnames
[] = { "self","name","regionId", NULL
};
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5449 #if PYTHON_API_VERSION >= 1009
5450 char* tmpPtr
; int tmpSize
;
5451 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5455 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5457 _arg1
= new wxString(tmpPtr
, tmpSize
);
5459 if (!PyString_Check(_obj1
)) {
5460 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5463 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5470 wxPy_END_ALLOW_THREADS
;
5471 } Py_INCREF(Py_None
);
5472 _resultobj
= Py_None
;
5480 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5481 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
* _resultobj
;
5486 PyObject
* _argo0
= 0;
5487 char *_kwnames
[] = { "self","regionId", NULL
};
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5500 wxPy_BEGIN_ALLOW_THREADS
;
5501 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5503 wxPy_END_ALLOW_THREADS
;
5505 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5513 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5514 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5519 PyObject
* _argo0
= 0;
5520 PyObject
* _obj1
= 0;
5521 char *_kwnames
[] = { "self","name", NULL
};
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5534 #if PYTHON_API_VERSION >= 1009
5535 char* tmpPtr
; int tmpSize
;
5536 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5537 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5540 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5542 _arg1
= new wxString(tmpPtr
, tmpSize
);
5544 if (!PyString_Check(_obj1
)) {
5545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5548 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5552 wxPy_BEGIN_ALLOW_THREADS
;
5553 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5555 wxPy_END_ALLOW_THREADS
;
5556 } _resultobj
= Py_BuildValue("i",_result
);
5564 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5565 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
* _resultobj
;
5568 wxString
* _arg1
= (wxString
*) &"";
5569 PyObject
* _argo0
= 0;
5570 PyObject
* _obj1
= 0;
5571 char *_kwnames
[] = { "self","parentName", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5585 #if PYTHON_API_VERSION >= 1009
5586 char* tmpPtr
; int tmpSize
;
5587 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5591 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5593 _arg1
= new wxString(tmpPtr
, tmpSize
);
5595 if (!PyString_Check(_obj1
)) {
5596 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5599 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5603 wxPy_BEGIN_ALLOW_THREADS
;
5604 wxPyShape_NameRegions(_arg0
,*_arg1
);
5606 wxPy_END_ALLOW_THREADS
;
5607 } Py_INCREF(Py_None
);
5608 _resultobj
= Py_None
;
5616 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5617 wxList
& list
= self
->GetRegions();
5618 return wxPy_ConvertList(&list
, "wxShapeRegion");
5620 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
* _resultobj
;
5624 PyObject
* _argo0
= 0;
5625 char *_kwnames
[] = { "self", NULL
};
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5638 wxPy_BEGIN_ALLOW_THREADS
;
5639 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5641 wxPy_END_ALLOW_THREADS
;
5643 _resultobj
= _result
;
5648 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5649 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5652 wxShapeRegion
* _arg1
;
5653 PyObject
* _argo0
= 0;
5654 PyObject
* _argo1
= 0;
5655 char *_kwnames
[] = { "self","region", NULL
};
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5675 wxPy_BEGIN_ALLOW_THREADS
;
5676 wxPyShape_AddRegion(_arg0
,_arg1
);
5678 wxPy_END_ALLOW_THREADS
;
5679 } Py_INCREF(Py_None
);
5680 _resultobj
= Py_None
;
5684 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5685 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5688 PyObject
* _argo0
= 0;
5689 char *_kwnames
[] = { "self", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 wxPyShape_ClearRegions(_arg0
);
5705 wxPy_END_ALLOW_THREADS
;
5706 } Py_INCREF(Py_None
);
5707 _resultobj
= Py_None
;
5711 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5712 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5715 PyObject
* _argo0
= 0;
5716 char *_kwnames
[] = { "self", NULL
};
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5729 wxPy_BEGIN_ALLOW_THREADS
;
5730 wxPyShape_AssignNewIds(_arg0
);
5732 wxPy_END_ALLOW_THREADS
;
5733 } Py_INCREF(Py_None
);
5734 _resultobj
= Py_None
;
5738 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5739 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5741 wxPyShape
* _result
;
5746 PyObject
* _argo0
= 0;
5747 PyObject
* _obj1
= 0;
5748 char *_kwnames
[] = { "self","regionName", NULL
};
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5764 #if PYTHON_API_VERSION >= 1009
5765 char* tmpPtr
; int tmpSize
;
5766 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5767 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5770 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5772 _arg1
= new wxString(tmpPtr
, tmpSize
);
5774 if (!PyString_Check(_obj1
)) {
5775 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5778 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5782 wxPy_BEGIN_ALLOW_THREADS
;
5783 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5785 wxPy_END_ALLOW_THREADS
;
5786 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5789 o
= PyInt_FromLong((long) (*_arg2
));
5790 _resultobj
= t_output_helper(_resultobj
, o
);
5799 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5800 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
* _resultobj
;
5803 wxStringList
* _arg1
;
5804 PyObject
* _argo0
= 0;
5805 PyObject
* _argo1
= 0;
5806 char *_kwnames
[] = { "self","list", NULL
};
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5826 wxPy_BEGIN_ALLOW_THREADS
;
5827 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5829 wxPy_END_ALLOW_THREADS
;
5830 } Py_INCREF(Py_None
);
5831 _resultobj
= Py_None
;
5835 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5836 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5839 int _arg1
= (int ) 0;
5840 PyObject
* _argo0
= 0;
5841 char *_kwnames
[] = { "self","regionId", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5854 wxPy_BEGIN_ALLOW_THREADS
;
5855 wxPyShape_ClearText(_arg0
,_arg1
);
5857 wxPy_END_ALLOW_THREADS
;
5858 } Py_INCREF(Py_None
);
5859 _resultobj
= Py_None
;
5863 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5864 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5867 wxPyLineShape
* _arg1
;
5868 PyObject
* _argo0
= 0;
5869 PyObject
* _argo1
= 0;
5870 char *_kwnames
[] = { "self","line", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5890 wxPy_BEGIN_ALLOW_THREADS
;
5891 wxPyShape_RemoveLine(_arg0
,_arg1
);
5893 wxPy_END_ALLOW_THREADS
;
5894 } Py_INCREF(Py_None
);
5895 _resultobj
= Py_None
;
5899 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5900 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5909 int _arg4
= (int ) 0;
5910 int _arg5
= (int ) 1;
5911 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5912 PyObject
* _argo0
= 0;
5913 PyObject
* _argo6
= 0;
5914 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5933 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5940 wxPy_BEGIN_ALLOW_THREADS
;
5941 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5943 wxPy_END_ALLOW_THREADS
;
5944 } _resultobj
= Py_BuildValue("i",_result
);
5947 o
= PyFloat_FromDouble((double) (*_arg2
));
5948 _resultobj
= t_output_helper(_resultobj
, o
);
5952 o
= PyFloat_FromDouble((double) (*_arg3
));
5953 _resultobj
= t_output_helper(_resultobj
, o
);
5958 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5959 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5963 PyObject
* _argo0
= 0;
5964 char *_kwnames
[] = { "self", NULL
};
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5977 wxPy_BEGIN_ALLOW_THREADS
;
5978 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5980 wxPy_END_ALLOW_THREADS
;
5981 } _resultobj
= Py_BuildValue("i",_result
);
5985 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5986 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5991 PyObject
* _argo0
= 0;
5992 char *_kwnames
[] = { "self","attachment", NULL
};
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
5998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
6005 wxPy_BEGIN_ALLOW_THREADS
;
6006 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
6008 wxPy_END_ALLOW_THREADS
;
6009 } _resultobj
= Py_BuildValue("i",_result
);
6013 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6014 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6023 int _arg4
= (int ) 0;
6024 int _arg5
= (int ) 1;
6025 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6026 PyObject
* _argo0
= 0;
6027 PyObject
* _argo6
= 0;
6028 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6047 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6054 wxPy_BEGIN_ALLOW_THREADS
;
6055 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6057 wxPy_END_ALLOW_THREADS
;
6058 } _resultobj
= Py_BuildValue("i",_result
);
6061 o
= PyFloat_FromDouble((double) (*_arg2
));
6062 _resultobj
= t_output_helper(_resultobj
, o
);
6066 o
= PyFloat_FromDouble((double) (*_arg3
));
6067 _resultobj
= t_output_helper(_resultobj
, o
);
6072 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6073 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
* _resultobj
;
6075 wxRealPoint
* _result
;
6077 wxRealPoint
* _arg1
;
6078 wxRealPoint
* _arg2
;
6081 wxPyLineShape
* _arg5
;
6082 PyObject
* _argo0
= 0;
6084 PyObject
* _obj1
= 0;
6086 PyObject
* _obj2
= 0;
6087 PyObject
* _argo5
= 0;
6088 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6103 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6108 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6112 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6113 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6119 wxPy_BEGIN_ALLOW_THREADS
;
6120 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6122 wxPy_END_ALLOW_THREADS
;
6123 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6124 _resultobj
= Py_BuildValue("s",_ptemp
);
6128 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6129 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6134 wxRealPoint
* _arg2
;
6135 wxRealPoint
* _arg3
;
6136 PyObject
* _argo0
= 0;
6138 PyObject
* _obj2
= 0;
6140 PyObject
* _obj3
= 0;
6141 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6155 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6160 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6164 wxPy_BEGIN_ALLOW_THREADS
;
6165 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6167 wxPy_END_ALLOW_THREADS
;
6168 } _resultobj
= Py_BuildValue("i",_result
);
6172 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6173 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
* _resultobj
;
6177 int _arg2
= (int ) -1;
6178 bool _arg3
= (bool ) FALSE
;
6179 PyObject
* _argo0
= 0;
6180 PyObject
* _argo1
= 0;
6181 int tempbool3
= (int) FALSE
;
6182 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6201 _arg3
= (bool ) tempbool3
;
6203 wxPy_BEGIN_ALLOW_THREADS
;
6204 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6206 wxPy_END_ALLOW_THREADS
;
6207 } Py_INCREF(Py_None
);
6208 _resultobj
= Py_None
;
6212 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6213 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6217 int _arg2
= (int ) -1;
6218 bool _arg3
= (bool ) FALSE
;
6219 PyObject
* _argo0
= 0;
6220 PyObject
* _argo1
= 0;
6221 int tempbool3
= (int) FALSE
;
6222 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6241 _arg3
= (bool ) tempbool3
;
6243 wxPy_BEGIN_ALLOW_THREADS
;
6244 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6246 wxPy_END_ALLOW_THREADS
;
6247 } Py_INCREF(Py_None
);
6248 _resultobj
= Py_None
;
6252 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6253 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
* _resultobj
;
6258 wxPyLineShape
* _arg2
;
6261 PyObject
* _argo0
= 0;
6262 PyObject
* _argo1
= 0;
6263 PyObject
* _argo2
= 0;
6264 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6284 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6294 wxPy_END_ALLOW_THREADS
;
6295 } _resultobj
= Py_BuildValue("i",_result
);
6299 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6300 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6301 self
->ApplyAttachmentOrdering(*list
);
6304 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6308 PyObject
* _argo0
= 0;
6309 PyObject
* _obj1
= 0;
6310 char *_kwnames
[] = { "self","linesToSort", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6329 wxPy_END_ALLOW_THREADS
;
6330 } Py_INCREF(Py_None
);
6331 _resultobj
= Py_None
;
6335 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6336 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
* _resultobj
;
6338 wxRealPoint
* _result
;
6341 PyObject
* _argo0
= 0;
6342 char *_kwnames
[] = { "self","attachment", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6356 wxPy_BEGIN_ALLOW_THREADS
;
6357 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6359 wxPy_END_ALLOW_THREADS
;
6360 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6361 _resultobj
= Py_BuildValue("s",_ptemp
);
6365 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6366 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6371 wxRealPoint
* _arg2
;
6372 wxRealPoint
* _arg3
;
6373 wxRealPoint
* _arg4
;
6374 wxRealPoint
* _arg5
;
6375 PyObject
* _argo0
= 0;
6377 PyObject
* _obj2
= 0;
6379 PyObject
* _obj3
= 0;
6381 PyObject
* _obj4
= 0;
6383 PyObject
* _obj5
= 0;
6384 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6398 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6403 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6408 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6413 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6417 wxPy_BEGIN_ALLOW_THREADS
;
6418 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6420 wxPy_END_ALLOW_THREADS
;
6421 } _resultobj
= Py_BuildValue("i",_result
);
6425 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6426 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
* _resultobj
;
6432 wxRealPoint
* _arg3
;
6433 wxRealPoint
* _arg4
;
6434 PyObject
* _argo0
= 0;
6436 PyObject
* _obj3
= 0;
6438 PyObject
* _obj4
= 0;
6439 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6453 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6458 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6462 wxPy_BEGIN_ALLOW_THREADS
;
6463 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6465 wxPy_END_ALLOW_THREADS
;
6466 } _resultobj
= Py_BuildValue("i",_result
);
6470 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6471 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
* _resultobj
;
6476 PyObject
* _argo0
= 0;
6477 char *_kwnames
[] = { "self","attachment", NULL
};
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6490 wxPy_BEGIN_ALLOW_THREADS
;
6491 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6493 wxPy_END_ALLOW_THREADS
;
6494 } _resultobj
= Py_BuildValue("i",_result
);
6498 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6499 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6503 PyObject
* _argo0
= 0;
6504 char *_kwnames
[] = { "self","len", NULL
};
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6517 wxPy_BEGIN_ALLOW_THREADS
;
6518 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6520 wxPy_END_ALLOW_THREADS
;
6521 } Py_INCREF(Py_None
);
6522 _resultobj
= Py_None
;
6526 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6527 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
* _resultobj
;
6531 PyObject
* _argo0
= 0;
6532 char *_kwnames
[] = { "self", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6545 wxPy_BEGIN_ALLOW_THREADS
;
6546 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6548 wxPy_END_ALLOW_THREADS
;
6549 } _resultobj
= Py_BuildValue("i",_result
);
6553 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6554 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
* _resultobj
;
6558 PyObject
* _argo0
= 0;
6559 char *_kwnames
[] = { "self","len", NULL
};
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6572 wxPy_BEGIN_ALLOW_THREADS
;
6573 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6575 wxPy_END_ALLOW_THREADS
;
6576 } Py_INCREF(Py_None
);
6577 _resultobj
= Py_None
;
6581 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6582 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 char *_kwnames
[] = { "self", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6603 wxPy_END_ALLOW_THREADS
;
6604 } _resultobj
= Py_BuildValue("i",_result
);
6608 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6609 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
* _resultobj
;
6613 PyObject
* _argo0
= 0;
6614 char *_kwnames
[] = { "self","len", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6627 wxPy_BEGIN_ALLOW_THREADS
;
6628 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6630 wxPy_END_ALLOW_THREADS
;
6631 } Py_INCREF(Py_None
);
6632 _resultobj
= Py_None
;
6636 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6637 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6641 PyObject
* _argo0
= 0;
6642 char *_kwnames
[] = { "self", NULL
};
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6655 wxPy_BEGIN_ALLOW_THREADS
;
6656 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6658 wxPy_END_ALLOW_THREADS
;
6659 } _resultobj
= Py_BuildValue("i",_result
);
6663 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6664 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6668 PyObject
* _argo0
= 0;
6669 char *_kwnames
[] = { "self","style", NULL
};
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6682 wxPy_BEGIN_ALLOW_THREADS
;
6683 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6685 wxPy_END_ALLOW_THREADS
;
6686 } Py_INCREF(Py_None
);
6687 _resultobj
= Py_None
;
6691 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6692 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6710 wxPy_BEGIN_ALLOW_THREADS
;
6711 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6713 wxPy_END_ALLOW_THREADS
;
6714 } _resultobj
= Py_BuildValue("l",_result
);
6718 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6719 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
* _resultobj
;
6724 PyObject
* _argo0
= 0;
6725 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6738 wxPy_BEGIN_ALLOW_THREADS
;
6739 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6741 wxPy_END_ALLOW_THREADS
;
6742 } _resultobj
= Py_BuildValue("i",_result
);
6746 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6747 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
* _resultobj
;
6752 PyObject
* _argo0
= 0;
6753 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6766 wxPy_BEGIN_ALLOW_THREADS
;
6767 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6769 wxPy_END_ALLOW_THREADS
;
6770 } _resultobj
= Py_BuildValue("i",_result
);
6774 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6775 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
* _resultobj
;
6779 PyObject
* _argo0
= 0;
6780 char *_kwnames
[] = { "self", NULL
};
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6793 wxPy_BEGIN_ALLOW_THREADS
;
6794 _result
= (bool )wxPyShape_Draggable(_arg0
);
6796 wxPy_END_ALLOW_THREADS
;
6797 } _resultobj
= Py_BuildValue("i",_result
);
6801 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6802 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
* _resultobj
;
6807 PyObject
* _argo0
= 0;
6808 PyObject
* _argo1
= 0;
6809 char *_kwnames
[] = { "self","image", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6829 wxPy_BEGIN_ALLOW_THREADS
;
6830 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6832 wxPy_END_ALLOW_THREADS
;
6833 } _resultobj
= Py_BuildValue("i",_result
);
6837 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6838 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
* _resultobj
;
6840 wxPyShape
* _result
;
6842 bool _arg1
= (bool ) TRUE
;
6843 bool _arg2
= (bool ) TRUE
;
6844 PyObject
* _argo0
= 0;
6845 int tempbool1
= (int) TRUE
;
6846 int tempbool2
= (int) TRUE
;
6847 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6859 _arg1
= (bool ) tempbool1
;
6860 _arg2
= (bool ) tempbool2
;
6862 wxPy_BEGIN_ALLOW_THREADS
;
6863 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6865 wxPy_END_ALLOW_THREADS
;
6866 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6870 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6871 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6875 PyObject
* _argo0
= 0;
6876 PyObject
* _argo1
= 0;
6877 char *_kwnames
[] = { "self","copy", NULL
};
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6890 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6897 wxPy_BEGIN_ALLOW_THREADS
;
6898 wxPyShape_Copy(_arg0
,*_arg1
);
6900 wxPy_END_ALLOW_THREADS
;
6901 } Py_INCREF(Py_None
);
6902 _resultobj
= Py_None
;
6906 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6907 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6911 PyObject
* _argo0
= 0;
6912 PyObject
* _argo1
= 0;
6913 char *_kwnames
[] = { "self","copy", NULL
};
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6933 wxPy_BEGIN_ALLOW_THREADS
;
6934 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6936 wxPy_END_ALLOW_THREADS
;
6937 } Py_INCREF(Py_None
);
6938 _resultobj
= Py_None
;
6942 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6943 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
* _resultobj
;
6949 PyObject
* _argo0
= 0;
6950 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6963 wxPy_BEGIN_ALLOW_THREADS
;
6964 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6966 wxPy_END_ALLOW_THREADS
;
6967 } Py_INCREF(Py_None
);
6968 _resultobj
= Py_None
;
6972 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6973 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6977 PyObject
* _argo0
= 0;
6978 char *_kwnames
[] = { "self", NULL
};
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6991 wxPy_BEGIN_ALLOW_THREADS
;
6992 _result
= (double )wxPyShape_GetRotation(_arg0
);
6994 wxPy_END_ALLOW_THREADS
;
6995 } _resultobj
= Py_BuildValue("d",_result
);
6999 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7000 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
* _resultobj
;
7003 PyObject
* _argo0
= 0;
7004 char *_kwnames
[] = { "self", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7017 wxPy_BEGIN_ALLOW_THREADS
;
7018 wxPyShape_ClearAttachments(_arg0
);
7020 wxPy_END_ALLOW_THREADS
;
7021 } Py_INCREF(Py_None
);
7022 _resultobj
= Py_None
;
7026 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7027 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
* _resultobj
;
7031 PyObject
* _argo0
= 0;
7032 PyObject
* _argo1
= 0;
7033 char *_kwnames
[] = { "self","dc", NULL
};
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
7039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7053 wxPy_BEGIN_ALLOW_THREADS
;
7054 wxPyShape_Recentre(_arg0
,*_arg1
);
7056 wxPy_END_ALLOW_THREADS
;
7057 } Py_INCREF(Py_None
);
7058 _resultobj
= Py_None
;
7062 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7063 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
* _resultobj
;
7067 PyObject
* _argo0
= 0;
7068 PyObject
* _argo1
= 0;
7069 char *_kwnames
[] = { "self","list", NULL
};
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7089 wxPy_BEGIN_ALLOW_THREADS
;
7090 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7092 wxPy_END_ALLOW_THREADS
;
7093 } Py_INCREF(Py_None
);
7094 _resultobj
= Py_None
;
7098 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7099 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7102 PyObject
* _argo0
= 0;
7103 char *_kwnames
[] = { "self", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7116 wxPy_BEGIN_ALLOW_THREADS
;
7117 wxPyShape_base_OnDelete(_arg0
);
7119 wxPy_END_ALLOW_THREADS
;
7120 } Py_INCREF(Py_None
);
7121 _resultobj
= Py_None
;
7125 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7126 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7130 PyObject
* _argo0
= 0;
7131 PyObject
* _argo1
= 0;
7132 char *_kwnames
[] = { "self","dc", NULL
};
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7152 wxPy_BEGIN_ALLOW_THREADS
;
7153 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7155 wxPy_END_ALLOW_THREADS
;
7156 } Py_INCREF(Py_None
);
7157 _resultobj
= Py_None
;
7161 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7162 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
* _resultobj
;
7166 PyObject
* _argo0
= 0;
7167 PyObject
* _argo1
= 0;
7168 char *_kwnames
[] = { "self","dc", NULL
};
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7188 wxPy_BEGIN_ALLOW_THREADS
;
7189 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7191 wxPy_END_ALLOW_THREADS
;
7192 } Py_INCREF(Py_None
);
7193 _resultobj
= Py_None
;
7197 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7198 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
* _resultobj
;
7202 bool _arg2
= (bool ) FALSE
;
7203 PyObject
* _argo0
= 0;
7204 PyObject
* _argo1
= 0;
7205 int tempbool2
= (int) FALSE
;
7206 char *_kwnames
[] = { "self","dc","erase", NULL
};
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7225 _arg2
= (bool ) tempbool2
;
7227 wxPy_BEGIN_ALLOW_THREADS
;
7228 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7230 wxPy_END_ALLOW_THREADS
;
7231 } Py_INCREF(Py_None
);
7232 _resultobj
= Py_None
;
7236 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7237 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
* _resultobj
;
7241 PyObject
* _argo0
= 0;
7242 PyObject
* _argo1
= 0;
7243 char *_kwnames
[] = { "self","dc", NULL
};
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7263 wxPy_BEGIN_ALLOW_THREADS
;
7264 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7266 wxPy_END_ALLOW_THREADS
;
7267 } Py_INCREF(Py_None
);
7268 _resultobj
= Py_None
;
7272 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7273 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
* _resultobj
;
7277 PyObject
* _argo0
= 0;
7278 PyObject
* _argo1
= 0;
7279 char *_kwnames
[] = { "self","dc", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7299 wxPy_BEGIN_ALLOW_THREADS
;
7300 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7302 wxPy_END_ALLOW_THREADS
;
7303 } Py_INCREF(Py_None
);
7304 _resultobj
= Py_None
;
7308 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7309 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
* _resultobj
;
7313 PyObject
* _argo0
= 0;
7314 PyObject
* _argo1
= 0;
7315 char *_kwnames
[] = { "self","dc", NULL
};
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7335 wxPy_BEGIN_ALLOW_THREADS
;
7336 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7338 wxPy_END_ALLOW_THREADS
;
7339 } Py_INCREF(Py_None
);
7340 _resultobj
= Py_None
;
7344 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7345 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
* _resultobj
;
7349 PyObject
* _argo0
= 0;
7350 PyObject
* _argo1
= 0;
7351 char *_kwnames
[] = { "self","dc", NULL
};
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7364 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7365 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7371 wxPy_BEGIN_ALLOW_THREADS
;
7372 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7374 wxPy_END_ALLOW_THREADS
;
7375 } Py_INCREF(Py_None
);
7376 _resultobj
= Py_None
;
7380 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7381 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
* _resultobj
;
7386 int _arg3
= (int ) 0;
7387 int _arg4
= (int ) 0;
7388 PyObject
* _argo0
= 0;
7389 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7402 wxPy_BEGIN_ALLOW_THREADS
;
7403 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7405 wxPy_END_ALLOW_THREADS
;
7406 } Py_INCREF(Py_None
);
7407 _resultobj
= Py_None
;
7411 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7412 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7417 int _arg3
= (int ) 0;
7418 int _arg4
= (int ) 0;
7419 PyObject
* _argo0
= 0;
7420 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7433 wxPy_BEGIN_ALLOW_THREADS
;
7434 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7436 wxPy_END_ALLOW_THREADS
;
7437 } Py_INCREF(Py_None
);
7438 _resultobj
= Py_None
;
7442 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7443 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7448 int _arg3
= (int ) 0;
7449 int _arg4
= (int ) 0;
7450 PyObject
* _argo0
= 0;
7451 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7464 wxPy_BEGIN_ALLOW_THREADS
;
7465 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7467 wxPy_END_ALLOW_THREADS
;
7468 } Py_INCREF(Py_None
);
7469 _resultobj
= Py_None
;
7473 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7474 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self","x","y", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7493 wxPy_BEGIN_ALLOW_THREADS
;
7494 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7496 wxPy_END_ALLOW_THREADS
;
7497 } Py_INCREF(Py_None
);
7498 _resultobj
= Py_None
;
7502 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7503 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7512 bool _arg6
= (bool ) TRUE
;
7513 PyObject
* _argo0
= 0;
7514 PyObject
* _argo1
= 0;
7515 int tempbool6
= (int) TRUE
;
7516 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7535 _arg6
= (bool ) tempbool6
;
7537 wxPy_BEGIN_ALLOW_THREADS
;
7538 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7540 wxPy_END_ALLOW_THREADS
;
7541 } _resultobj
= Py_BuildValue("i",_result
);
7545 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7546 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7554 bool _arg6
= (bool ) TRUE
;
7555 PyObject
* _argo0
= 0;
7556 PyObject
* _argo1
= 0;
7557 int tempbool6
= (int) TRUE
;
7558 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7577 _arg6
= (bool ) tempbool6
;
7579 wxPy_BEGIN_ALLOW_THREADS
;
7580 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7582 wxPy_END_ALLOW_THREADS
;
7583 } Py_INCREF(Py_None
);
7584 _resultobj
= Py_None
;
7588 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7589 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
* _resultobj
;
7595 int _arg4
= (int ) 0;
7596 int _arg5
= (int ) 0;
7597 PyObject
* _argo0
= 0;
7599 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7611 _arg1
= (bool ) tempbool1
;
7613 wxPy_BEGIN_ALLOW_THREADS
;
7614 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7616 wxPy_END_ALLOW_THREADS
;
7617 } Py_INCREF(Py_None
);
7618 _resultobj
= Py_None
;
7622 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7623 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
* _resultobj
;
7628 int _arg3
= (int ) 0;
7629 int _arg4
= (int ) 0;
7630 PyObject
* _argo0
= 0;
7631 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7644 wxPy_BEGIN_ALLOW_THREADS
;
7645 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7647 wxPy_END_ALLOW_THREADS
;
7648 } Py_INCREF(Py_None
);
7649 _resultobj
= Py_None
;
7653 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7654 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7659 int _arg3
= (int ) 0;
7660 int _arg4
= (int ) 0;
7661 PyObject
* _argo0
= 0;
7662 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7675 wxPy_BEGIN_ALLOW_THREADS
;
7676 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7678 wxPy_END_ALLOW_THREADS
;
7679 } Py_INCREF(Py_None
);
7680 _resultobj
= Py_None
;
7684 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7685 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
* _resultobj
;
7691 int _arg4
= (int ) 0;
7692 int _arg5
= (int ) 0;
7693 PyObject
* _argo0
= 0;
7695 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7707 _arg1
= (bool ) tempbool1
;
7709 wxPy_BEGIN_ALLOW_THREADS
;
7710 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7712 wxPy_END_ALLOW_THREADS
;
7713 } Py_INCREF(Py_None
);
7714 _resultobj
= Py_None
;
7718 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7719 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
* _resultobj
;
7724 int _arg3
= (int ) 0;
7725 int _arg4
= (int ) 0;
7726 PyObject
* _argo0
= 0;
7727 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7740 wxPy_BEGIN_ALLOW_THREADS
;
7741 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7743 wxPy_END_ALLOW_THREADS
;
7744 } Py_INCREF(Py_None
);
7745 _resultobj
= Py_None
;
7749 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7750 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
* _resultobj
;
7755 int _arg3
= (int ) 0;
7756 int _arg4
= (int ) 0;
7757 PyObject
* _argo0
= 0;
7758 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7771 wxPy_BEGIN_ALLOW_THREADS
;
7772 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7774 wxPy_END_ALLOW_THREADS
;
7775 } Py_INCREF(Py_None
);
7776 _resultobj
= Py_None
;
7780 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7781 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
* _resultobj
;
7789 PyObject
* _argo0
= 0;
7790 PyObject
* _argo1
= 0;
7791 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7811 wxPy_BEGIN_ALLOW_THREADS
;
7812 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7814 wxPy_END_ALLOW_THREADS
;
7815 } Py_INCREF(Py_None
);
7816 _resultobj
= Py_None
;
7820 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7821 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
* _resultobj
;
7825 PyObject
* _argo0
= 0;
7826 PyObject
* _argo1
= 0;
7827 char *_kwnames
[] = { "self","dc", NULL
};
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7847 wxPy_BEGIN_ALLOW_THREADS
;
7848 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7850 wxPy_END_ALLOW_THREADS
;
7851 } Py_INCREF(Py_None
);
7852 _resultobj
= Py_None
;
7856 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7857 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
* _resultobj
;
7861 PyObject
* _argo0
= 0;
7862 PyObject
* _argo1
= 0;
7863 char *_kwnames
[] = { "self","dc", NULL
};
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7883 wxPy_BEGIN_ALLOW_THREADS
;
7884 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7886 wxPy_END_ALLOW_THREADS
;
7887 } Py_INCREF(Py_None
);
7888 _resultobj
= Py_None
;
7892 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7893 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
* _resultobj
;
7897 bool _arg2
= (bool ) TRUE
;
7898 PyObject
* _argo0
= 0;
7899 PyObject
* _argo1
= 0;
7900 int tempbool2
= (int) TRUE
;
7901 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7920 _arg2
= (bool ) tempbool2
;
7922 wxPy_BEGIN_ALLOW_THREADS
;
7923 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7925 wxPy_END_ALLOW_THREADS
;
7926 } Py_INCREF(Py_None
);
7927 _resultobj
= Py_None
;
7931 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7932 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
* _resultobj
;
7935 wxPyControlPoint
* _arg1
;
7939 int _arg5
= (int ) 0;
7940 int _arg6
= (int ) 0;
7941 PyObject
* _argo0
= 0;
7942 PyObject
* _argo1
= 0;
7944 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7957 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7958 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7963 _arg2
= (bool ) tempbool2
;
7965 wxPy_BEGIN_ALLOW_THREADS
;
7966 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7968 wxPy_END_ALLOW_THREADS
;
7969 } Py_INCREF(Py_None
);
7970 _resultobj
= Py_None
;
7974 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7975 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
* _resultobj
;
7978 wxPyControlPoint
* _arg1
;
7981 int _arg4
= (int ) 0;
7982 int _arg5
= (int ) 0;
7983 PyObject
* _argo0
= 0;
7984 PyObject
* _argo1
= 0;
7985 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
7998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8005 wxPy_BEGIN_ALLOW_THREADS
;
8006 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8008 wxPy_END_ALLOW_THREADS
;
8009 } Py_INCREF(Py_None
);
8010 _resultobj
= Py_None
;
8014 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8015 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
* _resultobj
;
8018 wxPyControlPoint
* _arg1
;
8021 int _arg4
= (int ) 0;
8022 int _arg5
= (int ) 0;
8023 PyObject
* _argo0
= 0;
8024 PyObject
* _argo1
= 0;
8025 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8045 wxPy_BEGIN_ALLOW_THREADS
;
8046 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8048 wxPy_END_ALLOW_THREADS
;
8049 } Py_INCREF(Py_None
);
8050 _resultobj
= Py_None
;
8054 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8055 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
* _resultobj
;
8060 PyObject
* _argo0
= 0;
8061 char *_kwnames
[] = { "self","w","h", NULL
};
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8074 wxPy_BEGIN_ALLOW_THREADS
;
8075 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8077 wxPy_END_ALLOW_THREADS
;
8078 } Py_INCREF(Py_None
);
8079 _resultobj
= Py_None
;
8083 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8084 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
* _resultobj
;
8089 PyObject
* _argo0
= 0;
8090 char *_kwnames
[] = { "self","w","h", NULL
};
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8103 wxPy_BEGIN_ALLOW_THREADS
;
8104 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8106 wxPy_END_ALLOW_THREADS
;
8107 } Py_INCREF(Py_None
);
8108 _resultobj
= Py_None
;
8112 static PyMethodDef oglbasiccMethods
[] = {
8113 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxPyShape_Destroy", (PyCFunction
) _wrap_wxPyShape_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxPyShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxPyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8350 * This table is used by the pointer type-checker
8352 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8353 { "_signed_long","_long",0},
8354 { "_wxPrintQuality","_wxCoord",0},
8355 { "_wxPrintQuality","_int",0},
8356 { "_wxPrintQuality","_signed_int",0},
8357 { "_wxPrintQuality","_unsigned_int",0},
8358 { "_wxPrintQuality","_wxWindowID",0},
8359 { "_wxPrintQuality","_uint",0},
8360 { "_wxPrintQuality","_EBool",0},
8361 { "_wxPrintQuality","_size_t",0},
8362 { "_wxPrintQuality","_time_t",0},
8363 { "_byte","_unsigned_char",0},
8364 { "_long","_unsigned_long",0},
8365 { "_long","_signed_long",0},
8366 { "_size_t","_wxCoord",0},
8367 { "_size_t","_wxPrintQuality",0},
8368 { "_size_t","_time_t",0},
8369 { "_size_t","_unsigned_int",0},
8370 { "_size_t","_int",0},
8371 { "_size_t","_wxWindowID",0},
8372 { "_size_t","_uint",0},
8373 { "_uint","_wxCoord",0},
8374 { "_uint","_wxPrintQuality",0},
8375 { "_uint","_time_t",0},
8376 { "_uint","_size_t",0},
8377 { "_uint","_unsigned_int",0},
8378 { "_uint","_int",0},
8379 { "_uint","_wxWindowID",0},
8380 { "_wxChar","_char",0},
8381 { "_char","_wxChar",0},
8382 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8383 { "_EBool","_wxCoord",0},
8384 { "_EBool","_wxPrintQuality",0},
8385 { "_EBool","_signed_int",0},
8386 { "_EBool","_int",0},
8387 { "_EBool","_wxWindowID",0},
8388 { "_unsigned_long","_long",0},
8389 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8390 { "_signed_int","_wxCoord",0},
8391 { "_signed_int","_wxPrintQuality",0},
8392 { "_signed_int","_EBool",0},
8393 { "_signed_int","_wxWindowID",0},
8394 { "_signed_int","_int",0},
8395 { "_WXTYPE","_wxDateTime_t",0},
8396 { "_WXTYPE","_short",0},
8397 { "_WXTYPE","_signed_short",0},
8398 { "_WXTYPE","_unsigned_short",0},
8399 { "_unsigned_short","_wxDateTime_t",0},
8400 { "_unsigned_short","_WXTYPE",0},
8401 { "_unsigned_short","_short",0},
8402 { "_wxObject","_wxPyShape",SwigwxPyShapeTowxObject
},
8403 { "_wxObject","_wxPyShapeEvtHandler",SwigwxPyShapeEvtHandlerTowxObject
},
8404 { "_wxObject","_wxShapeRegion",SwigwxShapeRegionTowxObject
},
8405 { "_signed_short","_WXTYPE",0},
8406 { "_signed_short","_short",0},
8407 { "_unsigned_char","_byte",0},
8408 { "_unsigned_int","_wxCoord",0},
8409 { "_unsigned_int","_wxPrintQuality",0},
8410 { "_unsigned_int","_time_t",0},
8411 { "_unsigned_int","_size_t",0},
8412 { "_unsigned_int","_uint",0},
8413 { "_unsigned_int","_wxWindowID",0},
8414 { "_unsigned_int","_int",0},
8415 { "_short","_wxDateTime_t",0},
8416 { "_short","_WXTYPE",0},
8417 { "_short","_unsigned_short",0},
8418 { "_short","_signed_short",0},
8419 { "_wxWindowID","_wxCoord",0},
8420 { "_wxWindowID","_wxPrintQuality",0},
8421 { "_wxWindowID","_time_t",0},
8422 { "_wxWindowID","_size_t",0},
8423 { "_wxWindowID","_EBool",0},
8424 { "_wxWindowID","_uint",0},
8425 { "_wxWindowID","_int",0},
8426 { "_wxWindowID","_signed_int",0},
8427 { "_wxWindowID","_unsigned_int",0},
8428 { "_int","_wxCoord",0},
8429 { "_int","_wxPrintQuality",0},
8430 { "_int","_time_t",0},
8431 { "_int","_size_t",0},
8432 { "_int","_EBool",0},
8433 { "_int","_uint",0},
8434 { "_int","_wxWindowID",0},
8435 { "_int","_unsigned_int",0},
8436 { "_int","_signed_int",0},
8437 { "_wxDateTime_t","_unsigned_short",0},
8438 { "_wxDateTime_t","_short",0},
8439 { "_wxDateTime_t","_WXTYPE",0},
8440 { "_time_t","_wxCoord",0},
8441 { "_time_t","_wxPrintQuality",0},
8442 { "_time_t","_unsigned_int",0},
8443 { "_time_t","_int",0},
8444 { "_time_t","_wxWindowID",0},
8445 { "_time_t","_uint",0},
8446 { "_time_t","_size_t",0},
8447 { "_wxCoord","_int",0},
8448 { "_wxCoord","_signed_int",0},
8449 { "_wxCoord","_unsigned_int",0},
8450 { "_wxCoord","_wxWindowID",0},
8451 { "_wxCoord","_uint",0},
8452 { "_wxCoord","_EBool",0},
8453 { "_wxCoord","_size_t",0},
8454 { "_wxCoord","_time_t",0},
8455 { "_wxCoord","_wxPrintQuality",0},
8456 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8459 static PyObject
*SWIG_globals
;
8463 SWIGEXPORT(void) initoglbasicc() {
8465 SWIG_globals
= SWIG_newvarlink();
8466 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8467 d
= PyModule_GetDict(m
);
8470 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8471 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);