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"
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
111 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
115 #define new_wxShapeRegion() (new wxShapeRegion())
116 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
118 wxShapeRegion
* _result
;
119 char *_kwnames
[] = { NULL
};
123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
126 wxPy_BEGIN_ALLOW_THREADS
;
127 _result
= (wxShapeRegion
*)new_wxShapeRegion();
129 wxPy_END_ALLOW_THREADS
;
131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
132 _resultobj
= Py_BuildValue("s",_ptemp
);
135 _resultobj
= Py_None
;
140 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
141 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
143 wxShapeRegion
* _arg0
;
145 PyObject
* _argo0
= 0;
146 PyObject
* _obj1
= 0;
147 char *_kwnames
[] = { "self","s", NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
160 #if PYTHON_API_VERSION >= 1009
161 char* tmpPtr
; int tmpSize
;
162 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
163 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
166 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
168 _arg1
= new wxString(tmpPtr
, tmpSize
);
170 if (!PyString_Check(_obj1
)) {
171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
174 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
178 wxPy_BEGIN_ALLOW_THREADS
;
179 wxShapeRegion_SetText(_arg0
,*_arg1
);
181 wxPy_END_ALLOW_THREADS
;
182 } Py_INCREF(Py_None
);
183 _resultobj
= Py_None
;
191 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
192 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
193 PyObject
* _resultobj
;
194 wxShapeRegion
* _arg0
;
196 PyObject
* _argo0
= 0;
197 PyObject
* _argo1
= 0;
198 char *_kwnames
[] = { "self","f", NULL
};
201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_argo1
))
204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_SetFont. Expected _wxFont_p.");
218 wxPy_BEGIN_ALLOW_THREADS
;
219 wxShapeRegion_SetFont(_arg0
,_arg1
);
221 wxPy_END_ALLOW_THREADS
;
222 } Py_INCREF(Py_None
);
223 _resultobj
= Py_None
;
227 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
228 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
230 wxShapeRegion
* _arg0
;
233 PyObject
* _argo0
= 0;
234 char *_kwnames
[] = { "self","w","h", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
250 wxPy_END_ALLOW_THREADS
;
251 } Py_INCREF(Py_None
);
252 _resultobj
= Py_None
;
256 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
257 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
259 wxShapeRegion
* _arg0
;
262 PyObject
* _argo0
= 0;
263 char *_kwnames
[] = { "self","w","h", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
276 wxPy_BEGIN_ALLOW_THREADS
;
277 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
279 wxPy_END_ALLOW_THREADS
;
280 } Py_INCREF(Py_None
);
281 _resultobj
= Py_None
;
285 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
286 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
288 wxShapeRegion
* _arg0
;
291 PyObject
* _argo0
= 0;
292 char *_kwnames
[] = { "self","x","y", NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
305 wxPy_BEGIN_ALLOW_THREADS
;
306 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
308 wxPy_END_ALLOW_THREADS
;
309 } Py_INCREF(Py_None
);
310 _resultobj
= Py_None
;
314 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
315 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
316 PyObject
* _resultobj
;
317 wxShapeRegion
* _arg0
;
320 PyObject
* _argo0
= 0;
321 char *_kwnames
[] = { "self","x","y", NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
334 wxPy_BEGIN_ALLOW_THREADS
;
335 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
337 wxPy_END_ALLOW_THREADS
;
338 } Py_INCREF(Py_None
);
339 _resultobj
= Py_None
;
343 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
344 static PyObject
*_wrap_wxShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
346 wxShapeRegion
* _arg0
;
348 PyObject
* _argo0
= 0;
349 char *_kwnames
[] = { "self","mode", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetFormatMode",_kwnames
,&_argo0
,&_arg1
))
355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
362 wxPy_BEGIN_ALLOW_THREADS
;
363 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
365 wxPy_END_ALLOW_THREADS
;
366 } Py_INCREF(Py_None
);
367 _resultobj
= Py_None
;
371 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
372 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
374 wxShapeRegion
* _arg0
;
376 PyObject
* _argo0
= 0;
377 PyObject
* _obj1
= 0;
378 char *_kwnames
[] = { "self","s", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
391 #if PYTHON_API_VERSION >= 1009
392 char* tmpPtr
; int tmpSize
;
393 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
394 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
397 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
399 _arg1
= new wxString(tmpPtr
, tmpSize
);
401 if (!PyString_Check(_obj1
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
409 wxPy_BEGIN_ALLOW_THREADS
;
410 wxShapeRegion_SetName(_arg0
,*_arg1
);
412 wxPy_END_ALLOW_THREADS
;
413 } Py_INCREF(Py_None
);
414 _resultobj
= Py_None
;
422 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
423 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
425 wxShapeRegion
* _arg0
;
427 PyObject
* _argo0
= 0;
428 PyObject
* _obj1
= 0;
429 char *_kwnames
[] = { "self","col", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
442 #if PYTHON_API_VERSION >= 1009
443 char* tmpPtr
; int tmpSize
;
444 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
445 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
448 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
450 _arg1
= new wxString(tmpPtr
, tmpSize
);
452 if (!PyString_Check(_obj1
)) {
453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
456 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
460 wxPy_BEGIN_ALLOW_THREADS
;
461 wxShapeRegion_SetColour(_arg0
,*_arg1
);
463 wxPy_END_ALLOW_THREADS
;
464 } Py_INCREF(Py_None
);
465 _resultobj
= Py_None
;
473 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
474 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxShapeRegion
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
495 wxPy_END_ALLOW_THREADS
;
497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
505 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
506 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
509 wxShapeRegion
* _arg0
;
510 PyObject
* _argo0
= 0;
511 char *_kwnames
[] = { "self", NULL
};
515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
528 wxPy_END_ALLOW_THREADS
;
530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
531 _resultobj
= Py_BuildValue("s",_ptemp
);
534 _resultobj
= Py_None
;
539 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
540 static PyObject
*_wrap_wxShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
542 wxShapeRegion
* _arg0
;
547 PyObject
* _argo0
= 0;
548 char *_kwnames
[] = { "self", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
567 wxPy_BEGIN_ALLOW_THREADS
;
568 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
570 wxPy_END_ALLOW_THREADS
;
571 } Py_INCREF(Py_None
);
572 _resultobj
= Py_None
;
575 o
= PyFloat_FromDouble((double) (*_arg1
));
576 _resultobj
= t_output_helper(_resultobj
, o
);
580 o
= PyFloat_FromDouble((double) (*_arg2
));
581 _resultobj
= t_output_helper(_resultobj
, o
);
586 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
587 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
589 wxShapeRegion
* _arg0
;
594 PyObject
* _argo0
= 0;
595 char *_kwnames
[] = { "self", NULL
};
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetProportion",_kwnames
,&_argo0
))
607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
614 wxPy_BEGIN_ALLOW_THREADS
;
615 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
617 wxPy_END_ALLOW_THREADS
;
618 } Py_INCREF(Py_None
);
619 _resultobj
= Py_None
;
622 o
= PyFloat_FromDouble((double) (*_arg1
));
623 _resultobj
= t_output_helper(_resultobj
, o
);
627 o
= PyFloat_FromDouble((double) (*_arg2
));
628 _resultobj
= t_output_helper(_resultobj
, o
);
633 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
634 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
636 wxShapeRegion
* _arg0
;
641 PyObject
* _argo0
= 0;
642 char *_kwnames
[] = { "self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetSize",_kwnames
,&_argo0
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
664 wxPy_END_ALLOW_THREADS
;
665 } Py_INCREF(Py_None
);
666 _resultobj
= Py_None
;
669 o
= PyFloat_FromDouble((double) (*_arg1
));
670 _resultobj
= t_output_helper(_resultobj
, o
);
674 o
= PyFloat_FromDouble((double) (*_arg2
));
675 _resultobj
= t_output_helper(_resultobj
, o
);
680 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
681 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 PyObject
* _resultobj
;
683 wxShapeRegion
* _arg0
;
688 PyObject
* _argo0
= 0;
689 char *_kwnames
[] = { "self", NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPosition",_kwnames
,&_argo0
))
701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
708 wxPy_BEGIN_ALLOW_THREADS
;
709 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
711 wxPy_END_ALLOW_THREADS
;
712 } Py_INCREF(Py_None
);
713 _resultobj
= Py_None
;
716 o
= PyFloat_FromDouble((double) (*_arg1
));
717 _resultobj
= t_output_helper(_resultobj
, o
);
721 o
= PyFloat_FromDouble((double) (*_arg2
));
722 _resultobj
= t_output_helper(_resultobj
, o
);
727 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
728 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
731 wxShapeRegion
* _arg0
;
732 PyObject
* _argo0
= 0;
733 char *_kwnames
[] = { "self", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
746 wxPy_BEGIN_ALLOW_THREADS
;
747 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
749 wxPy_END_ALLOW_THREADS
;
750 } _resultobj
= Py_BuildValue("i",_result
);
754 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
755 static PyObject
*_wrap_wxShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
758 wxShapeRegion
* _arg0
;
759 PyObject
* _argo0
= 0;
760 char *_kwnames
[] = { "self", NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetName",_kwnames
,&_argo0
))
766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
776 wxPy_END_ALLOW_THREADS
;
778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
786 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
787 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
790 wxShapeRegion
* _arg0
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
805 wxPy_BEGIN_ALLOW_THREADS
;
806 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
808 wxPy_END_ALLOW_THREADS
;
810 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
818 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
819 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
820 PyObject
* _resultobj
;
822 wxShapeRegion
* _arg0
;
823 PyObject
* _argo0
= 0;
824 char *_kwnames
[] = { "self", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
841 wxPy_END_ALLOW_THREADS
;
843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
844 _resultobj
= Py_BuildValue("s",_ptemp
);
847 _resultobj
= Py_None
;
852 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
853 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
856 wxShapeRegion
* _arg0
;
857 PyObject
* _argo0
= 0;
858 char *_kwnames
[] = { "self", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
872 wxPy_BEGIN_ALLOW_THREADS
;
873 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
874 _result
= (wxList
*) &_result_ref
;
876 wxPy_END_ALLOW_THREADS
;
878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
879 _resultobj
= Py_BuildValue("s",_ptemp
);
882 _resultobj
= Py_None
;
887 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
888 static PyObject
*_wrap_wxShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
891 wxShapeRegion
* _arg0
;
892 PyObject
* _argo0
= 0;
893 char *_kwnames
[] = { "self", NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenColour",_kwnames
,&_argo0
))
899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
906 wxPy_BEGIN_ALLOW_THREADS
;
907 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
909 wxPy_END_ALLOW_THREADS
;
911 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
919 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
920 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
923 wxShapeRegion
* _arg0
;
924 PyObject
* _argo0
= 0;
925 char *_kwnames
[] = { "self", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
938 wxPy_BEGIN_ALLOW_THREADS
;
939 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
941 wxPy_END_ALLOW_THREADS
;
942 } _resultobj
= Py_BuildValue("i",_result
);
946 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
947 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
949 wxShapeRegion
* _arg0
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self","style", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
965 wxPy_BEGIN_ALLOW_THREADS
;
966 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
968 wxPy_END_ALLOW_THREADS
;
969 } Py_INCREF(Py_None
);
970 _resultobj
= Py_None
;
974 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
975 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
977 wxShapeRegion
* _arg0
;
979 PyObject
* _argo0
= 0;
980 PyObject
* _obj1
= 0;
981 char *_kwnames
[] = { "self","col", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
994 #if PYTHON_API_VERSION >= 1009
995 char* tmpPtr
; int tmpSize
;
996 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
997 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1000 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1002 _arg1
= new wxString(tmpPtr
, tmpSize
);
1004 if (!PyString_Check(_obj1
)) {
1005 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1008 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
1015 wxPy_END_ALLOW_THREADS
;
1016 } Py_INCREF(Py_None
);
1017 _resultobj
= Py_None
;
1025 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
1026 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1029 wxShapeRegion
* _arg0
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "self", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1045 wxPy_BEGIN_ALLOW_THREADS
;
1046 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
1048 wxPy_END_ALLOW_THREADS
;
1050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1051 _resultobj
= Py_BuildValue("s",_ptemp
);
1054 _resultobj
= Py_None
;
1059 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1060 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1063 wxShapeRegion
* _arg0
;
1064 PyObject
* _argo0
= 0;
1065 char *_kwnames
[] = { "self", NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1078 wxPy_BEGIN_ALLOW_THREADS
;
1079 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1081 wxPy_END_ALLOW_THREADS
;
1082 } _resultobj
= Py_BuildValue("d",_result
);
1086 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1087 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
* _resultobj
;
1090 wxShapeRegion
* _arg0
;
1091 PyObject
* _argo0
= 0;
1092 char *_kwnames
[] = { "self", NULL
};
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1105 wxPy_BEGIN_ALLOW_THREADS
;
1106 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1108 wxPy_END_ALLOW_THREADS
;
1109 } _resultobj
= Py_BuildValue("d",_result
);
1113 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1114 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1116 wxShapeRegion
* _arg0
;
1117 PyObject
* _argo0
= 0;
1118 char *_kwnames
[] = { "self", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_kwnames
,&_argo0
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 wxShapeRegion_ClearText(_arg0
);
1134 wxPy_END_ALLOW_THREADS
;
1135 } Py_INCREF(Py_None
);
1136 _resultobj
= Py_None
;
1140 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1141 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1143 wxPyShapeEvtHandler
* _result
;
1144 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1145 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1146 PyObject
* _argo0
= 0;
1147 PyObject
* _argo1
= 0;
1148 char *_kwnames
[] = { "prev","shape", NULL
};
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
1155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1162 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1169 wxPy_BEGIN_ALLOW_THREADS
;
1170 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1172 wxPy_END_ALLOW_THREADS
;
1174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1175 _resultobj
= Py_BuildValue("s",_ptemp
);
1178 _resultobj
= Py_None
;
1183 #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1184 static PyObject
*_wrap_wxPyShapeEvtHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1186 wxPyShapeEvtHandler
* _arg0
;
1189 PyObject
* _argo0
= 0;
1190 PyObject
* _obj1
= 0;
1191 PyObject
* _obj2
= 0;
1192 char *_kwnames
[] = { "self","self","_class", NULL
};
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeEvtHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p.");
1211 wxPy_BEGIN_ALLOW_THREADS
;
1212 wxPyShapeEvtHandler__setSelf(_arg0
,_arg1
,_arg2
);
1214 wxPy_END_ALLOW_THREADS
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1220 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1221 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1223 wxPyShapeEvtHandler
* _arg0
;
1224 PyObject
* _argo0
= 0;
1225 char *_kwnames
[] = { "self", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1238 wxPy_BEGIN_ALLOW_THREADS
;
1239 wxPyShapeEvtHandler_Destroy(_arg0
);
1241 wxPy_END_ALLOW_THREADS
;
1242 } Py_INCREF(Py_None
);
1243 _resultobj
= Py_None
;
1247 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1248 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
* _resultobj
;
1250 wxPyShapeEvtHandler
* _arg0
;
1252 PyObject
* _argo0
= 0;
1253 PyObject
* _argo1
= 0;
1254 char *_kwnames
[] = { "self","sh", NULL
};
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1277 wxPy_END_ALLOW_THREADS
;
1278 } Py_INCREF(Py_None
);
1279 _resultobj
= Py_None
;
1283 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1284 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1286 wxPyShape
* _result
;
1287 wxPyShapeEvtHandler
* _arg0
;
1288 PyObject
* _argo0
= 0;
1289 char *_kwnames
[] = { "self", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1303 wxPy_BEGIN_ALLOW_THREADS
;
1304 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1306 wxPy_END_ALLOW_THREADS
;
1308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1309 _resultobj
= Py_BuildValue("s",_ptemp
);
1312 _resultobj
= Py_None
;
1317 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1318 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1320 wxPyShapeEvtHandler
* _arg0
;
1321 wxPyShapeEvtHandler
* _arg1
;
1322 PyObject
* _argo0
= 0;
1323 PyObject
* _argo1
= 0;
1324 char *_kwnames
[] = { "self","handler", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1344 wxPy_BEGIN_ALLOW_THREADS
;
1345 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1347 wxPy_END_ALLOW_THREADS
;
1348 } Py_INCREF(Py_None
);
1349 _resultobj
= Py_None
;
1353 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1354 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1356 wxPyShapeEvtHandler
* _result
;
1357 wxPyShapeEvtHandler
* _arg0
;
1358 PyObject
* _argo0
= 0;
1359 char *_kwnames
[] = { "self", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1373 wxPy_BEGIN_ALLOW_THREADS
;
1374 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1376 wxPy_END_ALLOW_THREADS
;
1378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1379 _resultobj
= Py_BuildValue("s",_ptemp
);
1382 _resultobj
= Py_None
;
1387 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1388 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1390 wxPyShapeEvtHandler
* _result
;
1391 wxPyShapeEvtHandler
* _arg0
;
1392 PyObject
* _argo0
= 0;
1393 char *_kwnames
[] = { "self", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1407 wxPy_BEGIN_ALLOW_THREADS
;
1408 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1410 wxPy_END_ALLOW_THREADS
;
1412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1413 _resultobj
= Py_BuildValue("s",_ptemp
);
1416 _resultobj
= Py_None
;
1421 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1422 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 wxPyShapeEvtHandler
* _arg0
;
1425 PyObject
* _argo0
= 0;
1426 char *_kwnames
[] = { "self", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1439 wxPy_BEGIN_ALLOW_THREADS
;
1440 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1442 wxPy_END_ALLOW_THREADS
;
1443 } Py_INCREF(Py_None
);
1444 _resultobj
= Py_None
;
1448 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1449 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1451 wxPyShapeEvtHandler
* _arg0
;
1453 PyObject
* _argo0
= 0;
1454 PyObject
* _argo1
= 0;
1455 char *_kwnames
[] = { "self","dc", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1468 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1478 wxPy_END_ALLOW_THREADS
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1484 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1485 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1487 wxPyShapeEvtHandler
* _arg0
;
1489 PyObject
* _argo0
= 0;
1490 PyObject
* _argo1
= 0;
1491 char *_kwnames
[] = { "self","dc", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1511 wxPy_BEGIN_ALLOW_THREADS
;
1512 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1514 wxPy_END_ALLOW_THREADS
;
1515 } Py_INCREF(Py_None
);
1516 _resultobj
= Py_None
;
1520 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1521 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1523 wxPyShapeEvtHandler
* _arg0
;
1525 bool _arg2
= (bool ) FALSE
;
1526 PyObject
* _argo0
= 0;
1527 PyObject
* _argo1
= 0;
1528 int tempbool2
= (int) FALSE
;
1529 char *_kwnames
[] = { "self","dc","erase", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1542 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1548 _arg2
= (bool ) tempbool2
;
1550 wxPy_BEGIN_ALLOW_THREADS
;
1551 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1553 wxPy_END_ALLOW_THREADS
;
1554 } Py_INCREF(Py_None
);
1555 _resultobj
= Py_None
;
1559 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1560 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1562 wxPyShapeEvtHandler
* _arg0
;
1564 PyObject
* _argo0
= 0;
1565 PyObject
* _argo1
= 0;
1566 char *_kwnames
[] = { "self","dc", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1586 wxPy_BEGIN_ALLOW_THREADS
;
1587 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1589 wxPy_END_ALLOW_THREADS
;
1590 } Py_INCREF(Py_None
);
1591 _resultobj
= Py_None
;
1595 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1596 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1598 wxPyShapeEvtHandler
* _arg0
;
1600 PyObject
* _argo0
= 0;
1601 PyObject
* _argo1
= 0;
1602 char *_kwnames
[] = { "self","dc", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1622 wxPy_BEGIN_ALLOW_THREADS
;
1623 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1625 wxPy_END_ALLOW_THREADS
;
1626 } Py_INCREF(Py_None
);
1627 _resultobj
= Py_None
;
1631 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1632 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1634 wxPyShapeEvtHandler
* _arg0
;
1636 PyObject
* _argo0
= 0;
1637 PyObject
* _argo1
= 0;
1638 char *_kwnames
[] = { "self","dc", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1661 wxPy_END_ALLOW_THREADS
;
1662 } Py_INCREF(Py_None
);
1663 _resultobj
= Py_None
;
1667 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1668 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1670 wxPyShapeEvtHandler
* _arg0
;
1672 PyObject
* _argo0
= 0;
1673 PyObject
* _argo1
= 0;
1674 char *_kwnames
[] = { "self","dc", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1697 wxPy_END_ALLOW_THREADS
;
1698 } Py_INCREF(Py_None
);
1699 _resultobj
= Py_None
;
1703 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1704 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1706 wxPyShapeEvtHandler
* _arg0
;
1709 int _arg3
= (int ) 0;
1710 int _arg4
= (int ) 0;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1728 wxPy_END_ALLOW_THREADS
;
1729 } Py_INCREF(Py_None
);
1730 _resultobj
= Py_None
;
1734 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1735 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxPyShapeEvtHandler
* _arg0
;
1740 int _arg3
= (int ) 0;
1741 int _arg4
= (int ) 0;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1756 wxPy_BEGIN_ALLOW_THREADS
;
1757 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1759 wxPy_END_ALLOW_THREADS
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1766 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxPyShapeEvtHandler
* _arg0
;
1771 int _arg3
= (int ) 0;
1772 int _arg4
= (int ) 0;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1790 wxPy_END_ALLOW_THREADS
;
1791 } Py_INCREF(Py_None
);
1792 _resultobj
= Py_None
;
1796 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1797 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1799 wxPyShapeEvtHandler
* _arg0
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self","x","y", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1826 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1829 wxPyShapeEvtHandler
* _arg0
;
1835 bool _arg6
= (bool ) TRUE
;
1836 PyObject
* _argo0
= 0;
1837 PyObject
* _argo1
= 0;
1838 int tempbool6
= (int) TRUE
;
1839 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1858 _arg6
= (bool ) tempbool6
;
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1863 wxPy_END_ALLOW_THREADS
;
1864 } _resultobj
= Py_BuildValue("i",_result
);
1868 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1869 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1871 wxPyShapeEvtHandler
* _arg0
;
1877 bool _arg6
= (bool ) TRUE
;
1878 PyObject
* _argo0
= 0;
1879 PyObject
* _argo1
= 0;
1880 int tempbool6
= (int) TRUE
;
1881 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1900 _arg6
= (bool ) tempbool6
;
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1905 wxPy_END_ALLOW_THREADS
;
1906 } Py_INCREF(Py_None
);
1907 _resultobj
= Py_None
;
1911 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1912 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1914 wxPyShapeEvtHandler
* _arg0
;
1918 int _arg4
= (int ) 0;
1919 int _arg5
= (int ) 0;
1920 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1934 _arg1
= (bool ) tempbool1
;
1936 wxPy_BEGIN_ALLOW_THREADS
;
1937 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1939 wxPy_END_ALLOW_THREADS
;
1940 } Py_INCREF(Py_None
);
1941 _resultobj
= Py_None
;
1945 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1946 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1948 wxPyShapeEvtHandler
* _arg0
;
1951 int _arg3
= (int ) 0;
1952 int _arg4
= (int ) 0;
1953 PyObject
* _argo0
= 0;
1954 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1970 wxPy_END_ALLOW_THREADS
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1977 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1979 wxPyShapeEvtHandler
* _arg0
;
1982 int _arg3
= (int ) 0;
1983 int _arg4
= (int ) 0;
1984 PyObject
* _argo0
= 0;
1985 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2001 wxPy_END_ALLOW_THREADS
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2008 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2010 wxPyShapeEvtHandler
* _arg0
;
2014 int _arg4
= (int ) 0;
2015 int _arg5
= (int ) 0;
2016 PyObject
* _argo0
= 0;
2018 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
2030 _arg1
= (bool ) tempbool1
;
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2035 wxPy_END_ALLOW_THREADS
;
2036 } Py_INCREF(Py_None
);
2037 _resultobj
= Py_None
;
2041 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2042 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2044 wxPyShapeEvtHandler
* _arg0
;
2047 int _arg3
= (int ) 0;
2048 int _arg4
= (int ) 0;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2066 wxPy_END_ALLOW_THREADS
;
2067 } Py_INCREF(Py_None
);
2068 _resultobj
= Py_None
;
2072 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2073 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2075 wxPyShapeEvtHandler
* _arg0
;
2078 int _arg3
= (int ) 0;
2079 int _arg4
= (int ) 0;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2097 wxPy_END_ALLOW_THREADS
;
2098 } Py_INCREF(Py_None
);
2099 _resultobj
= Py_None
;
2103 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2104 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2106 wxPyShapeEvtHandler
* _arg0
;
2112 PyObject
* _argo0
= 0;
2113 PyObject
* _argo1
= 0;
2114 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2134 wxPy_BEGIN_ALLOW_THREADS
;
2135 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2137 wxPy_END_ALLOW_THREADS
;
2138 } Py_INCREF(Py_None
);
2139 _resultobj
= Py_None
;
2143 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2144 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2146 wxPyShapeEvtHandler
* _arg0
;
2148 PyObject
* _argo0
= 0;
2149 PyObject
* _argo1
= 0;
2150 char *_kwnames
[] = { "self","dc", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2173 wxPy_END_ALLOW_THREADS
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2179 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2180 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2182 wxPyShapeEvtHandler
* _arg0
;
2184 PyObject
* _argo0
= 0;
2185 PyObject
* _argo1
= 0;
2186 char *_kwnames
[] = { "self","dc", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2209 wxPy_END_ALLOW_THREADS
;
2210 } Py_INCREF(Py_None
);
2211 _resultobj
= Py_None
;
2215 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2216 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2218 wxPyShapeEvtHandler
* _arg0
;
2220 bool _arg2
= (bool ) TRUE
;
2221 PyObject
* _argo0
= 0;
2222 PyObject
* _argo1
= 0;
2223 int tempbool2
= (int) TRUE
;
2224 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2243 _arg2
= (bool ) tempbool2
;
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2248 wxPy_END_ALLOW_THREADS
;
2249 } Py_INCREF(Py_None
);
2250 _resultobj
= Py_None
;
2254 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2255 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2257 wxPyShapeEvtHandler
* _arg0
;
2258 wxPyControlPoint
* _arg1
;
2262 int _arg5
= (int ) 0;
2263 int _arg6
= (int ) 0;
2264 PyObject
* _argo0
= 0;
2265 PyObject
* _argo1
= 0;
2267 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2286 _arg2
= (bool ) tempbool2
;
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2291 wxPy_END_ALLOW_THREADS
;
2292 } Py_INCREF(Py_None
);
2293 _resultobj
= Py_None
;
2297 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2298 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2300 wxPyShapeEvtHandler
* _arg0
;
2301 wxPyControlPoint
* _arg1
;
2304 int _arg4
= (int ) 0;
2305 int _arg5
= (int ) 0;
2306 PyObject
* _argo0
= 0;
2307 PyObject
* _argo1
= 0;
2308 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2328 wxPy_BEGIN_ALLOW_THREADS
;
2329 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2331 wxPy_END_ALLOW_THREADS
;
2332 } Py_INCREF(Py_None
);
2333 _resultobj
= Py_None
;
2337 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2338 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2340 wxPyShapeEvtHandler
* _arg0
;
2341 wxPyControlPoint
* _arg1
;
2344 int _arg4
= (int ) 0;
2345 int _arg5
= (int ) 0;
2346 PyObject
* _argo0
= 0;
2347 PyObject
* _argo1
= 0;
2348 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } Py_INCREF(Py_None
);
2373 _resultobj
= Py_None
;
2377 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2378 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2380 wxPyShapeEvtHandler
* _arg0
;
2383 PyObject
* _argo0
= 0;
2384 char *_kwnames
[] = { "self","w","h", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2400 wxPy_END_ALLOW_THREADS
;
2401 } Py_INCREF(Py_None
);
2402 _resultobj
= Py_None
;
2406 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2407 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2409 wxPyShapeEvtHandler
* _arg0
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self","w","h", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2437 wxPyShapeEvtHandler
*dest
;
2438 src
= (wxPyShape
*) ptr
;
2439 dest
= (wxPyShapeEvtHandler
*) src
;
2440 return (void *) dest
;
2443 #define wxPyShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2444 static PyObject
*_wrap_wxPyShape__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2450 PyObject
* _obj1
= 0;
2451 PyObject
* _obj2
= 0;
2452 char *_kwnames
[] = { "self","self","_class", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p.");
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 wxPyShape__setSelf(_arg0
,_arg1
,_arg2
);
2474 wxPy_END_ALLOW_THREADS
;
2475 } Py_INCREF(Py_None
);
2476 _resultobj
= Py_None
;
2480 static void wxPyShape_Destroy(wxPyShape
*self
) { delete self
; }
2481 static PyObject
*_wrap_wxPyShape_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2484 PyObject
* _argo0
= 0;
2485 char *_kwnames
[] = { "self", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Destroy",_kwnames
,&_argo0
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p.");
2498 wxPy_BEGIN_ALLOW_THREADS
;
2499 wxPyShape_Destroy(_arg0
);
2501 wxPy_END_ALLOW_THREADS
;
2502 } Py_INCREF(Py_None
);
2503 _resultobj
= Py_None
;
2507 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2508 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2538 wxPy_END_ALLOW_THREADS
;
2539 } Py_INCREF(Py_None
);
2540 _resultobj
= Py_None
;
2543 o
= PyFloat_FromDouble((double) (*_arg1
));
2544 _resultobj
= t_output_helper(_resultobj
, o
);
2548 o
= PyFloat_FromDouble((double) (*_arg2
));
2549 _resultobj
= t_output_helper(_resultobj
, o
);
2554 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2555 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2562 PyObject
* _argo0
= 0;
2563 char *_kwnames
[] = { "self", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2582 wxPy_BEGIN_ALLOW_THREADS
;
2583 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2585 wxPy_END_ALLOW_THREADS
;
2586 } Py_INCREF(Py_None
);
2587 _resultobj
= Py_None
;
2590 o
= PyFloat_FromDouble((double) (*_arg1
));
2591 _resultobj
= t_output_helper(_resultobj
, o
);
2595 o
= PyFloat_FromDouble((double) (*_arg2
));
2596 _resultobj
= t_output_helper(_resultobj
, o
);
2601 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2602 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2614 PyObject
* _argo0
= 0;
2615 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2634 wxPy_BEGIN_ALLOW_THREADS
;
2635 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2637 wxPy_END_ALLOW_THREADS
;
2638 } _resultobj
= Py_BuildValue("i",_result
);
2641 o
= PyFloat_FromDouble((double) (*_arg5
));
2642 _resultobj
= t_output_helper(_resultobj
, o
);
2646 o
= PyFloat_FromDouble((double) (*_arg6
));
2647 _resultobj
= t_output_helper(_resultobj
, o
);
2652 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2653 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
* _resultobj
;
2655 wxPyShapeCanvas
* _result
;
2657 PyObject
* _argo0
= 0;
2658 char *_kwnames
[] = { "self", NULL
};
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2675 wxPy_END_ALLOW_THREADS
;
2677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
2678 _resultobj
= Py_BuildValue("s",_ptemp
);
2681 _resultobj
= Py_None
;
2686 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2687 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2690 wxPyShapeCanvas
* _arg1
;
2691 PyObject
* _argo0
= 0;
2692 PyObject
* _argo1
= 0;
2693 char *_kwnames
[] = { "self","the_canvas", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2713 wxPy_BEGIN_ALLOW_THREADS
;
2714 wxPyShape_SetCanvas(_arg0
,_arg1
);
2716 wxPy_END_ALLOW_THREADS
;
2717 } Py_INCREF(Py_None
);
2718 _resultobj
= Py_None
;
2722 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2723 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2726 wxPyShapeCanvas
* _arg1
;
2727 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2728 PyObject
* _argo0
= 0;
2729 PyObject
* _argo1
= 0;
2730 PyObject
* _argo2
= 0;
2731 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2751 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2758 wxPy_BEGIN_ALLOW_THREADS
;
2759 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2761 wxPy_END_ALLOW_THREADS
;
2762 } Py_INCREF(Py_None
);
2763 _resultobj
= Py_None
;
2767 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2768 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2771 wxPyShapeCanvas
* _arg1
;
2772 PyObject
* _argo0
= 0;
2773 PyObject
* _argo1
= 0;
2774 char *_kwnames
[] = { "self","the_canvas", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2797 wxPy_END_ALLOW_THREADS
;
2798 } Py_INCREF(Py_None
);
2799 _resultobj
= Py_None
;
2803 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2804 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2807 wxPyShapeCanvas
* _arg1
;
2808 PyObject
* _argo0
= 0;
2809 PyObject
* _argo1
= 0;
2810 char *_kwnames
[] = { "self","the_canvas", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2833 wxPy_END_ALLOW_THREADS
;
2834 } Py_INCREF(Py_None
);
2835 _resultobj
= Py_None
;
2839 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2840 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
* _resultobj
;
2844 PyObject
* _argo0
= 0;
2845 char *_kwnames
[] = { "self", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2858 wxPy_BEGIN_ALLOW_THREADS
;
2859 _result
= (double )wxPyShape_GetX(_arg0
);
2861 wxPy_END_ALLOW_THREADS
;
2862 } _resultobj
= Py_BuildValue("d",_result
);
2866 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2867 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2871 PyObject
* _argo0
= 0;
2872 char *_kwnames
[] = { "self", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2885 wxPy_BEGIN_ALLOW_THREADS
;
2886 _result
= (double )wxPyShape_GetY(_arg0
);
2888 wxPy_END_ALLOW_THREADS
;
2889 } _resultobj
= Py_BuildValue("d",_result
);
2893 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2894 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
* _resultobj
;
2898 PyObject
* _argo0
= 0;
2899 char *_kwnames
[] = { "self","x", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2912 wxPy_BEGIN_ALLOW_THREADS
;
2913 wxPyShape_SetX(_arg0
,_arg1
);
2915 wxPy_END_ALLOW_THREADS
;
2916 } Py_INCREF(Py_None
);
2917 _resultobj
= Py_None
;
2921 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2922 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2926 PyObject
* _argo0
= 0;
2927 char *_kwnames
[] = { "self","y", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2940 wxPy_BEGIN_ALLOW_THREADS
;
2941 wxPyShape_SetY(_arg0
,_arg1
);
2943 wxPy_END_ALLOW_THREADS
;
2944 } Py_INCREF(Py_None
);
2945 _resultobj
= Py_None
;
2949 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2950 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2952 wxPyShape
* _result
;
2954 PyObject
* _argo0
= 0;
2955 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
;
2974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
2975 _resultobj
= Py_BuildValue("s",_ptemp
);
2978 _resultobj
= Py_None
;
2983 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2984 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2988 PyObject
* _argo0
= 0;
2989 PyObject
* _argo1
= 0;
2990 char *_kwnames
[] = { "self","p", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 wxPyShape_SetParent(_arg0
,_arg1
);
3013 wxPy_END_ALLOW_THREADS
;
3014 } Py_INCREF(Py_None
);
3015 _resultobj
= Py_None
;
3019 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
3020 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3022 wxPyShape
* _result
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
3039 wxPy_BEGIN_ALLOW_THREADS
;
3040 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
3042 wxPy_END_ALLOW_THREADS
;
3044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
3045 _resultobj
= Py_BuildValue("s",_ptemp
);
3048 _resultobj
= Py_None
;
3053 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3054 wxList
& list
= self
->GetChildren();
3055 return wxPy_ConvertList(&list
, "wxPyShape");
3057 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
* _resultobj
;
3061 PyObject
* _argo0
= 0;
3062 char *_kwnames
[] = { "self", NULL
};
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3075 wxPy_BEGIN_ALLOW_THREADS
;
3076 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3078 wxPy_END_ALLOW_THREADS
;
3080 _resultobj
= _result
;
3085 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3086 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3103 wxPy_BEGIN_ALLOW_THREADS
;
3104 wxPyShape_Unlink(_arg0
);
3106 wxPy_END_ALLOW_THREADS
;
3107 } Py_INCREF(Py_None
);
3108 _resultobj
= Py_None
;
3112 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3113 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3117 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self","drawH", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3131 _arg1
= (bool ) tempbool1
;
3133 wxPy_BEGIN_ALLOW_THREADS
;
3134 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3136 wxPy_END_ALLOW_THREADS
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3143 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3147 PyObject
* _argo0
= 0;
3148 char *_kwnames
[] = { "self", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3161 wxPy_BEGIN_ALLOW_THREADS
;
3162 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3164 wxPy_END_ALLOW_THREADS
;
3165 } _resultobj
= Py_BuildValue("i",_result
);
3169 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3170 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 wxPyShape_MakeControlPoints(_arg0
);
3190 wxPy_END_ALLOW_THREADS
;
3191 } Py_INCREF(Py_None
);
3192 _resultobj
= Py_None
;
3196 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3197 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3200 wxDC
* _arg1
= (wxDC
*) NULL
;
3201 PyObject
* _argo0
= 0;
3202 PyObject
* _argo1
= 0;
3203 char *_kwnames
[] = { "self","dc", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3226 wxPy_END_ALLOW_THREADS
;
3227 } Py_INCREF(Py_None
);
3228 _resultobj
= Py_None
;
3232 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3233 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "self", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3250 wxPy_BEGIN_ALLOW_THREADS
;
3251 wxPyShape_ResetControlPoints(_arg0
);
3253 wxPy_END_ALLOW_THREADS
;
3254 } Py_INCREF(Py_None
);
3255 _resultobj
= Py_None
;
3259 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3260 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
* _resultobj
;
3262 wxPyShapeEvtHandler
* _result
;
3264 PyObject
* _argo0
= 0;
3265 char *_kwnames
[] = { "self", NULL
};
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3282 wxPy_END_ALLOW_THREADS
;
3284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
3285 _resultobj
= Py_BuildValue("s",_ptemp
);
3288 _resultobj
= Py_None
;
3293 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3294 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3297 wxPyShapeEvtHandler
* _arg1
;
3298 PyObject
* _argo0
= 0;
3299 PyObject
* _argo1
= 0;
3300 char *_kwnames
[] = { "self","handler", NULL
};
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3320 wxPy_BEGIN_ALLOW_THREADS
;
3321 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3323 wxPy_END_ALLOW_THREADS
;
3324 } Py_INCREF(Py_None
);
3325 _resultobj
= Py_None
;
3329 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3330 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
* _resultobj
;
3333 PyObject
* _argo0
= 0;
3334 char *_kwnames
[] = { "self", NULL
};
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3347 wxPy_BEGIN_ALLOW_THREADS
;
3348 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3350 wxPy_END_ALLOW_THREADS
;
3351 } Py_INCREF(Py_None
);
3352 _resultobj
= Py_None
;
3356 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3357 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3360 PyObject
* _argo0
= 0;
3361 char *_kwnames
[] = { "self", NULL
};
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3374 wxPy_BEGIN_ALLOW_THREADS
;
3375 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3377 wxPy_END_ALLOW_THREADS
;
3378 } Py_INCREF(Py_None
);
3379 _resultobj
= Py_None
;
3383 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3384 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3388 PyObject
* _argo0
= 0;
3389 char *_kwnames
[] = { "self", NULL
};
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3402 wxPy_BEGIN_ALLOW_THREADS
;
3403 _result
= (bool )wxPyShape_Recompute(_arg0
);
3405 wxPy_END_ALLOW_THREADS
;
3406 } _resultobj
= Py_BuildValue("i",_result
);
3410 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3411 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
* _resultobj
;
3414 PyObject
* _argo0
= 0;
3415 char *_kwnames
[] = { "self", NULL
};
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3428 wxPy_BEGIN_ALLOW_THREADS
;
3429 wxPyShape_CalculateSize(_arg0
);
3431 wxPy_END_ALLOW_THREADS
;
3432 } Py_INCREF(Py_None
);
3433 _resultobj
= Py_None
;
3437 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3438 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3441 bool _arg1
= (bool ) TRUE
;
3442 wxDC
* _arg2
= (wxDC
*) NULL
;
3443 PyObject
* _argo0
= 0;
3444 int tempbool1
= (int) TRUE
;
3445 PyObject
* _argo2
= 0;
3446 char *_kwnames
[] = { "self","select","dc", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3458 _arg1
= (bool ) tempbool1
;
3460 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3461 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3467 wxPy_BEGIN_ALLOW_THREADS
;
3468 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3470 wxPy_END_ALLOW_THREADS
;
3471 } Py_INCREF(Py_None
);
3472 _resultobj
= Py_None
;
3476 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3477 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3480 bool _arg1
= (bool ) TRUE
;
3481 bool _arg2
= (bool ) FALSE
;
3482 PyObject
* _argo0
= 0;
3483 int tempbool1
= (int) TRUE
;
3484 int tempbool2
= (int) FALSE
;
3485 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3497 _arg1
= (bool ) tempbool1
;
3498 _arg2
= (bool ) tempbool2
;
3500 wxPy_BEGIN_ALLOW_THREADS
;
3501 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3503 wxPy_END_ALLOW_THREADS
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3510 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3528 wxPy_BEGIN_ALLOW_THREADS
;
3529 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3531 wxPy_END_ALLOW_THREADS
;
3532 } _resultobj
= Py_BuildValue("i",_result
);
3536 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3537 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3541 PyObject
* _argo0
= 0;
3542 char *_kwnames
[] = { "self", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3555 wxPy_BEGIN_ALLOW_THREADS
;
3556 _result
= (bool )wxPyShape_Selected(_arg0
);
3558 wxPy_END_ALLOW_THREADS
;
3559 } _resultobj
= Py_BuildValue("i",_result
);
3563 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3564 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3568 PyObject
* _argo0
= 0;
3569 char *_kwnames
[] = { "self", NULL
};
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3582 wxPy_BEGIN_ALLOW_THREADS
;
3583 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3585 wxPy_END_ALLOW_THREADS
;
3586 } _resultobj
= Py_BuildValue("i",_result
);
3590 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3591 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3594 int _arg1
= (int ) OP_ALL
;
3595 bool _arg2
= (bool ) FALSE
;
3596 PyObject
* _argo0
= 0;
3597 int tempbool2
= (int) FALSE
;
3598 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3610 _arg2
= (bool ) tempbool2
;
3612 wxPy_BEGIN_ALLOW_THREADS
;
3613 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3615 wxPy_END_ALLOW_THREADS
;
3616 } Py_INCREF(Py_None
);
3617 _resultobj
= Py_None
;
3621 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3622 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
* _resultobj
;
3626 PyObject
* _argo0
= 0;
3627 char *_kwnames
[] = { "self", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3643 wxPy_END_ALLOW_THREADS
;
3644 } _resultobj
= Py_BuildValue("i",_result
);
3648 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3649 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3653 bool _arg2
= (bool ) FALSE
;
3654 PyObject
* _argo0
= 0;
3656 int tempbool2
= (int) FALSE
;
3657 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3669 _arg1
= (bool ) tempbool1
;
3670 _arg2
= (bool ) tempbool2
;
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3675 wxPy_END_ALLOW_THREADS
;
3676 } Py_INCREF(Py_None
);
3677 _resultobj
= Py_None
;
3681 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3682 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3687 PyObject
* _argo0
= 0;
3690 char *_kwnames
[] = { "self","x","y", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3702 _arg1
= (bool ) tempbool1
;
3703 _arg2
= (bool ) tempbool2
;
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } Py_INCREF(Py_None
);
3710 _resultobj
= Py_None
;
3714 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3715 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3720 PyObject
* _argo0
= 0;
3721 PyObject
* _argo1
= 0;
3722 PyObject
* _argo2
= 0;
3723 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3743 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3753 wxPy_END_ALLOW_THREADS
;
3754 } Py_INCREF(Py_None
);
3755 _resultobj
= Py_None
;
3759 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3760 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "self", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3778 wxPy_BEGIN_ALLOW_THREADS
;
3779 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3781 wxPy_END_ALLOW_THREADS
;
3782 } _resultobj
= Py_BuildValue("i",_result
);
3786 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3787 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
* _resultobj
;
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self", NULL
};
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3805 wxPy_BEGIN_ALLOW_THREADS
;
3806 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3808 wxPy_END_ALLOW_THREADS
;
3809 } _resultobj
= Py_BuildValue("i",_result
);
3813 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3814 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3818 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self","sp", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3832 _arg1
= (bool ) tempbool1
;
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3837 wxPy_END_ALLOW_THREADS
;
3838 } Py_INCREF(Py_None
);
3839 _resultobj
= Py_None
;
3843 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3844 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3848 PyObject
* _argo0
= 0;
3849 char *_kwnames
[] = { "self", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3862 wxPy_BEGIN_ALLOW_THREADS
;
3863 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3865 wxPy_END_ALLOW_THREADS
;
3866 } _resultobj
= Py_BuildValue("i",_result
);
3870 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3871 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3875 bool _arg2
= (bool ) FALSE
;
3876 PyObject
* _argo0
= 0;
3877 int tempbool2
= (int) FALSE
;
3878 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3890 _arg2
= (bool ) tempbool2
;
3892 wxPy_BEGIN_ALLOW_THREADS
;
3893 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3895 wxPy_END_ALLOW_THREADS
;
3896 } Py_INCREF(Py_None
);
3897 _resultobj
= Py_None
;
3901 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3902 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3906 PyObject
* _argo0
= 0;
3907 char *_kwnames
[] = { "self", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3920 wxPy_BEGIN_ALLOW_THREADS
;
3921 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3923 wxPy_END_ALLOW_THREADS
;
3924 } _resultobj
= Py_BuildValue("i",_result
);
3928 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3929 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3939 PyObject
* _argo0
= 0;
3940 char *_kwnames
[] = { "self","x","y", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3959 wxPy_BEGIN_ALLOW_THREADS
;
3960 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3962 wxPy_END_ALLOW_THREADS
;
3963 } _resultobj
= Py_BuildValue("i",_result
);
3966 o
= PyInt_FromLong((long) (*_arg3
));
3967 _resultobj
= t_output_helper(_resultobj
, o
);
3971 o
= PyFloat_FromDouble((double) (*_arg4
));
3972 _resultobj
= t_output_helper(_resultobj
, o
);
3977 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3978 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3982 PyObject
* _argo0
= 0;
3984 char *_kwnames
[] = { "self","cr", NULL
};
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
3990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
3996 _arg1
= (bool ) tempbool1
;
3998 wxPy_BEGIN_ALLOW_THREADS
;
3999 wxPyShape_SetCentreResize(_arg0
,_arg1
);
4001 wxPy_END_ALLOW_THREADS
;
4002 } Py_INCREF(Py_None
);
4003 _resultobj
= Py_None
;
4007 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
4008 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
* _resultobj
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } _resultobj
= Py_BuildValue("i",_result
);
4034 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4035 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4039 PyObject
* _argo0
= 0;
4041 char *_kwnames
[] = { "self","ar", NULL
};
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4053 _arg1
= (bool ) tempbool1
;
4055 wxPy_BEGIN_ALLOW_THREADS
;
4056 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4058 wxPy_END_ALLOW_THREADS
;
4059 } Py_INCREF(Py_None
);
4060 _resultobj
= Py_None
;
4064 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4065 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 char *_kwnames
[] = { "self", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4083 wxPy_BEGIN_ALLOW_THREADS
;
4084 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4086 wxPy_END_ALLOW_THREADS
;
4087 } _resultobj
= Py_BuildValue("i",_result
);
4091 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4092 wxList
& list
= self
->GetLines();
4093 return wxPy_ConvertList(&list
, "wxPyLineShape");
4095 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
* _resultobj
;
4099 PyObject
* _argo0
= 0;
4100 char *_kwnames
[] = { "self", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4113 wxPy_BEGIN_ALLOW_THREADS
;
4114 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4116 wxPy_END_ALLOW_THREADS
;
4118 _resultobj
= _result
;
4123 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4124 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4128 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self","flag", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4142 _arg1
= (bool ) tempbool1
;
4144 wxPy_BEGIN_ALLOW_THREADS
;
4145 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4147 wxPy_END_ALLOW_THREADS
;
4148 } Py_INCREF(Py_None
);
4149 _resultobj
= Py_None
;
4153 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4154 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4158 PyObject
* _argo0
= 0;
4159 char *_kwnames
[] = { "self", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4172 wxPy_BEGIN_ALLOW_THREADS
;
4173 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4175 wxPy_END_ALLOW_THREADS
;
4176 } _resultobj
= Py_BuildValue("i",_result
);
4180 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4181 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self","mode", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } Py_INCREF(Py_None
);
4204 _resultobj
= Py_None
;
4208 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4209 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
* _resultobj
;
4213 PyObject
* _argo0
= 0;
4214 char *_kwnames
[] = { "self", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4227 wxPy_BEGIN_ALLOW_THREADS
;
4228 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4230 wxPy_END_ALLOW_THREADS
;
4231 } _resultobj
= Py_BuildValue("i",_result
);
4235 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4236 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4240 PyObject
* _argo0
= 0;
4241 char *_kwnames
[] = { "self","i", NULL
};
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4254 wxPy_BEGIN_ALLOW_THREADS
;
4255 wxPyShape_SetId(_arg0
,_arg1
);
4257 wxPy_END_ALLOW_THREADS
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4263 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4264 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4268 PyObject
* _argo0
= 0;
4269 char *_kwnames
[] = { "self", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 _result
= (long )wxPyShape_GetId(_arg0
);
4285 wxPy_END_ALLOW_THREADS
;
4286 } _resultobj
= Py_BuildValue("l",_result
);
4290 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4291 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
* _resultobj
;
4295 PyObject
* _argo0
= 0;
4296 PyObject
* _argo1
= 0;
4297 char *_kwnames
[] = { "self","pen", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_argo1
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetPen. Expected _wxPen_p.");
4317 wxPy_BEGIN_ALLOW_THREADS
;
4318 wxPyShape_SetPen(_arg0
,_arg1
);
4320 wxPy_END_ALLOW_THREADS
;
4321 } Py_INCREF(Py_None
);
4322 _resultobj
= Py_None
;
4326 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4327 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4331 PyObject
* _argo0
= 0;
4332 PyObject
* _argo1
= 0;
4333 char *_kwnames
[] = { "self","brush", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_argo1
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetBrush. Expected _wxBrush_p.");
4353 wxPy_BEGIN_ALLOW_THREADS
;
4354 wxPyShape_SetBrush(_arg0
,_arg1
);
4356 wxPy_END_ALLOW_THREADS
;
4357 } Py_INCREF(Py_None
);
4358 _resultobj
= Py_None
;
4362 static void wxPyShape_SetClientData(wxPyShape
*self
,PyObject
* userData
) {
4363 wxPyUserData
* data
= NULL
;
4365 data
= new wxPyUserData(userData
);
4366 self
->SetClientData(data
);
4368 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
* _resultobj
;
4372 PyObject
* _argo0
= 0;
4373 PyObject
* _obj1
= 0;
4374 char *_kwnames
[] = { "self","userData", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_obj1
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4390 wxPy_BEGIN_ALLOW_THREADS
;
4391 wxPyShape_SetClientData(_arg0
,_arg1
);
4393 wxPy_END_ALLOW_THREADS
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 static PyObject
* wxPyShape_GetClientData(wxPyShape
*self
) {
4400 wxPyUserData
* data
= (wxPyUserData
*)self
->GetClientData();
4402 Py_INCREF(data
->m_obj
);
4409 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4413 PyObject
* _argo0
= 0;
4414 char *_kwnames
[] = { "self", NULL
};
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4427 wxPy_BEGIN_ALLOW_THREADS
;
4428 _result
= (PyObject
*)wxPyShape_GetClientData(_arg0
);
4430 wxPy_END_ALLOW_THREADS
;
4432 _resultobj
= _result
;
4437 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4438 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4442 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self","show", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4456 _arg1
= (bool ) tempbool1
;
4458 wxPy_BEGIN_ALLOW_THREADS
;
4459 wxPyShape_Show(_arg0
,_arg1
);
4461 wxPy_END_ALLOW_THREADS
;
4462 } Py_INCREF(Py_None
);
4463 _resultobj
= Py_None
;
4467 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4468 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4472 PyObject
* _argo0
= 0;
4473 char *_kwnames
[] = { "self", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4486 wxPy_BEGIN_ALLOW_THREADS
;
4487 _result
= (bool )wxPyShape_IsShown(_arg0
);
4489 wxPy_END_ALLOW_THREADS
;
4490 } _resultobj
= Py_BuildValue("i",_result
);
4494 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4495 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4501 bool _arg4
= (bool ) TRUE
;
4502 PyObject
* _argo0
= 0;
4503 PyObject
* _argo1
= 0;
4504 int tempbool4
= (int) TRUE
;
4505 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4518 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4524 _arg4
= (bool ) tempbool4
;
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4529 wxPy_END_ALLOW_THREADS
;
4530 } Py_INCREF(Py_None
);
4531 _resultobj
= Py_None
;
4535 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4536 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4540 PyObject
* _argo0
= 0;
4541 PyObject
* _argo1
= 0;
4542 char *_kwnames
[] = { "self","dc", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 wxPyShape_Erase(_arg0
,*_arg1
);
4565 wxPy_END_ALLOW_THREADS
;
4566 } Py_INCREF(Py_None
);
4567 _resultobj
= Py_None
;
4571 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4572 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4576 PyObject
* _argo0
= 0;
4577 PyObject
* _argo1
= 0;
4578 char *_kwnames
[] = { "self","dc", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4598 wxPy_BEGIN_ALLOW_THREADS
;
4599 wxPyShape_EraseContents(_arg0
,*_arg1
);
4601 wxPy_END_ALLOW_THREADS
;
4602 } Py_INCREF(Py_None
);
4603 _resultobj
= Py_None
;
4607 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4608 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
* _resultobj
;
4612 PyObject
* _argo0
= 0;
4613 PyObject
* _argo1
= 0;
4614 char *_kwnames
[] = { "self","dc", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4634 wxPy_BEGIN_ALLOW_THREADS
;
4635 wxPyShape_Draw(_arg0
,*_arg1
);
4637 wxPy_END_ALLOW_THREADS
;
4638 } Py_INCREF(Py_None
);
4639 _resultobj
= Py_None
;
4643 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4644 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4647 PyObject
* _argo0
= 0;
4648 char *_kwnames
[] = { "self", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4661 wxPy_BEGIN_ALLOW_THREADS
;
4662 wxPyShape_Flash(_arg0
);
4664 wxPy_END_ALLOW_THREADS
;
4665 } Py_INCREF(Py_None
);
4666 _resultobj
= Py_None
;
4670 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4671 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4675 PyObject
* _argo0
= 0;
4676 PyObject
* _argo1
= 0;
4677 char *_kwnames
[] = { "self","dc", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4697 wxPy_BEGIN_ALLOW_THREADS
;
4698 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4700 wxPy_END_ALLOW_THREADS
;
4701 } Py_INCREF(Py_None
);
4702 _resultobj
= Py_None
;
4706 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4707 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4711 PyObject
* _argo0
= 0;
4712 PyObject
* _argo1
= 0;
4713 char *_kwnames
[] = { "self","dc", NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4733 wxPy_BEGIN_ALLOW_THREADS
;
4734 wxPyShape_DrawContents(_arg0
,*_arg1
);
4736 wxPy_END_ALLOW_THREADS
;
4737 } Py_INCREF(Py_None
);
4738 _resultobj
= Py_None
;
4742 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4743 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4748 bool _arg3
= (bool ) TRUE
;
4749 PyObject
* _argo0
= 0;
4750 int tempbool3
= (int) TRUE
;
4751 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4763 _arg3
= (bool ) tempbool3
;
4765 wxPy_BEGIN_ALLOW_THREADS
;
4766 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4768 wxPy_END_ALLOW_THREADS
;
4769 } Py_INCREF(Py_None
);
4770 _resultobj
= Py_None
;
4774 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4775 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
* _resultobj
;
4780 PyObject
* _argo0
= 0;
4781 char *_kwnames
[] = { "self","x","y", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4794 wxPy_BEGIN_ALLOW_THREADS
;
4795 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4797 wxPy_END_ALLOW_THREADS
;
4798 } Py_INCREF(Py_None
);
4799 _resultobj
= Py_None
;
4803 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4804 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4807 wxPyShapeCanvas
* _arg1
;
4808 PyObject
* _argo0
= 0;
4809 PyObject
* _argo1
= 0;
4810 char *_kwnames
[] = { "self","can", NULL
};
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4830 wxPy_BEGIN_ALLOW_THREADS
;
4831 wxPyShape_Attach(_arg0
,_arg1
);
4833 wxPy_END_ALLOW_THREADS
;
4834 } Py_INCREF(Py_None
);
4835 _resultobj
= Py_None
;
4839 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4840 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4843 PyObject
* _argo0
= 0;
4844 char *_kwnames
[] = { "self", NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4857 wxPy_BEGIN_ALLOW_THREADS
;
4858 wxPyShape_Detach(_arg0
);
4860 wxPy_END_ALLOW_THREADS
;
4861 } Py_INCREF(Py_None
);
4862 _resultobj
= Py_None
;
4866 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4867 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 _result
= (bool )wxPyShape_Constrain(_arg0
);
4888 wxPy_END_ALLOW_THREADS
;
4889 } _resultobj
= Py_BuildValue("i",_result
);
4893 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4894 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4897 wxPyLineShape
* _arg1
;
4899 int _arg3
= (int ) 0;
4900 int _arg4
= (int ) 0;
4901 int _arg5
= (int ) -1;
4902 int _arg6
= (int ) -1;
4903 PyObject
* _argo0
= 0;
4904 PyObject
* _argo1
= 0;
4905 PyObject
* _argo2
= 0;
4906 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4926 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4933 wxPy_BEGIN_ALLOW_THREADS
;
4934 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4936 wxPy_END_ALLOW_THREADS
;
4937 } Py_INCREF(Py_None
);
4938 _resultobj
= Py_None
;
4942 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4943 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4947 wxPyLineShape
* _arg1
;
4948 PyObject
* _argo0
= 0;
4949 PyObject
* _argo1
= 0;
4950 char *_kwnames
[] = { "self","line", NULL
};
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4970 wxPy_BEGIN_ALLOW_THREADS
;
4971 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4973 wxPy_END_ALLOW_THREADS
;
4974 } _resultobj
= Py_BuildValue("i",_result
);
4978 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4979 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
* _resultobj
;
4983 PyObject
* _argo0
= 0;
4984 PyObject
* _obj1
= 0;
4985 char *_kwnames
[] = { "self","string", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4998 #if PYTHON_API_VERSION >= 1009
4999 char* tmpPtr
; int tmpSize
;
5000 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5001 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5004 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5006 _arg1
= new wxString(tmpPtr
, tmpSize
);
5008 if (!PyString_Check(_obj1
)) {
5009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5012 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5016 wxPy_BEGIN_ALLOW_THREADS
;
5017 wxPyShape_AddText(_arg0
,*_arg1
);
5019 wxPy_END_ALLOW_THREADS
;
5020 } Py_INCREF(Py_None
);
5021 _resultobj
= Py_None
;
5029 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5030 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5034 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self", NULL
};
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
5042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5049 wxPy_BEGIN_ALLOW_THREADS
;
5050 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
5052 wxPy_END_ALLOW_THREADS
;
5054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5055 _resultobj
= Py_BuildValue("s",_ptemp
);
5058 _resultobj
= Py_None
;
5063 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5064 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self", NULL
};
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5083 wxPy_BEGIN_ALLOW_THREADS
;
5084 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5086 wxPy_END_ALLOW_THREADS
;
5088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5089 _resultobj
= Py_BuildValue("s",_ptemp
);
5092 _resultobj
= Py_None
;
5097 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5098 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
* _resultobj
;
5101 PyObject
* _argo0
= 0;
5102 char *_kwnames
[] = { "self", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 wxPyShape_SetDefaultRegionSize(_arg0
);
5118 wxPy_END_ALLOW_THREADS
;
5119 } Py_INCREF(Py_None
);
5120 _resultobj
= Py_None
;
5124 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5125 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5130 int _arg3
= (int ) 0;
5131 PyObject
* _argo0
= 0;
5132 PyObject
* _argo1
= 0;
5133 PyObject
* _obj2
= 0;
5134 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5154 #if PYTHON_API_VERSION >= 1009
5155 char* tmpPtr
; int tmpSize
;
5156 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5157 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5160 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5162 _arg2
= new wxString(tmpPtr
, tmpSize
);
5164 if (!PyString_Check(_obj2
)) {
5165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5168 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5172 wxPy_BEGIN_ALLOW_THREADS
;
5173 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5175 wxPy_END_ALLOW_THREADS
;
5176 } Py_INCREF(Py_None
);
5177 _resultobj
= Py_None
;
5185 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5186 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
* _resultobj
;
5190 int _arg2
= (int ) 0;
5191 PyObject
* _argo0
= 0;
5192 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5205 wxPy_BEGIN_ALLOW_THREADS
;
5206 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5208 wxPy_END_ALLOW_THREADS
;
5209 } Py_INCREF(Py_None
);
5210 _resultobj
= Py_None
;
5214 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5215 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5219 int _arg1
= (int ) 0;
5220 PyObject
* _argo0
= 0;
5221 char *_kwnames
[] = { "self","regionId", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5237 wxPy_END_ALLOW_THREADS
;
5238 } _resultobj
= Py_BuildValue("i",_result
);
5242 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5243 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
* _resultobj
;
5247 int _arg2
= (int ) 0;
5248 PyObject
* _argo0
= 0;
5249 PyObject
* _argo1
= 0;
5250 char *_kwnames
[] = { "self","font","regionId", NULL
};
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p.");
5270 wxPy_BEGIN_ALLOW_THREADS
;
5271 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5273 wxPy_END_ALLOW_THREADS
;
5274 } Py_INCREF(Py_None
);
5275 _resultobj
= Py_None
;
5279 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5280 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5284 int _arg1
= (int ) 0;
5285 PyObject
* _argo0
= 0;
5286 char *_kwnames
[] = { "self","regionId", NULL
};
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5300 wxPy_BEGIN_ALLOW_THREADS
;
5301 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5303 wxPy_END_ALLOW_THREADS
;
5305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5306 _resultobj
= Py_BuildValue("s",_ptemp
);
5309 _resultobj
= Py_None
;
5314 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5315 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5319 int _arg2
= (int ) 0;
5320 PyObject
* _argo0
= 0;
5321 PyObject
* _obj1
= 0;
5322 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5335 #if PYTHON_API_VERSION >= 1009
5336 char* tmpPtr
; int tmpSize
;
5337 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5338 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5341 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5343 _arg1
= new wxString(tmpPtr
, tmpSize
);
5345 if (!PyString_Check(_obj1
)) {
5346 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5349 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5356 wxPy_END_ALLOW_THREADS
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5366 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5367 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5371 int _arg1
= (int ) 0;
5372 PyObject
* _argo0
= 0;
5373 char *_kwnames
[] = { "self","regionId", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5386 wxPy_BEGIN_ALLOW_THREADS
;
5387 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5389 wxPy_END_ALLOW_THREADS
;
5391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5399 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5400 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5404 PyObject
* _argo0
= 0;
5405 char *_kwnames
[] = { "self", NULL
};
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5418 wxPy_BEGIN_ALLOW_THREADS
;
5419 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5421 wxPy_END_ALLOW_THREADS
;
5422 } _resultobj
= Py_BuildValue("i",_result
);
5426 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5427 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5431 int _arg2
= (int ) 0;
5432 PyObject
* _argo0
= 0;
5433 PyObject
* _obj1
= 0;
5434 char *_kwnames
[] = { "self","name","regionId", NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5447 #if PYTHON_API_VERSION >= 1009
5448 char* tmpPtr
; int tmpSize
;
5449 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5450 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5453 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5455 _arg1
= new wxString(tmpPtr
, tmpSize
);
5457 if (!PyString_Check(_obj1
)) {
5458 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5461 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5465 wxPy_BEGIN_ALLOW_THREADS
;
5466 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5468 wxPy_END_ALLOW_THREADS
;
5469 } Py_INCREF(Py_None
);
5470 _resultobj
= Py_None
;
5478 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5479 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
* _resultobj
;
5484 PyObject
* _argo0
= 0;
5485 char *_kwnames
[] = { "self","regionId", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5501 wxPy_END_ALLOW_THREADS
;
5503 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5511 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5512 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
* _resultobj
;
5517 PyObject
* _argo0
= 0;
5518 PyObject
* _obj1
= 0;
5519 char *_kwnames
[] = { "self","name", NULL
};
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5532 #if PYTHON_API_VERSION >= 1009
5533 char* tmpPtr
; int tmpSize
;
5534 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5535 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5538 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5540 _arg1
= new wxString(tmpPtr
, tmpSize
);
5542 if (!PyString_Check(_obj1
)) {
5543 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5546 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5550 wxPy_BEGIN_ALLOW_THREADS
;
5551 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5553 wxPy_END_ALLOW_THREADS
;
5554 } _resultobj
= Py_BuildValue("i",_result
);
5562 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5563 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5566 wxString
* _arg1
= (wxString
*) &"";
5567 PyObject
* _argo0
= 0;
5568 PyObject
* _obj1
= 0;
5569 char *_kwnames
[] = { "self","parentName", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5583 #if PYTHON_API_VERSION >= 1009
5584 char* tmpPtr
; int tmpSize
;
5585 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5586 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5589 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5591 _arg1
= new wxString(tmpPtr
, tmpSize
);
5593 if (!PyString_Check(_obj1
)) {
5594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5597 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5601 wxPy_BEGIN_ALLOW_THREADS
;
5602 wxPyShape_NameRegions(_arg0
,*_arg1
);
5604 wxPy_END_ALLOW_THREADS
;
5605 } Py_INCREF(Py_None
);
5606 _resultobj
= Py_None
;
5614 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5615 wxList
& list
= self
->GetRegions();
5616 return wxPy_ConvertList(&list
, "wxShapeRegion");
5618 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5622 PyObject
* _argo0
= 0;
5623 char *_kwnames
[] = { "self", NULL
};
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5636 wxPy_BEGIN_ALLOW_THREADS
;
5637 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5639 wxPy_END_ALLOW_THREADS
;
5641 _resultobj
= _result
;
5646 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5647 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
* _resultobj
;
5650 wxShapeRegion
* _arg1
;
5651 PyObject
* _argo0
= 0;
5652 PyObject
* _argo1
= 0;
5653 char *_kwnames
[] = { "self","region", NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5673 wxPy_BEGIN_ALLOW_THREADS
;
5674 wxPyShape_AddRegion(_arg0
,_arg1
);
5676 wxPy_END_ALLOW_THREADS
;
5677 } Py_INCREF(Py_None
);
5678 _resultobj
= Py_None
;
5682 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5683 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5686 PyObject
* _argo0
= 0;
5687 char *_kwnames
[] = { "self", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5700 wxPy_BEGIN_ALLOW_THREADS
;
5701 wxPyShape_ClearRegions(_arg0
);
5703 wxPy_END_ALLOW_THREADS
;
5704 } Py_INCREF(Py_None
);
5705 _resultobj
= Py_None
;
5709 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5710 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
* _resultobj
;
5713 PyObject
* _argo0
= 0;
5714 char *_kwnames
[] = { "self", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5727 wxPy_BEGIN_ALLOW_THREADS
;
5728 wxPyShape_AssignNewIds(_arg0
);
5730 wxPy_END_ALLOW_THREADS
;
5731 } Py_INCREF(Py_None
);
5732 _resultobj
= Py_None
;
5736 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5737 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5739 wxPyShape
* _result
;
5744 PyObject
* _argo0
= 0;
5745 PyObject
* _obj1
= 0;
5746 char *_kwnames
[] = { "self","regionName", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5763 #if PYTHON_API_VERSION >= 1009
5764 char* tmpPtr
; int tmpSize
;
5765 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5766 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5769 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5771 _arg1
= new wxString(tmpPtr
, tmpSize
);
5773 if (!PyString_Check(_obj1
)) {
5774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5777 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5781 wxPy_BEGIN_ALLOW_THREADS
;
5782 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5784 wxPy_END_ALLOW_THREADS
;
5786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
5787 _resultobj
= Py_BuildValue("s",_ptemp
);
5790 _resultobj
= Py_None
;
5794 o
= PyInt_FromLong((long) (*_arg2
));
5795 _resultobj
= t_output_helper(_resultobj
, o
);
5804 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5805 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
* _resultobj
;
5808 wxStringList
* _arg1
;
5809 PyObject
* _argo0
= 0;
5810 PyObject
* _argo1
= 0;
5811 char *_kwnames
[] = { "self","list", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5831 wxPy_BEGIN_ALLOW_THREADS
;
5832 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5834 wxPy_END_ALLOW_THREADS
;
5835 } Py_INCREF(Py_None
);
5836 _resultobj
= Py_None
;
5840 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5841 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
* _resultobj
;
5844 int _arg1
= (int ) 0;
5845 PyObject
* _argo0
= 0;
5846 char *_kwnames
[] = { "self","regionId", NULL
};
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5859 wxPy_BEGIN_ALLOW_THREADS
;
5860 wxPyShape_ClearText(_arg0
,_arg1
);
5862 wxPy_END_ALLOW_THREADS
;
5863 } Py_INCREF(Py_None
);
5864 _resultobj
= Py_None
;
5868 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5869 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5872 wxPyLineShape
* _arg1
;
5873 PyObject
* _argo0
= 0;
5874 PyObject
* _argo1
= 0;
5875 char *_kwnames
[] = { "self","line", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5895 wxPy_BEGIN_ALLOW_THREADS
;
5896 wxPyShape_RemoveLine(_arg0
,_arg1
);
5898 wxPy_END_ALLOW_THREADS
;
5899 } Py_INCREF(Py_None
);
5900 _resultobj
= Py_None
;
5904 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5905 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5914 int _arg4
= (int ) 0;
5915 int _arg5
= (int ) 1;
5916 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5917 PyObject
* _argo0
= 0;
5918 PyObject
* _argo6
= 0;
5919 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5938 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5945 wxPy_BEGIN_ALLOW_THREADS
;
5946 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5948 wxPy_END_ALLOW_THREADS
;
5949 } _resultobj
= Py_BuildValue("i",_result
);
5952 o
= PyFloat_FromDouble((double) (*_arg2
));
5953 _resultobj
= t_output_helper(_resultobj
, o
);
5957 o
= PyFloat_FromDouble((double) (*_arg3
));
5958 _resultobj
= t_output_helper(_resultobj
, o
);
5963 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5964 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5968 PyObject
* _argo0
= 0;
5969 char *_kwnames
[] = { "self", NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5982 wxPy_BEGIN_ALLOW_THREADS
;
5983 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5985 wxPy_END_ALLOW_THREADS
;
5986 } _resultobj
= Py_BuildValue("i",_result
);
5990 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5991 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
* _resultobj
;
5996 PyObject
* _argo0
= 0;
5997 char *_kwnames
[] = { "self","attachment", NULL
};
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
6003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
6010 wxPy_BEGIN_ALLOW_THREADS
;
6011 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
6013 wxPy_END_ALLOW_THREADS
;
6014 } _resultobj
= Py_BuildValue("i",_result
);
6018 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6019 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
* _resultobj
;
6028 int _arg4
= (int ) 0;
6029 int _arg5
= (int ) 1;
6030 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6031 PyObject
* _argo0
= 0;
6032 PyObject
* _argo6
= 0;
6033 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6052 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6059 wxPy_BEGIN_ALLOW_THREADS
;
6060 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6062 wxPy_END_ALLOW_THREADS
;
6063 } _resultobj
= Py_BuildValue("i",_result
);
6066 o
= PyFloat_FromDouble((double) (*_arg2
));
6067 _resultobj
= t_output_helper(_resultobj
, o
);
6071 o
= PyFloat_FromDouble((double) (*_arg3
));
6072 _resultobj
= t_output_helper(_resultobj
, o
);
6077 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6078 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6080 wxRealPoint
* _result
;
6082 wxRealPoint
* _arg1
;
6083 wxRealPoint
* _arg2
;
6086 wxPyLineShape
* _arg5
;
6087 PyObject
* _argo0
= 0;
6089 PyObject
* _obj1
= 0;
6091 PyObject
* _obj2
= 0;
6092 PyObject
* _argo5
= 0;
6093 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6108 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6113 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6117 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6118 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6124 wxPy_BEGIN_ALLOW_THREADS
;
6125 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6127 wxPy_END_ALLOW_THREADS
;
6128 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6129 _resultobj
= Py_BuildValue("s",_ptemp
);
6133 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6134 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
* _resultobj
;
6139 wxRealPoint
* _arg2
;
6140 wxRealPoint
* _arg3
;
6141 PyObject
* _argo0
= 0;
6143 PyObject
* _obj2
= 0;
6145 PyObject
* _obj3
= 0;
6146 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6160 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6165 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6169 wxPy_BEGIN_ALLOW_THREADS
;
6170 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6172 wxPy_END_ALLOW_THREADS
;
6173 } _resultobj
= Py_BuildValue("i",_result
);
6177 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6178 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
* _resultobj
;
6182 int _arg2
= (int ) -1;
6183 bool _arg3
= (bool ) FALSE
;
6184 PyObject
* _argo0
= 0;
6185 PyObject
* _argo1
= 0;
6186 int tempbool3
= (int) FALSE
;
6187 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6206 _arg3
= (bool ) tempbool3
;
6208 wxPy_BEGIN_ALLOW_THREADS
;
6209 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6211 wxPy_END_ALLOW_THREADS
;
6212 } Py_INCREF(Py_None
);
6213 _resultobj
= Py_None
;
6217 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6218 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
* _resultobj
;
6222 int _arg2
= (int ) -1;
6223 bool _arg3
= (bool ) FALSE
;
6224 PyObject
* _argo0
= 0;
6225 PyObject
* _argo1
= 0;
6226 int tempbool3
= (int) FALSE
;
6227 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6246 _arg3
= (bool ) tempbool3
;
6248 wxPy_BEGIN_ALLOW_THREADS
;
6249 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6251 wxPy_END_ALLOW_THREADS
;
6252 } Py_INCREF(Py_None
);
6253 _resultobj
= Py_None
;
6257 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6258 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
* _resultobj
;
6263 wxPyLineShape
* _arg2
;
6266 PyObject
* _argo0
= 0;
6267 PyObject
* _argo1
= 0;
6268 PyObject
* _argo2
= 0;
6269 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6289 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6296 wxPy_BEGIN_ALLOW_THREADS
;
6297 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6299 wxPy_END_ALLOW_THREADS
;
6300 } _resultobj
= Py_BuildValue("i",_result
);
6304 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6305 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6306 self
->ApplyAttachmentOrdering(*list
);
6309 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
* _resultobj
;
6313 PyObject
* _argo0
= 0;
6314 PyObject
* _obj1
= 0;
6315 char *_kwnames
[] = { "self","linesToSort", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6331 wxPy_BEGIN_ALLOW_THREADS
;
6332 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6334 wxPy_END_ALLOW_THREADS
;
6335 } Py_INCREF(Py_None
);
6336 _resultobj
= Py_None
;
6340 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6341 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
* _resultobj
;
6343 wxRealPoint
* _result
;
6346 PyObject
* _argo0
= 0;
6347 char *_kwnames
[] = { "self","attachment", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6361 wxPy_BEGIN_ALLOW_THREADS
;
6362 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6364 wxPy_END_ALLOW_THREADS
;
6365 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6366 _resultobj
= Py_BuildValue("s",_ptemp
);
6370 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6371 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
* _resultobj
;
6376 wxRealPoint
* _arg2
;
6377 wxRealPoint
* _arg3
;
6378 wxRealPoint
* _arg4
;
6379 wxRealPoint
* _arg5
;
6380 PyObject
* _argo0
= 0;
6382 PyObject
* _obj2
= 0;
6384 PyObject
* _obj3
= 0;
6386 PyObject
* _obj4
= 0;
6388 PyObject
* _obj5
= 0;
6389 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6403 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6408 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6413 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6418 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6422 wxPy_BEGIN_ALLOW_THREADS
;
6423 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6425 wxPy_END_ALLOW_THREADS
;
6426 } _resultobj
= Py_BuildValue("i",_result
);
6430 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6431 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6437 wxRealPoint
* _arg3
;
6438 wxRealPoint
* _arg4
;
6439 PyObject
* _argo0
= 0;
6441 PyObject
* _obj3
= 0;
6443 PyObject
* _obj4
= 0;
6444 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6458 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6463 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6467 wxPy_BEGIN_ALLOW_THREADS
;
6468 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6470 wxPy_END_ALLOW_THREADS
;
6471 } _resultobj
= Py_BuildValue("i",_result
);
6475 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6476 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6481 PyObject
* _argo0
= 0;
6482 char *_kwnames
[] = { "self","attachment", NULL
};
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6495 wxPy_BEGIN_ALLOW_THREADS
;
6496 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6498 wxPy_END_ALLOW_THREADS
;
6499 } _resultobj
= Py_BuildValue("i",_result
);
6503 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6504 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
* _resultobj
;
6508 PyObject
* _argo0
= 0;
6509 char *_kwnames
[] = { "self","len", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6522 wxPy_BEGIN_ALLOW_THREADS
;
6523 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6525 wxPy_END_ALLOW_THREADS
;
6526 } Py_INCREF(Py_None
);
6527 _resultobj
= Py_None
;
6531 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6532 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6536 PyObject
* _argo0
= 0;
6537 char *_kwnames
[] = { "self", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6550 wxPy_BEGIN_ALLOW_THREADS
;
6551 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6553 wxPy_END_ALLOW_THREADS
;
6554 } _resultobj
= Py_BuildValue("i",_result
);
6558 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6559 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self","len", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6577 wxPy_BEGIN_ALLOW_THREADS
;
6578 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6580 wxPy_END_ALLOW_THREADS
;
6581 } Py_INCREF(Py_None
);
6582 _resultobj
= Py_None
;
6586 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6587 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6591 PyObject
* _argo0
= 0;
6592 char *_kwnames
[] = { "self", NULL
};
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6605 wxPy_BEGIN_ALLOW_THREADS
;
6606 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6608 wxPy_END_ALLOW_THREADS
;
6609 } _resultobj
= Py_BuildValue("i",_result
);
6613 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6614 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
* _resultobj
;
6618 PyObject
* _argo0
= 0;
6619 char *_kwnames
[] = { "self","len", NULL
};
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6632 wxPy_BEGIN_ALLOW_THREADS
;
6633 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6635 wxPy_END_ALLOW_THREADS
;
6636 } Py_INCREF(Py_None
);
6637 _resultobj
= Py_None
;
6641 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6642 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6660 wxPy_BEGIN_ALLOW_THREADS
;
6661 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6663 wxPy_END_ALLOW_THREADS
;
6664 } _resultobj
= Py_BuildValue("i",_result
);
6668 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6669 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6673 PyObject
* _argo0
= 0;
6674 char *_kwnames
[] = { "self","style", NULL
};
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6687 wxPy_BEGIN_ALLOW_THREADS
;
6688 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6690 wxPy_END_ALLOW_THREADS
;
6691 } Py_INCREF(Py_None
);
6692 _resultobj
= Py_None
;
6696 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6697 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6715 wxPy_BEGIN_ALLOW_THREADS
;
6716 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6718 wxPy_END_ALLOW_THREADS
;
6719 } _resultobj
= Py_BuildValue("l",_result
);
6723 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6724 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
* _resultobj
;
6729 PyObject
* _argo0
= 0;
6730 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6743 wxPy_BEGIN_ALLOW_THREADS
;
6744 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6746 wxPy_END_ALLOW_THREADS
;
6747 } _resultobj
= Py_BuildValue("i",_result
);
6751 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6752 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6757 PyObject
* _argo0
= 0;
6758 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6771 wxPy_BEGIN_ALLOW_THREADS
;
6772 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6774 wxPy_END_ALLOW_THREADS
;
6775 } _resultobj
= Py_BuildValue("i",_result
);
6779 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6780 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
* _resultobj
;
6784 PyObject
* _argo0
= 0;
6785 char *_kwnames
[] = { "self", NULL
};
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6798 wxPy_BEGIN_ALLOW_THREADS
;
6799 _result
= (bool )wxPyShape_Draggable(_arg0
);
6801 wxPy_END_ALLOW_THREADS
;
6802 } _resultobj
= Py_BuildValue("i",_result
);
6806 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6807 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
* _resultobj
;
6812 PyObject
* _argo0
= 0;
6813 PyObject
* _argo1
= 0;
6814 char *_kwnames
[] = { "self","image", NULL
};
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6834 wxPy_BEGIN_ALLOW_THREADS
;
6835 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6837 wxPy_END_ALLOW_THREADS
;
6838 } _resultobj
= Py_BuildValue("i",_result
);
6842 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6843 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
* _resultobj
;
6845 wxPyShape
* _result
;
6847 bool _arg1
= (bool ) TRUE
;
6848 bool _arg2
= (bool ) TRUE
;
6849 PyObject
* _argo0
= 0;
6850 int tempbool1
= (int) TRUE
;
6851 int tempbool2
= (int) TRUE
;
6852 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6865 _arg1
= (bool ) tempbool1
;
6866 _arg2
= (bool ) tempbool2
;
6868 wxPy_BEGIN_ALLOW_THREADS
;
6869 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6871 wxPy_END_ALLOW_THREADS
;
6873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
6874 _resultobj
= Py_BuildValue("s",_ptemp
);
6877 _resultobj
= Py_None
;
6882 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6883 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6887 PyObject
* _argo0
= 0;
6888 PyObject
* _argo1
= 0;
6889 char *_kwnames
[] = { "self","copy", NULL
};
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6909 wxPy_BEGIN_ALLOW_THREADS
;
6910 wxPyShape_Copy(_arg0
,*_arg1
);
6912 wxPy_END_ALLOW_THREADS
;
6913 } Py_INCREF(Py_None
);
6914 _resultobj
= Py_None
;
6918 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6919 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
* _resultobj
;
6923 PyObject
* _argo0
= 0;
6924 PyObject
* _argo1
= 0;
6925 char *_kwnames
[] = { "self","copy", NULL
};
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6945 wxPy_BEGIN_ALLOW_THREADS
;
6946 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6948 wxPy_END_ALLOW_THREADS
;
6949 } Py_INCREF(Py_None
);
6950 _resultobj
= Py_None
;
6954 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6955 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6975 wxPy_BEGIN_ALLOW_THREADS
;
6976 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6978 wxPy_END_ALLOW_THREADS
;
6979 } Py_INCREF(Py_None
);
6980 _resultobj
= Py_None
;
6984 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6985 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
7003 wxPy_BEGIN_ALLOW_THREADS
;
7004 _result
= (double )wxPyShape_GetRotation(_arg0
);
7006 wxPy_END_ALLOW_THREADS
;
7007 } _resultobj
= Py_BuildValue("d",_result
);
7011 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7012 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
* _resultobj
;
7015 PyObject
* _argo0
= 0;
7016 char *_kwnames
[] = { "self", NULL
};
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
7022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7029 wxPy_BEGIN_ALLOW_THREADS
;
7030 wxPyShape_ClearAttachments(_arg0
);
7032 wxPy_END_ALLOW_THREADS
;
7033 } Py_INCREF(Py_None
);
7034 _resultobj
= Py_None
;
7038 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7039 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
* _resultobj
;
7043 PyObject
* _argo0
= 0;
7044 PyObject
* _argo1
= 0;
7045 char *_kwnames
[] = { "self","dc", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7065 wxPy_BEGIN_ALLOW_THREADS
;
7066 wxPyShape_Recentre(_arg0
,*_arg1
);
7068 wxPy_END_ALLOW_THREADS
;
7069 } Py_INCREF(Py_None
);
7070 _resultobj
= Py_None
;
7074 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7075 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
* _resultobj
;
7079 PyObject
* _argo0
= 0;
7080 PyObject
* _argo1
= 0;
7081 char *_kwnames
[] = { "self","list", NULL
};
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7094 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7101 wxPy_BEGIN_ALLOW_THREADS
;
7102 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7104 wxPy_END_ALLOW_THREADS
;
7105 } Py_INCREF(Py_None
);
7106 _resultobj
= Py_None
;
7110 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7111 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
* _resultobj
;
7114 PyObject
* _argo0
= 0;
7115 char *_kwnames
[] = { "self", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7128 wxPy_BEGIN_ALLOW_THREADS
;
7129 wxPyShape_base_OnDelete(_arg0
);
7131 wxPy_END_ALLOW_THREADS
;
7132 } Py_INCREF(Py_None
);
7133 _resultobj
= Py_None
;
7137 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7138 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
* _resultobj
;
7142 PyObject
* _argo0
= 0;
7143 PyObject
* _argo1
= 0;
7144 char *_kwnames
[] = { "self","dc", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7164 wxPy_BEGIN_ALLOW_THREADS
;
7165 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7167 wxPy_END_ALLOW_THREADS
;
7168 } Py_INCREF(Py_None
);
7169 _resultobj
= Py_None
;
7173 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7174 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7178 PyObject
* _argo0
= 0;
7179 PyObject
* _argo1
= 0;
7180 char *_kwnames
[] = { "self","dc", NULL
};
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7200 wxPy_BEGIN_ALLOW_THREADS
;
7201 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7203 wxPy_END_ALLOW_THREADS
;
7204 } Py_INCREF(Py_None
);
7205 _resultobj
= Py_None
;
7209 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7210 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7214 bool _arg2
= (bool ) FALSE
;
7215 PyObject
* _argo0
= 0;
7216 PyObject
* _argo1
= 0;
7217 int tempbool2
= (int) FALSE
;
7218 char *_kwnames
[] = { "self","dc","erase", NULL
};
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7237 _arg2
= (bool ) tempbool2
;
7239 wxPy_BEGIN_ALLOW_THREADS
;
7240 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7242 wxPy_END_ALLOW_THREADS
;
7243 } Py_INCREF(Py_None
);
7244 _resultobj
= Py_None
;
7248 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7249 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
* _resultobj
;
7253 PyObject
* _argo0
= 0;
7254 PyObject
* _argo1
= 0;
7255 char *_kwnames
[] = { "self","dc", NULL
};
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7275 wxPy_BEGIN_ALLOW_THREADS
;
7276 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7278 wxPy_END_ALLOW_THREADS
;
7279 } Py_INCREF(Py_None
);
7280 _resultobj
= Py_None
;
7284 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7285 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7289 PyObject
* _argo0
= 0;
7290 PyObject
* _argo1
= 0;
7291 char *_kwnames
[] = { "self","dc", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7311 wxPy_BEGIN_ALLOW_THREADS
;
7312 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7314 wxPy_END_ALLOW_THREADS
;
7315 } Py_INCREF(Py_None
);
7316 _resultobj
= Py_None
;
7320 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7321 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7325 PyObject
* _argo0
= 0;
7326 PyObject
* _argo1
= 0;
7327 char *_kwnames
[] = { "self","dc", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7347 wxPy_BEGIN_ALLOW_THREADS
;
7348 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7350 wxPy_END_ALLOW_THREADS
;
7351 } Py_INCREF(Py_None
);
7352 _resultobj
= Py_None
;
7356 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7357 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7361 PyObject
* _argo0
= 0;
7362 PyObject
* _argo1
= 0;
7363 char *_kwnames
[] = { "self","dc", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7383 wxPy_BEGIN_ALLOW_THREADS
;
7384 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7386 wxPy_END_ALLOW_THREADS
;
7387 } Py_INCREF(Py_None
);
7388 _resultobj
= Py_None
;
7392 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7393 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
* _resultobj
;
7398 int _arg3
= (int ) 0;
7399 int _arg4
= (int ) 0;
7400 PyObject
* _argo0
= 0;
7401 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7414 wxPy_BEGIN_ALLOW_THREADS
;
7415 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7417 wxPy_END_ALLOW_THREADS
;
7418 } Py_INCREF(Py_None
);
7419 _resultobj
= Py_None
;
7423 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7424 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
* _resultobj
;
7429 int _arg3
= (int ) 0;
7430 int _arg4
= (int ) 0;
7431 PyObject
* _argo0
= 0;
7432 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7445 wxPy_BEGIN_ALLOW_THREADS
;
7446 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7448 wxPy_END_ALLOW_THREADS
;
7449 } Py_INCREF(Py_None
);
7450 _resultobj
= Py_None
;
7454 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7455 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
* _resultobj
;
7460 int _arg3
= (int ) 0;
7461 int _arg4
= (int ) 0;
7462 PyObject
* _argo0
= 0;
7463 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7476 wxPy_BEGIN_ALLOW_THREADS
;
7477 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7479 wxPy_END_ALLOW_THREADS
;
7480 } Py_INCREF(Py_None
);
7481 _resultobj
= Py_None
;
7485 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7486 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
* _resultobj
;
7491 PyObject
* _argo0
= 0;
7492 char *_kwnames
[] = { "self","x","y", NULL
};
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7505 wxPy_BEGIN_ALLOW_THREADS
;
7506 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7508 wxPy_END_ALLOW_THREADS
;
7509 } Py_INCREF(Py_None
);
7510 _resultobj
= Py_None
;
7514 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7515 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
* _resultobj
;
7524 bool _arg6
= (bool ) TRUE
;
7525 PyObject
* _argo0
= 0;
7526 PyObject
* _argo1
= 0;
7527 int tempbool6
= (int) TRUE
;
7528 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7547 _arg6
= (bool ) tempbool6
;
7549 wxPy_BEGIN_ALLOW_THREADS
;
7550 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7552 wxPy_END_ALLOW_THREADS
;
7553 } _resultobj
= Py_BuildValue("i",_result
);
7557 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7558 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
* _resultobj
;
7566 bool _arg6
= (bool ) TRUE
;
7567 PyObject
* _argo0
= 0;
7568 PyObject
* _argo1
= 0;
7569 int tempbool6
= (int) TRUE
;
7570 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7589 _arg6
= (bool ) tempbool6
;
7591 wxPy_BEGIN_ALLOW_THREADS
;
7592 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7594 wxPy_END_ALLOW_THREADS
;
7595 } Py_INCREF(Py_None
);
7596 _resultobj
= Py_None
;
7600 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7601 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
* _resultobj
;
7607 int _arg4
= (int ) 0;
7608 int _arg5
= (int ) 0;
7609 PyObject
* _argo0
= 0;
7611 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7623 _arg1
= (bool ) tempbool1
;
7625 wxPy_BEGIN_ALLOW_THREADS
;
7626 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7628 wxPy_END_ALLOW_THREADS
;
7629 } Py_INCREF(Py_None
);
7630 _resultobj
= Py_None
;
7634 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7635 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
* _resultobj
;
7640 int _arg3
= (int ) 0;
7641 int _arg4
= (int ) 0;
7642 PyObject
* _argo0
= 0;
7643 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7656 wxPy_BEGIN_ALLOW_THREADS
;
7657 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7659 wxPy_END_ALLOW_THREADS
;
7660 } Py_INCREF(Py_None
);
7661 _resultobj
= Py_None
;
7665 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7666 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
* _resultobj
;
7671 int _arg3
= (int ) 0;
7672 int _arg4
= (int ) 0;
7673 PyObject
* _argo0
= 0;
7674 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7687 wxPy_BEGIN_ALLOW_THREADS
;
7688 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7690 wxPy_END_ALLOW_THREADS
;
7691 } Py_INCREF(Py_None
);
7692 _resultobj
= Py_None
;
7696 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7697 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
* _resultobj
;
7703 int _arg4
= (int ) 0;
7704 int _arg5
= (int ) 0;
7705 PyObject
* _argo0
= 0;
7707 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7719 _arg1
= (bool ) tempbool1
;
7721 wxPy_BEGIN_ALLOW_THREADS
;
7722 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7724 wxPy_END_ALLOW_THREADS
;
7725 } Py_INCREF(Py_None
);
7726 _resultobj
= Py_None
;
7730 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7731 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
* _resultobj
;
7736 int _arg3
= (int ) 0;
7737 int _arg4
= (int ) 0;
7738 PyObject
* _argo0
= 0;
7739 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7752 wxPy_BEGIN_ALLOW_THREADS
;
7753 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7755 wxPy_END_ALLOW_THREADS
;
7756 } Py_INCREF(Py_None
);
7757 _resultobj
= Py_None
;
7761 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7762 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
* _resultobj
;
7767 int _arg3
= (int ) 0;
7768 int _arg4
= (int ) 0;
7769 PyObject
* _argo0
= 0;
7770 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7783 wxPy_BEGIN_ALLOW_THREADS
;
7784 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7786 wxPy_END_ALLOW_THREADS
;
7787 } Py_INCREF(Py_None
);
7788 _resultobj
= Py_None
;
7792 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7793 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
* _resultobj
;
7801 PyObject
* _argo0
= 0;
7802 PyObject
* _argo1
= 0;
7803 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7823 wxPy_BEGIN_ALLOW_THREADS
;
7824 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7826 wxPy_END_ALLOW_THREADS
;
7827 } Py_INCREF(Py_None
);
7828 _resultobj
= Py_None
;
7832 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7833 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
* _resultobj
;
7837 PyObject
* _argo0
= 0;
7838 PyObject
* _argo1
= 0;
7839 char *_kwnames
[] = { "self","dc", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7859 wxPy_BEGIN_ALLOW_THREADS
;
7860 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7862 wxPy_END_ALLOW_THREADS
;
7863 } Py_INCREF(Py_None
);
7864 _resultobj
= Py_None
;
7868 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7869 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
* _resultobj
;
7873 PyObject
* _argo0
= 0;
7874 PyObject
* _argo1
= 0;
7875 char *_kwnames
[] = { "self","dc", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7895 wxPy_BEGIN_ALLOW_THREADS
;
7896 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7898 wxPy_END_ALLOW_THREADS
;
7899 } Py_INCREF(Py_None
);
7900 _resultobj
= Py_None
;
7904 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7905 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
* _resultobj
;
7909 bool _arg2
= (bool ) TRUE
;
7910 PyObject
* _argo0
= 0;
7911 PyObject
* _argo1
= 0;
7912 int tempbool2
= (int) TRUE
;
7913 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7932 _arg2
= (bool ) tempbool2
;
7934 wxPy_BEGIN_ALLOW_THREADS
;
7935 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7937 wxPy_END_ALLOW_THREADS
;
7938 } Py_INCREF(Py_None
);
7939 _resultobj
= Py_None
;
7943 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7944 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
* _resultobj
;
7947 wxPyControlPoint
* _arg1
;
7951 int _arg5
= (int ) 0;
7952 int _arg6
= (int ) 0;
7953 PyObject
* _argo0
= 0;
7954 PyObject
* _argo1
= 0;
7956 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7969 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7970 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7975 _arg2
= (bool ) tempbool2
;
7977 wxPy_BEGIN_ALLOW_THREADS
;
7978 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7980 wxPy_END_ALLOW_THREADS
;
7981 } Py_INCREF(Py_None
);
7982 _resultobj
= Py_None
;
7986 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7987 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
* _resultobj
;
7990 wxPyControlPoint
* _arg1
;
7993 int _arg4
= (int ) 0;
7994 int _arg5
= (int ) 0;
7995 PyObject
* _argo0
= 0;
7996 PyObject
* _argo1
= 0;
7997 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
8010 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8011 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8017 wxPy_BEGIN_ALLOW_THREADS
;
8018 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8020 wxPy_END_ALLOW_THREADS
;
8021 } Py_INCREF(Py_None
);
8022 _resultobj
= Py_None
;
8026 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8027 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
* _resultobj
;
8030 wxPyControlPoint
* _arg1
;
8033 int _arg4
= (int ) 0;
8034 int _arg5
= (int ) 0;
8035 PyObject
* _argo0
= 0;
8036 PyObject
* _argo1
= 0;
8037 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8057 wxPy_BEGIN_ALLOW_THREADS
;
8058 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8060 wxPy_END_ALLOW_THREADS
;
8061 } Py_INCREF(Py_None
);
8062 _resultobj
= Py_None
;
8066 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8067 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
* _resultobj
;
8072 PyObject
* _argo0
= 0;
8073 char *_kwnames
[] = { "self","w","h", NULL
};
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8086 wxPy_BEGIN_ALLOW_THREADS
;
8087 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8089 wxPy_END_ALLOW_THREADS
;
8090 } Py_INCREF(Py_None
);
8091 _resultobj
= Py_None
;
8095 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8096 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8101 PyObject
* _argo0
= 0;
8102 char *_kwnames
[] = { "self","w","h", NULL
};
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8115 wxPy_BEGIN_ALLOW_THREADS
;
8116 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8118 wxPy_END_ALLOW_THREADS
;
8119 } Py_INCREF(Py_None
);
8120 _resultobj
= Py_None
;
8124 static PyMethodDef oglbasiccMethods
[] = {
8125 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxPyShape_Destroy", (PyCFunction
) _wrap_wxPyShape_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxPyShape__setSelf", (PyCFunction
) _wrap_wxPyShape__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxPyShapeEvtHandler__setSelf", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8362 * This table is used by the pointer type-checker
8364 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8365 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8366 { "_wxEvent","_class_wxEvent",0},
8367 { "_class_wxActivateEvent","_wxActivateEvent",0},
8368 { "_signed_long","_long",0},
8369 { "_wxMenuEvent","_class_wxMenuEvent",0},
8370 { "_class_wxProcessEvent","_wxProcessEvent",0},
8371 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
8372 { "_class_wxFSFile","_wxFSFile",0},
8373 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8374 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8375 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8376 { "_wxBMPHandler","_class_wxBMPHandler",0},
8377 { "_wxImage","_class_wxImage",0},
8378 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
8379 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
8380 { "_class_wxDateTime","_wxDateTime",0},
8381 { "_wxPrintQuality","_wxCoord",0},
8382 { "_wxPrintQuality","_int",0},
8383 { "_wxPrintQuality","_signed_int",0},
8384 { "_wxPrintQuality","_unsigned_int",0},
8385 { "_wxPrintQuality","_wxWindowID",0},
8386 { "_wxPrintQuality","_uint",0},
8387 { "_wxPrintQuality","_EBool",0},
8388 { "_wxPrintQuality","_size_t",0},
8389 { "_wxPrintQuality","_time_t",0},
8390 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8391 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8392 { "_wxFontData","_class_wxFontData",0},
8393 { "_class_wxRegionIterator","_wxRegionIterator",0},
8394 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8395 { "_class_wxMenuBar","_wxMenuBar",0},
8396 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8397 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
8398 { "_class_wxEvtHandler","_wxEvtHandler",0},
8399 { "_wxPaintEvent","_class_wxPaintEvent",0},
8400 { "_wxGIFHandler","_class_wxGIFHandler",0},
8401 { "_wxPySizer","_class_wxPySizer",0},
8402 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
8403 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8404 { "_wxCursor","_class_wxCursor",0},
8405 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8406 { "_wxPyProcess","_class_wxPyProcess",0},
8407 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8408 { "_wxImageHandler","_class_wxImageHandler",0},
8409 { "_wxLog","_class_wxLog",0},
8410 { "_class_wxToolBarBase","_wxToolBarBase",0},
8411 { "_wxMask","_class_wxMask",0},
8412 { "_wxToolTip","_class_wxToolTip",0},
8413 { "_wxPNGHandler","_class_wxPNGHandler",0},
8414 { "_class_wxColourData","_wxColourData",0},
8415 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8416 { "_wxPrinter","_class_wxPrinter",0},
8417 { "_wxPen","_class_wxPen",0},
8418 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8419 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
8420 { "_byte","_unsigned_char",0},
8421 { "_wxDataObject","_class_wxDataObject",0},
8422 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
8423 { "_wxStaticBox","_class_wxStaticBox",0},
8424 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8425 { "_wxPyDropSource","_class_wxPyDropSource",0},
8426 { "_wxChoice","_class_wxChoice",0},
8427 { "_wxSlider","_class_wxSlider",0},
8428 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8429 { "_wxPyPrintout","_class_wxPyPrintout",0},
8430 { "_wxShapeRegion","_class_wxShapeRegion",0},
8431 { "_long","_unsigned_long",0},
8432 { "_long","_signed_long",0},
8433 { "_wxImageList","_class_wxImageList",0},
8434 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8435 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8436 { "_wxBitmapButton","_class_wxBitmapButton",0},
8437 { "_wxSashWindow","_class_wxSashWindow",0},
8438 { "_class_wxSizer","_wxSizer",0},
8439 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
8440 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8441 { "_wxGridSizer","_class_wxGridSizer",0},
8442 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8443 { "_class_wxClipboard","_wxClipboard",0},
8444 { "_class_wxGauge","_wxGauge",0},
8445 { "_class_wxSashEvent","_wxSashEvent",0},
8446 { "_wxDC","_class_wxDC",0},
8447 { "_wxSizerItem","_class_wxSizerItem",0},
8448 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8449 { "_wxListEvent","_class_wxListEvent",0},
8450 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8451 { "_wxProgressDialog","_class_wxProgressDialog",0},
8452 { "_class_wxBMPHandler","_wxBMPHandler",0},
8453 { "_wxPrintPreview","_class_wxPrintPreview",0},
8454 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
8455 { "_wxSpinEvent","_class_wxSpinEvent",0},
8456 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8457 { "_size_t","_wxCoord",0},
8458 { "_size_t","_wxPrintQuality",0},
8459 { "_size_t","_time_t",0},
8460 { "_size_t","_unsigned_int",0},
8461 { "_size_t","_int",0},
8462 { "_size_t","_wxWindowID",0},
8463 { "_size_t","_uint",0},
8464 { "_class_wxRealPoint","_wxRealPoint",0},
8465 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8466 { "_wxPNMHandler","_class_wxPNMHandler",0},
8467 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8468 { "_wxLogGui","_class_wxLogGui",0},
8469 { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8470 { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8471 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
8472 { "_class_wxMenuItem","_wxMenuItem",0},
8473 { "_class_wxPaintEvent","_wxPaintEvent",0},
8474 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8475 { "_class_wxStatusBar","_wxStatusBar",0},
8476 { "_class_wxGIFHandler","_wxGIFHandler",0},
8477 { "_class_wxPySizer","_wxPySizer",0},
8478 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8479 { "_wxPanel","_class_wxPanel",0},
8480 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8481 { "_wxCheckBox","_class_wxCheckBox",0},
8482 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8483 { "_wxPyEvent","_class_wxPyEvent",0},
8484 { "_wxTextCtrl","_class_wxTextCtrl",0},
8485 { "_class_wxMask","_wxMask",0},
8486 { "_wxTextDataObject","_class_wxTextDataObject",0},
8487 { "_class_wxKeyEvent","_wxKeyEvent",0},
8488 { "_class_wxToolTip","_wxToolTip",0},
8489 { "_class_wxPNGHandler","_wxPNGHandler",0},
8490 { "_wxFileConfig","_class_wxFileConfig",0},
8491 { "_wxColour","_class_wxColour",0},
8492 { "_class_wxDialog","_wxDialog",0},
8493 { "_wxBusyCursor","_class_wxBusyCursor",0},
8494 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8495 { "_class_wxPrinter","_wxPrinter",0},
8496 { "_class_wxFileDataObject","_wxFileDataObject",0},
8497 { "_wxIdleEvent","_class_wxIdleEvent",0},
8498 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8499 { "_wxToolBar","_class_wxToolBar",0},
8500 { "_class_wxDataObject","_wxDataObject",0},
8501 { "_wxCaret","_class_wxCaret",0},
8502 { "_wxStaticLine","_class_wxStaticLine",0},
8503 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8504 { "_wxBrush","_class_wxBrush",0},
8505 { "_wxMiniFrame","_class_wxMiniFrame",0},
8506 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8507 { "_class_wxPyPrintout","_wxPyPrintout",0},
8508 { "_wxDataFormat","_class_wxDataFormat",0},
8509 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8510 { "_class_wxSashWindow","_wxSashWindow",0},
8511 { "_wxShowEvent","_class_wxShowEvent",0},
8512 { "_uint","_wxCoord",0},
8513 { "_uint","_wxPrintQuality",0},
8514 { "_uint","_time_t",0},
8515 { "_uint","_size_t",0},
8516 { "_uint","_unsigned_int",0},
8517 { "_uint","_int",0},
8518 { "_uint","_wxWindowID",0},
8519 { "_wxChar","_char",0},
8520 { "_wxPyValidator","_class_wxPyValidator",0},
8521 { "_class_wxEvent","_wxEvent",0},
8522 { "_wxCheckListBox","_class_wxCheckListBox",0},
8523 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8524 { "_wxRect","_class_wxRect",0},
8525 { "_wxCommandEvent","_class_wxCommandEvent",0},
8526 { "_wxSizeEvent","_class_wxSizeEvent",0},
8527 { "_class_wxLogWindow","_wxLogWindow",0},
8528 { "_class_wxImage","_wxImage",0},
8529 { "_wxPoint","_class_wxPoint",0},
8530 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
8531 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8532 { "_class_wxButton","_wxButton",0},
8533 { "_wxRadioBox","_class_wxRadioBox",0},
8534 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8535 { "_class_wxFontData","_wxFontData",0},
8536 { "_class_wxPNMHandler","_wxPNMHandler",0},
8537 { "_wxBoxSizer","_class_wxBoxSizer",0},
8538 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
8539 { "_char","_wxChar",0},
8540 { "_wxBitmap","_class_wxBitmap",0},
8541 { "_wxPrintDialog","_class_wxPrintDialog",0},
8542 { "_wxWindowDC","_class_wxWindowDC",0},
8543 { "_wxTimerEvent","_class_wxTimerEvent",0},
8544 { "_wxPyTimer","_class_wxPyTimer",0},
8545 { "_wxScrollBar","_class_wxScrollBar",0},
8546 { "_wxSpinButton","_class_wxSpinButton",0},
8547 { "_wxColourDialog","_class_wxColourDialog",0},
8548 { "_wxPrintData","_class_wxPrintData",0},
8549 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
8550 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8551 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8552 { "_wxMessageDialog","_class_wxMessageDialog",0},
8553 { "_class_wxValidator","_wxValidator",0},
8554 { "_class_wxPyEvent","_wxPyEvent",0},
8555 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
8556 { "_wxConfig","_class_wxConfig",0},
8557 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8558 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8559 { "_class_wxFileConfig","_wxFileConfig",0},
8560 { "_class_wxBusyCursor","_wxBusyCursor",0},
8561 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
8562 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8563 { "_wxListItem","_class_wxListItem",0},
8564 { "_class_wxToolBar","_wxToolBar",0},
8565 { "_wxDropTarget","_class_wxDropTarget",0},
8566 { "_class_wxStaticLine","_wxStaticLine",0},
8567 { "_wxScrollEvent","_class_wxScrollEvent",0},
8568 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
8569 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
8570 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
8571 { "_class_wxShapeRegion","_wxShapeRegion",0},
8572 { "_EBool","_wxCoord",0},
8573 { "_EBool","_wxPrintQuality",0},
8574 { "_EBool","_signed_int",0},
8575 { "_EBool","_int",0},
8576 { "_EBool","_wxWindowID",0},
8577 { "_class_wxRegion","_wxRegion",0},
8578 { "_class_wxDataFormat","_wxDataFormat",0},
8579 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8580 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8581 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8582 { "_wxStaticText","_class_wxStaticText",0},
8583 { "_wxFont","_class_wxFont",0},
8584 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8585 { "_wxCloseEvent","_class_wxCloseEvent",0},
8586 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
8587 { "_wxProcessEvent","_class_wxProcessEvent",0},
8588 { "_wxNotebook","_class_wxNotebook",0},
8589 { "_wxFSFile","_class_wxFSFile",0},
8590 { "_unsigned_long","_long",0},
8591 { "_class_wxRect","_wxRect",0},
8592 { "_class_wxDC","_wxDC",0},
8593 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8594 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
8595 { "_class_wxProgressDialog","_wxProgressDialog",0},
8596 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8597 { "_wxPyInputStream","_class_wxPyInputStream",0},
8598 { "_wxPyApp","_class_wxPyApp",0},
8599 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8600 { "_class_wxOutputStream","_wxOutputStream",0},
8601 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
8602 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8603 { "_class_wxTreeEvent","_wxTreeEvent",0},
8604 { "_class_wxDirDialog","_wxDirDialog",0},
8605 { "_wxTimeSpan","_class_wxTimeSpan",0},
8606 { "_wxFocusEvent","_class_wxFocusEvent",0},
8607 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8608 { "_class_wxTimerEvent","_wxTimerEvent",0},
8609 { "_class_wxPyTimer","_wxPyTimer",0},
8610 { "_class_wxSpinButton","_wxSpinButton",0},
8611 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8612 { "_class_wxPanel","_wxPanel",0},
8613 { "_class_wxCheckBox","_wxCheckBox",0},
8614 { "_wxComboBox","_class_wxComboBox",0},
8615 { "_wxRadioButton","_class_wxRadioButton",0},
8616 { "_class_wxMessageDialog","_wxMessageDialog",0},
8617 { "_signed_int","_wxCoord",0},
8618 { "_signed_int","_wxPrintQuality",0},
8619 { "_signed_int","_EBool",0},
8620 { "_signed_int","_wxWindowID",0},
8621 { "_signed_int","_int",0},
8622 { "_class_wxTextCtrl","_wxTextCtrl",0},
8623 { "_class_wxListItemAttr","_wxListItemAttr",0},
8624 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8625 { "_class_wxTextDataObject","_wxTextDataObject",0},
8626 { "_wxMenu","_class_wxMenu",0},
8627 { "_class_wxMoveEvent","_wxMoveEvent",0},
8628 { "_wxListBox","_class_wxListBox",0},
8629 { "_wxScreenDC","_class_wxScreenDC",0},
8630 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
8631 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
8632 { "_WXTYPE","_wxDateTime_t",0},
8633 { "_WXTYPE","_short",0},
8634 { "_WXTYPE","_signed_short",0},
8635 { "_WXTYPE","_unsigned_short",0},
8636 { "_wxFileDialog","_class_wxFileDialog",0},
8637 { "_class_wxDropTarget","_wxDropTarget",0},
8638 { "_class_wxCaret","_wxCaret",0},
8639 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8640 { "_class_wxBrush","_wxBrush",0},
8641 { "_wxTipProvider","_class_wxTipProvider",0},
8642 { "_unsigned_short","_wxDateTime_t",0},
8643 { "_unsigned_short","_WXTYPE",0},
8644 { "_unsigned_short","_short",0},
8645 { "_class_wxWindow","_wxWindow",0},
8646 { "_class_wxLogStderr","_wxLogStderr",0},
8647 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
8648 { "_wxDateSpan","_class_wxDateSpan",0},
8649 { "_class_wxStaticText","_wxStaticText",0},
8650 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8651 { "_class_wxFont","_wxFont",0},
8652 { "_wxClipboard","_class_wxClipboard",0},
8653 { "_class_wxPyValidator","_wxPyValidator",0},
8654 { "_class_wxCloseEvent","_wxCloseEvent",0},
8655 { "_wxSashEvent","_class_wxSashEvent",0},
8656 { "_wxBusyInfo","_class_wxBusyInfo",0},
8657 { "_class_wxMenuEvent","_wxMenuEvent",0},
8658 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8659 { "_wxJoystick","_class_wxJoystick",0},
8660 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8661 { "_wxClientDC","_class_wxClientDC",0},
8662 { "_wxMouseEvent","_class_wxMouseEvent",0},
8663 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
8664 { "_wxListCtrl","_class_wxListCtrl",0},
8665 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8666 { "_class_wxPoint","_wxPoint",0},
8667 { "_class_wxPyInputStream","_wxPyInputStream",0},
8668 { "_wxRealPoint","_class_wxRealPoint",0},
8669 { "_class_wxRadioBox","_wxRadioBox",0},
8670 { "_class_wxBoxSizer","_wxBoxSizer",0},
8671 { "_signed_short","_WXTYPE",0},
8672 { "_signed_short","_short",0},
8673 { "_wxMemoryDC","_class_wxMemoryDC",0},
8674 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8675 { "_class_wxPrintDialog","_wxPrintDialog",0},
8676 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
8677 { "_wxPaintDC","_class_wxPaintDC",0},
8678 { "_class_wxWindowDC","_wxWindowDC",0},
8679 { "_class_wxFocusEvent","_wxFocusEvent",0},
8680 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8681 { "_wxStatusBar","_class_wxStatusBar",0},
8682 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8683 { "_class_wxCursor","_wxCursor",0},
8684 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8685 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8686 { "_class_wxPyProcess","_wxPyProcess",0},
8687 { "_class_wxImageHandler","_wxImageHandler",0},
8688 { "_wxPyShape","_class_wxPyShape",0},
8689 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8690 { "_class_wxLog","_wxLog",0},
8691 { "_wxTreeItemId","_class_wxTreeItemId",0},
8692 { "_unsigned_char","_byte",0},
8693 { "_class_wxMenu","_wxMenu",0},
8694 { "_wxControl","_class_wxControl",0},
8695 { "_class_wxListBox","_wxListBox",0},
8696 { "_unsigned_int","_wxCoord",0},
8697 { "_unsigned_int","_wxPrintQuality",0},
8698 { "_unsigned_int","_time_t",0},
8699 { "_unsigned_int","_size_t",0},
8700 { "_unsigned_int","_uint",0},
8701 { "_unsigned_int","_wxWindowID",0},
8702 { "_unsigned_int","_int",0},
8703 { "_wxIcon","_class_wxIcon",0},
8704 { "_wxDialog","_class_wxDialog",0},
8705 { "_class_wxListItem","_wxListItem",0},
8706 { "_class_wxPen","_wxPen",0},
8707 { "_class_wxFileDialog","_wxFileDialog",0},
8708 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
8709 { "_wxConfigBase","_class_wxConfigBase",0},
8710 { "_short","_wxDateTime_t",0},
8711 { "_short","_WXTYPE",0},
8712 { "_short","_unsigned_short",0},
8713 { "_short","_signed_short",0},
8714 { "_class_wxStaticBox","_wxStaticBox",0},
8715 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8716 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8717 { "_class_wxPyDropSource","_wxPyDropSource",0},
8718 { "_class_wxScrollEvent","_wxScrollEvent",0},
8719 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8720 { "_class_wxChoice","_wxChoice",0},
8721 { "_class_wxSlider","_wxSlider",0},
8722 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8723 { "_class_wxImageList","_wxImageList",0},
8724 { "_class_wxBitmapButton","_wxBitmapButton",0},
8725 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
8726 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
8727 { "_wxFrame","_class_wxFrame",0},
8728 { "_wxPCXHandler","_class_wxPCXHandler",0},
8729 { "_class_wxGridSizer","_wxGridSizer",0},
8730 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8731 { "_class_wxNotebook","_wxNotebook",0},
8732 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8733 { "_wxWindowID","_wxCoord",0},
8734 { "_wxWindowID","_wxPrintQuality",0},
8735 { "_wxWindowID","_time_t",0},
8736 { "_wxWindowID","_size_t",0},
8737 { "_wxWindowID","_EBool",0},
8738 { "_wxWindowID","_uint",0},
8739 { "_wxWindowID","_int",0},
8740 { "_wxWindowID","_signed_int",0},
8741 { "_wxWindowID","_unsigned_int",0},
8742 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8743 { "_class_wxSizerItem","_wxSizerItem",0},
8744 { "_int","_wxCoord",0},
8745 { "_int","_wxPrintQuality",0},
8746 { "_int","_time_t",0},
8747 { "_int","_size_t",0},
8748 { "_int","_EBool",0},
8749 { "_int","_uint",0},
8750 { "_int","_wxWindowID",0},
8751 { "_int","_unsigned_int",0},
8752 { "_int","_signed_int",0},
8753 { "_class_wxMouseEvent","_wxMouseEvent",0},
8754 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8755 { "_wxLogWindow","_class_wxLogWindow",0},
8756 { "_class_wxListEvent","_wxListEvent",0},
8757 { "_class_wxPrintPreview","_wxPrintPreview",0},
8758 { "_wxDateTime_t","_unsigned_short",0},
8759 { "_wxDateTime_t","_short",0},
8760 { "_wxDateTime_t","_WXTYPE",0},
8761 { "_class_wxSpinEvent","_wxSpinEvent",0},
8762 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8763 { "_wxDateTime","_class_wxDateTime",0},
8764 { "_time_t","_wxCoord",0},
8765 { "_time_t","_wxPrintQuality",0},
8766 { "_time_t","_unsigned_int",0},
8767 { "_time_t","_int",0},
8768 { "_time_t","_wxWindowID",0},
8769 { "_time_t","_uint",0},
8770 { "_time_t","_size_t",0},
8771 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8772 { "_wxLogNull","_class_wxLogNull",0},
8773 { "_wxButton","_class_wxButton",0},
8774 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
8775 { "_class_wxPyApp","_wxPyApp",0},
8776 { "_wxSize","_class_wxSize",0},
8777 { "_wxRegionIterator","_class_wxRegionIterator",0},
8778 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8779 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
8780 { "_class_wxLogGui","_wxLogGui",0},
8781 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8782 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8783 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
8784 { "_class_wxTimeSpan","_wxTimeSpan",0},
8785 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
8786 { "_class_wxPaintDC","_wxPaintDC",0},
8787 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8788 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8789 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8790 { "_class_wxComboBox","_wxComboBox",0},
8791 { "_class_wxRadioButton","_wxRadioButton",0},
8792 { "_class_wxPyShape","_wxPyShape",0},
8793 { "_wxValidator","_class_wxValidator",0},
8794 { "_wxToolBarBase","_class_wxToolBarBase",0},
8795 { "_class_wxTreeItemId","_wxTreeItemId",0},
8796 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8797 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8798 { "_class_wxControl","_wxControl",0},
8799 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8800 { "_class_wxIcon","_wxIcon",0},
8801 { "_class_wxColour","_wxColour",0},
8802 { "_class_wxScreenDC","_wxScreenDC",0},
8803 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8804 { "_wxPalette","_class_wxPalette",0},
8805 { "_class_wxIdleEvent","_wxIdleEvent",0},
8806 { "_class_wxConfigBase","_wxConfigBase",0},
8807 { "_wxCoord","_int",0},
8808 { "_wxCoord","_signed_int",0},
8809 { "_wxCoord","_unsigned_int",0},
8810 { "_wxCoord","_wxWindowID",0},
8811 { "_wxCoord","_uint",0},
8812 { "_wxCoord","_EBool",0},
8813 { "_wxCoord","_size_t",0},
8814 { "_wxCoord","_time_t",0},
8815 { "_wxCoord","_wxPrintQuality",0},
8816 { "_wxEraseEvent","_class_wxEraseEvent",0},
8817 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8818 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8819 { "_class_wxTipProvider","_wxTipProvider",0},
8820 { "_class_wxMiniFrame","_wxMiniFrame",0},
8821 { "_wxFontDialog","_class_wxFontDialog",0},
8822 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
8823 { "_wxRegion","_class_wxRegion",0},
8824 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8825 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8826 { "_wxSizer","_class_wxSizer",0},
8827 { "_class_wxDateSpan","_wxDateSpan",0},
8828 { "_wxFileSystem","_class_wxFileSystem",0},
8829 { "_class_wxShowEvent","_wxShowEvent",0},
8830 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
8831 { "_class_wxPCXHandler","_wxPCXHandler",0},
8832 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
8833 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8834 { "_wxActivateEvent","_class_wxActivateEvent",0},
8835 { "_wxGauge","_class_wxGauge",0},
8836 { "_class_wxCheckListBox","_wxCheckListBox",0},
8837 { "_class_wxBusyInfo","_wxBusyInfo",0},
8838 { "_class_wxJoystick","_wxJoystick",0},
8839 { "_class_wxCommandEvent","_wxCommandEvent",0},
8840 { "_class_wxClientDC","_wxClientDC",0},
8841 { "_class_wxSizeEvent","_wxSizeEvent",0},
8842 { "_class_wxListCtrl","_wxListCtrl",0},
8843 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8844 { "_class_wxLogNull","_wxLogNull",0},
8845 { "_class_wxSize","_wxSize",0},
8846 { "_class_wxBitmap","_wxBitmap",0},
8847 { "_class_wxMemoryDC","_wxMemoryDC",0},
8848 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8849 { "_wxMenuBar","_class_wxMenuBar",0},
8850 { "_wxOutputStream","_class_wxOutputStream",0},
8851 { "_wxTreeEvent","_class_wxTreeEvent",0},
8852 { "_wxDirDialog","_class_wxDirDialog",0},
8853 { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8854 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8855 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
8856 { "_wxEvtHandler","_class_wxEvtHandler",0},
8857 { "_wxMenuItem","_class_wxMenuItem",0},
8858 { "_class_wxScrollBar","_wxScrollBar",0},
8859 { "_class_wxColourDialog","_wxColourDialog",0},
8860 { "_class_wxPrintData","_wxPrintData",0},
8861 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8862 { "_wxListItemAttr","_class_wxListItemAttr",0},
8863 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
8864 { "_class_wxConfig","_wxConfig",0},
8865 { "_wxKeyEvent","_class_wxKeyEvent",0},
8866 { "_wxMoveEvent","_class_wxMoveEvent",0},
8867 { "_wxColourData","_class_wxColourData",0},
8868 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
8869 { "_class_wxPalette","_wxPalette",0},
8870 { "_wxFileDataObject","_class_wxFileDataObject",0},
8871 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
8872 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
8873 { "_class_wxEraseEvent","_wxEraseEvent",0},
8874 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
8875 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
8876 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8877 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
8878 { "_class_wxFontDialog","_wxFontDialog",0},
8879 { "_wxWindow","_class_wxWindow",0},
8880 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8881 { "_wxLogStderr","_class_wxLogStderr",0},
8882 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
8883 { "_class_wxFileSystem","_wxFileSystem",0},
8884 { "_class_wxFrame","_wxFrame",0},
8887 static PyObject
*SWIG_globals
;
8891 SWIGEXPORT(void) initoglbasicc() {
8893 SWIG_globals
= SWIG_newvarlink();
8894 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8895 d
= PyModule_GetDict(m
);
8898 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8899 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);