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 static void wxPyShape_SetClientData(wxPyShape
*self
,PyObject
* userData
) {
4359 wxPyUserData
* data
= NULL
;
4361 data
= new wxPyUserData(userData
);
4362 self
->SetClientData(data
);
4364 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4368 PyObject
* _argo0
= 0;
4369 PyObject
* _obj1
= 0;
4370 char *_kwnames
[] = { "self","userData", NULL
};
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_obj1
))
4376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 wxPyShape_SetClientData(_arg0
,_arg1
);
4389 wxPy_END_ALLOW_THREADS
;
4390 } Py_INCREF(Py_None
);
4391 _resultobj
= Py_None
;
4395 static PyObject
* wxPyShape_GetClientData(wxPyShape
*self
) {
4396 wxPyUserData
* data
= (wxPyUserData
*)self
->GetClientData();
4398 Py_INCREF(data
->m_obj
);
4405 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4423 wxPy_BEGIN_ALLOW_THREADS
;
4424 _result
= (PyObject
*)wxPyShape_GetClientData(_arg0
);
4426 wxPy_END_ALLOW_THREADS
;
4428 _resultobj
= _result
;
4433 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4434 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
* _resultobj
;
4438 PyObject
* _argo0
= 0;
4440 char *_kwnames
[] = { "self","show", NULL
};
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4452 _arg1
= (bool ) tempbool1
;
4454 wxPy_BEGIN_ALLOW_THREADS
;
4455 wxPyShape_Show(_arg0
,_arg1
);
4457 wxPy_END_ALLOW_THREADS
;
4458 } Py_INCREF(Py_None
);
4459 _resultobj
= Py_None
;
4463 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4464 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4468 PyObject
* _argo0
= 0;
4469 char *_kwnames
[] = { "self", NULL
};
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4482 wxPy_BEGIN_ALLOW_THREADS
;
4483 _result
= (bool )wxPyShape_IsShown(_arg0
);
4485 wxPy_END_ALLOW_THREADS
;
4486 } _resultobj
= Py_BuildValue("i",_result
);
4490 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4491 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4497 bool _arg4
= (bool ) TRUE
;
4498 PyObject
* _argo0
= 0;
4499 PyObject
* _argo1
= 0;
4500 int tempbool4
= (int) TRUE
;
4501 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4520 _arg4
= (bool ) tempbool4
;
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4525 wxPy_END_ALLOW_THREADS
;
4526 } Py_INCREF(Py_None
);
4527 _resultobj
= Py_None
;
4531 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4532 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4536 PyObject
* _argo0
= 0;
4537 PyObject
* _argo1
= 0;
4538 char *_kwnames
[] = { "self","dc", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 wxPyShape_Erase(_arg0
,*_arg1
);
4561 wxPy_END_ALLOW_THREADS
;
4562 } Py_INCREF(Py_None
);
4563 _resultobj
= Py_None
;
4567 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4568 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4572 PyObject
* _argo0
= 0;
4573 PyObject
* _argo1
= 0;
4574 char *_kwnames
[] = { "self","dc", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4594 wxPy_BEGIN_ALLOW_THREADS
;
4595 wxPyShape_EraseContents(_arg0
,*_arg1
);
4597 wxPy_END_ALLOW_THREADS
;
4598 } Py_INCREF(Py_None
);
4599 _resultobj
= Py_None
;
4603 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4604 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4608 PyObject
* _argo0
= 0;
4609 PyObject
* _argo1
= 0;
4610 char *_kwnames
[] = { "self","dc", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4630 wxPy_BEGIN_ALLOW_THREADS
;
4631 wxPyShape_Draw(_arg0
,*_arg1
);
4633 wxPy_END_ALLOW_THREADS
;
4634 } Py_INCREF(Py_None
);
4635 _resultobj
= Py_None
;
4639 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4640 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4643 PyObject
* _argo0
= 0;
4644 char *_kwnames
[] = { "self", NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4657 wxPy_BEGIN_ALLOW_THREADS
;
4658 wxPyShape_Flash(_arg0
);
4660 wxPy_END_ALLOW_THREADS
;
4661 } Py_INCREF(Py_None
);
4662 _resultobj
= Py_None
;
4666 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4667 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
* _resultobj
;
4671 PyObject
* _argo0
= 0;
4672 PyObject
* _argo1
= 0;
4673 char *_kwnames
[] = { "self","dc", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4693 wxPy_BEGIN_ALLOW_THREADS
;
4694 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4696 wxPy_END_ALLOW_THREADS
;
4697 } Py_INCREF(Py_None
);
4698 _resultobj
= Py_None
;
4702 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4703 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4707 PyObject
* _argo0
= 0;
4708 PyObject
* _argo1
= 0;
4709 char *_kwnames
[] = { "self","dc", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4729 wxPy_BEGIN_ALLOW_THREADS
;
4730 wxPyShape_DrawContents(_arg0
,*_arg1
);
4732 wxPy_END_ALLOW_THREADS
;
4733 } Py_INCREF(Py_None
);
4734 _resultobj
= Py_None
;
4738 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4739 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4744 bool _arg3
= (bool ) TRUE
;
4745 PyObject
* _argo0
= 0;
4746 int tempbool3
= (int) TRUE
;
4747 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4759 _arg3
= (bool ) tempbool3
;
4761 wxPy_BEGIN_ALLOW_THREADS
;
4762 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4764 wxPy_END_ALLOW_THREADS
;
4765 } Py_INCREF(Py_None
);
4766 _resultobj
= Py_None
;
4770 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4771 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
* _resultobj
;
4776 PyObject
* _argo0
= 0;
4777 char *_kwnames
[] = { "self","x","y", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4790 wxPy_BEGIN_ALLOW_THREADS
;
4791 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4793 wxPy_END_ALLOW_THREADS
;
4794 } Py_INCREF(Py_None
);
4795 _resultobj
= Py_None
;
4799 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4800 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4803 wxPyShapeCanvas
* _arg1
;
4804 PyObject
* _argo0
= 0;
4805 PyObject
* _argo1
= 0;
4806 char *_kwnames
[] = { "self","can", NULL
};
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4826 wxPy_BEGIN_ALLOW_THREADS
;
4827 wxPyShape_Attach(_arg0
,_arg1
);
4829 wxPy_END_ALLOW_THREADS
;
4830 } Py_INCREF(Py_None
);
4831 _resultobj
= Py_None
;
4835 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4836 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4839 PyObject
* _argo0
= 0;
4840 char *_kwnames
[] = { "self", NULL
};
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4853 wxPy_BEGIN_ALLOW_THREADS
;
4854 wxPyShape_Detach(_arg0
);
4856 wxPy_END_ALLOW_THREADS
;
4857 } Py_INCREF(Py_None
);
4858 _resultobj
= Py_None
;
4862 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4863 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4867 PyObject
* _argo0
= 0;
4868 char *_kwnames
[] = { "self", NULL
};
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4881 wxPy_BEGIN_ALLOW_THREADS
;
4882 _result
= (bool )wxPyShape_Constrain(_arg0
);
4884 wxPy_END_ALLOW_THREADS
;
4885 } _resultobj
= Py_BuildValue("i",_result
);
4889 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4890 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
* _resultobj
;
4893 wxPyLineShape
* _arg1
;
4895 int _arg3
= (int ) 0;
4896 int _arg4
= (int ) 0;
4897 int _arg5
= (int ) -1;
4898 int _arg6
= (int ) -1;
4899 PyObject
* _argo0
= 0;
4900 PyObject
* _argo1
= 0;
4901 PyObject
* _argo2
= 0;
4902 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4922 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4929 wxPy_BEGIN_ALLOW_THREADS
;
4930 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4932 wxPy_END_ALLOW_THREADS
;
4933 } Py_INCREF(Py_None
);
4934 _resultobj
= Py_None
;
4938 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4939 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4943 wxPyLineShape
* _arg1
;
4944 PyObject
* _argo0
= 0;
4945 PyObject
* _argo1
= 0;
4946 char *_kwnames
[] = { "self","line", NULL
};
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4969 wxPy_END_ALLOW_THREADS
;
4970 } _resultobj
= Py_BuildValue("i",_result
);
4974 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4975 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
* _resultobj
;
4979 PyObject
* _argo0
= 0;
4980 PyObject
* _obj1
= 0;
4981 char *_kwnames
[] = { "self","string", NULL
};
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4994 #if PYTHON_API_VERSION >= 1009
4995 char* tmpPtr
; int tmpSize
;
4996 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4997 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5000 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5002 _arg1
= new wxString(tmpPtr
, tmpSize
);
5004 if (!PyString_Check(_obj1
)) {
5005 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5008 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5012 wxPy_BEGIN_ALLOW_THREADS
;
5013 wxPyShape_AddText(_arg0
,*_arg1
);
5015 wxPy_END_ALLOW_THREADS
;
5016 } Py_INCREF(Py_None
);
5017 _resultobj
= Py_None
;
5025 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5026 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5030 PyObject
* _argo0
= 0;
5031 char *_kwnames
[] = { "self", NULL
};
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
5038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5045 wxPy_BEGIN_ALLOW_THREADS
;
5046 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
5048 wxPy_END_ALLOW_THREADS
;
5050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5051 _resultobj
= Py_BuildValue("s",_ptemp
);
5054 _resultobj
= Py_None
;
5059 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5060 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5064 PyObject
* _argo0
= 0;
5065 char *_kwnames
[] = { "self", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5079 wxPy_BEGIN_ALLOW_THREADS
;
5080 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5082 wxPy_END_ALLOW_THREADS
;
5084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5085 _resultobj
= Py_BuildValue("s",_ptemp
);
5088 _resultobj
= Py_None
;
5093 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5094 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5097 PyObject
* _argo0
= 0;
5098 char *_kwnames
[] = { "self", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5111 wxPy_BEGIN_ALLOW_THREADS
;
5112 wxPyShape_SetDefaultRegionSize(_arg0
);
5114 wxPy_END_ALLOW_THREADS
;
5115 } Py_INCREF(Py_None
);
5116 _resultobj
= Py_None
;
5120 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5121 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
* _resultobj
;
5126 int _arg3
= (int ) 0;
5127 PyObject
* _argo0
= 0;
5128 PyObject
* _argo1
= 0;
5129 PyObject
* _obj2
= 0;
5130 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5150 #if PYTHON_API_VERSION >= 1009
5151 char* tmpPtr
; int tmpSize
;
5152 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5156 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5158 _arg2
= new wxString(tmpPtr
, tmpSize
);
5160 if (!PyString_Check(_obj2
)) {
5161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5164 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5168 wxPy_BEGIN_ALLOW_THREADS
;
5169 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5171 wxPy_END_ALLOW_THREADS
;
5172 } Py_INCREF(Py_None
);
5173 _resultobj
= Py_None
;
5181 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5182 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5186 int _arg2
= (int ) 0;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5201 wxPy_BEGIN_ALLOW_THREADS
;
5202 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5204 wxPy_END_ALLOW_THREADS
;
5205 } Py_INCREF(Py_None
);
5206 _resultobj
= Py_None
;
5210 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5211 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5215 int _arg1
= (int ) 0;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self","regionId", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5230 wxPy_BEGIN_ALLOW_THREADS
;
5231 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5233 wxPy_END_ALLOW_THREADS
;
5234 } _resultobj
= Py_BuildValue("i",_result
);
5238 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5239 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5243 int _arg2
= (int ) 0;
5244 PyObject
* _argo0
= 0;
5245 PyObject
* _obj1
= 0;
5246 char *_kwnames
[] = { "self","font","regionId", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5261 if (_obj1
== Py_None
) { temp
= NULL
; }
5262 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
5268 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5272 temp
->GetUnderlined(),
5273 temp
->GetFaceName(),
5274 temp
->GetEncoding());
5279 wxPy_BEGIN_ALLOW_THREADS
;
5280 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5282 wxPy_END_ALLOW_THREADS
;
5283 } Py_INCREF(Py_None
);
5284 _resultobj
= Py_None
;
5288 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5289 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
* _resultobj
;
5293 int _arg1
= (int ) 0;
5294 PyObject
* _argo0
= 0;
5295 char *_kwnames
[] = { "self","regionId", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5309 wxPy_BEGIN_ALLOW_THREADS
;
5310 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5312 wxPy_END_ALLOW_THREADS
;
5314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5315 _resultobj
= Py_BuildValue("s",_ptemp
);
5318 _resultobj
= Py_None
;
5323 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5324 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
* _resultobj
;
5328 int _arg2
= (int ) 0;
5329 PyObject
* _argo0
= 0;
5330 PyObject
* _obj1
= 0;
5331 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5344 #if PYTHON_API_VERSION >= 1009
5345 char* tmpPtr
; int tmpSize
;
5346 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5350 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5352 _arg1
= new wxString(tmpPtr
, tmpSize
);
5354 if (!PyString_Check(_obj1
)) {
5355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5358 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5362 wxPy_BEGIN_ALLOW_THREADS
;
5363 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5365 wxPy_END_ALLOW_THREADS
;
5366 } Py_INCREF(Py_None
);
5367 _resultobj
= Py_None
;
5375 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5376 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5380 int _arg1
= (int ) 0;
5381 PyObject
* _argo0
= 0;
5382 char *_kwnames
[] = { "self","regionId", NULL
};
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5395 wxPy_BEGIN_ALLOW_THREADS
;
5396 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5398 wxPy_END_ALLOW_THREADS
;
5400 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5408 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5409 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5413 PyObject
* _argo0
= 0;
5414 char *_kwnames
[] = { "self", NULL
};
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5430 wxPy_END_ALLOW_THREADS
;
5431 } _resultobj
= Py_BuildValue("i",_result
);
5435 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5436 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5440 int _arg2
= (int ) 0;
5441 PyObject
* _argo0
= 0;
5442 PyObject
* _obj1
= 0;
5443 char *_kwnames
[] = { "self","name","regionId", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5456 #if PYTHON_API_VERSION >= 1009
5457 char* tmpPtr
; int tmpSize
;
5458 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5462 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5464 _arg1
= new wxString(tmpPtr
, tmpSize
);
5466 if (!PyString_Check(_obj1
)) {
5467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5470 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5474 wxPy_BEGIN_ALLOW_THREADS
;
5475 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5477 wxPy_END_ALLOW_THREADS
;
5478 } Py_INCREF(Py_None
);
5479 _resultobj
= Py_None
;
5487 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5488 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
* _resultobj
;
5493 PyObject
* _argo0
= 0;
5494 char *_kwnames
[] = { "self","regionId", NULL
};
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5507 wxPy_BEGIN_ALLOW_THREADS
;
5508 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5510 wxPy_END_ALLOW_THREADS
;
5512 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5520 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5521 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5526 PyObject
* _argo0
= 0;
5527 PyObject
* _obj1
= 0;
5528 char *_kwnames
[] = { "self","name", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5541 #if PYTHON_API_VERSION >= 1009
5542 char* tmpPtr
; int tmpSize
;
5543 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5547 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5549 _arg1
= new wxString(tmpPtr
, tmpSize
);
5551 if (!PyString_Check(_obj1
)) {
5552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5555 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5559 wxPy_BEGIN_ALLOW_THREADS
;
5560 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5562 wxPy_END_ALLOW_THREADS
;
5563 } _resultobj
= Py_BuildValue("i",_result
);
5571 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5572 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5575 wxString
* _arg1
= (wxString
*) &"";
5576 PyObject
* _argo0
= 0;
5577 PyObject
* _obj1
= 0;
5578 char *_kwnames
[] = { "self","parentName", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5592 #if PYTHON_API_VERSION >= 1009
5593 char* tmpPtr
; int tmpSize
;
5594 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5598 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5600 _arg1
= new wxString(tmpPtr
, tmpSize
);
5602 if (!PyString_Check(_obj1
)) {
5603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5606 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5610 wxPy_BEGIN_ALLOW_THREADS
;
5611 wxPyShape_NameRegions(_arg0
,*_arg1
);
5613 wxPy_END_ALLOW_THREADS
;
5614 } Py_INCREF(Py_None
);
5615 _resultobj
= Py_None
;
5623 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5624 wxList
& list
= self
->GetRegions();
5625 return wxPy_ConvertList(&list
, "wxShapeRegion");
5627 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5631 PyObject
* _argo0
= 0;
5632 char *_kwnames
[] = { "self", NULL
};
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5645 wxPy_BEGIN_ALLOW_THREADS
;
5646 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5648 wxPy_END_ALLOW_THREADS
;
5650 _resultobj
= _result
;
5655 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5656 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5659 wxShapeRegion
* _arg1
;
5660 PyObject
* _argo0
= 0;
5661 PyObject
* _argo1
= 0;
5662 char *_kwnames
[] = { "self","region", NULL
};
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5682 wxPy_BEGIN_ALLOW_THREADS
;
5683 wxPyShape_AddRegion(_arg0
,_arg1
);
5685 wxPy_END_ALLOW_THREADS
;
5686 } Py_INCREF(Py_None
);
5687 _resultobj
= Py_None
;
5691 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5692 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 PyObject
* _argo0
= 0;
5696 char *_kwnames
[] = { "self", NULL
};
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5709 wxPy_BEGIN_ALLOW_THREADS
;
5710 wxPyShape_ClearRegions(_arg0
);
5712 wxPy_END_ALLOW_THREADS
;
5713 } Py_INCREF(Py_None
);
5714 _resultobj
= Py_None
;
5718 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5719 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5722 PyObject
* _argo0
= 0;
5723 char *_kwnames
[] = { "self", NULL
};
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5736 wxPy_BEGIN_ALLOW_THREADS
;
5737 wxPyShape_AssignNewIds(_arg0
);
5739 wxPy_END_ALLOW_THREADS
;
5740 } Py_INCREF(Py_None
);
5741 _resultobj
= Py_None
;
5745 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5746 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
* _resultobj
;
5748 wxPyShape
* _result
;
5753 PyObject
* _argo0
= 0;
5754 PyObject
* _obj1
= 0;
5755 char *_kwnames
[] = { "self","regionName", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5771 #if PYTHON_API_VERSION >= 1009
5772 char* tmpPtr
; int tmpSize
;
5773 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5777 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5779 _arg1
= new wxString(tmpPtr
, tmpSize
);
5781 if (!PyString_Check(_obj1
)) {
5782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5785 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5789 wxPy_BEGIN_ALLOW_THREADS
;
5790 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5792 wxPy_END_ALLOW_THREADS
;
5793 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
5796 o
= PyInt_FromLong((long) (*_arg2
));
5797 _resultobj
= t_output_helper(_resultobj
, o
);
5806 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5807 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5810 wxStringList
* _arg1
;
5811 PyObject
* _argo0
= 0;
5812 PyObject
* _argo1
= 0;
5813 char *_kwnames
[] = { "self","list", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5833 wxPy_BEGIN_ALLOW_THREADS
;
5834 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5836 wxPy_END_ALLOW_THREADS
;
5837 } Py_INCREF(Py_None
);
5838 _resultobj
= Py_None
;
5842 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5843 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
* _resultobj
;
5846 int _arg1
= (int ) 0;
5847 PyObject
* _argo0
= 0;
5848 char *_kwnames
[] = { "self","regionId", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5861 wxPy_BEGIN_ALLOW_THREADS
;
5862 wxPyShape_ClearText(_arg0
,_arg1
);
5864 wxPy_END_ALLOW_THREADS
;
5865 } Py_INCREF(Py_None
);
5866 _resultobj
= Py_None
;
5870 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5871 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5874 wxPyLineShape
* _arg1
;
5875 PyObject
* _argo0
= 0;
5876 PyObject
* _argo1
= 0;
5877 char *_kwnames
[] = { "self","line", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5890 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5891 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5897 wxPy_BEGIN_ALLOW_THREADS
;
5898 wxPyShape_RemoveLine(_arg0
,_arg1
);
5900 wxPy_END_ALLOW_THREADS
;
5901 } Py_INCREF(Py_None
);
5902 _resultobj
= Py_None
;
5906 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5907 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5916 int _arg4
= (int ) 0;
5917 int _arg5
= (int ) 1;
5918 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5919 PyObject
* _argo0
= 0;
5920 PyObject
* _argo6
= 0;
5921 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5940 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5947 wxPy_BEGIN_ALLOW_THREADS
;
5948 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5950 wxPy_END_ALLOW_THREADS
;
5951 } _resultobj
= Py_BuildValue("i",_result
);
5954 o
= PyFloat_FromDouble((double) (*_arg2
));
5955 _resultobj
= t_output_helper(_resultobj
, o
);
5959 o
= PyFloat_FromDouble((double) (*_arg3
));
5960 _resultobj
= t_output_helper(_resultobj
, o
);
5965 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5966 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5970 PyObject
* _argo0
= 0;
5971 char *_kwnames
[] = { "self", NULL
};
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5984 wxPy_BEGIN_ALLOW_THREADS
;
5985 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5987 wxPy_END_ALLOW_THREADS
;
5988 } _resultobj
= Py_BuildValue("i",_result
);
5992 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5993 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
* _resultobj
;
5998 PyObject
* _argo0
= 0;
5999 char *_kwnames
[] = { "self","attachment", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
6012 wxPy_BEGIN_ALLOW_THREADS
;
6013 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
6015 wxPy_END_ALLOW_THREADS
;
6016 } _resultobj
= Py_BuildValue("i",_result
);
6020 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6021 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
* _resultobj
;
6030 int _arg4
= (int ) 0;
6031 int _arg5
= (int ) 1;
6032 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6033 PyObject
* _argo0
= 0;
6034 PyObject
* _argo6
= 0;
6035 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6054 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6061 wxPy_BEGIN_ALLOW_THREADS
;
6062 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6064 wxPy_END_ALLOW_THREADS
;
6065 } _resultobj
= Py_BuildValue("i",_result
);
6068 o
= PyFloat_FromDouble((double) (*_arg2
));
6069 _resultobj
= t_output_helper(_resultobj
, o
);
6073 o
= PyFloat_FromDouble((double) (*_arg3
));
6074 _resultobj
= t_output_helper(_resultobj
, o
);
6079 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6080 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6082 wxRealPoint
* _result
;
6084 wxRealPoint
* _arg1
;
6085 wxRealPoint
* _arg2
;
6088 wxPyLineShape
* _arg5
;
6089 PyObject
* _argo0
= 0;
6091 PyObject
* _obj1
= 0;
6093 PyObject
* _obj2
= 0;
6094 PyObject
* _argo5
= 0;
6095 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6110 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6115 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6119 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6129 wxPy_END_ALLOW_THREADS
;
6130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6131 _resultobj
= Py_BuildValue("s",_ptemp
);
6135 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6136 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6141 wxRealPoint
* _arg2
;
6142 wxRealPoint
* _arg3
;
6143 PyObject
* _argo0
= 0;
6145 PyObject
* _obj2
= 0;
6147 PyObject
* _obj3
= 0;
6148 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6162 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6167 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6171 wxPy_BEGIN_ALLOW_THREADS
;
6172 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6174 wxPy_END_ALLOW_THREADS
;
6175 } _resultobj
= Py_BuildValue("i",_result
);
6179 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6180 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
* _resultobj
;
6184 int _arg2
= (int ) -1;
6185 bool _arg3
= (bool ) FALSE
;
6186 PyObject
* _argo0
= 0;
6187 PyObject
* _argo1
= 0;
6188 int tempbool3
= (int) FALSE
;
6189 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6208 _arg3
= (bool ) tempbool3
;
6210 wxPy_BEGIN_ALLOW_THREADS
;
6211 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6213 wxPy_END_ALLOW_THREADS
;
6214 } Py_INCREF(Py_None
);
6215 _resultobj
= Py_None
;
6219 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6220 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6224 int _arg2
= (int ) -1;
6225 bool _arg3
= (bool ) FALSE
;
6226 PyObject
* _argo0
= 0;
6227 PyObject
* _argo1
= 0;
6228 int tempbool3
= (int) FALSE
;
6229 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6248 _arg3
= (bool ) tempbool3
;
6250 wxPy_BEGIN_ALLOW_THREADS
;
6251 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6253 wxPy_END_ALLOW_THREADS
;
6254 } Py_INCREF(Py_None
);
6255 _resultobj
= Py_None
;
6259 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6260 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6265 wxPyLineShape
* _arg2
;
6268 PyObject
* _argo0
= 0;
6269 PyObject
* _argo1
= 0;
6270 PyObject
* _argo2
= 0;
6271 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6291 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6292 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6298 wxPy_BEGIN_ALLOW_THREADS
;
6299 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6301 wxPy_END_ALLOW_THREADS
;
6302 } _resultobj
= Py_BuildValue("i",_result
);
6306 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6307 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6308 self
->ApplyAttachmentOrdering(*list
);
6311 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
* _resultobj
;
6315 PyObject
* _argo0
= 0;
6316 PyObject
* _obj1
= 0;
6317 char *_kwnames
[] = { "self","linesToSort", NULL
};
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6333 wxPy_BEGIN_ALLOW_THREADS
;
6334 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6336 wxPy_END_ALLOW_THREADS
;
6337 } Py_INCREF(Py_None
);
6338 _resultobj
= Py_None
;
6342 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6343 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6345 wxRealPoint
* _result
;
6348 PyObject
* _argo0
= 0;
6349 char *_kwnames
[] = { "self","attachment", NULL
};
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6363 wxPy_BEGIN_ALLOW_THREADS
;
6364 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6366 wxPy_END_ALLOW_THREADS
;
6367 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6368 _resultobj
= Py_BuildValue("s",_ptemp
);
6372 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6373 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
* _resultobj
;
6378 wxRealPoint
* _arg2
;
6379 wxRealPoint
* _arg3
;
6380 wxRealPoint
* _arg4
;
6381 wxRealPoint
* _arg5
;
6382 PyObject
* _argo0
= 0;
6384 PyObject
* _obj2
= 0;
6386 PyObject
* _obj3
= 0;
6388 PyObject
* _obj4
= 0;
6390 PyObject
* _obj5
= 0;
6391 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6405 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6410 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6415 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6420 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6424 wxPy_BEGIN_ALLOW_THREADS
;
6425 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6427 wxPy_END_ALLOW_THREADS
;
6428 } _resultobj
= Py_BuildValue("i",_result
);
6432 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6433 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
* _resultobj
;
6439 wxRealPoint
* _arg3
;
6440 wxRealPoint
* _arg4
;
6441 PyObject
* _argo0
= 0;
6443 PyObject
* _obj3
= 0;
6445 PyObject
* _obj4
= 0;
6446 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6460 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6465 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6469 wxPy_BEGIN_ALLOW_THREADS
;
6470 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6472 wxPy_END_ALLOW_THREADS
;
6473 } _resultobj
= Py_BuildValue("i",_result
);
6477 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6478 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
* _resultobj
;
6483 PyObject
* _argo0
= 0;
6484 char *_kwnames
[] = { "self","attachment", NULL
};
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6497 wxPy_BEGIN_ALLOW_THREADS
;
6498 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6500 wxPy_END_ALLOW_THREADS
;
6501 } _resultobj
= Py_BuildValue("i",_result
);
6505 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6506 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
* _resultobj
;
6510 PyObject
* _argo0
= 0;
6511 char *_kwnames
[] = { "self","len", NULL
};
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6524 wxPy_BEGIN_ALLOW_THREADS
;
6525 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6527 wxPy_END_ALLOW_THREADS
;
6528 } Py_INCREF(Py_None
);
6529 _resultobj
= Py_None
;
6533 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6534 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6538 PyObject
* _argo0
= 0;
6539 char *_kwnames
[] = { "self", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6552 wxPy_BEGIN_ALLOW_THREADS
;
6553 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6555 wxPy_END_ALLOW_THREADS
;
6556 } _resultobj
= Py_BuildValue("i",_result
);
6560 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6561 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
* _resultobj
;
6565 PyObject
* _argo0
= 0;
6566 char *_kwnames
[] = { "self","len", NULL
};
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6579 wxPy_BEGIN_ALLOW_THREADS
;
6580 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6582 wxPy_END_ALLOW_THREADS
;
6583 } Py_INCREF(Py_None
);
6584 _resultobj
= Py_None
;
6588 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6589 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6593 PyObject
* _argo0
= 0;
6594 char *_kwnames
[] = { "self", NULL
};
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6607 wxPy_BEGIN_ALLOW_THREADS
;
6608 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6610 wxPy_END_ALLOW_THREADS
;
6611 } _resultobj
= Py_BuildValue("i",_result
);
6615 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6616 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6620 PyObject
* _argo0
= 0;
6621 char *_kwnames
[] = { "self","len", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6634 wxPy_BEGIN_ALLOW_THREADS
;
6635 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6637 wxPy_END_ALLOW_THREADS
;
6638 } Py_INCREF(Py_None
);
6639 _resultobj
= Py_None
;
6643 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6644 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self", NULL
};
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6662 wxPy_BEGIN_ALLOW_THREADS
;
6663 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6665 wxPy_END_ALLOW_THREADS
;
6666 } _resultobj
= Py_BuildValue("i",_result
);
6670 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6671 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6675 PyObject
* _argo0
= 0;
6676 char *_kwnames
[] = { "self","style", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6689 wxPy_BEGIN_ALLOW_THREADS
;
6690 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6692 wxPy_END_ALLOW_THREADS
;
6693 } Py_INCREF(Py_None
);
6694 _resultobj
= Py_None
;
6698 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6699 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6703 PyObject
* _argo0
= 0;
6704 char *_kwnames
[] = { "self", NULL
};
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6717 wxPy_BEGIN_ALLOW_THREADS
;
6718 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6720 wxPy_END_ALLOW_THREADS
;
6721 } _resultobj
= Py_BuildValue("l",_result
);
6725 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6726 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
* _resultobj
;
6731 PyObject
* _argo0
= 0;
6732 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6745 wxPy_BEGIN_ALLOW_THREADS
;
6746 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6748 wxPy_END_ALLOW_THREADS
;
6749 } _resultobj
= Py_BuildValue("i",_result
);
6753 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6754 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6759 PyObject
* _argo0
= 0;
6760 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6773 wxPy_BEGIN_ALLOW_THREADS
;
6774 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6776 wxPy_END_ALLOW_THREADS
;
6777 } _resultobj
= Py_BuildValue("i",_result
);
6781 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6782 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6786 PyObject
* _argo0
= 0;
6787 char *_kwnames
[] = { "self", NULL
};
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6800 wxPy_BEGIN_ALLOW_THREADS
;
6801 _result
= (bool )wxPyShape_Draggable(_arg0
);
6803 wxPy_END_ALLOW_THREADS
;
6804 } _resultobj
= Py_BuildValue("i",_result
);
6808 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6809 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6814 PyObject
* _argo0
= 0;
6815 PyObject
* _argo1
= 0;
6816 char *_kwnames
[] = { "self","image", NULL
};
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6829 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6830 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6836 wxPy_BEGIN_ALLOW_THREADS
;
6837 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6839 wxPy_END_ALLOW_THREADS
;
6840 } _resultobj
= Py_BuildValue("i",_result
);
6844 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6845 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6847 wxPyShape
* _result
;
6849 bool _arg1
= (bool ) TRUE
;
6850 bool _arg2
= (bool ) TRUE
;
6851 PyObject
* _argo0
= 0;
6852 int tempbool1
= (int) TRUE
;
6853 int tempbool2
= (int) TRUE
;
6854 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6866 _arg1
= (bool ) tempbool1
;
6867 _arg2
= (bool ) tempbool2
;
6869 wxPy_BEGIN_ALLOW_THREADS
;
6870 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6872 wxPy_END_ALLOW_THREADS
;
6873 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
6877 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6878 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
* _resultobj
;
6882 PyObject
* _argo0
= 0;
6883 PyObject
* _argo1
= 0;
6884 char *_kwnames
[] = { "self","copy", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6904 wxPy_BEGIN_ALLOW_THREADS
;
6905 wxPyShape_Copy(_arg0
,*_arg1
);
6907 wxPy_END_ALLOW_THREADS
;
6908 } Py_INCREF(Py_None
);
6909 _resultobj
= Py_None
;
6913 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6914 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6918 PyObject
* _argo0
= 0;
6919 PyObject
* _argo1
= 0;
6920 char *_kwnames
[] = { "self","copy", NULL
};
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6933 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6934 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6940 wxPy_BEGIN_ALLOW_THREADS
;
6941 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6943 wxPy_END_ALLOW_THREADS
;
6944 } Py_INCREF(Py_None
);
6945 _resultobj
= Py_None
;
6949 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6950 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
* _resultobj
;
6956 PyObject
* _argo0
= 0;
6957 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6970 wxPy_BEGIN_ALLOW_THREADS
;
6971 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6973 wxPy_END_ALLOW_THREADS
;
6974 } Py_INCREF(Py_None
);
6975 _resultobj
= Py_None
;
6979 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6980 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
* _resultobj
;
6984 PyObject
* _argo0
= 0;
6985 char *_kwnames
[] = { "self", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6998 wxPy_BEGIN_ALLOW_THREADS
;
6999 _result
= (double )wxPyShape_GetRotation(_arg0
);
7001 wxPy_END_ALLOW_THREADS
;
7002 } _resultobj
= Py_BuildValue("d",_result
);
7006 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7007 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7010 PyObject
* _argo0
= 0;
7011 char *_kwnames
[] = { "self", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7024 wxPy_BEGIN_ALLOW_THREADS
;
7025 wxPyShape_ClearAttachments(_arg0
);
7027 wxPy_END_ALLOW_THREADS
;
7028 } Py_INCREF(Py_None
);
7029 _resultobj
= Py_None
;
7033 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7034 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 PyObject
* _argo1
= 0;
7040 char *_kwnames
[] = { "self","dc", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7060 wxPy_BEGIN_ALLOW_THREADS
;
7061 wxPyShape_Recentre(_arg0
,*_arg1
);
7063 wxPy_END_ALLOW_THREADS
;
7064 } Py_INCREF(Py_None
);
7065 _resultobj
= Py_None
;
7069 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7070 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7074 PyObject
* _argo0
= 0;
7075 PyObject
* _argo1
= 0;
7076 char *_kwnames
[] = { "self","list", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7096 wxPy_BEGIN_ALLOW_THREADS
;
7097 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7099 wxPy_END_ALLOW_THREADS
;
7100 } Py_INCREF(Py_None
);
7101 _resultobj
= Py_None
;
7105 #define wxPyShape_GetBackgroundPen(_swigobj) (_swigobj->GetBackgroundPen())
7106 static PyObject
*_wrap_wxPyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
* _resultobj
;
7110 PyObject
* _argo0
= 0;
7111 char *_kwnames
[] = { "self", NULL
};
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundPen",_kwnames
,&_argo0
))
7118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundPen. Expected _wxPyShape_p.");
7125 wxPy_BEGIN_ALLOW_THREADS
;
7126 _result
= new wxPen (wxPyShape_GetBackgroundPen(_arg0
));
7128 wxPy_END_ALLOW_THREADS
;
7129 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7130 _resultobj
= Py_BuildValue("s",_ptemp
);
7134 #define wxPyShape_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
7135 static PyObject
*_wrap_wxPyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
* _resultobj
;
7139 PyObject
* _argo0
= 0;
7140 char *_kwnames
[] = { "self", NULL
};
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundBrush",_kwnames
,&_argo0
))
7147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundBrush. Expected _wxPyShape_p.");
7154 wxPy_BEGIN_ALLOW_THREADS
;
7155 _result
= new wxBrush (wxPyShape_GetBackgroundBrush(_arg0
));
7157 wxPy_END_ALLOW_THREADS
;
7158 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7159 _resultobj
= Py_BuildValue("s",_ptemp
);
7163 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7164 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
* _resultobj
;
7167 PyObject
* _argo0
= 0;
7168 char *_kwnames
[] = { "self", NULL
};
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7181 wxPy_BEGIN_ALLOW_THREADS
;
7182 wxPyShape_base_OnDelete(_arg0
);
7184 wxPy_END_ALLOW_THREADS
;
7185 } Py_INCREF(Py_None
);
7186 _resultobj
= Py_None
;
7190 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7191 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
* _resultobj
;
7195 PyObject
* _argo0
= 0;
7196 PyObject
* _argo1
= 0;
7197 char *_kwnames
[] = { "self","dc", NULL
};
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7217 wxPy_BEGIN_ALLOW_THREADS
;
7218 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7220 wxPy_END_ALLOW_THREADS
;
7221 } Py_INCREF(Py_None
);
7222 _resultobj
= Py_None
;
7226 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7227 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(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_OnDrawContents",_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_OnDrawContents. 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_OnDrawContents. Expected _wxDC_p.");
7253 wxPy_BEGIN_ALLOW_THREADS
;
7254 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7256 wxPy_END_ALLOW_THREADS
;
7257 } Py_INCREF(Py_None
);
7258 _resultobj
= Py_None
;
7262 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7263 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7267 bool _arg2
= (bool ) FALSE
;
7268 PyObject
* _argo0
= 0;
7269 PyObject
* _argo1
= 0;
7270 int tempbool2
= (int) FALSE
;
7271 char *_kwnames
[] = { "self","dc","erase", NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7290 _arg2
= (bool ) tempbool2
;
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7295 wxPy_END_ALLOW_THREADS
;
7296 } Py_INCREF(Py_None
);
7297 _resultobj
= Py_None
;
7301 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7302 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
* _resultobj
;
7306 PyObject
* _argo0
= 0;
7307 PyObject
* _argo1
= 0;
7308 char *_kwnames
[] = { "self","dc", NULL
};
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7328 wxPy_BEGIN_ALLOW_THREADS
;
7329 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7331 wxPy_END_ALLOW_THREADS
;
7332 } Py_INCREF(Py_None
);
7333 _resultobj
= Py_None
;
7337 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7338 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
* _resultobj
;
7342 PyObject
* _argo0
= 0;
7343 PyObject
* _argo1
= 0;
7344 char *_kwnames
[] = { "self","dc", NULL
};
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7364 wxPy_BEGIN_ALLOW_THREADS
;
7365 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7367 wxPy_END_ALLOW_THREADS
;
7368 } Py_INCREF(Py_None
);
7369 _resultobj
= Py_None
;
7373 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7374 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
* _resultobj
;
7378 PyObject
* _argo0
= 0;
7379 PyObject
* _argo1
= 0;
7380 char *_kwnames
[] = { "self","dc", NULL
};
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7400 wxPy_BEGIN_ALLOW_THREADS
;
7401 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7403 wxPy_END_ALLOW_THREADS
;
7404 } Py_INCREF(Py_None
);
7405 _resultobj
= Py_None
;
7409 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7410 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7414 PyObject
* _argo0
= 0;
7415 PyObject
* _argo1
= 0;
7416 char *_kwnames
[] = { "self","dc", NULL
};
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7436 wxPy_BEGIN_ALLOW_THREADS
;
7437 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7439 wxPy_END_ALLOW_THREADS
;
7440 } Py_INCREF(Py_None
);
7441 _resultobj
= Py_None
;
7445 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7446 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7451 int _arg3
= (int ) 0;
7452 int _arg4
= (int ) 0;
7453 PyObject
* _argo0
= 0;
7454 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7467 wxPy_BEGIN_ALLOW_THREADS
;
7468 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7470 wxPy_END_ALLOW_THREADS
;
7471 } Py_INCREF(Py_None
);
7472 _resultobj
= Py_None
;
7476 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7477 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
* _resultobj
;
7482 int _arg3
= (int ) 0;
7483 int _arg4
= (int ) 0;
7484 PyObject
* _argo0
= 0;
7485 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7498 wxPy_BEGIN_ALLOW_THREADS
;
7499 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7501 wxPy_END_ALLOW_THREADS
;
7502 } Py_INCREF(Py_None
);
7503 _resultobj
= Py_None
;
7507 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7508 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
* _resultobj
;
7513 int _arg3
= (int ) 0;
7514 int _arg4
= (int ) 0;
7515 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7529 wxPy_BEGIN_ALLOW_THREADS
;
7530 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7532 wxPy_END_ALLOW_THREADS
;
7533 } Py_INCREF(Py_None
);
7534 _resultobj
= Py_None
;
7538 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7539 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7544 PyObject
* _argo0
= 0;
7545 char *_kwnames
[] = { "self","x","y", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7558 wxPy_BEGIN_ALLOW_THREADS
;
7559 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7561 wxPy_END_ALLOW_THREADS
;
7562 } Py_INCREF(Py_None
);
7563 _resultobj
= Py_None
;
7567 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7568 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7577 bool _arg6
= (bool ) TRUE
;
7578 PyObject
* _argo0
= 0;
7579 PyObject
* _argo1
= 0;
7580 int tempbool6
= (int) TRUE
;
7581 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7600 _arg6
= (bool ) tempbool6
;
7602 wxPy_BEGIN_ALLOW_THREADS
;
7603 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7605 wxPy_END_ALLOW_THREADS
;
7606 } _resultobj
= Py_BuildValue("i",_result
);
7610 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7611 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
* _resultobj
;
7619 bool _arg6
= (bool ) TRUE
;
7620 PyObject
* _argo0
= 0;
7621 PyObject
* _argo1
= 0;
7622 int tempbool6
= (int) TRUE
;
7623 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7636 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7642 _arg6
= (bool ) tempbool6
;
7644 wxPy_BEGIN_ALLOW_THREADS
;
7645 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7647 wxPy_END_ALLOW_THREADS
;
7648 } Py_INCREF(Py_None
);
7649 _resultobj
= Py_None
;
7653 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7654 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7660 int _arg4
= (int ) 0;
7661 int _arg5
= (int ) 0;
7662 PyObject
* _argo0
= 0;
7664 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7676 _arg1
= (bool ) tempbool1
;
7678 wxPy_BEGIN_ALLOW_THREADS
;
7679 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7681 wxPy_END_ALLOW_THREADS
;
7682 } Py_INCREF(Py_None
);
7683 _resultobj
= Py_None
;
7687 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7688 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
* _resultobj
;
7693 int _arg3
= (int ) 0;
7694 int _arg4
= (int ) 0;
7695 PyObject
* _argo0
= 0;
7696 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7709 wxPy_BEGIN_ALLOW_THREADS
;
7710 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7712 wxPy_END_ALLOW_THREADS
;
7713 } Py_INCREF(Py_None
);
7714 _resultobj
= Py_None
;
7718 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7719 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
* _resultobj
;
7724 int _arg3
= (int ) 0;
7725 int _arg4
= (int ) 0;
7726 PyObject
* _argo0
= 0;
7727 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7740 wxPy_BEGIN_ALLOW_THREADS
;
7741 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7743 wxPy_END_ALLOW_THREADS
;
7744 } Py_INCREF(Py_None
);
7745 _resultobj
= Py_None
;
7749 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7750 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
* _resultobj
;
7756 int _arg4
= (int ) 0;
7757 int _arg5
= (int ) 0;
7758 PyObject
* _argo0
= 0;
7760 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7772 _arg1
= (bool ) tempbool1
;
7774 wxPy_BEGIN_ALLOW_THREADS
;
7775 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7777 wxPy_END_ALLOW_THREADS
;
7778 } Py_INCREF(Py_None
);
7779 _resultobj
= Py_None
;
7783 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7784 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
* _resultobj
;
7789 int _arg3
= (int ) 0;
7790 int _arg4
= (int ) 0;
7791 PyObject
* _argo0
= 0;
7792 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7805 wxPy_BEGIN_ALLOW_THREADS
;
7806 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7808 wxPy_END_ALLOW_THREADS
;
7809 } Py_INCREF(Py_None
);
7810 _resultobj
= Py_None
;
7814 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7815 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7820 int _arg3
= (int ) 0;
7821 int _arg4
= (int ) 0;
7822 PyObject
* _argo0
= 0;
7823 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7836 wxPy_BEGIN_ALLOW_THREADS
;
7837 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7839 wxPy_END_ALLOW_THREADS
;
7840 } Py_INCREF(Py_None
);
7841 _resultobj
= Py_None
;
7845 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7846 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7854 PyObject
* _argo0
= 0;
7855 PyObject
* _argo1
= 0;
7856 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7876 wxPy_BEGIN_ALLOW_THREADS
;
7877 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7879 wxPy_END_ALLOW_THREADS
;
7880 } Py_INCREF(Py_None
);
7881 _resultobj
= Py_None
;
7885 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7886 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7890 PyObject
* _argo0
= 0;
7891 PyObject
* _argo1
= 0;
7892 char *_kwnames
[] = { "self","dc", NULL
};
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7912 wxPy_BEGIN_ALLOW_THREADS
;
7913 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7915 wxPy_END_ALLOW_THREADS
;
7916 } Py_INCREF(Py_None
);
7917 _resultobj
= Py_None
;
7921 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7922 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7926 PyObject
* _argo0
= 0;
7927 PyObject
* _argo1
= 0;
7928 char *_kwnames
[] = { "self","dc", NULL
};
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7948 wxPy_BEGIN_ALLOW_THREADS
;
7949 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7951 wxPy_END_ALLOW_THREADS
;
7952 } Py_INCREF(Py_None
);
7953 _resultobj
= Py_None
;
7957 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7958 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
* _resultobj
;
7962 bool _arg2
= (bool ) TRUE
;
7963 PyObject
* _argo0
= 0;
7964 PyObject
* _argo1
= 0;
7965 int tempbool2
= (int) TRUE
;
7966 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7985 _arg2
= (bool ) tempbool2
;
7987 wxPy_BEGIN_ALLOW_THREADS
;
7988 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7990 wxPy_END_ALLOW_THREADS
;
7991 } Py_INCREF(Py_None
);
7992 _resultobj
= Py_None
;
7996 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7997 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
* _resultobj
;
8000 wxPyControlPoint
* _arg1
;
8004 int _arg5
= (int ) 0;
8005 int _arg6
= (int ) 0;
8006 PyObject
* _argo0
= 0;
8007 PyObject
* _argo1
= 0;
8009 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
8015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
8022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
8028 _arg2
= (bool ) tempbool2
;
8030 wxPy_BEGIN_ALLOW_THREADS
;
8031 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8033 wxPy_END_ALLOW_THREADS
;
8034 } Py_INCREF(Py_None
);
8035 _resultobj
= Py_None
;
8039 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8040 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8043 wxPyControlPoint
* _arg1
;
8046 int _arg4
= (int ) 0;
8047 int _arg5
= (int ) 0;
8048 PyObject
* _argo0
= 0;
8049 PyObject
* _argo1
= 0;
8050 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
8063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8070 wxPy_BEGIN_ALLOW_THREADS
;
8071 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8073 wxPy_END_ALLOW_THREADS
;
8074 } Py_INCREF(Py_None
);
8075 _resultobj
= Py_None
;
8079 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8080 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
* _resultobj
;
8083 wxPyControlPoint
* _arg1
;
8086 int _arg4
= (int ) 0;
8087 int _arg5
= (int ) 0;
8088 PyObject
* _argo0
= 0;
8089 PyObject
* _argo1
= 0;
8090 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8110 wxPy_BEGIN_ALLOW_THREADS
;
8111 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8113 wxPy_END_ALLOW_THREADS
;
8114 } Py_INCREF(Py_None
);
8115 _resultobj
= Py_None
;
8119 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8120 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
* _resultobj
;
8125 PyObject
* _argo0
= 0;
8126 char *_kwnames
[] = { "self","w","h", NULL
};
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8139 wxPy_BEGIN_ALLOW_THREADS
;
8140 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8142 wxPy_END_ALLOW_THREADS
;
8143 } Py_INCREF(Py_None
);
8144 _resultobj
= Py_None
;
8148 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8149 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
* _resultobj
;
8154 PyObject
* _argo0
= 0;
8155 char *_kwnames
[] = { "self","w","h", NULL
};
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8168 wxPy_BEGIN_ALLOW_THREADS
;
8169 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8171 wxPy_END_ALLOW_THREADS
;
8172 } Py_INCREF(Py_None
);
8173 _resultobj
= Py_None
;
8177 static PyMethodDef oglbasiccMethods
[] = {
8178 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxPyShape_GetBackgroundBrush", (PyCFunction
) _wrap_wxPyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxPyShape_GetBackgroundPen", (PyCFunction
) _wrap_wxPyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxPyShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxPyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxPyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8417 * This table is used by the pointer type-checker
8419 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8420 { "_signed_long","_long",0},
8421 { "_wxPrintQuality","_wxCoord",0},
8422 { "_wxPrintQuality","_int",0},
8423 { "_wxPrintQuality","_signed_int",0},
8424 { "_wxPrintQuality","_unsigned_int",0},
8425 { "_wxPrintQuality","_wxWindowID",0},
8426 { "_wxPrintQuality","_uint",0},
8427 { "_wxPrintQuality","_EBool",0},
8428 { "_wxPrintQuality","_size_t",0},
8429 { "_wxPrintQuality","_time_t",0},
8430 { "_byte","_unsigned_char",0},
8431 { "_long","_unsigned_long",0},
8432 { "_long","_signed_long",0},
8433 { "_size_t","_wxCoord",0},
8434 { "_size_t","_wxPrintQuality",0},
8435 { "_size_t","_time_t",0},
8436 { "_size_t","_unsigned_int",0},
8437 { "_size_t","_int",0},
8438 { "_size_t","_wxWindowID",0},
8439 { "_size_t","_uint",0},
8440 { "_uint","_wxCoord",0},
8441 { "_uint","_wxPrintQuality",0},
8442 { "_uint","_time_t",0},
8443 { "_uint","_size_t",0},
8444 { "_uint","_unsigned_int",0},
8445 { "_uint","_int",0},
8446 { "_uint","_wxWindowID",0},
8447 { "_wxChar","_char",0},
8448 { "_char","_wxChar",0},
8449 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8450 { "_EBool","_wxCoord",0},
8451 { "_EBool","_wxPrintQuality",0},
8452 { "_EBool","_signed_int",0},
8453 { "_EBool","_int",0},
8454 { "_EBool","_wxWindowID",0},
8455 { "_unsigned_long","_long",0},
8456 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8457 { "_signed_int","_wxCoord",0},
8458 { "_signed_int","_wxPrintQuality",0},
8459 { "_signed_int","_EBool",0},
8460 { "_signed_int","_wxWindowID",0},
8461 { "_signed_int","_int",0},
8462 { "_WXTYPE","_wxDateTime_t",0},
8463 { "_WXTYPE","_short",0},
8464 { "_WXTYPE","_signed_short",0},
8465 { "_WXTYPE","_unsigned_short",0},
8466 { "_unsigned_short","_wxDateTime_t",0},
8467 { "_unsigned_short","_WXTYPE",0},
8468 { "_unsigned_short","_short",0},
8469 { "_wxObject","_wxPyShape",SwigwxPyShapeTowxObject
},
8470 { "_wxObject","_wxPyShapeEvtHandler",SwigwxPyShapeEvtHandlerTowxObject
},
8471 { "_wxObject","_wxShapeRegion",SwigwxShapeRegionTowxObject
},
8472 { "_signed_short","_WXTYPE",0},
8473 { "_signed_short","_short",0},
8474 { "_unsigned_char","_byte",0},
8475 { "_unsigned_int","_wxCoord",0},
8476 { "_unsigned_int","_wxPrintQuality",0},
8477 { "_unsigned_int","_time_t",0},
8478 { "_unsigned_int","_size_t",0},
8479 { "_unsigned_int","_uint",0},
8480 { "_unsigned_int","_wxWindowID",0},
8481 { "_unsigned_int","_int",0},
8482 { "_short","_wxDateTime_t",0},
8483 { "_short","_WXTYPE",0},
8484 { "_short","_unsigned_short",0},
8485 { "_short","_signed_short",0},
8486 { "_wxWindowID","_wxCoord",0},
8487 { "_wxWindowID","_wxPrintQuality",0},
8488 { "_wxWindowID","_time_t",0},
8489 { "_wxWindowID","_size_t",0},
8490 { "_wxWindowID","_EBool",0},
8491 { "_wxWindowID","_uint",0},
8492 { "_wxWindowID","_int",0},
8493 { "_wxWindowID","_signed_int",0},
8494 { "_wxWindowID","_unsigned_int",0},
8495 { "_int","_wxCoord",0},
8496 { "_int","_wxPrintQuality",0},
8497 { "_int","_time_t",0},
8498 { "_int","_size_t",0},
8499 { "_int","_EBool",0},
8500 { "_int","_uint",0},
8501 { "_int","_wxWindowID",0},
8502 { "_int","_unsigned_int",0},
8503 { "_int","_signed_int",0},
8504 { "_wxDateTime_t","_unsigned_short",0},
8505 { "_wxDateTime_t","_short",0},
8506 { "_wxDateTime_t","_WXTYPE",0},
8507 { "_time_t","_wxCoord",0},
8508 { "_time_t","_wxPrintQuality",0},
8509 { "_time_t","_unsigned_int",0},
8510 { "_time_t","_int",0},
8511 { "_time_t","_wxWindowID",0},
8512 { "_time_t","_uint",0},
8513 { "_time_t","_size_t",0},
8514 { "_wxCoord","_int",0},
8515 { "_wxCoord","_signed_int",0},
8516 { "_wxCoord","_unsigned_int",0},
8517 { "_wxCoord","_wxWindowID",0},
8518 { "_wxCoord","_uint",0},
8519 { "_wxCoord","_EBool",0},
8520 { "_wxCoord","_size_t",0},
8521 { "_wxCoord","_time_t",0},
8522 { "_wxCoord","_wxPrintQuality",0},
8523 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8526 static PyObject
*SWIG_globals
;
8530 SWIGEXPORT(void) initoglbasicc() {
8532 SWIG_globals
= SWIG_newvarlink();
8533 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8534 d
= PyModule_GetDict(m
);
8537 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8538 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);