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 static void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
* _self
) {
1262 self
->SetClientObject(new wxPyClientData(_self
));
1264 static PyObject
*_wrap_wxPyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1266 wxPyShapeEvtHandler
* _arg0
;
1268 PyObject
* _argo0
= 0;
1269 PyObject
* _obj1
= 0;
1270 char *_kwnames
[] = { "self","_self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setOORInfo. Expected _wxPyShapeEvtHandler_p.");
1286 wxPy_BEGIN_ALLOW_THREADS
;
1287 wxPyShapeEvtHandler__setOORInfo(_arg0
,_arg1
);
1289 wxPy_END_ALLOW_THREADS
;
1290 } Py_INCREF(Py_None
);
1291 _resultobj
= Py_None
;
1295 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1296 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1298 wxPyShapeEvtHandler
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 PyObject
* _argo1
= 0;
1302 char *_kwnames
[] = { "self","sh", NULL
};
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1322 wxPy_BEGIN_ALLOW_THREADS
;
1323 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1325 wxPy_END_ALLOW_THREADS
;
1326 } Py_INCREF(Py_None
);
1327 _resultobj
= Py_None
;
1331 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1332 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1334 wxPyShape
* _result
;
1335 wxPyShapeEvtHandler
* _arg0
;
1336 PyObject
* _argo0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1350 wxPy_BEGIN_ALLOW_THREADS
;
1351 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1353 wxPy_END_ALLOW_THREADS
;
1354 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1358 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1359 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1361 wxPyShapeEvtHandler
* _arg0
;
1362 wxPyShapeEvtHandler
* _arg1
;
1363 PyObject
* _argo0
= 0;
1364 PyObject
* _argo1
= 0;
1365 char *_kwnames
[] = { "self","handler", NULL
};
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1388 wxPy_END_ALLOW_THREADS
;
1389 } Py_INCREF(Py_None
);
1390 _resultobj
= Py_None
;
1394 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1395 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1397 wxPyShapeEvtHandler
* _result
;
1398 wxPyShapeEvtHandler
* _arg0
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1416 wxPy_END_ALLOW_THREADS
;
1417 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1421 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1422 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 wxPyShapeEvtHandler
* _result
;
1425 wxPyShapeEvtHandler
* _arg0
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1443 wxPy_END_ALLOW_THREADS
;
1444 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1448 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1449 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1451 wxPyShapeEvtHandler
* _arg0
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1470 } Py_INCREF(Py_None
);
1471 _resultobj
= Py_None
;
1475 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1476 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1478 wxPyShapeEvtHandler
* _arg0
;
1480 PyObject
* _argo0
= 0;
1481 PyObject
* _argo1
= 0;
1482 char *_kwnames
[] = { "self","dc", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1495 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } Py_INCREF(Py_None
);
1507 _resultobj
= Py_None
;
1511 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1512 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1514 wxPyShapeEvtHandler
* _arg0
;
1516 PyObject
* _argo0
= 0;
1517 PyObject
* _argo1
= 0;
1518 char *_kwnames
[] = { "self","dc", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1531 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1541 wxPy_END_ALLOW_THREADS
;
1542 } Py_INCREF(Py_None
);
1543 _resultobj
= Py_None
;
1547 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1548 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1550 wxPyShapeEvtHandler
* _arg0
;
1552 bool _arg2
= (bool ) FALSE
;
1553 PyObject
* _argo0
= 0;
1554 PyObject
* _argo1
= 0;
1555 int tempbool2
= (int) FALSE
;
1556 char *_kwnames
[] = { "self","dc","erase", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1575 _arg2
= (bool ) tempbool2
;
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } Py_INCREF(Py_None
);
1582 _resultobj
= Py_None
;
1586 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1587 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1589 wxPyShapeEvtHandler
* _arg0
;
1591 PyObject
* _argo0
= 0;
1592 PyObject
* _argo1
= 0;
1593 char *_kwnames
[] = { "self","dc", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1616 wxPy_END_ALLOW_THREADS
;
1617 } Py_INCREF(Py_None
);
1618 _resultobj
= Py_None
;
1622 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1623 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxPyShapeEvtHandler
* _arg0
;
1627 PyObject
* _argo0
= 0;
1628 PyObject
* _argo1
= 0;
1629 char *_kwnames
[] = { "self","dc", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1652 wxPy_END_ALLOW_THREADS
;
1653 } Py_INCREF(Py_None
);
1654 _resultobj
= Py_None
;
1658 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1659 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1661 wxPyShapeEvtHandler
* _arg0
;
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _argo1
= 0;
1665 char *_kwnames
[] = { "self","dc", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1688 wxPy_END_ALLOW_THREADS
;
1689 } Py_INCREF(Py_None
);
1690 _resultobj
= Py_None
;
1694 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1695 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1697 wxPyShapeEvtHandler
* _arg0
;
1699 PyObject
* _argo0
= 0;
1700 PyObject
* _argo1
= 0;
1701 char *_kwnames
[] = { "self","dc", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1724 wxPy_END_ALLOW_THREADS
;
1725 } Py_INCREF(Py_None
);
1726 _resultobj
= Py_None
;
1730 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1731 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1733 wxPyShapeEvtHandler
* _arg0
;
1736 int _arg3
= (int ) 0;
1737 int _arg4
= (int ) 0;
1738 PyObject
* _argo0
= 0;
1739 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1755 wxPy_END_ALLOW_THREADS
;
1756 } Py_INCREF(Py_None
);
1757 _resultobj
= Py_None
;
1761 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1762 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1764 wxPyShapeEvtHandler
* _arg0
;
1767 int _arg3
= (int ) 0;
1768 int _arg4
= (int ) 0;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1786 wxPy_END_ALLOW_THREADS
;
1787 } Py_INCREF(Py_None
);
1788 _resultobj
= Py_None
;
1792 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1793 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 wxPyShapeEvtHandler
* _arg0
;
1798 int _arg3
= (int ) 0;
1799 int _arg4
= (int ) 0;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1817 wxPy_END_ALLOW_THREADS
;
1818 } Py_INCREF(Py_None
);
1819 _resultobj
= Py_None
;
1823 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1824 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1826 wxPyShapeEvtHandler
* _arg0
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self","x","y", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1843 wxPy_BEGIN_ALLOW_THREADS
;
1844 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1846 wxPy_END_ALLOW_THREADS
;
1847 } Py_INCREF(Py_None
);
1848 _resultobj
= Py_None
;
1852 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1853 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1856 wxPyShapeEvtHandler
* _arg0
;
1862 bool _arg6
= (bool ) TRUE
;
1863 PyObject
* _argo0
= 0;
1864 PyObject
* _argo1
= 0;
1865 int tempbool6
= (int) TRUE
;
1866 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1885 _arg6
= (bool ) tempbool6
;
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1890 wxPy_END_ALLOW_THREADS
;
1891 } _resultobj
= Py_BuildValue("i",_result
);
1895 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1896 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1898 wxPyShapeEvtHandler
* _arg0
;
1904 bool _arg6
= (bool ) TRUE
;
1905 PyObject
* _argo0
= 0;
1906 PyObject
* _argo1
= 0;
1907 int tempbool6
= (int) TRUE
;
1908 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1927 _arg6
= (bool ) tempbool6
;
1929 wxPy_BEGIN_ALLOW_THREADS
;
1930 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1932 wxPy_END_ALLOW_THREADS
;
1933 } Py_INCREF(Py_None
);
1934 _resultobj
= Py_None
;
1938 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1939 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1941 wxPyShapeEvtHandler
* _arg0
;
1945 int _arg4
= (int ) 0;
1946 int _arg5
= (int ) 0;
1947 PyObject
* _argo0
= 0;
1949 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1961 _arg1
= (bool ) tempbool1
;
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1966 wxPy_END_ALLOW_THREADS
;
1967 } Py_INCREF(Py_None
);
1968 _resultobj
= Py_None
;
1972 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1973 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1975 wxPyShapeEvtHandler
* _arg0
;
1978 int _arg3
= (int ) 0;
1979 int _arg4
= (int ) 0;
1980 PyObject
* _argo0
= 0;
1981 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1994 wxPy_BEGIN_ALLOW_THREADS
;
1995 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1997 wxPy_END_ALLOW_THREADS
;
1998 } Py_INCREF(Py_None
);
1999 _resultobj
= Py_None
;
2003 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2004 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2006 wxPyShapeEvtHandler
* _arg0
;
2009 int _arg3
= (int ) 0;
2010 int _arg4
= (int ) 0;
2011 PyObject
* _argo0
= 0;
2012 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2034 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2035 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2037 wxPyShapeEvtHandler
* _arg0
;
2041 int _arg4
= (int ) 0;
2042 int _arg5
= (int ) 0;
2043 PyObject
* _argo0
= 0;
2045 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
2057 _arg1
= (bool ) tempbool1
;
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2062 wxPy_END_ALLOW_THREADS
;
2063 } Py_INCREF(Py_None
);
2064 _resultobj
= Py_None
;
2068 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2069 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2071 wxPyShapeEvtHandler
* _arg0
;
2074 int _arg3
= (int ) 0;
2075 int _arg4
= (int ) 0;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2093 wxPy_END_ALLOW_THREADS
;
2094 } Py_INCREF(Py_None
);
2095 _resultobj
= Py_None
;
2099 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2100 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2102 wxPyShapeEvtHandler
* _arg0
;
2105 int _arg3
= (int ) 0;
2106 int _arg4
= (int ) 0;
2107 PyObject
* _argo0
= 0;
2108 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2121 wxPy_BEGIN_ALLOW_THREADS
;
2122 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2124 wxPy_END_ALLOW_THREADS
;
2125 } Py_INCREF(Py_None
);
2126 _resultobj
= Py_None
;
2130 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2131 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2133 wxPyShapeEvtHandler
* _arg0
;
2139 PyObject
* _argo0
= 0;
2140 PyObject
* _argo1
= 0;
2141 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2161 wxPy_BEGIN_ALLOW_THREADS
;
2162 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2164 wxPy_END_ALLOW_THREADS
;
2165 } Py_INCREF(Py_None
);
2166 _resultobj
= Py_None
;
2170 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2171 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2173 wxPyShapeEvtHandler
* _arg0
;
2175 PyObject
* _argo0
= 0;
2176 PyObject
* _argo1
= 0;
2177 char *_kwnames
[] = { "self","dc", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2200 wxPy_END_ALLOW_THREADS
;
2201 } Py_INCREF(Py_None
);
2202 _resultobj
= Py_None
;
2206 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2207 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2209 wxPyShapeEvtHandler
* _arg0
;
2211 PyObject
* _argo0
= 0;
2212 PyObject
* _argo1
= 0;
2213 char *_kwnames
[] = { "self","dc", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2226 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2233 wxPy_BEGIN_ALLOW_THREADS
;
2234 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2236 wxPy_END_ALLOW_THREADS
;
2237 } Py_INCREF(Py_None
);
2238 _resultobj
= Py_None
;
2242 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2243 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2245 wxPyShapeEvtHandler
* _arg0
;
2247 bool _arg2
= (bool ) TRUE
;
2248 PyObject
* _argo0
= 0;
2249 PyObject
* _argo1
= 0;
2250 int tempbool2
= (int) TRUE
;
2251 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2270 _arg2
= (bool ) tempbool2
;
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2275 wxPy_END_ALLOW_THREADS
;
2276 } Py_INCREF(Py_None
);
2277 _resultobj
= Py_None
;
2281 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2282 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2284 wxPyShapeEvtHandler
* _arg0
;
2285 wxPyControlPoint
* _arg1
;
2289 int _arg5
= (int ) 0;
2290 int _arg6
= (int ) 0;
2291 PyObject
* _argo0
= 0;
2292 PyObject
* _argo1
= 0;
2294 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2313 _arg2
= (bool ) tempbool2
;
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2318 wxPy_END_ALLOW_THREADS
;
2319 } Py_INCREF(Py_None
);
2320 _resultobj
= Py_None
;
2324 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2325 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
* _resultobj
;
2327 wxPyShapeEvtHandler
* _arg0
;
2328 wxPyControlPoint
* _arg1
;
2331 int _arg4
= (int ) 0;
2332 int _arg5
= (int ) 0;
2333 PyObject
* _argo0
= 0;
2334 PyObject
* _argo1
= 0;
2335 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2358 wxPy_END_ALLOW_THREADS
;
2359 } Py_INCREF(Py_None
);
2360 _resultobj
= Py_None
;
2364 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2365 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2367 wxPyShapeEvtHandler
* _arg0
;
2368 wxPyControlPoint
* _arg1
;
2371 int _arg4
= (int ) 0;
2372 int _arg5
= (int ) 0;
2373 PyObject
* _argo0
= 0;
2374 PyObject
* _argo1
= 0;
2375 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2405 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2407 wxPyShapeEvtHandler
* _arg0
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self","w","h", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2434 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2436 wxPyShapeEvtHandler
* _arg0
;
2439 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self","w","h", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2456 wxPy_END_ALLOW_THREADS
;
2457 } Py_INCREF(Py_None
);
2458 _resultobj
= Py_None
;
2462 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2464 wxPyShapeEvtHandler
*dest
;
2465 src
= (wxPyShape
*) ptr
;
2466 dest
= (wxPyShapeEvtHandler
*) src
;
2467 return (void *) dest
;
2470 static void *SwigwxPyShapeTowxObject(void *ptr
) {
2473 src
= (wxPyShape
*) ptr
;
2474 dest
= (wxObject
*) src
;
2475 return (void *) dest
;
2478 #define wxPyShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2479 static PyObject
*_wrap_wxPyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2484 PyObject
* _argo0
= 0;
2485 PyObject
* _obj1
= 0;
2486 PyObject
* _obj2
= 0;
2487 char *_kwnames
[] = { "self","self","_class", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setCallbackInfo. Expected _wxPyShape_p.");
2506 wxPy_BEGIN_ALLOW_THREADS
;
2507 wxPyShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2509 wxPy_END_ALLOW_THREADS
;
2510 } Py_INCREF(Py_None
);
2511 _resultobj
= Py_None
;
2515 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2516 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2523 PyObject
* _argo0
= 0;
2524 char *_kwnames
[] = { "self", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2546 wxPy_END_ALLOW_THREADS
;
2547 } Py_INCREF(Py_None
);
2548 _resultobj
= Py_None
;
2551 o
= PyFloat_FromDouble((double) (*_arg1
));
2552 _resultobj
= t_output_helper(_resultobj
, o
);
2556 o
= PyFloat_FromDouble((double) (*_arg2
));
2557 _resultobj
= t_output_helper(_resultobj
, o
);
2562 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2563 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2570 PyObject
* _argo0
= 0;
2571 char *_kwnames
[] = { "self", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2598 o
= PyFloat_FromDouble((double) (*_arg1
));
2599 _resultobj
= t_output_helper(_resultobj
, o
);
2603 o
= PyFloat_FromDouble((double) (*_arg2
));
2604 _resultobj
= t_output_helper(_resultobj
, o
);
2609 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2610 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
* _resultobj
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2642 wxPy_BEGIN_ALLOW_THREADS
;
2643 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2645 wxPy_END_ALLOW_THREADS
;
2646 } _resultobj
= Py_BuildValue("i",_result
);
2649 o
= PyFloat_FromDouble((double) (*_arg5
));
2650 _resultobj
= t_output_helper(_resultobj
, o
);
2654 o
= PyFloat_FromDouble((double) (*_arg6
));
2655 _resultobj
= t_output_helper(_resultobj
, o
);
2660 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2661 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2663 wxPyShapeCanvas
* _result
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2682 wxPy_END_ALLOW_THREADS
;
2683 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2687 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2688 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2691 wxPyShapeCanvas
* _arg1
;
2692 PyObject
* _argo0
= 0;
2693 PyObject
* _argo1
= 0;
2694 char *_kwnames
[] = { "self","the_canvas", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 wxPyShape_SetCanvas(_arg0
,_arg1
);
2717 wxPy_END_ALLOW_THREADS
;
2718 } Py_INCREF(Py_None
);
2719 _resultobj
= Py_None
;
2723 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2724 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2727 wxPyShapeCanvas
* _arg1
;
2728 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2729 PyObject
* _argo0
= 0;
2730 PyObject
* _argo1
= 0;
2731 PyObject
* _argo2
= 0;
2732 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2752 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } Py_INCREF(Py_None
);
2764 _resultobj
= Py_None
;
2768 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2769 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2772 wxPyShapeCanvas
* _arg1
;
2773 PyObject
* _argo0
= 0;
2774 PyObject
* _argo1
= 0;
2775 char *_kwnames
[] = { "self","the_canvas", NULL
};
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2798 wxPy_END_ALLOW_THREADS
;
2799 } Py_INCREF(Py_None
);
2800 _resultobj
= Py_None
;
2804 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2805 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
* _resultobj
;
2808 wxPyShapeCanvas
* _arg1
;
2809 PyObject
* _argo0
= 0;
2810 PyObject
* _argo1
= 0;
2811 char *_kwnames
[] = { "self","the_canvas", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2834 wxPy_END_ALLOW_THREADS
;
2835 } Py_INCREF(Py_None
);
2836 _resultobj
= Py_None
;
2840 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2841 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2845 PyObject
* _argo0
= 0;
2846 char *_kwnames
[] = { "self", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2859 wxPy_BEGIN_ALLOW_THREADS
;
2860 _result
= (double )wxPyShape_GetX(_arg0
);
2862 wxPy_END_ALLOW_THREADS
;
2863 } _resultobj
= Py_BuildValue("d",_result
);
2867 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2868 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2872 PyObject
* _argo0
= 0;
2873 char *_kwnames
[] = { "self", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2886 wxPy_BEGIN_ALLOW_THREADS
;
2887 _result
= (double )wxPyShape_GetY(_arg0
);
2889 wxPy_END_ALLOW_THREADS
;
2890 } _resultobj
= Py_BuildValue("d",_result
);
2894 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2895 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
* _resultobj
;
2899 PyObject
* _argo0
= 0;
2900 char *_kwnames
[] = { "self","x", NULL
};
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2913 wxPy_BEGIN_ALLOW_THREADS
;
2914 wxPyShape_SetX(_arg0
,_arg1
);
2916 wxPy_END_ALLOW_THREADS
;
2917 } Py_INCREF(Py_None
);
2918 _resultobj
= Py_None
;
2922 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2923 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
* _resultobj
;
2927 PyObject
* _argo0
= 0;
2928 char *_kwnames
[] = { "self","y", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2941 wxPy_BEGIN_ALLOW_THREADS
;
2942 wxPyShape_SetY(_arg0
,_arg1
);
2944 wxPy_END_ALLOW_THREADS
;
2945 } Py_INCREF(Py_None
);
2946 _resultobj
= Py_None
;
2950 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2951 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2953 wxPyShape
* _result
;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
2972 wxPy_END_ALLOW_THREADS
;
2973 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
2977 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2978 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2983 PyObject
* _argo1
= 0;
2984 char *_kwnames
[] = { "self","p", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 wxPyShape_SetParent(_arg0
,_arg1
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
3014 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3016 wxPyShape
* _result
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self", NULL
};
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
3025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
3032 wxPy_BEGIN_ALLOW_THREADS
;
3033 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
3035 wxPy_END_ALLOW_THREADS
;
3036 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3040 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3041 wxList
& list
= self
->GetChildren();
3042 return wxPy_ConvertList(&list
, "wxPyShape");
3044 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3048 PyObject
* _argo0
= 0;
3049 char *_kwnames
[] = { "self", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3062 wxPy_BEGIN_ALLOW_THREADS
;
3063 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3065 wxPy_END_ALLOW_THREADS
;
3067 _resultobj
= _result
;
3072 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3073 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3076 PyObject
* _argo0
= 0;
3077 char *_kwnames
[] = { "self", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 wxPyShape_Unlink(_arg0
);
3093 wxPy_END_ALLOW_THREADS
;
3094 } Py_INCREF(Py_None
);
3095 _resultobj
= Py_None
;
3099 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3100 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3104 PyObject
* _argo0
= 0;
3106 char *_kwnames
[] = { "self","drawH", NULL
};
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3118 _arg1
= (bool ) tempbool1
;
3120 wxPy_BEGIN_ALLOW_THREADS
;
3121 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3123 wxPy_END_ALLOW_THREADS
;
3124 } Py_INCREF(Py_None
);
3125 _resultobj
= Py_None
;
3129 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3130 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3134 PyObject
* _argo0
= 0;
3135 char *_kwnames
[] = { "self", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3148 wxPy_BEGIN_ALLOW_THREADS
;
3149 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3151 wxPy_END_ALLOW_THREADS
;
3152 } _resultobj
= Py_BuildValue("i",_result
);
3156 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3157 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
* _resultobj
;
3160 PyObject
* _argo0
= 0;
3161 char *_kwnames
[] = { "self", NULL
};
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3174 wxPy_BEGIN_ALLOW_THREADS
;
3175 wxPyShape_MakeControlPoints(_arg0
);
3177 wxPy_END_ALLOW_THREADS
;
3178 } Py_INCREF(Py_None
);
3179 _resultobj
= Py_None
;
3183 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3184 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
* _resultobj
;
3187 wxDC
* _arg1
= (wxDC
*) NULL
;
3188 PyObject
* _argo0
= 0;
3189 PyObject
* _argo1
= 0;
3190 char *_kwnames
[] = { "self","dc", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3210 wxPy_BEGIN_ALLOW_THREADS
;
3211 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3213 wxPy_END_ALLOW_THREADS
;
3214 } Py_INCREF(Py_None
);
3215 _resultobj
= Py_None
;
3219 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3220 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3237 wxPy_BEGIN_ALLOW_THREADS
;
3238 wxPyShape_ResetControlPoints(_arg0
);
3240 wxPy_END_ALLOW_THREADS
;
3241 } Py_INCREF(Py_None
);
3242 _resultobj
= Py_None
;
3246 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3247 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3249 wxPyShapeEvtHandler
* _result
;
3251 PyObject
* _argo0
= 0;
3252 char *_kwnames
[] = { "self", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3265 wxPy_BEGIN_ALLOW_THREADS
;
3266 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3268 wxPy_END_ALLOW_THREADS
;
3269 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3273 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3274 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3277 wxPyShapeEvtHandler
* _arg1
;
3278 PyObject
* _argo0
= 0;
3279 PyObject
* _argo1
= 0;
3280 char *_kwnames
[] = { "self","handler", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3303 wxPy_END_ALLOW_THREADS
;
3304 } Py_INCREF(Py_None
);
3305 _resultobj
= Py_None
;
3309 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3310 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3313 PyObject
* _argo0
= 0;
3314 char *_kwnames
[] = { "self", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3327 wxPy_BEGIN_ALLOW_THREADS
;
3328 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3330 wxPy_END_ALLOW_THREADS
;
3331 } Py_INCREF(Py_None
);
3332 _resultobj
= Py_None
;
3336 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3337 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3340 PyObject
* _argo0
= 0;
3341 char *_kwnames
[] = { "self", NULL
};
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3354 wxPy_BEGIN_ALLOW_THREADS
;
3355 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3357 wxPy_END_ALLOW_THREADS
;
3358 } Py_INCREF(Py_None
);
3359 _resultobj
= Py_None
;
3363 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3364 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
* _resultobj
;
3368 PyObject
* _argo0
= 0;
3369 char *_kwnames
[] = { "self", NULL
};
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3382 wxPy_BEGIN_ALLOW_THREADS
;
3383 _result
= (bool )wxPyShape_Recompute(_arg0
);
3385 wxPy_END_ALLOW_THREADS
;
3386 } _resultobj
= Py_BuildValue("i",_result
);
3390 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3391 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 wxPyShape_CalculateSize(_arg0
);
3411 wxPy_END_ALLOW_THREADS
;
3412 } Py_INCREF(Py_None
);
3413 _resultobj
= Py_None
;
3417 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3418 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3421 bool _arg1
= (bool ) TRUE
;
3422 wxDC
* _arg2
= (wxDC
*) NULL
;
3423 PyObject
* _argo0
= 0;
3424 int tempbool1
= (int) TRUE
;
3425 PyObject
* _argo2
= 0;
3426 char *_kwnames
[] = { "self","select","dc", NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3438 _arg1
= (bool ) tempbool1
;
3440 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3450 wxPy_END_ALLOW_THREADS
;
3451 } Py_INCREF(Py_None
);
3452 _resultobj
= Py_None
;
3456 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3457 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
* _resultobj
;
3460 bool _arg1
= (bool ) TRUE
;
3461 bool _arg2
= (bool ) FALSE
;
3462 PyObject
* _argo0
= 0;
3463 int tempbool1
= (int) TRUE
;
3464 int tempbool2
= (int) FALSE
;
3465 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3477 _arg1
= (bool ) tempbool1
;
3478 _arg2
= (bool ) tempbool2
;
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3483 wxPy_END_ALLOW_THREADS
;
3484 } Py_INCREF(Py_None
);
3485 _resultobj
= Py_None
;
3489 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3490 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3508 wxPy_BEGIN_ALLOW_THREADS
;
3509 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3511 wxPy_END_ALLOW_THREADS
;
3512 } _resultobj
= Py_BuildValue("i",_result
);
3516 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3517 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3521 PyObject
* _argo0
= 0;
3522 char *_kwnames
[] = { "self", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3535 wxPy_BEGIN_ALLOW_THREADS
;
3536 _result
= (bool )wxPyShape_Selected(_arg0
);
3538 wxPy_END_ALLOW_THREADS
;
3539 } _resultobj
= Py_BuildValue("i",_result
);
3543 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3544 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3565 wxPy_END_ALLOW_THREADS
;
3566 } _resultobj
= Py_BuildValue("i",_result
);
3570 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3571 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3574 int _arg1
= (int ) OP_ALL
;
3575 bool _arg2
= (bool ) FALSE
;
3576 PyObject
* _argo0
= 0;
3577 int tempbool2
= (int) FALSE
;
3578 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3590 _arg2
= (bool ) tempbool2
;
3592 wxPy_BEGIN_ALLOW_THREADS
;
3593 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3595 wxPy_END_ALLOW_THREADS
;
3596 } Py_INCREF(Py_None
);
3597 _resultobj
= Py_None
;
3601 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3602 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3606 PyObject
* _argo0
= 0;
3607 char *_kwnames
[] = { "self", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3620 wxPy_BEGIN_ALLOW_THREADS
;
3621 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3623 wxPy_END_ALLOW_THREADS
;
3624 } _resultobj
= Py_BuildValue("i",_result
);
3628 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3629 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3633 bool _arg2
= (bool ) FALSE
;
3634 PyObject
* _argo0
= 0;
3636 int tempbool2
= (int) FALSE
;
3637 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3649 _arg1
= (bool ) tempbool1
;
3650 _arg2
= (bool ) tempbool2
;
3652 wxPy_BEGIN_ALLOW_THREADS
;
3653 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3655 wxPy_END_ALLOW_THREADS
;
3656 } Py_INCREF(Py_None
);
3657 _resultobj
= Py_None
;
3661 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3662 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3667 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self","x","y", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3682 _arg1
= (bool ) tempbool1
;
3683 _arg2
= (bool ) tempbool2
;
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3688 wxPy_END_ALLOW_THREADS
;
3689 } Py_INCREF(Py_None
);
3690 _resultobj
= Py_None
;
3694 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3695 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3700 PyObject
* _argo0
= 0;
3701 PyObject
* _argo1
= 0;
3702 PyObject
* _argo2
= 0;
3703 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3723 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3730 wxPy_BEGIN_ALLOW_THREADS
;
3731 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3733 wxPy_END_ALLOW_THREADS
;
3734 } Py_INCREF(Py_None
);
3735 _resultobj
= Py_None
;
3739 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3740 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
* _resultobj
;
3744 PyObject
* _argo0
= 0;
3745 char *_kwnames
[] = { "self", NULL
};
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3761 wxPy_END_ALLOW_THREADS
;
3762 } _resultobj
= Py_BuildValue("i",_result
);
3766 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3767 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3771 PyObject
* _argo0
= 0;
3772 char *_kwnames
[] = { "self", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3785 wxPy_BEGIN_ALLOW_THREADS
;
3786 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3788 wxPy_END_ALLOW_THREADS
;
3789 } _resultobj
= Py_BuildValue("i",_result
);
3793 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3794 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3798 PyObject
* _argo0
= 0;
3800 char *_kwnames
[] = { "self","sp", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3812 _arg1
= (bool ) tempbool1
;
3814 wxPy_BEGIN_ALLOW_THREADS
;
3815 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3817 wxPy_END_ALLOW_THREADS
;
3818 } Py_INCREF(Py_None
);
3819 _resultobj
= Py_None
;
3823 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3824 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
* _resultobj
;
3828 PyObject
* _argo0
= 0;
3829 char *_kwnames
[] = { "self", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3842 wxPy_BEGIN_ALLOW_THREADS
;
3843 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3845 wxPy_END_ALLOW_THREADS
;
3846 } _resultobj
= Py_BuildValue("i",_result
);
3850 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3851 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3855 bool _arg2
= (bool ) FALSE
;
3856 PyObject
* _argo0
= 0;
3857 int tempbool2
= (int) FALSE
;
3858 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3870 _arg2
= (bool ) tempbool2
;
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3875 wxPy_END_ALLOW_THREADS
;
3876 } Py_INCREF(Py_None
);
3877 _resultobj
= Py_None
;
3881 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3882 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3886 PyObject
* _argo0
= 0;
3887 char *_kwnames
[] = { "self", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3909 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3919 PyObject
* _argo0
= 0;
3920 char *_kwnames
[] = { "self","x","y", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3942 wxPy_END_ALLOW_THREADS
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3946 o
= PyInt_FromLong((long) (*_arg3
));
3947 _resultobj
= t_output_helper(_resultobj
, o
);
3951 o
= PyFloat_FromDouble((double) (*_arg4
));
3952 _resultobj
= t_output_helper(_resultobj
, o
);
3957 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3958 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3962 PyObject
* _argo0
= 0;
3964 char *_kwnames
[] = { "self","cr", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
3976 _arg1
= (bool ) tempbool1
;
3978 wxPy_BEGIN_ALLOW_THREADS
;
3979 wxPyShape_SetCentreResize(_arg0
,_arg1
);
3981 wxPy_END_ALLOW_THREADS
;
3982 } Py_INCREF(Py_None
);
3983 _resultobj
= Py_None
;
3987 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
3988 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3992 PyObject
* _argo0
= 0;
3993 char *_kwnames
[] = { "self", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
4006 wxPy_BEGIN_ALLOW_THREADS
;
4007 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
4009 wxPy_END_ALLOW_THREADS
;
4010 } _resultobj
= Py_BuildValue("i",_result
);
4014 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4015 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4019 PyObject
* _argo0
= 0;
4021 char *_kwnames
[] = { "self","ar", NULL
};
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4033 _arg1
= (bool ) tempbool1
;
4035 wxPy_BEGIN_ALLOW_THREADS
;
4036 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4038 wxPy_END_ALLOW_THREADS
;
4039 } Py_INCREF(Py_None
);
4040 _resultobj
= Py_None
;
4044 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4045 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
* _resultobj
;
4049 PyObject
* _argo0
= 0;
4050 char *_kwnames
[] = { "self", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4063 wxPy_BEGIN_ALLOW_THREADS
;
4064 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4066 wxPy_END_ALLOW_THREADS
;
4067 } _resultobj
= Py_BuildValue("i",_result
);
4071 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4072 wxList
& list
= self
->GetLines();
4073 return wxPy_ConvertList(&list
, "wxPyLineShape");
4075 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4079 PyObject
* _argo0
= 0;
4080 char *_kwnames
[] = { "self", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4093 wxPy_BEGIN_ALLOW_THREADS
;
4094 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4096 wxPy_END_ALLOW_THREADS
;
4098 _resultobj
= _result
;
4103 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4104 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4108 PyObject
* _argo0
= 0;
4110 char *_kwnames
[] = { "self","flag", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4122 _arg1
= (bool ) tempbool1
;
4124 wxPy_BEGIN_ALLOW_THREADS
;
4125 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4127 wxPy_END_ALLOW_THREADS
;
4128 } Py_INCREF(Py_None
);
4129 _resultobj
= Py_None
;
4133 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4134 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
* _resultobj
;
4138 PyObject
* _argo0
= 0;
4139 char *_kwnames
[] = { "self", NULL
};
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4152 wxPy_BEGIN_ALLOW_THREADS
;
4153 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4155 wxPy_END_ALLOW_THREADS
;
4156 } _resultobj
= Py_BuildValue("i",_result
);
4160 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4161 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4165 PyObject
* _argo0
= 0;
4166 char *_kwnames
[] = { "self","mode", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4179 wxPy_BEGIN_ALLOW_THREADS
;
4180 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4182 wxPy_END_ALLOW_THREADS
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4188 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4189 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4193 PyObject
* _argo0
= 0;
4194 char *_kwnames
[] = { "self", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4210 wxPy_END_ALLOW_THREADS
;
4211 } _resultobj
= Py_BuildValue("i",_result
);
4215 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4216 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4220 PyObject
* _argo0
= 0;
4221 char *_kwnames
[] = { "self","i", NULL
};
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4234 wxPy_BEGIN_ALLOW_THREADS
;
4235 wxPyShape_SetId(_arg0
,_arg1
);
4237 wxPy_END_ALLOW_THREADS
;
4238 } Py_INCREF(Py_None
);
4239 _resultobj
= Py_None
;
4243 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4244 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
* _resultobj
;
4248 PyObject
* _argo0
= 0;
4249 char *_kwnames
[] = { "self", NULL
};
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4262 wxPy_BEGIN_ALLOW_THREADS
;
4263 _result
= (long )wxPyShape_GetId(_arg0
);
4265 wxPy_END_ALLOW_THREADS
;
4266 } _resultobj
= Py_BuildValue("l",_result
);
4270 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4271 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4275 PyObject
* _argo0
= 0;
4276 PyObject
* _obj1
= 0;
4277 char *_kwnames
[] = { "self","pen", NULL
};
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_obj1
))
4283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4292 if (_obj1
== Py_None
) { temp
= NULL
; }
4293 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxPen_p")) {
4294 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxPen_p.");
4299 _arg1
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4306 wxPy_BEGIN_ALLOW_THREADS
;
4307 wxPyShape_SetPen(_arg0
,_arg1
);
4309 wxPy_END_ALLOW_THREADS
;
4310 } Py_INCREF(Py_None
);
4311 _resultobj
= Py_None
;
4315 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4316 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4320 PyObject
* _argo0
= 0;
4321 PyObject
* _obj1
= 0;
4322 char *_kwnames
[] = { "self","brush", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_obj1
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4337 if (_obj1
== Py_None
) { temp
= NULL
; }
4338 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxBrush_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxBrush_p.");
4344 _arg1
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4349 wxPy_BEGIN_ALLOW_THREADS
;
4350 wxPyShape_SetBrush(_arg0
,_arg1
);
4352 wxPy_END_ALLOW_THREADS
;
4353 } Py_INCREF(Py_None
);
4354 _resultobj
= Py_None
;
4358 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4359 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4363 PyObject
* _argo0
= 0;
4365 char *_kwnames
[] = { "self","show", NULL
};
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4377 _arg1
= (bool ) tempbool1
;
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 wxPyShape_Show(_arg0
,_arg1
);
4382 wxPy_END_ALLOW_THREADS
;
4383 } Py_INCREF(Py_None
);
4384 _resultobj
= Py_None
;
4388 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4389 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
* _resultobj
;
4393 PyObject
* _argo0
= 0;
4394 char *_kwnames
[] = { "self", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4407 wxPy_BEGIN_ALLOW_THREADS
;
4408 _result
= (bool )wxPyShape_IsShown(_arg0
);
4410 wxPy_END_ALLOW_THREADS
;
4411 } _resultobj
= Py_BuildValue("i",_result
);
4415 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4416 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4422 bool _arg4
= (bool ) TRUE
;
4423 PyObject
* _argo0
= 0;
4424 PyObject
* _argo1
= 0;
4425 int tempbool4
= (int) TRUE
;
4426 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4445 _arg4
= (bool ) tempbool4
;
4447 wxPy_BEGIN_ALLOW_THREADS
;
4448 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4450 wxPy_END_ALLOW_THREADS
;
4451 } Py_INCREF(Py_None
);
4452 _resultobj
= Py_None
;
4456 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4457 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4461 PyObject
* _argo0
= 0;
4462 PyObject
* _argo1
= 0;
4463 char *_kwnames
[] = { "self","dc", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4483 wxPy_BEGIN_ALLOW_THREADS
;
4484 wxPyShape_Erase(_arg0
,*_arg1
);
4486 wxPy_END_ALLOW_THREADS
;
4487 } Py_INCREF(Py_None
);
4488 _resultobj
= Py_None
;
4492 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4493 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4497 PyObject
* _argo0
= 0;
4498 PyObject
* _argo1
= 0;
4499 char *_kwnames
[] = { "self","dc", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4519 wxPy_BEGIN_ALLOW_THREADS
;
4520 wxPyShape_EraseContents(_arg0
,*_arg1
);
4522 wxPy_END_ALLOW_THREADS
;
4523 } Py_INCREF(Py_None
);
4524 _resultobj
= Py_None
;
4528 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4529 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
* _resultobj
;
4533 PyObject
* _argo0
= 0;
4534 PyObject
* _argo1
= 0;
4535 char *_kwnames
[] = { "self","dc", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 wxPyShape_Draw(_arg0
,*_arg1
);
4558 wxPy_END_ALLOW_THREADS
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4564 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4565 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4568 PyObject
* _argo0
= 0;
4569 char *_kwnames
[] = { "self", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 wxPyShape_Flash(_arg0
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4591 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4592 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4596 PyObject
* _argo0
= 0;
4597 PyObject
* _argo1
= 0;
4598 char *_kwnames
[] = { "self","dc", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4618 wxPy_BEGIN_ALLOW_THREADS
;
4619 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4621 wxPy_END_ALLOW_THREADS
;
4622 } Py_INCREF(Py_None
);
4623 _resultobj
= Py_None
;
4627 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4628 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4632 PyObject
* _argo0
= 0;
4633 PyObject
* _argo1
= 0;
4634 char *_kwnames
[] = { "self","dc", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4654 wxPy_BEGIN_ALLOW_THREADS
;
4655 wxPyShape_DrawContents(_arg0
,*_arg1
);
4657 wxPy_END_ALLOW_THREADS
;
4658 } Py_INCREF(Py_None
);
4659 _resultobj
= Py_None
;
4663 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4664 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4669 bool _arg3
= (bool ) TRUE
;
4670 PyObject
* _argo0
= 0;
4671 int tempbool3
= (int) TRUE
;
4672 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4684 _arg3
= (bool ) tempbool3
;
4686 wxPy_BEGIN_ALLOW_THREADS
;
4687 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4689 wxPy_END_ALLOW_THREADS
;
4690 } Py_INCREF(Py_None
);
4691 _resultobj
= Py_None
;
4695 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4696 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4701 PyObject
* _argo0
= 0;
4702 char *_kwnames
[] = { "self","x","y", NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetAttachmentSize. Expected _wxPyShape_p.");
4715 wxPy_BEGIN_ALLOW_THREADS
;
4716 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4718 wxPy_END_ALLOW_THREADS
;
4719 } Py_INCREF(Py_None
);
4720 _resultobj
= Py_None
;
4724 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4725 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4728 wxPyShapeCanvas
* _arg1
;
4729 PyObject
* _argo0
= 0;
4730 PyObject
* _argo1
= 0;
4731 char *_kwnames
[] = { "self","can", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4751 wxPy_BEGIN_ALLOW_THREADS
;
4752 wxPyShape_Attach(_arg0
,_arg1
);
4754 wxPy_END_ALLOW_THREADS
;
4755 } Py_INCREF(Py_None
);
4756 _resultobj
= Py_None
;
4760 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4761 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
* _resultobj
;
4764 PyObject
* _argo0
= 0;
4765 char *_kwnames
[] = { "self", NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4778 wxPy_BEGIN_ALLOW_THREADS
;
4779 wxPyShape_Detach(_arg0
);
4781 wxPy_END_ALLOW_THREADS
;
4782 } Py_INCREF(Py_None
);
4783 _resultobj
= Py_None
;
4787 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4788 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4792 PyObject
* _argo0
= 0;
4793 char *_kwnames
[] = { "self", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4806 wxPy_BEGIN_ALLOW_THREADS
;
4807 _result
= (bool )wxPyShape_Constrain(_arg0
);
4809 wxPy_END_ALLOW_THREADS
;
4810 } _resultobj
= Py_BuildValue("i",_result
);
4814 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4815 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4818 wxPyLineShape
* _arg1
;
4820 int _arg3
= (int ) 0;
4821 int _arg4
= (int ) 0;
4822 int _arg5
= (int ) -1;
4823 int _arg6
= (int ) -1;
4824 PyObject
* _argo0
= 0;
4825 PyObject
* _argo1
= 0;
4826 PyObject
* _argo2
= 0;
4827 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4847 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4854 wxPy_BEGIN_ALLOW_THREADS
;
4855 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4857 wxPy_END_ALLOW_THREADS
;
4858 } Py_INCREF(Py_None
);
4859 _resultobj
= Py_None
;
4863 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4864 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4868 wxPyLineShape
* _arg1
;
4869 PyObject
* _argo0
= 0;
4870 PyObject
* _argo1
= 0;
4871 char *_kwnames
[] = { "self","line", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4891 wxPy_BEGIN_ALLOW_THREADS
;
4892 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4894 wxPy_END_ALLOW_THREADS
;
4895 } _resultobj
= Py_BuildValue("i",_result
);
4899 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4900 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4904 PyObject
* _argo0
= 0;
4905 PyObject
* _obj1
= 0;
4906 char *_kwnames
[] = { "self","string", NULL
};
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4919 #if PYTHON_API_VERSION >= 1009
4920 char* tmpPtr
; int tmpSize
;
4921 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4922 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4925 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4927 _arg1
= new wxString(tmpPtr
, tmpSize
);
4929 if (!PyString_Check(_obj1
)) {
4930 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4933 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4937 wxPy_BEGIN_ALLOW_THREADS
;
4938 wxPyShape_AddText(_arg0
,*_arg1
);
4940 wxPy_END_ALLOW_THREADS
;
4941 } Py_INCREF(Py_None
);
4942 _resultobj
= Py_None
;
4950 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
4951 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
* _resultobj
;
4955 PyObject
* _argo0
= 0;
4956 char *_kwnames
[] = { "self", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
4963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
4970 wxPy_BEGIN_ALLOW_THREADS
;
4971 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
4973 wxPy_END_ALLOW_THREADS
;
4975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4976 _resultobj
= Py_BuildValue("s",_ptemp
);
4979 _resultobj
= Py_None
;
4984 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
4985 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self", NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
4997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5004 wxPy_BEGIN_ALLOW_THREADS
;
5005 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5007 wxPy_END_ALLOW_THREADS
;
5009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5010 _resultobj
= Py_BuildValue("s",_ptemp
);
5013 _resultobj
= Py_None
;
5018 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5019 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5022 PyObject
* _argo0
= 0;
5023 char *_kwnames
[] = { "self", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 wxPyShape_SetDefaultRegionSize(_arg0
);
5039 wxPy_END_ALLOW_THREADS
;
5040 } Py_INCREF(Py_None
);
5041 _resultobj
= Py_None
;
5045 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5046 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5051 int _arg3
= (int ) 0;
5052 PyObject
* _argo0
= 0;
5053 PyObject
* _argo1
= 0;
5054 PyObject
* _obj2
= 0;
5055 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5075 #if PYTHON_API_VERSION >= 1009
5076 char* tmpPtr
; int tmpSize
;
5077 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5078 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5081 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5083 _arg2
= new wxString(tmpPtr
, tmpSize
);
5085 if (!PyString_Check(_obj2
)) {
5086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5089 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5096 wxPy_END_ALLOW_THREADS
;
5097 } Py_INCREF(Py_None
);
5098 _resultobj
= Py_None
;
5106 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5107 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5111 int _arg2
= (int ) 0;
5112 PyObject
* _argo0
= 0;
5113 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5126 wxPy_BEGIN_ALLOW_THREADS
;
5127 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5129 wxPy_END_ALLOW_THREADS
;
5130 } Py_INCREF(Py_None
);
5131 _resultobj
= Py_None
;
5135 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5136 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5140 int _arg1
= (int ) 0;
5141 PyObject
* _argo0
= 0;
5142 char *_kwnames
[] = { "self","regionId", NULL
};
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5155 wxPy_BEGIN_ALLOW_THREADS
;
5156 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5158 wxPy_END_ALLOW_THREADS
;
5159 } _resultobj
= Py_BuildValue("i",_result
);
5163 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5164 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5168 int _arg2
= (int ) 0;
5169 PyObject
* _argo0
= 0;
5170 PyObject
* _obj1
= 0;
5171 char *_kwnames
[] = { "self","font","regionId", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5186 if (_obj1
== Py_None
) { temp
= NULL
; }
5187 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
5188 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
5193 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5197 temp
->GetUnderlined(),
5198 temp
->GetFaceName(),
5199 temp
->GetEncoding());
5204 wxPy_BEGIN_ALLOW_THREADS
;
5205 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5207 wxPy_END_ALLOW_THREADS
;
5208 } Py_INCREF(Py_None
);
5209 _resultobj
= Py_None
;
5213 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5214 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5218 int _arg1
= (int ) 0;
5219 PyObject
* _argo0
= 0;
5220 char *_kwnames
[] = { "self","regionId", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5237 wxPy_END_ALLOW_THREADS
;
5239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5240 _resultobj
= Py_BuildValue("s",_ptemp
);
5243 _resultobj
= Py_None
;
5248 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5249 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5253 int _arg2
= (int ) 0;
5254 PyObject
* _argo0
= 0;
5255 PyObject
* _obj1
= 0;
5256 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5269 #if PYTHON_API_VERSION >= 1009
5270 char* tmpPtr
; int tmpSize
;
5271 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5272 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5275 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5277 _arg1
= new wxString(tmpPtr
, tmpSize
);
5279 if (!PyString_Check(_obj1
)) {
5280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5283 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5287 wxPy_BEGIN_ALLOW_THREADS
;
5288 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5290 wxPy_END_ALLOW_THREADS
;
5291 } Py_INCREF(Py_None
);
5292 _resultobj
= Py_None
;
5300 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5301 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5305 int _arg1
= (int ) 0;
5306 PyObject
* _argo0
= 0;
5307 char *_kwnames
[] = { "self","regionId", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5320 wxPy_BEGIN_ALLOW_THREADS
;
5321 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5323 wxPy_END_ALLOW_THREADS
;
5325 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5333 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5334 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
* _resultobj
;
5338 PyObject
* _argo0
= 0;
5339 char *_kwnames
[] = { "self", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5352 wxPy_BEGIN_ALLOW_THREADS
;
5353 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5355 wxPy_END_ALLOW_THREADS
;
5356 } _resultobj
= Py_BuildValue("i",_result
);
5360 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5361 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
* _resultobj
;
5365 int _arg2
= (int ) 0;
5366 PyObject
* _argo0
= 0;
5367 PyObject
* _obj1
= 0;
5368 char *_kwnames
[] = { "self","name","regionId", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5381 #if PYTHON_API_VERSION >= 1009
5382 char* tmpPtr
; int tmpSize
;
5383 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5387 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5389 _arg1
= new wxString(tmpPtr
, tmpSize
);
5391 if (!PyString_Check(_obj1
)) {
5392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5395 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5399 wxPy_BEGIN_ALLOW_THREADS
;
5400 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5402 wxPy_END_ALLOW_THREADS
;
5403 } Py_INCREF(Py_None
);
5404 _resultobj
= Py_None
;
5412 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5413 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
* _resultobj
;
5418 PyObject
* _argo0
= 0;
5419 char *_kwnames
[] = { "self","regionId", NULL
};
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5432 wxPy_BEGIN_ALLOW_THREADS
;
5433 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5435 wxPy_END_ALLOW_THREADS
;
5437 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5445 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5446 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
* _resultobj
;
5451 PyObject
* _argo0
= 0;
5452 PyObject
* _obj1
= 0;
5453 char *_kwnames
[] = { "self","name", NULL
};
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5466 #if PYTHON_API_VERSION >= 1009
5467 char* tmpPtr
; int tmpSize
;
5468 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5472 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5474 _arg1
= new wxString(tmpPtr
, tmpSize
);
5476 if (!PyString_Check(_obj1
)) {
5477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5480 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5484 wxPy_BEGIN_ALLOW_THREADS
;
5485 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5487 wxPy_END_ALLOW_THREADS
;
5488 } _resultobj
= Py_BuildValue("i",_result
);
5496 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5497 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
* _resultobj
;
5500 wxString
* _arg1
= (wxString
*) &"";
5501 PyObject
* _argo0
= 0;
5502 PyObject
* _obj1
= 0;
5503 char *_kwnames
[] = { "self","parentName", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5517 #if PYTHON_API_VERSION >= 1009
5518 char* tmpPtr
; int tmpSize
;
5519 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5520 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5523 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5525 _arg1
= new wxString(tmpPtr
, tmpSize
);
5527 if (!PyString_Check(_obj1
)) {
5528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5531 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5535 wxPy_BEGIN_ALLOW_THREADS
;
5536 wxPyShape_NameRegions(_arg0
,*_arg1
);
5538 wxPy_END_ALLOW_THREADS
;
5539 } Py_INCREF(Py_None
);
5540 _resultobj
= Py_None
;
5548 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5549 wxList
& list
= self
->GetRegions();
5550 return wxPy_ConvertList(&list
, "wxShapeRegion");
5552 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
* _resultobj
;
5556 PyObject
* _argo0
= 0;
5557 char *_kwnames
[] = { "self", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5570 wxPy_BEGIN_ALLOW_THREADS
;
5571 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5573 wxPy_END_ALLOW_THREADS
;
5575 _resultobj
= _result
;
5580 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5581 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
* _resultobj
;
5584 wxShapeRegion
* _arg1
;
5585 PyObject
* _argo0
= 0;
5586 PyObject
* _argo1
= 0;
5587 char *_kwnames
[] = { "self","region", NULL
};
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5607 wxPy_BEGIN_ALLOW_THREADS
;
5608 wxPyShape_AddRegion(_arg0
,_arg1
);
5610 wxPy_END_ALLOW_THREADS
;
5611 } Py_INCREF(Py_None
);
5612 _resultobj
= Py_None
;
5616 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5617 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
* _resultobj
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5634 wxPy_BEGIN_ALLOW_THREADS
;
5635 wxPyShape_ClearRegions(_arg0
);
5637 wxPy_END_ALLOW_THREADS
;
5638 } Py_INCREF(Py_None
);
5639 _resultobj
= Py_None
;
5643 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5644 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5647 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5661 wxPy_BEGIN_ALLOW_THREADS
;
5662 wxPyShape_AssignNewIds(_arg0
);
5664 wxPy_END_ALLOW_THREADS
;
5665 } Py_INCREF(Py_None
);
5666 _resultobj
= Py_None
;
5670 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5671 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5673 wxPyShape
* _result
;
5678 PyObject
* _argo0
= 0;
5679 PyObject
* _obj1
= 0;
5680 char *_kwnames
[] = { "self","regionName", NULL
};
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5696 #if PYTHON_API_VERSION >= 1009
5697 char* tmpPtr
; int tmpSize
;
5698 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5702 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5704 _arg1
= new wxString(tmpPtr
, tmpSize
);
5706 if (!PyString_Check(_obj1
)) {
5707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5710 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5714 wxPy_BEGIN_ALLOW_THREADS
;
5715 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5717 wxPy_END_ALLOW_THREADS
;
5718 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
5721 o
= PyInt_FromLong((long) (*_arg2
));
5722 _resultobj
= t_output_helper(_resultobj
, o
);
5731 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5732 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
* _resultobj
;
5735 wxStringList
* _arg1
;
5736 PyObject
* _argo0
= 0;
5737 PyObject
* _argo1
= 0;
5738 char *_kwnames
[] = { "self","list", NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5761 wxPy_END_ALLOW_THREADS
;
5762 } Py_INCREF(Py_None
);
5763 _resultobj
= Py_None
;
5767 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5768 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5771 int _arg1
= (int ) 0;
5772 PyObject
* _argo0
= 0;
5773 char *_kwnames
[] = { "self","regionId", NULL
};
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5786 wxPy_BEGIN_ALLOW_THREADS
;
5787 wxPyShape_ClearText(_arg0
,_arg1
);
5789 wxPy_END_ALLOW_THREADS
;
5790 } Py_INCREF(Py_None
);
5791 _resultobj
= Py_None
;
5795 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5796 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
* _resultobj
;
5799 wxPyLineShape
* _arg1
;
5800 PyObject
* _argo0
= 0;
5801 PyObject
* _argo1
= 0;
5802 char *_kwnames
[] = { "self","line", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5815 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5822 wxPy_BEGIN_ALLOW_THREADS
;
5823 wxPyShape_RemoveLine(_arg0
,_arg1
);
5825 wxPy_END_ALLOW_THREADS
;
5826 } Py_INCREF(Py_None
);
5827 _resultobj
= Py_None
;
5831 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5832 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5841 int _arg4
= (int ) 0;
5842 int _arg5
= (int ) 1;
5843 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5844 PyObject
* _argo0
= 0;
5845 PyObject
* _argo6
= 0;
5846 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5865 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5866 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5872 wxPy_BEGIN_ALLOW_THREADS
;
5873 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5875 wxPy_END_ALLOW_THREADS
;
5876 } _resultobj
= Py_BuildValue("i",_result
);
5879 o
= PyFloat_FromDouble((double) (*_arg2
));
5880 _resultobj
= t_output_helper(_resultobj
, o
);
5884 o
= PyFloat_FromDouble((double) (*_arg3
));
5885 _resultobj
= t_output_helper(_resultobj
, o
);
5890 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5891 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5895 PyObject
* _argo0
= 0;
5896 char *_kwnames
[] = { "self", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5909 wxPy_BEGIN_ALLOW_THREADS
;
5910 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5912 wxPy_END_ALLOW_THREADS
;
5913 } _resultobj
= Py_BuildValue("i",_result
);
5917 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5918 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5923 PyObject
* _argo0
= 0;
5924 char *_kwnames
[] = { "self","attachment", NULL
};
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
5930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
5937 wxPy_BEGIN_ALLOW_THREADS
;
5938 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
5940 wxPy_END_ALLOW_THREADS
;
5941 } _resultobj
= Py_BuildValue("i",_result
);
5945 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5946 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
* _resultobj
;
5955 int _arg4
= (int ) 0;
5956 int _arg5
= (int ) 1;
5957 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5958 PyObject
* _argo0
= 0;
5959 PyObject
* _argo6
= 0;
5960 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
5979 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
5986 wxPy_BEGIN_ALLOW_THREADS
;
5987 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5989 wxPy_END_ALLOW_THREADS
;
5990 } _resultobj
= Py_BuildValue("i",_result
);
5993 o
= PyFloat_FromDouble((double) (*_arg2
));
5994 _resultobj
= t_output_helper(_resultobj
, o
);
5998 o
= PyFloat_FromDouble((double) (*_arg3
));
5999 _resultobj
= t_output_helper(_resultobj
, o
);
6004 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6005 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6007 wxRealPoint
* _result
;
6009 wxRealPoint
* _arg1
;
6010 wxRealPoint
* _arg2
;
6013 wxPyLineShape
* _arg5
;
6014 PyObject
* _argo0
= 0;
6016 PyObject
* _obj1
= 0;
6018 PyObject
* _obj2
= 0;
6019 PyObject
* _argo5
= 0;
6020 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6035 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6040 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6044 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6054 wxPy_END_ALLOW_THREADS
;
6055 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6056 _resultobj
= Py_BuildValue("s",_ptemp
);
6060 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6061 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
* _resultobj
;
6066 wxRealPoint
* _arg2
;
6067 wxRealPoint
* _arg3
;
6068 PyObject
* _argo0
= 0;
6070 PyObject
* _obj2
= 0;
6072 PyObject
* _obj3
= 0;
6073 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6087 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6092 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6096 wxPy_BEGIN_ALLOW_THREADS
;
6097 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6099 wxPy_END_ALLOW_THREADS
;
6100 } _resultobj
= Py_BuildValue("i",_result
);
6104 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6105 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6109 int _arg2
= (int ) -1;
6110 bool _arg3
= (bool ) FALSE
;
6111 PyObject
* _argo0
= 0;
6112 PyObject
* _argo1
= 0;
6113 int tempbool3
= (int) FALSE
;
6114 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6133 _arg3
= (bool ) tempbool3
;
6135 wxPy_BEGIN_ALLOW_THREADS
;
6136 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6138 wxPy_END_ALLOW_THREADS
;
6139 } Py_INCREF(Py_None
);
6140 _resultobj
= Py_None
;
6144 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6145 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6149 int _arg2
= (int ) -1;
6150 bool _arg3
= (bool ) FALSE
;
6151 PyObject
* _argo0
= 0;
6152 PyObject
* _argo1
= 0;
6153 int tempbool3
= (int) FALSE
;
6154 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6173 _arg3
= (bool ) tempbool3
;
6175 wxPy_BEGIN_ALLOW_THREADS
;
6176 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6178 wxPy_END_ALLOW_THREADS
;
6179 } Py_INCREF(Py_None
);
6180 _resultobj
= Py_None
;
6184 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6185 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6190 wxPyLineShape
* _arg2
;
6193 PyObject
* _argo0
= 0;
6194 PyObject
* _argo1
= 0;
6195 PyObject
* _argo2
= 0;
6196 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6216 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6217 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6223 wxPy_BEGIN_ALLOW_THREADS
;
6224 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6226 wxPy_END_ALLOW_THREADS
;
6227 } _resultobj
= Py_BuildValue("i",_result
);
6231 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6232 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6233 self
->ApplyAttachmentOrdering(*list
);
6236 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6240 PyObject
* _argo0
= 0;
6241 PyObject
* _obj1
= 0;
6242 char *_kwnames
[] = { "self","linesToSort", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6258 wxPy_BEGIN_ALLOW_THREADS
;
6259 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6261 wxPy_END_ALLOW_THREADS
;
6262 } Py_INCREF(Py_None
);
6263 _resultobj
= Py_None
;
6267 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6268 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
* _resultobj
;
6270 wxRealPoint
* _result
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self","attachment", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6288 wxPy_BEGIN_ALLOW_THREADS
;
6289 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6291 wxPy_END_ALLOW_THREADS
;
6292 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6293 _resultobj
= Py_BuildValue("s",_ptemp
);
6297 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6298 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
* _resultobj
;
6303 wxRealPoint
* _arg2
;
6304 wxRealPoint
* _arg3
;
6305 wxRealPoint
* _arg4
;
6306 wxRealPoint
* _arg5
;
6307 PyObject
* _argo0
= 0;
6309 PyObject
* _obj2
= 0;
6311 PyObject
* _obj3
= 0;
6313 PyObject
* _obj4
= 0;
6315 PyObject
* _obj5
= 0;
6316 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6330 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6335 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6340 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6345 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6349 wxPy_BEGIN_ALLOW_THREADS
;
6350 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6352 wxPy_END_ALLOW_THREADS
;
6353 } _resultobj
= Py_BuildValue("i",_result
);
6357 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6358 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
* _resultobj
;
6364 wxRealPoint
* _arg3
;
6365 wxRealPoint
* _arg4
;
6366 PyObject
* _argo0
= 0;
6368 PyObject
* _obj3
= 0;
6370 PyObject
* _obj4
= 0;
6371 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6385 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6390 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6394 wxPy_BEGIN_ALLOW_THREADS
;
6395 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6397 wxPy_END_ALLOW_THREADS
;
6398 } _resultobj
= Py_BuildValue("i",_result
);
6402 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6403 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
* _resultobj
;
6408 PyObject
* _argo0
= 0;
6409 char *_kwnames
[] = { "self","attachment", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6422 wxPy_BEGIN_ALLOW_THREADS
;
6423 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6425 wxPy_END_ALLOW_THREADS
;
6426 } _resultobj
= Py_BuildValue("i",_result
);
6430 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6431 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6435 PyObject
* _argo0
= 0;
6436 char *_kwnames
[] = { "self","len", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6449 wxPy_BEGIN_ALLOW_THREADS
;
6450 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6452 wxPy_END_ALLOW_THREADS
;
6453 } Py_INCREF(Py_None
);
6454 _resultobj
= Py_None
;
6458 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6459 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6463 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6477 wxPy_BEGIN_ALLOW_THREADS
;
6478 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6480 wxPy_END_ALLOW_THREADS
;
6481 } _resultobj
= Py_BuildValue("i",_result
);
6485 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6486 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
* _resultobj
;
6490 PyObject
* _argo0
= 0;
6491 char *_kwnames
[] = { "self","len", NULL
};
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6504 wxPy_BEGIN_ALLOW_THREADS
;
6505 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6507 wxPy_END_ALLOW_THREADS
;
6508 } Py_INCREF(Py_None
);
6509 _resultobj
= Py_None
;
6513 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6514 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
* _resultobj
;
6518 PyObject
* _argo0
= 0;
6519 char *_kwnames
[] = { "self", NULL
};
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6532 wxPy_BEGIN_ALLOW_THREADS
;
6533 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6535 wxPy_END_ALLOW_THREADS
;
6536 } _resultobj
= Py_BuildValue("i",_result
);
6540 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6541 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
* _resultobj
;
6545 PyObject
* _argo0
= 0;
6546 char *_kwnames
[] = { "self","len", NULL
};
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6559 wxPy_BEGIN_ALLOW_THREADS
;
6560 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6562 wxPy_END_ALLOW_THREADS
;
6563 } Py_INCREF(Py_None
);
6564 _resultobj
= Py_None
;
6568 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6569 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
* _resultobj
;
6573 PyObject
* _argo0
= 0;
6574 char *_kwnames
[] = { "self", NULL
};
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6587 wxPy_BEGIN_ALLOW_THREADS
;
6588 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6590 wxPy_END_ALLOW_THREADS
;
6591 } _resultobj
= Py_BuildValue("i",_result
);
6595 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6596 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6600 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self","style", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6614 wxPy_BEGIN_ALLOW_THREADS
;
6615 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6617 wxPy_END_ALLOW_THREADS
;
6618 } Py_INCREF(Py_None
);
6619 _resultobj
= Py_None
;
6623 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6624 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
* _resultobj
;
6628 PyObject
* _argo0
= 0;
6629 char *_kwnames
[] = { "self", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6642 wxPy_BEGIN_ALLOW_THREADS
;
6643 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6645 wxPy_END_ALLOW_THREADS
;
6646 } _resultobj
= Py_BuildValue("l",_result
);
6650 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6651 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
* _resultobj
;
6656 PyObject
* _argo0
= 0;
6657 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6670 wxPy_BEGIN_ALLOW_THREADS
;
6671 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6673 wxPy_END_ALLOW_THREADS
;
6674 } _resultobj
= Py_BuildValue("i",_result
);
6678 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6679 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
* _resultobj
;
6684 PyObject
* _argo0
= 0;
6685 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6698 wxPy_BEGIN_ALLOW_THREADS
;
6699 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6701 wxPy_END_ALLOW_THREADS
;
6702 } _resultobj
= Py_BuildValue("i",_result
);
6706 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6707 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
* _resultobj
;
6711 PyObject
* _argo0
= 0;
6712 char *_kwnames
[] = { "self", NULL
};
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6725 wxPy_BEGIN_ALLOW_THREADS
;
6726 _result
= (bool )wxPyShape_Draggable(_arg0
);
6728 wxPy_END_ALLOW_THREADS
;
6729 } _resultobj
= Py_BuildValue("i",_result
);
6733 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6734 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6739 PyObject
* _argo0
= 0;
6740 PyObject
* _argo1
= 0;
6741 char *_kwnames
[] = { "self","image", NULL
};
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6761 wxPy_BEGIN_ALLOW_THREADS
;
6762 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6764 wxPy_END_ALLOW_THREADS
;
6765 } _resultobj
= Py_BuildValue("i",_result
);
6769 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6770 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
* _resultobj
;
6772 wxPyShape
* _result
;
6774 bool _arg1
= (bool ) TRUE
;
6775 bool _arg2
= (bool ) TRUE
;
6776 PyObject
* _argo0
= 0;
6777 int tempbool1
= (int) TRUE
;
6778 int tempbool2
= (int) TRUE
;
6779 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6791 _arg1
= (bool ) tempbool1
;
6792 _arg2
= (bool ) tempbool2
;
6794 wxPy_BEGIN_ALLOW_THREADS
;
6795 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6797 wxPy_END_ALLOW_THREADS
;
6798 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
6802 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6803 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
* _resultobj
;
6807 PyObject
* _argo0
= 0;
6808 PyObject
* _argo1
= 0;
6809 char *_kwnames
[] = { "self","copy", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_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_Copy. 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_Copy. Expected _wxPyShape_p.");
6829 wxPy_BEGIN_ALLOW_THREADS
;
6830 wxPyShape_Copy(_arg0
,*_arg1
);
6832 wxPy_END_ALLOW_THREADS
;
6833 } Py_INCREF(Py_None
);
6834 _resultobj
= Py_None
;
6838 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6839 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6843 PyObject
* _argo0
= 0;
6844 PyObject
* _argo1
= 0;
6845 char *_kwnames
[] = { "self","copy", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6865 wxPy_BEGIN_ALLOW_THREADS
;
6866 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6868 wxPy_END_ALLOW_THREADS
;
6869 } Py_INCREF(Py_None
);
6870 _resultobj
= Py_None
;
6874 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6875 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6881 PyObject
* _argo0
= 0;
6882 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6895 wxPy_BEGIN_ALLOW_THREADS
;
6896 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6898 wxPy_END_ALLOW_THREADS
;
6899 } Py_INCREF(Py_None
);
6900 _resultobj
= Py_None
;
6904 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6905 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
* _resultobj
;
6909 PyObject
* _argo0
= 0;
6910 char *_kwnames
[] = { "self", NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6923 wxPy_BEGIN_ALLOW_THREADS
;
6924 _result
= (double )wxPyShape_GetRotation(_arg0
);
6926 wxPy_END_ALLOW_THREADS
;
6927 } _resultobj
= Py_BuildValue("d",_result
);
6931 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
6932 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6935 PyObject
* _argo0
= 0;
6936 char *_kwnames
[] = { "self", NULL
};
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
6942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
6949 wxPy_BEGIN_ALLOW_THREADS
;
6950 wxPyShape_ClearAttachments(_arg0
);
6952 wxPy_END_ALLOW_THREADS
;
6953 } Py_INCREF(Py_None
);
6954 _resultobj
= Py_None
;
6958 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
6959 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6963 PyObject
* _argo0
= 0;
6964 PyObject
* _argo1
= 0;
6965 char *_kwnames
[] = { "self","dc", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
6978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
6985 wxPy_BEGIN_ALLOW_THREADS
;
6986 wxPyShape_Recentre(_arg0
,*_arg1
);
6988 wxPy_END_ALLOW_THREADS
;
6989 } Py_INCREF(Py_None
);
6990 _resultobj
= Py_None
;
6994 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
6995 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
* _resultobj
;
6999 PyObject
* _argo0
= 0;
7000 PyObject
* _argo1
= 0;
7001 char *_kwnames
[] = { "self","list", NULL
};
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7021 wxPy_BEGIN_ALLOW_THREADS
;
7022 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7024 wxPy_END_ALLOW_THREADS
;
7025 } Py_INCREF(Py_None
);
7026 _resultobj
= Py_None
;
7030 #define wxPyShape_GetBackgroundPen(_swigobj) (_swigobj->GetBackgroundPen())
7031 static PyObject
*_wrap_wxPyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
* _resultobj
;
7035 PyObject
* _argo0
= 0;
7036 char *_kwnames
[] = { "self", NULL
};
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundPen",_kwnames
,&_argo0
))
7043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundPen. Expected _wxPyShape_p.");
7050 wxPy_BEGIN_ALLOW_THREADS
;
7051 _result
= new wxPen (wxPyShape_GetBackgroundPen(_arg0
));
7053 wxPy_END_ALLOW_THREADS
;
7054 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7055 _resultobj
= Py_BuildValue("s",_ptemp
);
7059 #define wxPyShape_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
7060 static PyObject
*_wrap_wxPyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
* _resultobj
;
7064 PyObject
* _argo0
= 0;
7065 char *_kwnames
[] = { "self", NULL
};
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundBrush",_kwnames
,&_argo0
))
7072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundBrush. Expected _wxPyShape_p.");
7079 wxPy_BEGIN_ALLOW_THREADS
;
7080 _result
= new wxBrush (wxPyShape_GetBackgroundBrush(_arg0
));
7082 wxPy_END_ALLOW_THREADS
;
7083 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7084 _resultobj
= Py_BuildValue("s",_ptemp
);
7088 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7089 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7092 PyObject
* _argo0
= 0;
7093 char *_kwnames
[] = { "self", NULL
};
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7106 wxPy_BEGIN_ALLOW_THREADS
;
7107 wxPyShape_base_OnDelete(_arg0
);
7109 wxPy_END_ALLOW_THREADS
;
7110 } Py_INCREF(Py_None
);
7111 _resultobj
= Py_None
;
7115 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7116 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
* _resultobj
;
7120 PyObject
* _argo0
= 0;
7121 PyObject
* _argo1
= 0;
7122 char *_kwnames
[] = { "self","dc", NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7142 wxPy_BEGIN_ALLOW_THREADS
;
7143 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7145 wxPy_END_ALLOW_THREADS
;
7146 } Py_INCREF(Py_None
);
7147 _resultobj
= Py_None
;
7151 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7152 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
* _resultobj
;
7156 PyObject
* _argo0
= 0;
7157 PyObject
* _argo1
= 0;
7158 char *_kwnames
[] = { "self","dc", NULL
};
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7178 wxPy_BEGIN_ALLOW_THREADS
;
7179 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7181 wxPy_END_ALLOW_THREADS
;
7182 } Py_INCREF(Py_None
);
7183 _resultobj
= Py_None
;
7187 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7188 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
* _resultobj
;
7192 bool _arg2
= (bool ) FALSE
;
7193 PyObject
* _argo0
= 0;
7194 PyObject
* _argo1
= 0;
7195 int tempbool2
= (int) FALSE
;
7196 char *_kwnames
[] = { "self","dc","erase", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7215 _arg2
= (bool ) tempbool2
;
7217 wxPy_BEGIN_ALLOW_THREADS
;
7218 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7220 wxPy_END_ALLOW_THREADS
;
7221 } Py_INCREF(Py_None
);
7222 _resultobj
= Py_None
;
7226 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7227 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
* _resultobj
;
7231 PyObject
* _argo0
= 0;
7232 PyObject
* _argo1
= 0;
7233 char *_kwnames
[] = { "self","dc", NULL
};
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7253 wxPy_BEGIN_ALLOW_THREADS
;
7254 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7256 wxPy_END_ALLOW_THREADS
;
7257 } Py_INCREF(Py_None
);
7258 _resultobj
= Py_None
;
7262 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7263 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7267 PyObject
* _argo0
= 0;
7268 PyObject
* _argo1
= 0;
7269 char *_kwnames
[] = { "self","dc", NULL
};
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7289 wxPy_BEGIN_ALLOW_THREADS
;
7290 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7292 wxPy_END_ALLOW_THREADS
;
7293 } Py_INCREF(Py_None
);
7294 _resultobj
= Py_None
;
7298 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7299 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7303 PyObject
* _argo0
= 0;
7304 PyObject
* _argo1
= 0;
7305 char *_kwnames
[] = { "self","dc", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7325 wxPy_BEGIN_ALLOW_THREADS
;
7326 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7328 wxPy_END_ALLOW_THREADS
;
7329 } Py_INCREF(Py_None
);
7330 _resultobj
= Py_None
;
7334 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7335 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
* _resultobj
;
7339 PyObject
* _argo0
= 0;
7340 PyObject
* _argo1
= 0;
7341 char *_kwnames
[] = { "self","dc", NULL
};
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7361 wxPy_BEGIN_ALLOW_THREADS
;
7362 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7364 wxPy_END_ALLOW_THREADS
;
7365 } Py_INCREF(Py_None
);
7366 _resultobj
= Py_None
;
7370 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7371 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
* _resultobj
;
7376 int _arg3
= (int ) 0;
7377 int _arg4
= (int ) 0;
7378 PyObject
* _argo0
= 0;
7379 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7392 wxPy_BEGIN_ALLOW_THREADS
;
7393 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7395 wxPy_END_ALLOW_THREADS
;
7396 } Py_INCREF(Py_None
);
7397 _resultobj
= Py_None
;
7401 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7402 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
* _resultobj
;
7407 int _arg3
= (int ) 0;
7408 int _arg4
= (int ) 0;
7409 PyObject
* _argo0
= 0;
7410 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7423 wxPy_BEGIN_ALLOW_THREADS
;
7424 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7426 wxPy_END_ALLOW_THREADS
;
7427 } Py_INCREF(Py_None
);
7428 _resultobj
= Py_None
;
7432 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7433 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
* _resultobj
;
7438 int _arg3
= (int ) 0;
7439 int _arg4
= (int ) 0;
7440 PyObject
* _argo0
= 0;
7441 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7454 wxPy_BEGIN_ALLOW_THREADS
;
7455 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7457 wxPy_END_ALLOW_THREADS
;
7458 } Py_INCREF(Py_None
);
7459 _resultobj
= Py_None
;
7463 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7464 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
* _resultobj
;
7469 PyObject
* _argo0
= 0;
7470 char *_kwnames
[] = { "self","x","y", NULL
};
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7483 wxPy_BEGIN_ALLOW_THREADS
;
7484 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7486 wxPy_END_ALLOW_THREADS
;
7487 } Py_INCREF(Py_None
);
7488 _resultobj
= Py_None
;
7492 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7493 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
* _resultobj
;
7502 bool _arg6
= (bool ) TRUE
;
7503 PyObject
* _argo0
= 0;
7504 PyObject
* _argo1
= 0;
7505 int tempbool6
= (int) TRUE
;
7506 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7525 _arg6
= (bool ) tempbool6
;
7527 wxPy_BEGIN_ALLOW_THREADS
;
7528 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7530 wxPy_END_ALLOW_THREADS
;
7531 } _resultobj
= Py_BuildValue("i",_result
);
7535 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7536 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
* _resultobj
;
7544 bool _arg6
= (bool ) TRUE
;
7545 PyObject
* _argo0
= 0;
7546 PyObject
* _argo1
= 0;
7547 int tempbool6
= (int) TRUE
;
7548 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7567 _arg6
= (bool ) tempbool6
;
7569 wxPy_BEGIN_ALLOW_THREADS
;
7570 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7572 wxPy_END_ALLOW_THREADS
;
7573 } Py_INCREF(Py_None
);
7574 _resultobj
= Py_None
;
7578 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7579 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
* _resultobj
;
7585 int _arg4
= (int ) 0;
7586 int _arg5
= (int ) 0;
7587 PyObject
* _argo0
= 0;
7589 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7601 _arg1
= (bool ) tempbool1
;
7603 wxPy_BEGIN_ALLOW_THREADS
;
7604 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7606 wxPy_END_ALLOW_THREADS
;
7607 } Py_INCREF(Py_None
);
7608 _resultobj
= Py_None
;
7612 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7613 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
* _resultobj
;
7618 int _arg3
= (int ) 0;
7619 int _arg4
= (int ) 0;
7620 PyObject
* _argo0
= 0;
7621 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7634 wxPy_BEGIN_ALLOW_THREADS
;
7635 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7637 wxPy_END_ALLOW_THREADS
;
7638 } Py_INCREF(Py_None
);
7639 _resultobj
= Py_None
;
7643 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7644 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7649 int _arg3
= (int ) 0;
7650 int _arg4
= (int ) 0;
7651 PyObject
* _argo0
= 0;
7652 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7665 wxPy_BEGIN_ALLOW_THREADS
;
7666 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7668 wxPy_END_ALLOW_THREADS
;
7669 } Py_INCREF(Py_None
);
7670 _resultobj
= Py_None
;
7674 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7675 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
* _resultobj
;
7681 int _arg4
= (int ) 0;
7682 int _arg5
= (int ) 0;
7683 PyObject
* _argo0
= 0;
7685 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7697 _arg1
= (bool ) tempbool1
;
7699 wxPy_BEGIN_ALLOW_THREADS
;
7700 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7702 wxPy_END_ALLOW_THREADS
;
7703 } Py_INCREF(Py_None
);
7704 _resultobj
= Py_None
;
7708 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7709 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
* _resultobj
;
7714 int _arg3
= (int ) 0;
7715 int _arg4
= (int ) 0;
7716 PyObject
* _argo0
= 0;
7717 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7730 wxPy_BEGIN_ALLOW_THREADS
;
7731 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7733 wxPy_END_ALLOW_THREADS
;
7734 } Py_INCREF(Py_None
);
7735 _resultobj
= Py_None
;
7739 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7740 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7745 int _arg3
= (int ) 0;
7746 int _arg4
= (int ) 0;
7747 PyObject
* _argo0
= 0;
7748 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7761 wxPy_BEGIN_ALLOW_THREADS
;
7762 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7764 wxPy_END_ALLOW_THREADS
;
7765 } Py_INCREF(Py_None
);
7766 _resultobj
= Py_None
;
7770 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7771 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
* _resultobj
;
7779 PyObject
* _argo0
= 0;
7780 PyObject
* _argo1
= 0;
7781 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7794 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7795 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7801 wxPy_BEGIN_ALLOW_THREADS
;
7802 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7804 wxPy_END_ALLOW_THREADS
;
7805 } Py_INCREF(Py_None
);
7806 _resultobj
= Py_None
;
7810 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7811 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
* _resultobj
;
7815 PyObject
* _argo0
= 0;
7816 PyObject
* _argo1
= 0;
7817 char *_kwnames
[] = { "self","dc", NULL
};
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7837 wxPy_BEGIN_ALLOW_THREADS
;
7838 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7840 wxPy_END_ALLOW_THREADS
;
7841 } Py_INCREF(Py_None
);
7842 _resultobj
= Py_None
;
7846 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7847 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
* _resultobj
;
7851 PyObject
* _argo0
= 0;
7852 PyObject
* _argo1
= 0;
7853 char *_kwnames
[] = { "self","dc", NULL
};
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7866 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7873 wxPy_BEGIN_ALLOW_THREADS
;
7874 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7876 wxPy_END_ALLOW_THREADS
;
7877 } Py_INCREF(Py_None
);
7878 _resultobj
= Py_None
;
7882 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7883 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
* _resultobj
;
7887 bool _arg2
= (bool ) TRUE
;
7888 PyObject
* _argo0
= 0;
7889 PyObject
* _argo1
= 0;
7890 int tempbool2
= (int) TRUE
;
7891 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7910 _arg2
= (bool ) tempbool2
;
7912 wxPy_BEGIN_ALLOW_THREADS
;
7913 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7915 wxPy_END_ALLOW_THREADS
;
7916 } Py_INCREF(Py_None
);
7917 _resultobj
= Py_None
;
7921 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7922 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7925 wxPyControlPoint
* _arg1
;
7929 int _arg5
= (int ) 0;
7930 int _arg6
= (int ) 0;
7931 PyObject
* _argo0
= 0;
7932 PyObject
* _argo1
= 0;
7934 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7953 _arg2
= (bool ) tempbool2
;
7955 wxPy_BEGIN_ALLOW_THREADS
;
7956 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7958 wxPy_END_ALLOW_THREADS
;
7959 } Py_INCREF(Py_None
);
7960 _resultobj
= Py_None
;
7964 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7965 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
* _resultobj
;
7968 wxPyControlPoint
* _arg1
;
7971 int _arg4
= (int ) 0;
7972 int _arg5
= (int ) 0;
7973 PyObject
* _argo0
= 0;
7974 PyObject
* _argo1
= 0;
7975 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
7988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7995 wxPy_BEGIN_ALLOW_THREADS
;
7996 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7998 wxPy_END_ALLOW_THREADS
;
7999 } Py_INCREF(Py_None
);
8000 _resultobj
= Py_None
;
8004 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8005 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8008 wxPyControlPoint
* _arg1
;
8011 int _arg4
= (int ) 0;
8012 int _arg5
= (int ) 0;
8013 PyObject
* _argo0
= 0;
8014 PyObject
* _argo1
= 0;
8015 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8035 wxPy_BEGIN_ALLOW_THREADS
;
8036 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8038 wxPy_END_ALLOW_THREADS
;
8039 } Py_INCREF(Py_None
);
8040 _resultobj
= Py_None
;
8044 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8045 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
* _resultobj
;
8050 PyObject
* _argo0
= 0;
8051 char *_kwnames
[] = { "self","w","h", NULL
};
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8064 wxPy_BEGIN_ALLOW_THREADS
;
8065 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8067 wxPy_END_ALLOW_THREADS
;
8068 } Py_INCREF(Py_None
);
8069 _resultobj
= Py_None
;
8073 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8074 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
* _resultobj
;
8079 PyObject
* _argo0
= 0;
8080 char *_kwnames
[] = { "self","w","h", NULL
};
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8093 wxPy_BEGIN_ALLOW_THREADS
;
8094 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8096 wxPy_END_ALLOW_THREADS
;
8097 } Py_INCREF(Py_None
);
8098 _resultobj
= Py_None
;
8102 static PyMethodDef oglbasiccMethods
[] = {
8103 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxPyShape_GetBackgroundBrush", (PyCFunction
) _wrap_wxPyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxPyShape_GetBackgroundPen", (PyCFunction
) _wrap_wxPyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxPyShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxPyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxPyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8340 * This table is used by the pointer type-checker
8342 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8343 { "_signed_long","_long",0},
8344 { "_wxPrintQuality","_wxCoord",0},
8345 { "_wxPrintQuality","_int",0},
8346 { "_wxPrintQuality","_signed_int",0},
8347 { "_wxPrintQuality","_unsigned_int",0},
8348 { "_wxPrintQuality","_wxWindowID",0},
8349 { "_wxPrintQuality","_uint",0},
8350 { "_wxPrintQuality","_EBool",0},
8351 { "_wxPrintQuality","_size_t",0},
8352 { "_wxPrintQuality","_time_t",0},
8353 { "_byte","_unsigned_char",0},
8354 { "_long","_unsigned_long",0},
8355 { "_long","_signed_long",0},
8356 { "_size_t","_wxCoord",0},
8357 { "_size_t","_wxPrintQuality",0},
8358 { "_size_t","_time_t",0},
8359 { "_size_t","_unsigned_int",0},
8360 { "_size_t","_int",0},
8361 { "_size_t","_wxWindowID",0},
8362 { "_size_t","_uint",0},
8363 { "_uint","_wxCoord",0},
8364 { "_uint","_wxPrintQuality",0},
8365 { "_uint","_time_t",0},
8366 { "_uint","_size_t",0},
8367 { "_uint","_unsigned_int",0},
8368 { "_uint","_int",0},
8369 { "_uint","_wxWindowID",0},
8370 { "_wxChar","_char",0},
8371 { "_char","_wxChar",0},
8372 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8373 { "_EBool","_wxCoord",0},
8374 { "_EBool","_wxPrintQuality",0},
8375 { "_EBool","_signed_int",0},
8376 { "_EBool","_int",0},
8377 { "_EBool","_wxWindowID",0},
8378 { "_unsigned_long","_long",0},
8379 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8380 { "_signed_int","_wxCoord",0},
8381 { "_signed_int","_wxPrintQuality",0},
8382 { "_signed_int","_EBool",0},
8383 { "_signed_int","_wxWindowID",0},
8384 { "_signed_int","_int",0},
8385 { "_WXTYPE","_wxDateTime_t",0},
8386 { "_WXTYPE","_short",0},
8387 { "_WXTYPE","_signed_short",0},
8388 { "_WXTYPE","_unsigned_short",0},
8389 { "_unsigned_short","_wxDateTime_t",0},
8390 { "_unsigned_short","_WXTYPE",0},
8391 { "_unsigned_short","_short",0},
8392 { "_wxObject","_wxPyShape",SwigwxPyShapeTowxObject
},
8393 { "_wxObject","_wxPyShapeEvtHandler",SwigwxPyShapeEvtHandlerTowxObject
},
8394 { "_wxObject","_wxShapeRegion",SwigwxShapeRegionTowxObject
},
8395 { "_signed_short","_WXTYPE",0},
8396 { "_signed_short","_short",0},
8397 { "_unsigned_char","_byte",0},
8398 { "_unsigned_int","_wxCoord",0},
8399 { "_unsigned_int","_wxPrintQuality",0},
8400 { "_unsigned_int","_time_t",0},
8401 { "_unsigned_int","_size_t",0},
8402 { "_unsigned_int","_uint",0},
8403 { "_unsigned_int","_wxWindowID",0},
8404 { "_unsigned_int","_int",0},
8405 { "_short","_wxDateTime_t",0},
8406 { "_short","_WXTYPE",0},
8407 { "_short","_unsigned_short",0},
8408 { "_short","_signed_short",0},
8409 { "_wxWindowID","_wxCoord",0},
8410 { "_wxWindowID","_wxPrintQuality",0},
8411 { "_wxWindowID","_time_t",0},
8412 { "_wxWindowID","_size_t",0},
8413 { "_wxWindowID","_EBool",0},
8414 { "_wxWindowID","_uint",0},
8415 { "_wxWindowID","_int",0},
8416 { "_wxWindowID","_signed_int",0},
8417 { "_wxWindowID","_unsigned_int",0},
8418 { "_int","_wxCoord",0},
8419 { "_int","_wxPrintQuality",0},
8420 { "_int","_time_t",0},
8421 { "_int","_size_t",0},
8422 { "_int","_EBool",0},
8423 { "_int","_uint",0},
8424 { "_int","_wxWindowID",0},
8425 { "_int","_unsigned_int",0},
8426 { "_int","_signed_int",0},
8427 { "_wxDateTime_t","_unsigned_short",0},
8428 { "_wxDateTime_t","_short",0},
8429 { "_wxDateTime_t","_WXTYPE",0},
8430 { "_time_t","_wxCoord",0},
8431 { "_time_t","_wxPrintQuality",0},
8432 { "_time_t","_unsigned_int",0},
8433 { "_time_t","_int",0},
8434 { "_time_t","_wxWindowID",0},
8435 { "_time_t","_uint",0},
8436 { "_time_t","_size_t",0},
8437 { "_wxCoord","_int",0},
8438 { "_wxCoord","_signed_int",0},
8439 { "_wxCoord","_unsigned_int",0},
8440 { "_wxCoord","_wxWindowID",0},
8441 { "_wxCoord","_uint",0},
8442 { "_wxCoord","_EBool",0},
8443 { "_wxCoord","_size_t",0},
8444 { "_wxCoord","_time_t",0},
8445 { "_wxCoord","_wxPrintQuality",0},
8446 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8449 static PyObject
*SWIG_globals
;
8453 SWIGEXPORT(void) initoglbasicc() {
8455 SWIG_globals
= SWIG_newvarlink();
8456 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8457 d
= PyModule_GetDict(m
);
8460 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8461 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);