2 * FILE : ./oglbasic.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initoglbasicc
54 #define SWIG_name "oglbasicc"
57 #include "oglhelpers.h"
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
110 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
114 #define new_wxShapeRegion() (new wxShapeRegion())
115 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
116 PyObject
* _resultobj
;
117 wxShapeRegion
* _result
;
118 char *_kwnames
[] = { NULL
};
122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
125 wxPy_BEGIN_ALLOW_THREADS
;
126 _result
= (wxShapeRegion
*)new_wxShapeRegion();
128 wxPy_END_ALLOW_THREADS
;
130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
131 _resultobj
= Py_BuildValue("s",_ptemp
);
134 _resultobj
= Py_None
;
139 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
140 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
141 PyObject
* _resultobj
;
142 wxShapeRegion
* _arg0
;
144 PyObject
* _argo0
= 0;
145 PyObject
* _obj1
= 0;
146 char *_kwnames
[] = { "self","s", NULL
};
149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
159 if (!PyString_Check(_obj1
)) {
160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
163 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
166 wxPy_BEGIN_ALLOW_THREADS
;
167 wxShapeRegion_SetText(_arg0
,*_arg1
);
169 wxPy_END_ALLOW_THREADS
;
170 } Py_INCREF(Py_None
);
171 _resultobj
= Py_None
;
179 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
180 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
182 wxShapeRegion
* _arg0
;
184 PyObject
* _argo0
= 0;
185 PyObject
* _argo1
= 0;
186 char *_kwnames
[] = { "self","f", NULL
};
189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_argo1
))
192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_SetFont. Expected _wxFont_p.");
206 wxPy_BEGIN_ALLOW_THREADS
;
207 wxShapeRegion_SetFont(_arg0
,_arg1
);
209 wxPy_END_ALLOW_THREADS
;
210 } Py_INCREF(Py_None
);
211 _resultobj
= Py_None
;
215 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
216 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
218 wxShapeRegion
* _arg0
;
221 PyObject
* _argo0
= 0;
222 char *_kwnames
[] = { "self","w","h", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
235 wxPy_BEGIN_ALLOW_THREADS
;
236 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
238 wxPy_END_ALLOW_THREADS
;
239 } Py_INCREF(Py_None
);
240 _resultobj
= Py_None
;
244 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
245 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
247 wxShapeRegion
* _arg0
;
250 PyObject
* _argo0
= 0;
251 char *_kwnames
[] = { "self","w","h", NULL
};
254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
264 wxPy_BEGIN_ALLOW_THREADS
;
265 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
267 wxPy_END_ALLOW_THREADS
;
268 } Py_INCREF(Py_None
);
269 _resultobj
= Py_None
;
273 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
274 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
276 wxShapeRegion
* _arg0
;
279 PyObject
* _argo0
= 0;
280 char *_kwnames
[] = { "self","x","y", NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
293 wxPy_BEGIN_ALLOW_THREADS
;
294 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
296 wxPy_END_ALLOW_THREADS
;
297 } Py_INCREF(Py_None
);
298 _resultobj
= Py_None
;
302 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
303 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
305 wxShapeRegion
* _arg0
;
308 PyObject
* _argo0
= 0;
309 char *_kwnames
[] = { "self","x","y", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
322 wxPy_BEGIN_ALLOW_THREADS
;
323 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
325 wxPy_END_ALLOW_THREADS
;
326 } Py_INCREF(Py_None
);
327 _resultobj
= Py_None
;
331 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
332 static PyObject
*_wrap_wxShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
334 wxShapeRegion
* _arg0
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self","mode", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetFormatMode",_kwnames
,&_argo0
,&_arg1
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
350 wxPy_BEGIN_ALLOW_THREADS
;
351 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
353 wxPy_END_ALLOW_THREADS
;
354 } Py_INCREF(Py_None
);
355 _resultobj
= Py_None
;
359 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
360 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxShapeRegion
* _arg0
;
364 PyObject
* _argo0
= 0;
365 PyObject
* _obj1
= 0;
366 char *_kwnames
[] = { "self","s", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
379 if (!PyString_Check(_obj1
)) {
380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
383 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
386 wxPy_BEGIN_ALLOW_THREADS
;
387 wxShapeRegion_SetName(_arg0
,*_arg1
);
389 wxPy_END_ALLOW_THREADS
;
390 } Py_INCREF(Py_None
);
391 _resultobj
= Py_None
;
399 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
400 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
402 wxShapeRegion
* _arg0
;
404 PyObject
* _argo0
= 0;
405 PyObject
* _obj1
= 0;
406 char *_kwnames
[] = { "self","col", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
419 if (!PyString_Check(_obj1
)) {
420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
423 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
426 wxPy_BEGIN_ALLOW_THREADS
;
427 wxShapeRegion_SetColour(_arg0
,*_arg1
);
429 wxPy_END_ALLOW_THREADS
;
430 } Py_INCREF(Py_None
);
431 _resultobj
= Py_None
;
439 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
440 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
443 wxShapeRegion
* _arg0
;
444 PyObject
* _argo0
= 0;
445 char *_kwnames
[] = { "self", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
458 wxPy_BEGIN_ALLOW_THREADS
;
459 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
461 wxPy_END_ALLOW_THREADS
;
463 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
471 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
472 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
473 PyObject
* _resultobj
;
475 wxShapeRegion
* _arg0
;
476 PyObject
* _argo0
= 0;
477 char *_kwnames
[] = { "self", NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
491 wxPy_BEGIN_ALLOW_THREADS
;
492 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
494 wxPy_END_ALLOW_THREADS
;
496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
497 _resultobj
= Py_BuildValue("s",_ptemp
);
500 _resultobj
= Py_None
;
505 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
506 static PyObject
*_wrap_wxShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
508 wxShapeRegion
* _arg0
;
511 PyObject
* _argo0
= 0;
512 PyObject
* _argo1
= 0;
513 PyObject
* _argo2
= 0;
514 char *_kwnames
[] = { "self","x","y", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_GetMinSize. Expected _double_p.");
534 if (_argo2
== Py_None
) { _arg2
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxShapeRegion_GetMinSize. Expected _double_p.");
541 wxPy_BEGIN_ALLOW_THREADS
;
542 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
544 wxPy_END_ALLOW_THREADS
;
545 } Py_INCREF(Py_None
);
546 _resultobj
= Py_None
;
550 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
551 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
553 wxShapeRegion
* _arg0
;
556 PyObject
* _argo0
= 0;
557 PyObject
* _argo1
= 0;
558 PyObject
* _argo2
= 0;
559 char *_kwnames
[] = { "self","x","y", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxShapeRegion_GetProportion",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_GetProportion. Expected _double_p.");
579 if (_argo2
== Py_None
) { _arg2
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxShapeRegion_GetProportion. Expected _double_p.");
586 wxPy_BEGIN_ALLOW_THREADS
;
587 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
589 wxPy_END_ALLOW_THREADS
;
590 } Py_INCREF(Py_None
);
591 _resultobj
= Py_None
;
595 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
596 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
597 PyObject
* _resultobj
;
598 wxShapeRegion
* _arg0
;
601 PyObject
* _argo0
= 0;
602 PyObject
* _argo1
= 0;
603 PyObject
* _argo2
= 0;
604 char *_kwnames
[] = { "self","x","y", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxShapeRegion_GetSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_GetSize. Expected _double_p.");
624 if (_argo2
== Py_None
) { _arg2
= NULL
; }
625 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxShapeRegion_GetSize. Expected _double_p.");
631 wxPy_BEGIN_ALLOW_THREADS
;
632 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
634 wxPy_END_ALLOW_THREADS
;
635 } Py_INCREF(Py_None
);
636 _resultobj
= Py_None
;
640 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
641 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 PyObject
* _resultobj
;
643 wxShapeRegion
* _arg0
;
646 PyObject
* _argo0
= 0;
647 PyObject
* _argo1
= 0;
648 PyObject
* _argo2
= 0;
649 char *_kwnames
[] = { "self","xp","yp", NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxShapeRegion_GetPosition",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_GetPosition. Expected _double_p.");
669 if (_argo2
== Py_None
) { _arg2
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxShapeRegion_GetPosition. Expected _double_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
679 wxPy_END_ALLOW_THREADS
;
680 } Py_INCREF(Py_None
);
681 _resultobj
= Py_None
;
685 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
686 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
687 PyObject
* _resultobj
;
689 wxShapeRegion
* _arg0
;
690 PyObject
* _argo0
= 0;
691 char *_kwnames
[] = { "self", NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
704 wxPy_BEGIN_ALLOW_THREADS
;
705 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
707 wxPy_END_ALLOW_THREADS
;
708 } _resultobj
= Py_BuildValue("i",_result
);
712 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
713 static PyObject
*_wrap_wxShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
716 wxShapeRegion
* _arg0
;
717 PyObject
* _argo0
= 0;
718 char *_kwnames
[] = { "self", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetName",_kwnames
,&_argo0
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
731 wxPy_BEGIN_ALLOW_THREADS
;
732 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
734 wxPy_END_ALLOW_THREADS
;
736 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
744 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
745 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
748 wxShapeRegion
* _arg0
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
763 wxPy_BEGIN_ALLOW_THREADS
;
764 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
766 wxPy_END_ALLOW_THREADS
;
768 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
776 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
777 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
780 wxShapeRegion
* _arg0
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
799 wxPy_END_ALLOW_THREADS
;
801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
802 _resultobj
= Py_BuildValue("s",_ptemp
);
805 _resultobj
= Py_None
;
810 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
811 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
814 wxShapeRegion
* _arg0
;
815 PyObject
* _argo0
= 0;
816 char *_kwnames
[] = { "self", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
830 wxPy_BEGIN_ALLOW_THREADS
;
831 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
832 _result
= (wxList
*) &_result_ref
;
834 wxPy_END_ALLOW_THREADS
;
836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
837 _resultobj
= Py_BuildValue("s",_ptemp
);
840 _resultobj
= Py_None
;
845 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
846 static PyObject
*_wrap_wxShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
847 PyObject
* _resultobj
;
849 wxShapeRegion
* _arg0
;
850 PyObject
* _argo0
= 0;
851 char *_kwnames
[] = { "self", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenColour",_kwnames
,&_argo0
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
864 wxPy_BEGIN_ALLOW_THREADS
;
865 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
867 wxPy_END_ALLOW_THREADS
;
869 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
877 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
878 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
879 PyObject
* _resultobj
;
881 wxShapeRegion
* _arg0
;
882 PyObject
* _argo0
= 0;
883 char *_kwnames
[] = { "self", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
896 wxPy_BEGIN_ALLOW_THREADS
;
897 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
899 wxPy_END_ALLOW_THREADS
;
900 } _resultobj
= Py_BuildValue("i",_result
);
904 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
905 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
907 wxShapeRegion
* _arg0
;
909 PyObject
* _argo0
= 0;
910 char *_kwnames
[] = { "self","style", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
923 wxPy_BEGIN_ALLOW_THREADS
;
924 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
926 wxPy_END_ALLOW_THREADS
;
927 } Py_INCREF(Py_None
);
928 _resultobj
= Py_None
;
932 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
933 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
935 wxShapeRegion
* _arg0
;
937 PyObject
* _argo0
= 0;
938 PyObject
* _obj1
= 0;
939 char *_kwnames
[] = { "self","col", NULL
};
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
952 if (!PyString_Check(_obj1
)) {
953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
956 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
959 wxPy_BEGIN_ALLOW_THREADS
;
960 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
962 wxPy_END_ALLOW_THREADS
;
963 } Py_INCREF(Py_None
);
964 _resultobj
= Py_None
;
972 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
973 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
976 wxShapeRegion
* _arg0
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
992 wxPy_BEGIN_ALLOW_THREADS
;
993 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
995 wxPy_END_ALLOW_THREADS
;
997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
998 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 _resultobj
= Py_None
;
1006 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1007 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1010 wxShapeRegion
* _arg0
;
1011 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } _resultobj
= Py_BuildValue("d",_result
);
1033 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1034 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1037 wxShapeRegion
* _arg0
;
1038 PyObject
* _argo0
= 0;
1039 char *_kwnames
[] = { "self", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1055 wxPy_END_ALLOW_THREADS
;
1056 } _resultobj
= Py_BuildValue("d",_result
);
1060 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1061 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1063 wxShapeRegion
* _arg0
;
1064 PyObject
* _argo0
= 0;
1065 char *_kwnames
[] = { "self", NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_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_ClearText. Expected _wxShapeRegion_p.");
1078 wxPy_BEGIN_ALLOW_THREADS
;
1079 wxShapeRegion_ClearText(_arg0
);
1081 wxPy_END_ALLOW_THREADS
;
1082 } Py_INCREF(Py_None
);
1083 _resultobj
= Py_None
;
1087 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1088 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1090 wxPyShapeEvtHandler
* _result
;
1091 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1092 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1093 PyObject
* _argo0
= 0;
1094 PyObject
* _argo1
= 0;
1095 char *_kwnames
[] = { "prev","shape", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1116 wxPy_BEGIN_ALLOW_THREADS
;
1117 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1119 wxPy_END_ALLOW_THREADS
;
1121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1122 _resultobj
= Py_BuildValue("s",_ptemp
);
1125 _resultobj
= Py_None
;
1130 #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1131 static PyObject
*_wrap_wxPyShapeEvtHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
* _resultobj
;
1133 wxPyShapeEvtHandler
* _arg0
;
1135 PyObject
* _argo0
= 0;
1136 PyObject
* _obj1
= 0;
1137 char *_kwnames
[] = { "self","self", NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler__setSelf",_kwnames
,&_argo0
,&_obj1
))
1143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p.");
1153 wxPy_BEGIN_ALLOW_THREADS
;
1154 wxPyShapeEvtHandler__setSelf(_arg0
,_arg1
);
1156 wxPy_END_ALLOW_THREADS
;
1157 } Py_INCREF(Py_None
);
1158 _resultobj
= Py_None
;
1162 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1163 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1165 wxPyShapeEvtHandler
* _arg0
;
1166 PyObject
* _argo0
= 0;
1167 char *_kwnames
[] = { "self", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 wxPyShapeEvtHandler_Destroy(_arg0
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } Py_INCREF(Py_None
);
1185 _resultobj
= Py_None
;
1189 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1190 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1192 wxPyShapeEvtHandler
* _arg0
;
1194 PyObject
* _argo0
= 0;
1195 PyObject
* _argo1
= 0;
1196 char *_kwnames
[] = { "self","sh", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1219 wxPy_END_ALLOW_THREADS
;
1220 } Py_INCREF(Py_None
);
1221 _resultobj
= Py_None
;
1225 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1226 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1228 wxPyShape
* _result
;
1229 wxPyShapeEvtHandler
* _arg0
;
1230 PyObject
* _argo0
= 0;
1231 char *_kwnames
[] = { "self", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1245 wxPy_BEGIN_ALLOW_THREADS
;
1246 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1248 wxPy_END_ALLOW_THREADS
;
1250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1251 _resultobj
= Py_BuildValue("s",_ptemp
);
1254 _resultobj
= Py_None
;
1259 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1260 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxPyShapeEvtHandler
* _arg0
;
1263 wxPyShapeEvtHandler
* _arg1
;
1264 PyObject
* _argo0
= 0;
1265 PyObject
* _argo1
= 0;
1266 char *_kwnames
[] = { "self","handler", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1279 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1286 wxPy_BEGIN_ALLOW_THREADS
;
1287 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1289 wxPy_END_ALLOW_THREADS
;
1290 } Py_INCREF(Py_None
);
1291 _resultobj
= Py_None
;
1295 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1296 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1298 wxPyShapeEvtHandler
* _result
;
1299 wxPyShapeEvtHandler
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 char *_kwnames
[] = { "self", NULL
};
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1315 wxPy_BEGIN_ALLOW_THREADS
;
1316 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1318 wxPy_END_ALLOW_THREADS
;
1320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1321 _resultobj
= Py_BuildValue("s",_ptemp
);
1324 _resultobj
= Py_None
;
1329 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1330 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
* _resultobj
;
1332 wxPyShapeEvtHandler
* _result
;
1333 wxPyShapeEvtHandler
* _arg0
;
1334 PyObject
* _argo0
= 0;
1335 char *_kwnames
[] = { "self", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1352 wxPy_END_ALLOW_THREADS
;
1354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1355 _resultobj
= Py_BuildValue("s",_ptemp
);
1358 _resultobj
= Py_None
;
1363 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1364 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1366 wxPyShapeEvtHandler
* _arg0
;
1367 PyObject
* _argo0
= 0;
1368 char *_kwnames
[] = { "self", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1381 wxPy_BEGIN_ALLOW_THREADS
;
1382 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1384 wxPy_END_ALLOW_THREADS
;
1385 } Py_INCREF(Py_None
);
1386 _resultobj
= Py_None
;
1390 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1391 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1393 wxPyShapeEvtHandler
* _arg0
;
1395 PyObject
* _argo0
= 0;
1396 PyObject
* _argo1
= 0;
1397 char *_kwnames
[] = { "self","dc", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1417 wxPy_BEGIN_ALLOW_THREADS
;
1418 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1420 wxPy_END_ALLOW_THREADS
;
1421 } Py_INCREF(Py_None
);
1422 _resultobj
= Py_None
;
1426 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1427 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1429 wxPyShapeEvtHandler
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 PyObject
* _argo1
= 0;
1433 char *_kwnames
[] = { "self","dc", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1463 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1465 wxPyShapeEvtHandler
* _arg0
;
1467 bool _arg2
= (bool ) FALSE
;
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _argo1
= 0;
1470 int tempbool2
= (int) FALSE
;
1471 char *_kwnames
[] = { "self","dc","erase", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1490 _arg2
= (bool ) tempbool2
;
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1495 wxPy_END_ALLOW_THREADS
;
1496 } Py_INCREF(Py_None
);
1497 _resultobj
= Py_None
;
1501 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1502 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
* _resultobj
;
1504 wxPyShapeEvtHandler
* _arg0
;
1506 PyObject
* _argo0
= 0;
1507 PyObject
* _argo1
= 0;
1508 char *_kwnames
[] = { "self","dc", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1531 wxPy_END_ALLOW_THREADS
;
1532 } Py_INCREF(Py_None
);
1533 _resultobj
= Py_None
;
1537 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1538 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1540 wxPyShapeEvtHandler
* _arg0
;
1542 PyObject
* _argo0
= 0;
1543 PyObject
* _argo1
= 0;
1544 char *_kwnames
[] = { "self","dc", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } Py_INCREF(Py_None
);
1569 _resultobj
= Py_None
;
1573 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1574 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1576 wxPyShapeEvtHandler
* _arg0
;
1578 PyObject
* _argo0
= 0;
1579 PyObject
* _argo1
= 0;
1580 char *_kwnames
[] = { "self","dc", NULL
};
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1603 wxPy_END_ALLOW_THREADS
;
1604 } Py_INCREF(Py_None
);
1605 _resultobj
= Py_None
;
1609 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1610 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1612 wxPyShapeEvtHandler
* _arg0
;
1614 PyObject
* _argo0
= 0;
1615 PyObject
* _argo1
= 0;
1616 char *_kwnames
[] = { "self","dc", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1636 wxPy_BEGIN_ALLOW_THREADS
;
1637 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1639 wxPy_END_ALLOW_THREADS
;
1640 } Py_INCREF(Py_None
);
1641 _resultobj
= Py_None
;
1645 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1646 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1648 wxPyShapeEvtHandler
* _arg0
;
1651 int _arg3
= (int ) 0;
1652 int _arg4
= (int ) 0;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1667 wxPy_BEGIN_ALLOW_THREADS
;
1668 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1670 wxPy_END_ALLOW_THREADS
;
1671 } Py_INCREF(Py_None
);
1672 _resultobj
= Py_None
;
1676 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1677 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1679 wxPyShapeEvtHandler
* _arg0
;
1682 int _arg3
= (int ) 0;
1683 int _arg4
= (int ) 0;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1701 wxPy_END_ALLOW_THREADS
;
1702 } Py_INCREF(Py_None
);
1703 _resultobj
= Py_None
;
1707 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1708 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1710 wxPyShapeEvtHandler
* _arg0
;
1713 int _arg3
= (int ) 0;
1714 int _arg4
= (int ) 0;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } Py_INCREF(Py_None
);
1734 _resultobj
= Py_None
;
1738 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1739 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1741 wxPyShapeEvtHandler
* _arg0
;
1744 PyObject
* _argo0
= 0;
1745 char *_kwnames
[] = { "self","x","y", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1761 wxPy_END_ALLOW_THREADS
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1768 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1771 wxPyShapeEvtHandler
* _arg0
;
1777 bool _arg6
= (bool ) TRUE
;
1778 PyObject
* _argo0
= 0;
1779 PyObject
* _argo1
= 0;
1780 int tempbool6
= (int) TRUE
;
1781 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1794 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1800 _arg6
= (bool ) tempbool6
;
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1805 wxPy_END_ALLOW_THREADS
;
1806 } _resultobj
= Py_BuildValue("i",_result
);
1810 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1811 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1813 wxPyShapeEvtHandler
* _arg0
;
1819 bool _arg6
= (bool ) TRUE
;
1820 PyObject
* _argo0
= 0;
1821 PyObject
* _argo1
= 0;
1822 int tempbool6
= (int) TRUE
;
1823 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1842 _arg6
= (bool ) tempbool6
;
1844 wxPy_BEGIN_ALLOW_THREADS
;
1845 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1847 wxPy_END_ALLOW_THREADS
;
1848 } Py_INCREF(Py_None
);
1849 _resultobj
= Py_None
;
1853 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1854 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1856 wxPyShapeEvtHandler
* _arg0
;
1860 int _arg4
= (int ) 0;
1861 int _arg5
= (int ) 0;
1862 PyObject
* _argo0
= 0;
1864 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1876 _arg1
= (bool ) tempbool1
;
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1881 wxPy_END_ALLOW_THREADS
;
1882 } Py_INCREF(Py_None
);
1883 _resultobj
= Py_None
;
1887 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1888 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 wxPyShapeEvtHandler
* _arg0
;
1893 int _arg3
= (int ) 0;
1894 int _arg4
= (int ) 0;
1895 PyObject
* _argo0
= 0;
1896 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1909 wxPy_BEGIN_ALLOW_THREADS
;
1910 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1912 wxPy_END_ALLOW_THREADS
;
1913 } Py_INCREF(Py_None
);
1914 _resultobj
= Py_None
;
1918 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1919 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1921 wxPyShapeEvtHandler
* _arg0
;
1924 int _arg3
= (int ) 0;
1925 int _arg4
= (int ) 0;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1943 wxPy_END_ALLOW_THREADS
;
1944 } Py_INCREF(Py_None
);
1945 _resultobj
= Py_None
;
1949 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1950 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1952 wxPyShapeEvtHandler
* _arg0
;
1956 int _arg4
= (int ) 0;
1957 int _arg5
= (int ) 0;
1958 PyObject
* _argo0
= 0;
1960 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
1972 _arg1
= (bool ) tempbool1
;
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1977 wxPy_END_ALLOW_THREADS
;
1978 } Py_INCREF(Py_None
);
1979 _resultobj
= Py_None
;
1983 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1984 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1986 wxPyShapeEvtHandler
* _arg0
;
1989 int _arg3
= (int ) 0;
1990 int _arg4
= (int ) 0;
1991 PyObject
* _argo0
= 0;
1992 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2005 wxPy_BEGIN_ALLOW_THREADS
;
2006 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2008 wxPy_END_ALLOW_THREADS
;
2009 } Py_INCREF(Py_None
);
2010 _resultobj
= Py_None
;
2014 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2015 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2017 wxPyShapeEvtHandler
* _arg0
;
2020 int _arg3
= (int ) 0;
2021 int _arg4
= (int ) 0;
2022 PyObject
* _argo0
= 0;
2023 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2039 wxPy_END_ALLOW_THREADS
;
2040 } Py_INCREF(Py_None
);
2041 _resultobj
= Py_None
;
2045 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2046 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
* _resultobj
;
2048 wxPyShapeEvtHandler
* _arg0
;
2054 PyObject
* _argo0
= 0;
2055 PyObject
* _argo1
= 0;
2056 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2079 wxPy_END_ALLOW_THREADS
;
2080 } Py_INCREF(Py_None
);
2081 _resultobj
= Py_None
;
2085 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2086 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2088 wxPyShapeEvtHandler
* _arg0
;
2090 PyObject
* _argo0
= 0;
2091 PyObject
* _argo1
= 0;
2092 char *_kwnames
[] = { "self","dc", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2105 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2115 wxPy_END_ALLOW_THREADS
;
2116 } Py_INCREF(Py_None
);
2117 _resultobj
= Py_None
;
2121 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2122 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
* _resultobj
;
2124 wxPyShapeEvtHandler
* _arg0
;
2126 PyObject
* _argo0
= 0;
2127 PyObject
* _argo1
= 0;
2128 char *_kwnames
[] = { "self","dc", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2148 wxPy_BEGIN_ALLOW_THREADS
;
2149 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2151 wxPy_END_ALLOW_THREADS
;
2152 } Py_INCREF(Py_None
);
2153 _resultobj
= Py_None
;
2157 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2158 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2160 wxPyShapeEvtHandler
* _arg0
;
2162 bool _arg2
= (bool ) TRUE
;
2163 PyObject
* _argo0
= 0;
2164 PyObject
* _argo1
= 0;
2165 int tempbool2
= (int) TRUE
;
2166 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2185 _arg2
= (bool ) tempbool2
;
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2190 wxPy_END_ALLOW_THREADS
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2196 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2197 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2199 wxPyShapeEvtHandler
* _arg0
;
2200 wxPyControlPoint
* _arg1
;
2204 int _arg5
= (int ) 0;
2205 int _arg6
= (int ) 0;
2206 PyObject
* _argo0
= 0;
2207 PyObject
* _argo1
= 0;
2209 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2228 _arg2
= (bool ) tempbool2
;
2230 wxPy_BEGIN_ALLOW_THREADS
;
2231 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2233 wxPy_END_ALLOW_THREADS
;
2234 } Py_INCREF(Py_None
);
2235 _resultobj
= Py_None
;
2239 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2240 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2242 wxPyShapeEvtHandler
* _arg0
;
2243 wxPyControlPoint
* _arg1
;
2246 int _arg4
= (int ) 0;
2247 int _arg5
= (int ) 0;
2248 PyObject
* _argo0
= 0;
2249 PyObject
* _argo1
= 0;
2250 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2270 wxPy_BEGIN_ALLOW_THREADS
;
2271 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2273 wxPy_END_ALLOW_THREADS
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2279 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2280 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2282 wxPyShapeEvtHandler
* _arg0
;
2283 wxPyControlPoint
* _arg1
;
2286 int _arg4
= (int ) 0;
2287 int _arg5
= (int ) 0;
2288 PyObject
* _argo0
= 0;
2289 PyObject
* _argo1
= 0;
2290 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2310 wxPy_BEGIN_ALLOW_THREADS
;
2311 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2313 wxPy_END_ALLOW_THREADS
;
2314 } Py_INCREF(Py_None
);
2315 _resultobj
= Py_None
;
2319 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2320 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2322 wxPyShapeEvtHandler
* _arg0
;
2325 PyObject
* _argo0
= 0;
2326 char *_kwnames
[] = { "self","w","h", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2342 wxPy_END_ALLOW_THREADS
;
2343 } Py_INCREF(Py_None
);
2344 _resultobj
= Py_None
;
2348 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2349 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2351 wxPyShapeEvtHandler
* _arg0
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self","w","h", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } Py_INCREF(Py_None
);
2373 _resultobj
= Py_None
;
2377 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2379 wxPyShapeEvtHandler
*dest
;
2380 src
= (wxPyShape
*) ptr
;
2381 dest
= (wxPyShapeEvtHandler
*) src
;
2382 return (void *) dest
;
2385 #define wxPyShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2386 static PyObject
*_wrap_wxPyShape__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
* _resultobj
;
2390 PyObject
* _argo0
= 0;
2391 PyObject
* _obj1
= 0;
2392 char *_kwnames
[] = { "self","self", NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape__setSelf",_kwnames
,&_argo0
,&_obj1
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 wxPyShape__setSelf(_arg0
,_arg1
);
2411 wxPy_END_ALLOW_THREADS
;
2412 } Py_INCREF(Py_None
);
2413 _resultobj
= Py_None
;
2417 static void wxPyShape_Destroy(wxPyShape
*self
) { delete self
; }
2418 static PyObject
*_wrap_wxPyShape_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2421 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Destroy",_kwnames
,&_argo0
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 wxPyShape_Destroy(_arg0
);
2438 wxPy_END_ALLOW_THREADS
;
2439 } Py_INCREF(Py_None
);
2440 _resultobj
= Py_None
;
2444 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2445 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2452 PyObject
* _argo0
= 0;
2453 char *_kwnames
[] = { "self", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2475 wxPy_END_ALLOW_THREADS
;
2476 } Py_INCREF(Py_None
);
2477 _resultobj
= Py_None
;
2480 o
= PyFloat_FromDouble((double) (*_arg1
));
2481 _resultobj
= t_output_helper(_resultobj
, o
);
2485 o
= PyFloat_FromDouble((double) (*_arg2
));
2486 _resultobj
= t_output_helper(_resultobj
, o
);
2491 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2492 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2499 PyObject
* _argo0
= 0;
2500 char *_kwnames
[] = { "self", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2519 wxPy_BEGIN_ALLOW_THREADS
;
2520 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2522 wxPy_END_ALLOW_THREADS
;
2523 } Py_INCREF(Py_None
);
2524 _resultobj
= Py_None
;
2527 o
= PyFloat_FromDouble((double) (*_arg1
));
2528 _resultobj
= t_output_helper(_resultobj
, o
);
2532 o
= PyFloat_FromDouble((double) (*_arg2
));
2533 _resultobj
= t_output_helper(_resultobj
, o
);
2538 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2539 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2551 PyObject
* _argo0
= 0;
2552 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2571 wxPy_BEGIN_ALLOW_THREADS
;
2572 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2574 wxPy_END_ALLOW_THREADS
;
2575 } _resultobj
= Py_BuildValue("i",_result
);
2578 o
= PyFloat_FromDouble((double) (*_arg5
));
2579 _resultobj
= t_output_helper(_resultobj
, o
);
2583 o
= PyFloat_FromDouble((double) (*_arg6
));
2584 _resultobj
= t_output_helper(_resultobj
, o
);
2589 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2590 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2592 wxPyShapeCanvas
* _result
;
2594 PyObject
* _argo0
= 0;
2595 char *_kwnames
[] = { "self", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2612 wxPy_END_ALLOW_THREADS
;
2614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
2615 _resultobj
= Py_BuildValue("s",_ptemp
);
2618 _resultobj
= Py_None
;
2623 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2624 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2627 wxPyShapeCanvas
* _arg1
;
2628 PyObject
* _argo0
= 0;
2629 PyObject
* _argo1
= 0;
2630 char *_kwnames
[] = { "self","the_canvas", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 wxPyShape_SetCanvas(_arg0
,_arg1
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2660 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2663 wxPyShapeCanvas
* _arg1
;
2664 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2665 PyObject
* _argo0
= 0;
2666 PyObject
* _argo1
= 0;
2667 PyObject
* _argo2
= 0;
2668 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2688 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2698 wxPy_END_ALLOW_THREADS
;
2699 } Py_INCREF(Py_None
);
2700 _resultobj
= Py_None
;
2704 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2705 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2708 wxPyShapeCanvas
* _arg1
;
2709 PyObject
* _argo0
= 0;
2710 PyObject
* _argo1
= 0;
2711 char *_kwnames
[] = { "self","the_canvas", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2731 wxPy_BEGIN_ALLOW_THREADS
;
2732 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2734 wxPy_END_ALLOW_THREADS
;
2735 } Py_INCREF(Py_None
);
2736 _resultobj
= Py_None
;
2740 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2741 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2744 wxPyShapeCanvas
* _arg1
;
2745 PyObject
* _argo0
= 0;
2746 PyObject
* _argo1
= 0;
2747 char *_kwnames
[] = { "self","the_canvas", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2770 wxPy_END_ALLOW_THREADS
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2777 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2781 PyObject
* _argo0
= 0;
2782 char *_kwnames
[] = { "self", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 _result
= (double )wxPyShape_GetX(_arg0
);
2798 wxPy_END_ALLOW_THREADS
;
2799 } _resultobj
= Py_BuildValue("d",_result
);
2803 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2804 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2808 PyObject
* _argo0
= 0;
2809 char *_kwnames
[] = { "self", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2822 wxPy_BEGIN_ALLOW_THREADS
;
2823 _result
= (double )wxPyShape_GetY(_arg0
);
2825 wxPy_END_ALLOW_THREADS
;
2826 } _resultobj
= Py_BuildValue("d",_result
);
2830 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2831 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
* _resultobj
;
2835 PyObject
* _argo0
= 0;
2836 char *_kwnames
[] = { "self","x", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2849 wxPy_BEGIN_ALLOW_THREADS
;
2850 wxPyShape_SetX(_arg0
,_arg1
);
2852 wxPy_END_ALLOW_THREADS
;
2853 } Py_INCREF(Py_None
);
2854 _resultobj
= Py_None
;
2858 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2859 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self","y", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2877 wxPy_BEGIN_ALLOW_THREADS
;
2878 wxPyShape_SetY(_arg0
,_arg1
);
2880 wxPy_END_ALLOW_THREADS
;
2881 } Py_INCREF(Py_None
);
2882 _resultobj
= Py_None
;
2886 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2887 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2889 wxPyShape
* _result
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
2906 wxPy_BEGIN_ALLOW_THREADS
;
2907 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
2909 wxPy_END_ALLOW_THREADS
;
2911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
2912 _resultobj
= Py_BuildValue("s",_ptemp
);
2915 _resultobj
= Py_None
;
2920 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2921 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2926 PyObject
* _argo1
= 0;
2927 char *_kwnames
[] = { "self","p", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
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_SetParent. Expected _wxPyShape_p.");
2940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2947 wxPy_BEGIN_ALLOW_THREADS
;
2948 wxPyShape_SetParent(_arg0
,_arg1
);
2950 wxPy_END_ALLOW_THREADS
;
2951 } Py_INCREF(Py_None
);
2952 _resultobj
= Py_None
;
2956 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
2957 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2959 wxPyShape
* _result
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
2976 wxPy_BEGIN_ALLOW_THREADS
;
2977 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
2979 wxPy_END_ALLOW_THREADS
;
2981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
2982 _resultobj
= Py_BuildValue("s",_ptemp
);
2985 _resultobj
= Py_None
;
2990 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
2991 wxList
& list
= self
->GetChildren();
2992 return wxPy_ConvertList(&list
, "wxPyShape");
2994 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2998 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3015 wxPy_END_ALLOW_THREADS
;
3017 _resultobj
= _result
;
3022 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3023 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 wxPyShape_Unlink(_arg0
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } Py_INCREF(Py_None
);
3045 _resultobj
= Py_None
;
3049 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3050 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3054 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self","drawH", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3068 _arg1
= (bool ) tempbool1
;
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3080 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } _resultobj
= Py_BuildValue("i",_result
);
3106 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3107 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 wxPyShape_MakeControlPoints(_arg0
);
3127 wxPy_END_ALLOW_THREADS
;
3128 } Py_INCREF(Py_None
);
3129 _resultobj
= Py_None
;
3133 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3134 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
* _resultobj
;
3137 wxDC
* _arg1
= (wxDC
*) NULL
;
3138 PyObject
* _argo0
= 0;
3139 PyObject
* _argo1
= 0;
3140 char *_kwnames
[] = { "self","dc", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } Py_INCREF(Py_None
);
3165 _resultobj
= Py_None
;
3169 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3170 static PyObject
*_wrap_wxPyShape_ResetControlPoints(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_ResetControlPoints",_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_ResetControlPoints. Expected _wxPyShape_p.");
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 wxPyShape_ResetControlPoints(_arg0
);
3190 wxPy_END_ALLOW_THREADS
;
3191 } Py_INCREF(Py_None
);
3192 _resultobj
= Py_None
;
3196 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3197 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3199 wxPyShapeEvtHandler
* _result
;
3201 PyObject
* _argo0
= 0;
3202 char *_kwnames
[] = { "self", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
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_GetEventHandler. Expected _wxPyShape_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3219 wxPy_END_ALLOW_THREADS
;
3221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
3222 _resultobj
= Py_BuildValue("s",_ptemp
);
3225 _resultobj
= Py_None
;
3230 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3231 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3234 wxPyShapeEvtHandler
* _arg1
;
3235 PyObject
* _argo0
= 0;
3236 PyObject
* _argo1
= 0;
3237 char *_kwnames
[] = { "self","handler", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
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_SetEventHandler. Expected _wxPyShape_p.");
3250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3257 wxPy_BEGIN_ALLOW_THREADS
;
3258 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3260 wxPy_END_ALLOW_THREADS
;
3261 } Py_INCREF(Py_None
);
3262 _resultobj
= Py_None
;
3266 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3267 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3287 wxPy_END_ALLOW_THREADS
;
3288 } Py_INCREF(Py_None
);
3289 _resultobj
= Py_None
;
3293 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3294 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3311 wxPy_BEGIN_ALLOW_THREADS
;
3312 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3314 wxPy_END_ALLOW_THREADS
;
3315 } Py_INCREF(Py_None
);
3316 _resultobj
= Py_None
;
3320 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3321 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 _result
= (bool )wxPyShape_Recompute(_arg0
);
3342 wxPy_END_ALLOW_THREADS
;
3343 } _resultobj
= Py_BuildValue("i",_result
);
3347 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3348 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3351 PyObject
* _argo0
= 0;
3352 char *_kwnames
[] = { "self", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3365 wxPy_BEGIN_ALLOW_THREADS
;
3366 wxPyShape_CalculateSize(_arg0
);
3368 wxPy_END_ALLOW_THREADS
;
3369 } Py_INCREF(Py_None
);
3370 _resultobj
= Py_None
;
3374 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3375 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
* _resultobj
;
3378 bool _arg1
= (bool ) TRUE
;
3379 wxDC
* _arg2
= (wxDC
*) NULL
;
3380 PyObject
* _argo0
= 0;
3381 int tempbool1
= (int) TRUE
;
3382 PyObject
* _argo2
= 0;
3383 char *_kwnames
[] = { "self","select","dc", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3395 _arg1
= (bool ) tempbool1
;
3397 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3404 wxPy_BEGIN_ALLOW_THREADS
;
3405 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3407 wxPy_END_ALLOW_THREADS
;
3408 } Py_INCREF(Py_None
);
3409 _resultobj
= Py_None
;
3413 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3414 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3417 bool _arg1
= (bool ) TRUE
;
3418 bool _arg2
= (bool ) FALSE
;
3419 PyObject
* _argo0
= 0;
3420 int tempbool1
= (int) TRUE
;
3421 int tempbool2
= (int) FALSE
;
3422 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3434 _arg1
= (bool ) tempbool1
;
3435 _arg2
= (bool ) tempbool2
;
3437 wxPy_BEGIN_ALLOW_THREADS
;
3438 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3440 wxPy_END_ALLOW_THREADS
;
3441 } Py_INCREF(Py_None
);
3442 _resultobj
= Py_None
;
3446 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3447 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3451 PyObject
* _argo0
= 0;
3452 char *_kwnames
[] = { "self", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3465 wxPy_BEGIN_ALLOW_THREADS
;
3466 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3468 wxPy_END_ALLOW_THREADS
;
3469 } _resultobj
= Py_BuildValue("i",_result
);
3473 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3474 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3478 PyObject
* _argo0
= 0;
3479 char *_kwnames
[] = { "self", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3492 wxPy_BEGIN_ALLOW_THREADS
;
3493 _result
= (bool )wxPyShape_Selected(_arg0
);
3495 wxPy_END_ALLOW_THREADS
;
3496 } _resultobj
= Py_BuildValue("i",_result
);
3500 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3501 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3505 PyObject
* _argo0
= 0;
3506 char *_kwnames
[] = { "self", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3519 wxPy_BEGIN_ALLOW_THREADS
;
3520 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3522 wxPy_END_ALLOW_THREADS
;
3523 } _resultobj
= Py_BuildValue("i",_result
);
3527 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3528 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3531 int _arg1
= (int ) OP_ALL
;
3532 bool _arg2
= (bool ) FALSE
;
3533 PyObject
* _argo0
= 0;
3534 int tempbool2
= (int) FALSE
;
3535 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3547 _arg2
= (bool ) tempbool2
;
3549 wxPy_BEGIN_ALLOW_THREADS
;
3550 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3552 wxPy_END_ALLOW_THREADS
;
3553 } Py_INCREF(Py_None
);
3554 _resultobj
= Py_None
;
3558 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3559 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3563 PyObject
* _argo0
= 0;
3564 char *_kwnames
[] = { "self", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3580 wxPy_END_ALLOW_THREADS
;
3581 } _resultobj
= Py_BuildValue("i",_result
);
3585 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3586 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3590 bool _arg2
= (bool ) FALSE
;
3591 PyObject
* _argo0
= 0;
3593 int tempbool2
= (int) FALSE
;
3594 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3606 _arg1
= (bool ) tempbool1
;
3607 _arg2
= (bool ) tempbool2
;
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3612 wxPy_END_ALLOW_THREADS
;
3613 } Py_INCREF(Py_None
);
3614 _resultobj
= Py_None
;
3618 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3619 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3624 PyObject
* _argo0
= 0;
3627 char *_kwnames
[] = { "self","x","y", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
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_SetFixedSize. Expected _wxPyShape_p.");
3639 _arg1
= (bool ) tempbool1
;
3640 _arg2
= (bool ) tempbool2
;
3642 wxPy_BEGIN_ALLOW_THREADS
;
3643 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3645 wxPy_END_ALLOW_THREADS
;
3646 } Py_INCREF(Py_None
);
3647 _resultobj
= Py_None
;
3651 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3652 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3657 PyObject
* _argo0
= 0;
3658 PyObject
* _argo1
= 0;
3659 PyObject
* _argo2
= 0;
3660 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3680 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3690 wxPy_END_ALLOW_THREADS
;
3691 } Py_INCREF(Py_None
);
3692 _resultobj
= Py_None
;
3696 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3697 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3701 PyObject
* _argo0
= 0;
3702 char *_kwnames
[] = { "self", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3718 wxPy_END_ALLOW_THREADS
;
3719 } _resultobj
= Py_BuildValue("i",_result
);
3723 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3724 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3728 PyObject
* _argo0
= 0;
3729 char *_kwnames
[] = { "self", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3742 wxPy_BEGIN_ALLOW_THREADS
;
3743 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3745 wxPy_END_ALLOW_THREADS
;
3746 } _resultobj
= Py_BuildValue("i",_result
);
3750 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3751 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
* _resultobj
;
3755 PyObject
* _argo0
= 0;
3757 char *_kwnames
[] = { "self","sp", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3769 _arg1
= (bool ) tempbool1
;
3771 wxPy_BEGIN_ALLOW_THREADS
;
3772 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3774 wxPy_END_ALLOW_THREADS
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3781 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3785 PyObject
* _argo0
= 0;
3786 char *_kwnames
[] = { "self", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3799 wxPy_BEGIN_ALLOW_THREADS
;
3800 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3802 wxPy_END_ALLOW_THREADS
;
3803 } _resultobj
= Py_BuildValue("i",_result
);
3807 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3808 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
* _resultobj
;
3812 bool _arg2
= (bool ) FALSE
;
3813 PyObject
* _argo0
= 0;
3814 int tempbool2
= (int) FALSE
;
3815 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3827 _arg2
= (bool ) tempbool2
;
3829 wxPy_BEGIN_ALLOW_THREADS
;
3830 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3832 wxPy_END_ALLOW_THREADS
;
3833 } Py_INCREF(Py_None
);
3834 _resultobj
= Py_None
;
3838 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3839 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3843 PyObject
* _argo0
= 0;
3844 char *_kwnames
[] = { "self", NULL
};
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3857 wxPy_BEGIN_ALLOW_THREADS
;
3858 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3860 wxPy_END_ALLOW_THREADS
;
3861 } _resultobj
= Py_BuildValue("i",_result
);
3865 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3866 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
* _resultobj
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self","x","y", NULL
};
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3896 wxPy_BEGIN_ALLOW_THREADS
;
3897 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3899 wxPy_END_ALLOW_THREADS
;
3900 } _resultobj
= Py_BuildValue("i",_result
);
3903 o
= PyInt_FromLong((long) (*_arg3
));
3904 _resultobj
= t_output_helper(_resultobj
, o
);
3908 o
= PyFloat_FromDouble((double) (*_arg4
));
3909 _resultobj
= t_output_helper(_resultobj
, o
);
3914 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3915 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3919 PyObject
* _argo0
= 0;
3921 char *_kwnames
[] = { "self","cr", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
3933 _arg1
= (bool ) tempbool1
;
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 wxPyShape_SetCentreResize(_arg0
,_arg1
);
3938 wxPy_END_ALLOW_THREADS
;
3939 } Py_INCREF(Py_None
);
3940 _resultobj
= Py_None
;
3944 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
3945 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
* _resultobj
;
3949 PyObject
* _argo0
= 0;
3950 char *_kwnames
[] = { "self", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
3963 wxPy_BEGIN_ALLOW_THREADS
;
3964 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
3966 wxPy_END_ALLOW_THREADS
;
3967 } _resultobj
= Py_BuildValue("i",_result
);
3971 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
3972 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
* _resultobj
;
3976 PyObject
* _argo0
= 0;
3978 char *_kwnames
[] = { "self","ar", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
3990 _arg1
= (bool ) tempbool1
;
3992 wxPy_BEGIN_ALLOW_THREADS
;
3993 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
3995 wxPy_END_ALLOW_THREADS
;
3996 } Py_INCREF(Py_None
);
3997 _resultobj
= Py_None
;
4001 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4002 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4006 PyObject
* _argo0
= 0;
4007 char *_kwnames
[] = { "self", NULL
};
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4020 wxPy_BEGIN_ALLOW_THREADS
;
4021 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4023 wxPy_END_ALLOW_THREADS
;
4024 } _resultobj
= Py_BuildValue("i",_result
);
4028 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4029 wxList
& list
= self
->GetLines();
4030 return wxPy_ConvertList(&list
, "wxPyLineShape");
4032 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4036 PyObject
* _argo0
= 0;
4037 char *_kwnames
[] = { "self", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4050 wxPy_BEGIN_ALLOW_THREADS
;
4051 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4053 wxPy_END_ALLOW_THREADS
;
4055 _resultobj
= _result
;
4060 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4061 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
* _resultobj
;
4065 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self","flag", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4079 _arg1
= (bool ) tempbool1
;
4081 wxPy_BEGIN_ALLOW_THREADS
;
4082 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4084 wxPy_END_ALLOW_THREADS
;
4085 } Py_INCREF(Py_None
);
4086 _resultobj
= Py_None
;
4090 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4091 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4095 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "self", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4112 wxPy_END_ALLOW_THREADS
;
4113 } _resultobj
= Py_BuildValue("i",_result
);
4117 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4118 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self","mode", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4139 wxPy_END_ALLOW_THREADS
;
4140 } Py_INCREF(Py_None
);
4141 _resultobj
= Py_None
;
4145 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4146 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
* _resultobj
;
4150 PyObject
* _argo0
= 0;
4151 char *_kwnames
[] = { "self", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4167 wxPy_END_ALLOW_THREADS
;
4168 } _resultobj
= Py_BuildValue("i",_result
);
4172 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4173 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
* _resultobj
;
4177 PyObject
* _argo0
= 0;
4178 char *_kwnames
[] = { "self","i", NULL
};
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4191 wxPy_BEGIN_ALLOW_THREADS
;
4192 wxPyShape_SetId(_arg0
,_arg1
);
4194 wxPy_END_ALLOW_THREADS
;
4195 } Py_INCREF(Py_None
);
4196 _resultobj
= Py_None
;
4200 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4201 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4205 PyObject
* _argo0
= 0;
4206 char *_kwnames
[] = { "self", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 _result
= (long )wxPyShape_GetId(_arg0
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } _resultobj
= Py_BuildValue("l",_result
);
4227 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4228 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4233 PyObject
* _argo1
= 0;
4234 char *_kwnames
[] = { "self","pen", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_argo1
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetPen. Expected _wxPen_p.");
4254 wxPy_BEGIN_ALLOW_THREADS
;
4255 wxPyShape_SetPen(_arg0
,_arg1
);
4257 wxPy_END_ALLOW_THREADS
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4263 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4264 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4268 PyObject
* _argo0
= 0;
4269 PyObject
* _argo1
= 0;
4270 char *_kwnames
[] = { "self","brush", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_argo1
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetBrush. Expected _wxBrush_p.");
4290 wxPy_BEGIN_ALLOW_THREADS
;
4291 wxPyShape_SetBrush(_arg0
,_arg1
);
4293 wxPy_END_ALLOW_THREADS
;
4294 } Py_INCREF(Py_None
);
4295 _resultobj
= Py_None
;
4299 static void wxPyShape_SetClientData(wxPyShape
*self
,PyObject
* userData
) {
4300 wxPyUserData
* data
= NULL
;
4302 data
= new wxPyUserData(userData
);
4303 self
->SetClientData(data
);
4305 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
* _resultobj
;
4309 PyObject
* _argo0
= 0;
4310 PyObject
* _obj1
= 0;
4311 char *_kwnames
[] = { "self","userData", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_obj1
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4327 wxPy_BEGIN_ALLOW_THREADS
;
4328 wxPyShape_SetClientData(_arg0
,_arg1
);
4330 wxPy_END_ALLOW_THREADS
;
4331 } Py_INCREF(Py_None
);
4332 _resultobj
= Py_None
;
4336 static PyObject
* wxPyShape_GetClientData(wxPyShape
*self
) {
4337 wxPyUserData
* data
= (wxPyUserData
*)self
->GetClientData();
4339 Py_INCREF(data
->m_obj
);
4346 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4350 PyObject
* _argo0
= 0;
4351 char *_kwnames
[] = { "self", NULL
};
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4364 wxPy_BEGIN_ALLOW_THREADS
;
4365 _result
= (PyObject
*)wxPyShape_GetClientData(_arg0
);
4367 wxPy_END_ALLOW_THREADS
;
4369 _resultobj
= _result
;
4374 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4375 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
* _resultobj
;
4379 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self","show", NULL
};
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4393 _arg1
= (bool ) tempbool1
;
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 wxPyShape_Show(_arg0
,_arg1
);
4398 wxPy_END_ALLOW_THREADS
;
4399 } Py_INCREF(Py_None
);
4400 _resultobj
= Py_None
;
4404 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4405 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4423 wxPy_BEGIN_ALLOW_THREADS
;
4424 _result
= (bool )wxPyShape_IsShown(_arg0
);
4426 wxPy_END_ALLOW_THREADS
;
4427 } _resultobj
= Py_BuildValue("i",_result
);
4431 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4432 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4438 bool _arg4
= (bool ) TRUE
;
4439 PyObject
* _argo0
= 0;
4440 PyObject
* _argo1
= 0;
4441 int tempbool4
= (int) TRUE
;
4442 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4461 _arg4
= (bool ) tempbool4
;
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4466 wxPy_END_ALLOW_THREADS
;
4467 } Py_INCREF(Py_None
);
4468 _resultobj
= Py_None
;
4472 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4473 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4477 PyObject
* _argo0
= 0;
4478 PyObject
* _argo1
= 0;
4479 char *_kwnames
[] = { "self","dc", NULL
};
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4499 wxPy_BEGIN_ALLOW_THREADS
;
4500 wxPyShape_Erase(_arg0
,*_arg1
);
4502 wxPy_END_ALLOW_THREADS
;
4503 } Py_INCREF(Py_None
);
4504 _resultobj
= Py_None
;
4508 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4509 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4513 PyObject
* _argo0
= 0;
4514 PyObject
* _argo1
= 0;
4515 char *_kwnames
[] = { "self","dc", NULL
};
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 wxPyShape_EraseContents(_arg0
,*_arg1
);
4538 wxPy_END_ALLOW_THREADS
;
4539 } Py_INCREF(Py_None
);
4540 _resultobj
= Py_None
;
4544 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4545 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4549 PyObject
* _argo0
= 0;
4550 PyObject
* _argo1
= 0;
4551 char *_kwnames
[] = { "self","dc", NULL
};
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4564 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4571 wxPy_BEGIN_ALLOW_THREADS
;
4572 wxPyShape_Draw(_arg0
,*_arg1
);
4574 wxPy_END_ALLOW_THREADS
;
4575 } Py_INCREF(Py_None
);
4576 _resultobj
= Py_None
;
4580 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4581 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4584 PyObject
* _argo0
= 0;
4585 char *_kwnames
[] = { "self", NULL
};
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4598 wxPy_BEGIN_ALLOW_THREADS
;
4599 wxPyShape_Flash(_arg0
);
4601 wxPy_END_ALLOW_THREADS
;
4602 } Py_INCREF(Py_None
);
4603 _resultobj
= Py_None
;
4607 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4608 static PyObject
*_wrap_wxPyShape_MoveLinks(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_MoveLinks",_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_MoveLinks. 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_MoveLinks. Expected _wxDC_p.");
4634 wxPy_BEGIN_ALLOW_THREADS
;
4635 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4637 wxPy_END_ALLOW_THREADS
;
4638 } Py_INCREF(Py_None
);
4639 _resultobj
= Py_None
;
4643 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4644 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4648 PyObject
* _argo0
= 0;
4649 PyObject
* _argo1
= 0;
4650 char *_kwnames
[] = { "self","dc", NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4663 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4664 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4670 wxPy_BEGIN_ALLOW_THREADS
;
4671 wxPyShape_DrawContents(_arg0
,*_arg1
);
4673 wxPy_END_ALLOW_THREADS
;
4674 } Py_INCREF(Py_None
);
4675 _resultobj
= Py_None
;
4679 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4680 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
* _resultobj
;
4685 bool _arg3
= (bool ) TRUE
;
4686 PyObject
* _argo0
= 0;
4687 int tempbool3
= (int) TRUE
;
4688 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4700 _arg3
= (bool ) tempbool3
;
4702 wxPy_BEGIN_ALLOW_THREADS
;
4703 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4705 wxPy_END_ALLOW_THREADS
;
4706 } Py_INCREF(Py_None
);
4707 _resultobj
= Py_None
;
4711 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4712 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "self","x","y", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4734 wxPy_END_ALLOW_THREADS
;
4735 } Py_INCREF(Py_None
);
4736 _resultobj
= Py_None
;
4740 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4741 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4744 wxPyShapeCanvas
* _arg1
;
4745 PyObject
* _argo0
= 0;
4746 PyObject
* _argo1
= 0;
4747 char *_kwnames
[] = { "self","can", NULL
};
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4767 wxPy_BEGIN_ALLOW_THREADS
;
4768 wxPyShape_Attach(_arg0
,_arg1
);
4770 wxPy_END_ALLOW_THREADS
;
4771 } Py_INCREF(Py_None
);
4772 _resultobj
= Py_None
;
4776 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4777 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
* _resultobj
;
4780 PyObject
* _argo0
= 0;
4781 char *_kwnames
[] = { "self", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
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_Detach. Expected _wxPyShape_p.");
4794 wxPy_BEGIN_ALLOW_THREADS
;
4795 wxPyShape_Detach(_arg0
);
4797 wxPy_END_ALLOW_THREADS
;
4798 } Py_INCREF(Py_None
);
4799 _resultobj
= Py_None
;
4803 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4804 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4808 PyObject
* _argo0
= 0;
4809 char *_kwnames
[] = { "self", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4822 wxPy_BEGIN_ALLOW_THREADS
;
4823 _result
= (bool )wxPyShape_Constrain(_arg0
);
4825 wxPy_END_ALLOW_THREADS
;
4826 } _resultobj
= Py_BuildValue("i",_result
);
4830 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4831 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
* _resultobj
;
4834 wxPyLineShape
* _arg1
;
4836 int _arg3
= (int ) 0;
4837 int _arg4
= (int ) 0;
4838 int _arg5
= (int ) -1;
4839 int _arg6
= (int ) -1;
4840 PyObject
* _argo0
= 0;
4841 PyObject
* _argo1
= 0;
4842 PyObject
* _argo2
= 0;
4843 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4856 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4863 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4870 wxPy_BEGIN_ALLOW_THREADS
;
4871 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4873 wxPy_END_ALLOW_THREADS
;
4874 } Py_INCREF(Py_None
);
4875 _resultobj
= Py_None
;
4879 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4880 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4884 wxPyLineShape
* _arg1
;
4885 PyObject
* _argo0
= 0;
4886 PyObject
* _argo1
= 0;
4887 char *_kwnames
[] = { "self","line", NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4910 wxPy_END_ALLOW_THREADS
;
4911 } _resultobj
= Py_BuildValue("i",_result
);
4915 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4916 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4920 PyObject
* _argo0
= 0;
4921 PyObject
* _obj1
= 0;
4922 char *_kwnames
[] = { "self","string", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4935 if (!PyString_Check(_obj1
)) {
4936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4939 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4942 wxPy_BEGIN_ALLOW_THREADS
;
4943 wxPyShape_AddText(_arg0
,*_arg1
);
4945 wxPy_END_ALLOW_THREADS
;
4946 } Py_INCREF(Py_None
);
4947 _resultobj
= Py_None
;
4955 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
4956 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4960 PyObject
* _argo0
= 0;
4961 char *_kwnames
[] = { "self", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
4975 wxPy_BEGIN_ALLOW_THREADS
;
4976 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
4978 wxPy_END_ALLOW_THREADS
;
4980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4981 _resultobj
= Py_BuildValue("s",_ptemp
);
4984 _resultobj
= Py_None
;
4989 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
4990 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
* _resultobj
;
4994 PyObject
* _argo0
= 0;
4995 char *_kwnames
[] = { "self", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5012 wxPy_END_ALLOW_THREADS
;
5014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5015 _resultobj
= Py_BuildValue("s",_ptemp
);
5018 _resultobj
= Py_None
;
5023 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5024 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5027 PyObject
* _argo0
= 0;
5028 char *_kwnames
[] = { "self", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5041 wxPy_BEGIN_ALLOW_THREADS
;
5042 wxPyShape_SetDefaultRegionSize(_arg0
);
5044 wxPy_END_ALLOW_THREADS
;
5045 } Py_INCREF(Py_None
);
5046 _resultobj
= Py_None
;
5050 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5051 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5056 int _arg3
= (int ) 0;
5057 PyObject
* _argo0
= 0;
5058 PyObject
* _argo1
= 0;
5059 PyObject
* _obj2
= 0;
5060 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5080 if (!PyString_Check(_obj2
)) {
5081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5084 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5087 wxPy_BEGIN_ALLOW_THREADS
;
5088 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5090 wxPy_END_ALLOW_THREADS
;
5091 } Py_INCREF(Py_None
);
5092 _resultobj
= Py_None
;
5100 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5101 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
* _resultobj
;
5105 int _arg2
= (int ) 0;
5106 PyObject
* _argo0
= 0;
5107 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5120 wxPy_BEGIN_ALLOW_THREADS
;
5121 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5123 wxPy_END_ALLOW_THREADS
;
5124 } Py_INCREF(Py_None
);
5125 _resultobj
= Py_None
;
5129 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5130 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5134 int _arg1
= (int ) 0;
5135 PyObject
* _argo0
= 0;
5136 char *_kwnames
[] = { "self","regionId", NULL
};
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5149 wxPy_BEGIN_ALLOW_THREADS
;
5150 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5152 wxPy_END_ALLOW_THREADS
;
5153 } _resultobj
= Py_BuildValue("i",_result
);
5157 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5158 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5162 int _arg2
= (int ) 0;
5163 PyObject
* _argo0
= 0;
5164 PyObject
* _argo1
= 0;
5165 char *_kwnames
[] = { "self","font","regionId", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p.");
5185 wxPy_BEGIN_ALLOW_THREADS
;
5186 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5188 wxPy_END_ALLOW_THREADS
;
5189 } Py_INCREF(Py_None
);
5190 _resultobj
= Py_None
;
5194 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5195 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
* _resultobj
;
5199 int _arg1
= (int ) 0;
5200 PyObject
* _argo0
= 0;
5201 char *_kwnames
[] = { "self","regionId", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5215 wxPy_BEGIN_ALLOW_THREADS
;
5216 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5218 wxPy_END_ALLOW_THREADS
;
5220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5221 _resultobj
= Py_BuildValue("s",_ptemp
);
5224 _resultobj
= Py_None
;
5229 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5230 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
* _resultobj
;
5234 int _arg2
= (int ) 0;
5235 PyObject
* _argo0
= 0;
5236 PyObject
* _obj1
= 0;
5237 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5250 if (!PyString_Check(_obj1
)) {
5251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5254 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5257 wxPy_BEGIN_ALLOW_THREADS
;
5258 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5260 wxPy_END_ALLOW_THREADS
;
5261 } Py_INCREF(Py_None
);
5262 _resultobj
= Py_None
;
5270 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5271 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
* _resultobj
;
5275 int _arg1
= (int ) 0;
5276 PyObject
* _argo0
= 0;
5277 char *_kwnames
[] = { "self","regionId", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5293 wxPy_END_ALLOW_THREADS
;
5295 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5303 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5304 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
* _resultobj
;
5308 PyObject
* _argo0
= 0;
5309 char *_kwnames
[] = { "self", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5322 wxPy_BEGIN_ALLOW_THREADS
;
5323 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5325 wxPy_END_ALLOW_THREADS
;
5326 } _resultobj
= Py_BuildValue("i",_result
);
5330 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5331 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
* _resultobj
;
5335 int _arg2
= (int ) 0;
5336 PyObject
* _argo0
= 0;
5337 PyObject
* _obj1
= 0;
5338 char *_kwnames
[] = { "self","name","regionId", NULL
};
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5351 if (!PyString_Check(_obj1
)) {
5352 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5355 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5358 wxPy_BEGIN_ALLOW_THREADS
;
5359 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5361 wxPy_END_ALLOW_THREADS
;
5362 } Py_INCREF(Py_None
);
5363 _resultobj
= Py_None
;
5371 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5372 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self","regionId", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5391 wxPy_BEGIN_ALLOW_THREADS
;
5392 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5394 wxPy_END_ALLOW_THREADS
;
5396 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5404 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5405 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
* _resultobj
;
5410 PyObject
* _argo0
= 0;
5411 PyObject
* _obj1
= 0;
5412 char *_kwnames
[] = { "self","name", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5425 if (!PyString_Check(_obj1
)) {
5426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5429 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5432 wxPy_BEGIN_ALLOW_THREADS
;
5433 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5435 wxPy_END_ALLOW_THREADS
;
5436 } _resultobj
= Py_BuildValue("i",_result
);
5444 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5445 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
* _resultobj
;
5448 wxString
* _arg1
= (wxString
*) &"";
5449 PyObject
* _argo0
= 0;
5450 PyObject
* _obj1
= 0;
5451 char *_kwnames
[] = { "self","parentName", NULL
};
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5465 if (!PyString_Check(_obj1
)) {
5466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5469 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5472 wxPy_BEGIN_ALLOW_THREADS
;
5473 wxPyShape_NameRegions(_arg0
,*_arg1
);
5475 wxPy_END_ALLOW_THREADS
;
5476 } Py_INCREF(Py_None
);
5477 _resultobj
= Py_None
;
5485 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5486 wxList
& list
= self
->GetRegions();
5487 return wxPy_ConvertList(&list
, "wxShapeRegion");
5489 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5493 PyObject
* _argo0
= 0;
5494 char *_kwnames
[] = { "self", NULL
};
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5507 wxPy_BEGIN_ALLOW_THREADS
;
5508 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5510 wxPy_END_ALLOW_THREADS
;
5512 _resultobj
= _result
;
5517 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5518 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5521 wxShapeRegion
* _arg1
;
5522 PyObject
* _argo0
= 0;
5523 PyObject
* _argo1
= 0;
5524 char *_kwnames
[] = { "self","region", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5544 wxPy_BEGIN_ALLOW_THREADS
;
5545 wxPyShape_AddRegion(_arg0
,_arg1
);
5547 wxPy_END_ALLOW_THREADS
;
5548 } Py_INCREF(Py_None
);
5549 _resultobj
= Py_None
;
5553 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5554 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
* _resultobj
;
5557 PyObject
* _argo0
= 0;
5558 char *_kwnames
[] = { "self", NULL
};
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5571 wxPy_BEGIN_ALLOW_THREADS
;
5572 wxPyShape_ClearRegions(_arg0
);
5574 wxPy_END_ALLOW_THREADS
;
5575 } Py_INCREF(Py_None
);
5576 _resultobj
= Py_None
;
5580 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5581 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
* _resultobj
;
5584 PyObject
* _argo0
= 0;
5585 char *_kwnames
[] = { "self", NULL
};
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5598 wxPy_BEGIN_ALLOW_THREADS
;
5599 wxPyShape_AssignNewIds(_arg0
);
5601 wxPy_END_ALLOW_THREADS
;
5602 } Py_INCREF(Py_None
);
5603 _resultobj
= Py_None
;
5607 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5608 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
* _resultobj
;
5610 wxPyShape
* _result
;
5614 PyObject
* _argo0
= 0;
5615 PyObject
* _obj1
= 0;
5616 PyObject
* _argo2
= 0;
5617 char *_kwnames
[] = { "self","regionName","regionId", NULL
};
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
5624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5631 if (!PyString_Check(_obj1
)) {
5632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5635 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5638 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_FindRegion. Expected _int_p.");
5645 wxPy_BEGIN_ALLOW_THREADS
;
5646 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5648 wxPy_END_ALLOW_THREADS
;
5650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
5651 _resultobj
= Py_BuildValue("s",_ptemp
);
5654 _resultobj
= Py_None
;
5663 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5664 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5667 wxStringList
* _arg1
;
5668 PyObject
* _argo0
= 0;
5669 PyObject
* _argo1
= 0;
5670 char *_kwnames
[] = { "self","list", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5683 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5690 wxPy_BEGIN_ALLOW_THREADS
;
5691 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5693 wxPy_END_ALLOW_THREADS
;
5694 } Py_INCREF(Py_None
);
5695 _resultobj
= Py_None
;
5699 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5700 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5703 int _arg1
= (int ) 0;
5704 PyObject
* _argo0
= 0;
5705 char *_kwnames
[] = { "self","regionId", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5718 wxPy_BEGIN_ALLOW_THREADS
;
5719 wxPyShape_ClearText(_arg0
,_arg1
);
5721 wxPy_END_ALLOW_THREADS
;
5722 } Py_INCREF(Py_None
);
5723 _resultobj
= Py_None
;
5727 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5728 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
* _resultobj
;
5731 wxPyLineShape
* _arg1
;
5732 PyObject
* _argo0
= 0;
5733 PyObject
* _argo1
= 0;
5734 char *_kwnames
[] = { "self","line", NULL
};
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5754 wxPy_BEGIN_ALLOW_THREADS
;
5755 wxPyShape_RemoveLine(_arg0
,_arg1
);
5757 wxPy_END_ALLOW_THREADS
;
5758 } Py_INCREF(Py_None
);
5759 _resultobj
= Py_None
;
5763 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5764 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5773 int _arg4
= (int ) 0;
5774 int _arg5
= (int ) 1;
5775 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5776 PyObject
* _argo0
= 0;
5777 PyObject
* _argo6
= 0;
5778 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5797 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5798 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5804 wxPy_BEGIN_ALLOW_THREADS
;
5805 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5807 wxPy_END_ALLOW_THREADS
;
5808 } _resultobj
= Py_BuildValue("i",_result
);
5811 o
= PyFloat_FromDouble((double) (*_arg2
));
5812 _resultobj
= t_output_helper(_resultobj
, o
);
5816 o
= PyFloat_FromDouble((double) (*_arg3
));
5817 _resultobj
= t_output_helper(_resultobj
, o
);
5822 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5823 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
* _resultobj
;
5827 PyObject
* _argo0
= 0;
5828 char *_kwnames
[] = { "self", NULL
};
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5841 wxPy_BEGIN_ALLOW_THREADS
;
5842 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5844 wxPy_END_ALLOW_THREADS
;
5845 } _resultobj
= Py_BuildValue("i",_result
);
5849 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5850 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self","attachment", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } _resultobj
= Py_BuildValue("i",_result
);
5877 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5878 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5887 int _arg4
= (int ) 0;
5888 int _arg5
= (int ) 1;
5889 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5890 PyObject
* _argo0
= 0;
5891 PyObject
* _argo6
= 0;
5892 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
5911 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
5918 wxPy_BEGIN_ALLOW_THREADS
;
5919 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5921 wxPy_END_ALLOW_THREADS
;
5922 } _resultobj
= Py_BuildValue("i",_result
);
5925 o
= PyFloat_FromDouble((double) (*_arg2
));
5926 _resultobj
= t_output_helper(_resultobj
, o
);
5930 o
= PyFloat_FromDouble((double) (*_arg3
));
5931 _resultobj
= t_output_helper(_resultobj
, o
);
5936 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5937 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5939 wxRealPoint
* _result
;
5941 wxRealPoint
* _arg1
;
5942 wxRealPoint
* _arg2
;
5945 wxPyLineShape
* _arg5
;
5946 PyObject
* _argo0
= 0;
5948 PyObject
* _obj1
= 0;
5950 PyObject
* _obj2
= 0;
5951 PyObject
* _argo5
= 0;
5952 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
5967 if (! wxRealPoint_helper(_obj1
, &_arg1
))
5972 if (! wxRealPoint_helper(_obj2
, &_arg2
))
5976 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5977 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
5978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
5983 wxPy_BEGIN_ALLOW_THREADS
;
5984 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5986 wxPy_END_ALLOW_THREADS
;
5987 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
5988 _resultobj
= Py_BuildValue("s",_ptemp
);
5992 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
5993 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
* _resultobj
;
5998 wxRealPoint
* _arg2
;
5999 wxRealPoint
* _arg3
;
6000 PyObject
* _argo0
= 0;
6002 PyObject
* _obj2
= 0;
6004 PyObject
* _obj3
= 0;
6005 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6019 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6024 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6028 wxPy_BEGIN_ALLOW_THREADS
;
6029 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6031 wxPy_END_ALLOW_THREADS
;
6032 } _resultobj
= Py_BuildValue("i",_result
);
6036 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6037 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
* _resultobj
;
6041 int _arg2
= (int ) -1;
6042 bool _arg3
= (bool ) FALSE
;
6043 PyObject
* _argo0
= 0;
6044 PyObject
* _argo1
= 0;
6045 int tempbool3
= (int) FALSE
;
6046 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6065 _arg3
= (bool ) tempbool3
;
6067 wxPy_BEGIN_ALLOW_THREADS
;
6068 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6070 wxPy_END_ALLOW_THREADS
;
6071 } Py_INCREF(Py_None
);
6072 _resultobj
= Py_None
;
6076 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6077 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
* _resultobj
;
6081 int _arg2
= (int ) -1;
6082 bool _arg3
= (bool ) FALSE
;
6083 PyObject
* _argo0
= 0;
6084 PyObject
* _argo1
= 0;
6085 int tempbool3
= (int) FALSE
;
6086 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6099 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6100 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6105 _arg3
= (bool ) tempbool3
;
6107 wxPy_BEGIN_ALLOW_THREADS
;
6108 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6110 wxPy_END_ALLOW_THREADS
;
6111 } Py_INCREF(Py_None
);
6112 _resultobj
= Py_None
;
6116 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6117 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6122 wxPyLineShape
* _arg2
;
6125 PyObject
* _argo0
= 0;
6126 PyObject
* _argo1
= 0;
6127 PyObject
* _argo2
= 0;
6128 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6148 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6149 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6155 wxPy_BEGIN_ALLOW_THREADS
;
6156 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6158 wxPy_END_ALLOW_THREADS
;
6159 } _resultobj
= Py_BuildValue("i",_result
);
6163 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6164 wxList
* list
= wxPy_wxListHelper(linesToSort
, "wxPyLineShape");
6165 self
->ApplyAttachmentOrdering(*list
);
6168 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
* _resultobj
;
6172 PyObject
* _argo0
= 0;
6173 PyObject
* _obj1
= 0;
6174 char *_kwnames
[] = { "self","linesToSort", NULL
};
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6190 wxPy_BEGIN_ALLOW_THREADS
;
6191 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6193 wxPy_END_ALLOW_THREADS
;
6194 } Py_INCREF(Py_None
);
6195 _resultobj
= Py_None
;
6199 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6200 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
* _resultobj
;
6202 wxRealPoint
* _result
;
6205 PyObject
* _argo0
= 0;
6206 char *_kwnames
[] = { "self","attachment", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6220 wxPy_BEGIN_ALLOW_THREADS
;
6221 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6223 wxPy_END_ALLOW_THREADS
;
6224 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6225 _resultobj
= Py_BuildValue("s",_ptemp
);
6229 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6230 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
* _resultobj
;
6235 wxRealPoint
* _arg2
;
6236 wxRealPoint
* _arg3
;
6237 wxRealPoint
* _arg4
;
6238 wxRealPoint
* _arg5
;
6239 PyObject
* _argo0
= 0;
6241 PyObject
* _obj2
= 0;
6243 PyObject
* _obj3
= 0;
6245 PyObject
* _obj4
= 0;
6247 PyObject
* _obj5
= 0;
6248 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6262 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6267 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6272 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6277 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6281 wxPy_BEGIN_ALLOW_THREADS
;
6282 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6284 wxPy_END_ALLOW_THREADS
;
6285 } _resultobj
= Py_BuildValue("i",_result
);
6289 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6290 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
* _resultobj
;
6296 wxRealPoint
* _arg3
;
6297 wxRealPoint
* _arg4
;
6298 PyObject
* _argo0
= 0;
6300 PyObject
* _obj3
= 0;
6302 PyObject
* _obj4
= 0;
6303 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6317 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6322 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6329 wxPy_END_ALLOW_THREADS
;
6330 } _resultobj
= Py_BuildValue("i",_result
);
6334 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6335 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6340 PyObject
* _argo0
= 0;
6341 char *_kwnames
[] = { "self","attachment", NULL
};
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6354 wxPy_BEGIN_ALLOW_THREADS
;
6355 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6357 wxPy_END_ALLOW_THREADS
;
6358 } _resultobj
= Py_BuildValue("i",_result
);
6362 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6363 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6367 PyObject
* _argo0
= 0;
6368 char *_kwnames
[] = { "self","len", NULL
};
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6381 wxPy_BEGIN_ALLOW_THREADS
;
6382 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6384 wxPy_END_ALLOW_THREADS
;
6385 } Py_INCREF(Py_None
);
6386 _resultobj
= Py_None
;
6390 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6391 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6395 PyObject
* _argo0
= 0;
6396 char *_kwnames
[] = { "self", NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6409 wxPy_BEGIN_ALLOW_THREADS
;
6410 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6412 wxPy_END_ALLOW_THREADS
;
6413 } _resultobj
= Py_BuildValue("i",_result
);
6417 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6418 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6422 PyObject
* _argo0
= 0;
6423 char *_kwnames
[] = { "self","len", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6436 wxPy_BEGIN_ALLOW_THREADS
;
6437 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6439 wxPy_END_ALLOW_THREADS
;
6440 } Py_INCREF(Py_None
);
6441 _resultobj
= Py_None
;
6445 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6446 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6450 PyObject
* _argo0
= 0;
6451 char *_kwnames
[] = { "self", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6464 wxPy_BEGIN_ALLOW_THREADS
;
6465 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6467 wxPy_END_ALLOW_THREADS
;
6468 } _resultobj
= Py_BuildValue("i",_result
);
6472 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6473 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6477 PyObject
* _argo0
= 0;
6478 char *_kwnames
[] = { "self","len", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6491 wxPy_BEGIN_ALLOW_THREADS
;
6492 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6494 wxPy_END_ALLOW_THREADS
;
6495 } Py_INCREF(Py_None
);
6496 _resultobj
= Py_None
;
6500 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6501 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6505 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6522 wxPy_END_ALLOW_THREADS
;
6523 } _resultobj
= Py_BuildValue("i",_result
);
6527 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6528 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
* _resultobj
;
6532 PyObject
* _argo0
= 0;
6533 char *_kwnames
[] = { "self","style", NULL
};
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6546 wxPy_BEGIN_ALLOW_THREADS
;
6547 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6549 wxPy_END_ALLOW_THREADS
;
6550 } Py_INCREF(Py_None
);
6551 _resultobj
= Py_None
;
6555 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6556 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
* _resultobj
;
6560 PyObject
* _argo0
= 0;
6561 char *_kwnames
[] = { "self", NULL
};
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6574 wxPy_BEGIN_ALLOW_THREADS
;
6575 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6577 wxPy_END_ALLOW_THREADS
;
6578 } _resultobj
= Py_BuildValue("l",_result
);
6582 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6583 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
* _resultobj
;
6588 PyObject
* _argo0
= 0;
6589 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6602 wxPy_BEGIN_ALLOW_THREADS
;
6603 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6605 wxPy_END_ALLOW_THREADS
;
6606 } _resultobj
= Py_BuildValue("i",_result
);
6610 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6611 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6616 PyObject
* _argo0
= 0;
6617 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6630 wxPy_BEGIN_ALLOW_THREADS
;
6631 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6633 wxPy_END_ALLOW_THREADS
;
6634 } _resultobj
= Py_BuildValue("i",_result
);
6638 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6639 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
* _resultobj
;
6643 PyObject
* _argo0
= 0;
6644 char *_kwnames
[] = { "self", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6657 wxPy_BEGIN_ALLOW_THREADS
;
6658 _result
= (bool )wxPyShape_Draggable(_arg0
);
6660 wxPy_END_ALLOW_THREADS
;
6661 } _resultobj
= Py_BuildValue("i",_result
);
6665 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6666 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
* _resultobj
;
6671 PyObject
* _argo0
= 0;
6672 PyObject
* _argo1
= 0;
6673 char *_kwnames
[] = { "self","image", NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6693 wxPy_BEGIN_ALLOW_THREADS
;
6694 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6696 wxPy_END_ALLOW_THREADS
;
6697 } _resultobj
= Py_BuildValue("i",_result
);
6701 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6702 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6704 wxPyShape
* _result
;
6706 bool _arg1
= (bool ) TRUE
;
6707 bool _arg2
= (bool ) TRUE
;
6708 PyObject
* _argo0
= 0;
6709 int tempbool1
= (int) TRUE
;
6710 int tempbool2
= (int) TRUE
;
6711 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6724 _arg1
= (bool ) tempbool1
;
6725 _arg2
= (bool ) tempbool2
;
6727 wxPy_BEGIN_ALLOW_THREADS
;
6728 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6730 wxPy_END_ALLOW_THREADS
;
6732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
6733 _resultobj
= Py_BuildValue("s",_ptemp
);
6736 _resultobj
= Py_None
;
6741 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6742 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
* _resultobj
;
6746 PyObject
* _argo0
= 0;
6747 PyObject
* _argo1
= 0;
6748 char *_kwnames
[] = { "self","copy", NULL
};
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6768 wxPy_BEGIN_ALLOW_THREADS
;
6769 wxPyShape_Copy(_arg0
,*_arg1
);
6771 wxPy_END_ALLOW_THREADS
;
6772 } Py_INCREF(Py_None
);
6773 _resultobj
= Py_None
;
6777 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6778 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6782 PyObject
* _argo0
= 0;
6783 PyObject
* _argo1
= 0;
6784 char *_kwnames
[] = { "self","copy", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6804 wxPy_BEGIN_ALLOW_THREADS
;
6805 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6807 wxPy_END_ALLOW_THREADS
;
6808 } Py_INCREF(Py_None
);
6809 _resultobj
= Py_None
;
6813 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6814 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
* _resultobj
;
6820 PyObject
* _argo0
= 0;
6821 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6834 wxPy_BEGIN_ALLOW_THREADS
;
6835 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6837 wxPy_END_ALLOW_THREADS
;
6838 } Py_INCREF(Py_None
);
6839 _resultobj
= Py_None
;
6843 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6844 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
* _resultobj
;
6848 PyObject
* _argo0
= 0;
6849 char *_kwnames
[] = { "self", NULL
};
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6862 wxPy_BEGIN_ALLOW_THREADS
;
6863 _result
= (double )wxPyShape_GetRotation(_arg0
);
6865 wxPy_END_ALLOW_THREADS
;
6866 } _resultobj
= Py_BuildValue("d",_result
);
6870 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
6871 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6874 PyObject
* _argo0
= 0;
6875 char *_kwnames
[] = { "self", NULL
};
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
6881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
6888 wxPy_BEGIN_ALLOW_THREADS
;
6889 wxPyShape_ClearAttachments(_arg0
);
6891 wxPy_END_ALLOW_THREADS
;
6892 } Py_INCREF(Py_None
);
6893 _resultobj
= Py_None
;
6897 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
6898 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
* _resultobj
;
6902 PyObject
* _argo0
= 0;
6903 PyObject
* _argo1
= 0;
6904 char *_kwnames
[] = { "self","dc", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
6917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
6924 wxPy_BEGIN_ALLOW_THREADS
;
6925 wxPyShape_Recentre(_arg0
,*_arg1
);
6927 wxPy_END_ALLOW_THREADS
;
6928 } Py_INCREF(Py_None
);
6929 _resultobj
= Py_None
;
6933 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
6934 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
* _resultobj
;
6938 PyObject
* _argo0
= 0;
6939 PyObject
* _argo1
= 0;
6940 char *_kwnames
[] = { "self","list", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
6953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
6960 wxPy_BEGIN_ALLOW_THREADS
;
6961 wxPyShape_ClearPointList(_arg0
,*_arg1
);
6963 wxPy_END_ALLOW_THREADS
;
6964 } Py_INCREF(Py_None
);
6965 _resultobj
= Py_None
;
6969 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6970 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
* _resultobj
;
6973 PyObject
* _argo0
= 0;
6974 char *_kwnames
[] = { "self", NULL
};
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
6980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
6987 wxPy_BEGIN_ALLOW_THREADS
;
6988 wxPyShape_base_OnDelete(_arg0
);
6990 wxPy_END_ALLOW_THREADS
;
6991 } Py_INCREF(Py_None
);
6992 _resultobj
= Py_None
;
6996 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6997 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
7001 PyObject
* _argo0
= 0;
7002 PyObject
* _argo1
= 0;
7003 char *_kwnames
[] = { "self","dc", NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7023 wxPy_BEGIN_ALLOW_THREADS
;
7024 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7026 wxPy_END_ALLOW_THREADS
;
7027 } Py_INCREF(Py_None
);
7028 _resultobj
= Py_None
;
7032 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7033 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
* _resultobj
;
7037 PyObject
* _argo0
= 0;
7038 PyObject
* _argo1
= 0;
7039 char *_kwnames
[] = { "self","dc", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7059 wxPy_BEGIN_ALLOW_THREADS
;
7060 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7062 wxPy_END_ALLOW_THREADS
;
7063 } Py_INCREF(Py_None
);
7064 _resultobj
= Py_None
;
7068 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7069 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
* _resultobj
;
7073 bool _arg2
= (bool ) FALSE
;
7074 PyObject
* _argo0
= 0;
7075 PyObject
* _argo1
= 0;
7076 int tempbool2
= (int) FALSE
;
7077 char *_kwnames
[] = { "self","dc","erase", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7096 _arg2
= (bool ) tempbool2
;
7098 wxPy_BEGIN_ALLOW_THREADS
;
7099 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7101 wxPy_END_ALLOW_THREADS
;
7102 } Py_INCREF(Py_None
);
7103 _resultobj
= Py_None
;
7107 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7108 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7112 PyObject
* _argo0
= 0;
7113 PyObject
* _argo1
= 0;
7114 char *_kwnames
[] = { "self","dc", NULL
};
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7134 wxPy_BEGIN_ALLOW_THREADS
;
7135 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7137 wxPy_END_ALLOW_THREADS
;
7138 } Py_INCREF(Py_None
);
7139 _resultobj
= Py_None
;
7143 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7144 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
* _resultobj
;
7148 PyObject
* _argo0
= 0;
7149 PyObject
* _argo1
= 0;
7150 char *_kwnames
[] = { "self","dc", NULL
};
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7170 wxPy_BEGIN_ALLOW_THREADS
;
7171 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7173 wxPy_END_ALLOW_THREADS
;
7174 } Py_INCREF(Py_None
);
7175 _resultobj
= Py_None
;
7179 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7180 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
* _resultobj
;
7184 PyObject
* _argo0
= 0;
7185 PyObject
* _argo1
= 0;
7186 char *_kwnames
[] = { "self","dc", NULL
};
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7206 wxPy_BEGIN_ALLOW_THREADS
;
7207 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7209 wxPy_END_ALLOW_THREADS
;
7210 } Py_INCREF(Py_None
);
7211 _resultobj
= Py_None
;
7215 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7216 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
* _resultobj
;
7220 PyObject
* _argo0
= 0;
7221 PyObject
* _argo1
= 0;
7222 char *_kwnames
[] = { "self","dc", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7245 wxPy_END_ALLOW_THREADS
;
7246 } Py_INCREF(Py_None
);
7247 _resultobj
= Py_None
;
7251 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7252 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7257 int _arg3
= (int ) 0;
7258 int _arg4
= (int ) 0;
7259 PyObject
* _argo0
= 0;
7260 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7273 wxPy_BEGIN_ALLOW_THREADS
;
7274 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7276 wxPy_END_ALLOW_THREADS
;
7277 } Py_INCREF(Py_None
);
7278 _resultobj
= Py_None
;
7282 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7283 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7288 int _arg3
= (int ) 0;
7289 int _arg4
= (int ) 0;
7290 PyObject
* _argo0
= 0;
7291 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_OnLeftDoubleClick. Expected _wxPyShape_p.");
7304 wxPy_BEGIN_ALLOW_THREADS
;
7305 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7307 wxPy_END_ALLOW_THREADS
;
7308 } Py_INCREF(Py_None
);
7309 _resultobj
= Py_None
;
7313 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7314 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
* _resultobj
;
7319 int _arg3
= (int ) 0;
7320 int _arg4
= (int ) 0;
7321 PyObject
* _argo0
= 0;
7322 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7335 wxPy_BEGIN_ALLOW_THREADS
;
7336 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7338 wxPy_END_ALLOW_THREADS
;
7339 } Py_INCREF(Py_None
);
7340 _resultobj
= Py_None
;
7344 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7345 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
* _resultobj
;
7350 PyObject
* _argo0
= 0;
7351 char *_kwnames
[] = { "self","x","y", NULL
};
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7364 wxPy_BEGIN_ALLOW_THREADS
;
7365 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7367 wxPy_END_ALLOW_THREADS
;
7368 } Py_INCREF(Py_None
);
7369 _resultobj
= Py_None
;
7373 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7374 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
* _resultobj
;
7383 bool _arg6
= (bool ) TRUE
;
7384 PyObject
* _argo0
= 0;
7385 PyObject
* _argo1
= 0;
7386 int tempbool6
= (int) TRUE
;
7387 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7400 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7401 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7406 _arg6
= (bool ) tempbool6
;
7408 wxPy_BEGIN_ALLOW_THREADS
;
7409 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7411 wxPy_END_ALLOW_THREADS
;
7412 } _resultobj
= Py_BuildValue("i",_result
);
7416 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7417 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
* _resultobj
;
7425 bool _arg6
= (bool ) TRUE
;
7426 PyObject
* _argo0
= 0;
7427 PyObject
* _argo1
= 0;
7428 int tempbool6
= (int) TRUE
;
7429 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7448 _arg6
= (bool ) tempbool6
;
7450 wxPy_BEGIN_ALLOW_THREADS
;
7451 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7453 wxPy_END_ALLOW_THREADS
;
7454 } Py_INCREF(Py_None
);
7455 _resultobj
= Py_None
;
7459 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7460 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
* _resultobj
;
7466 int _arg4
= (int ) 0;
7467 int _arg5
= (int ) 0;
7468 PyObject
* _argo0
= 0;
7470 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7482 _arg1
= (bool ) tempbool1
;
7484 wxPy_BEGIN_ALLOW_THREADS
;
7485 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7487 wxPy_END_ALLOW_THREADS
;
7488 } Py_INCREF(Py_None
);
7489 _resultobj
= Py_None
;
7493 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7494 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
* _resultobj
;
7499 int _arg3
= (int ) 0;
7500 int _arg4
= (int ) 0;
7501 PyObject
* _argo0
= 0;
7502 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7515 wxPy_BEGIN_ALLOW_THREADS
;
7516 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7518 wxPy_END_ALLOW_THREADS
;
7519 } Py_INCREF(Py_None
);
7520 _resultobj
= Py_None
;
7524 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7525 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
* _resultobj
;
7530 int _arg3
= (int ) 0;
7531 int _arg4
= (int ) 0;
7532 PyObject
* _argo0
= 0;
7533 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7546 wxPy_BEGIN_ALLOW_THREADS
;
7547 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7549 wxPy_END_ALLOW_THREADS
;
7550 } Py_INCREF(Py_None
);
7551 _resultobj
= Py_None
;
7555 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7556 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
* _resultobj
;
7562 int _arg4
= (int ) 0;
7563 int _arg5
= (int ) 0;
7564 PyObject
* _argo0
= 0;
7566 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7578 _arg1
= (bool ) tempbool1
;
7580 wxPy_BEGIN_ALLOW_THREADS
;
7581 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7583 wxPy_END_ALLOW_THREADS
;
7584 } Py_INCREF(Py_None
);
7585 _resultobj
= Py_None
;
7589 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7590 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
* _resultobj
;
7595 int _arg3
= (int ) 0;
7596 int _arg4
= (int ) 0;
7597 PyObject
* _argo0
= 0;
7598 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7611 wxPy_BEGIN_ALLOW_THREADS
;
7612 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7614 wxPy_END_ALLOW_THREADS
;
7615 } Py_INCREF(Py_None
);
7616 _resultobj
= Py_None
;
7620 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7621 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
* _resultobj
;
7626 int _arg3
= (int ) 0;
7627 int _arg4
= (int ) 0;
7628 PyObject
* _argo0
= 0;
7629 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7642 wxPy_BEGIN_ALLOW_THREADS
;
7643 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7645 wxPy_END_ALLOW_THREADS
;
7646 } Py_INCREF(Py_None
);
7647 _resultobj
= Py_None
;
7651 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7652 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
* _resultobj
;
7660 PyObject
* _argo0
= 0;
7661 PyObject
* _argo1
= 0;
7662 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7682 wxPy_BEGIN_ALLOW_THREADS
;
7683 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7685 wxPy_END_ALLOW_THREADS
;
7686 } Py_INCREF(Py_None
);
7687 _resultobj
= Py_None
;
7691 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7692 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
* _resultobj
;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo1
= 0;
7698 char *_kwnames
[] = { "self","dc", NULL
};
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7718 wxPy_BEGIN_ALLOW_THREADS
;
7719 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7721 wxPy_END_ALLOW_THREADS
;
7722 } Py_INCREF(Py_None
);
7723 _resultobj
= Py_None
;
7727 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7728 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
* _resultobj
;
7732 PyObject
* _argo0
= 0;
7733 PyObject
* _argo1
= 0;
7734 char *_kwnames
[] = { "self","dc", NULL
};
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7754 wxPy_BEGIN_ALLOW_THREADS
;
7755 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7757 wxPy_END_ALLOW_THREADS
;
7758 } Py_INCREF(Py_None
);
7759 _resultobj
= Py_None
;
7763 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7764 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
* _resultobj
;
7768 bool _arg2
= (bool ) TRUE
;
7769 PyObject
* _argo0
= 0;
7770 PyObject
* _argo1
= 0;
7771 int tempbool2
= (int) TRUE
;
7772 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7791 _arg2
= (bool ) tempbool2
;
7793 wxPy_BEGIN_ALLOW_THREADS
;
7794 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7796 wxPy_END_ALLOW_THREADS
;
7797 } Py_INCREF(Py_None
);
7798 _resultobj
= Py_None
;
7802 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7803 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
* _resultobj
;
7806 wxPyControlPoint
* _arg1
;
7810 int _arg5
= (int ) 0;
7811 int _arg6
= (int ) 0;
7812 PyObject
* _argo0
= 0;
7813 PyObject
* _argo1
= 0;
7815 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7828 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7834 _arg2
= (bool ) tempbool2
;
7836 wxPy_BEGIN_ALLOW_THREADS
;
7837 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7839 wxPy_END_ALLOW_THREADS
;
7840 } Py_INCREF(Py_None
);
7841 _resultobj
= Py_None
;
7845 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7846 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7849 wxPyControlPoint
* _arg1
;
7852 int _arg4
= (int ) 0;
7853 int _arg5
= (int ) 0;
7854 PyObject
* _argo0
= 0;
7855 PyObject
* _argo1
= 0;
7856 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
7869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7876 wxPy_BEGIN_ALLOW_THREADS
;
7877 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7879 wxPy_END_ALLOW_THREADS
;
7880 } Py_INCREF(Py_None
);
7881 _resultobj
= Py_None
;
7885 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7886 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 wxPyControlPoint
* _arg1
;
7892 int _arg4
= (int ) 0;
7893 int _arg5
= (int ) 0;
7894 PyObject
* _argo0
= 0;
7895 PyObject
* _argo1
= 0;
7896 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
7909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7916 wxPy_BEGIN_ALLOW_THREADS
;
7917 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7919 wxPy_END_ALLOW_THREADS
;
7920 } Py_INCREF(Py_None
);
7921 _resultobj
= Py_None
;
7925 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7926 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
* _resultobj
;
7931 PyObject
* _argo0
= 0;
7932 char *_kwnames
[] = { "self","w","h", NULL
};
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
7945 wxPy_BEGIN_ALLOW_THREADS
;
7946 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
7948 wxPy_END_ALLOW_THREADS
;
7949 } Py_INCREF(Py_None
);
7950 _resultobj
= Py_None
;
7954 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7955 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
* _resultobj
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self","w","h", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
7974 wxPy_BEGIN_ALLOW_THREADS
;
7975 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
7977 wxPy_END_ALLOW_THREADS
;
7978 } Py_INCREF(Py_None
);
7979 _resultobj
= Py_None
;
7983 static PyMethodDef oglbasiccMethods
[] = {
7984 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxPyShape_Destroy", (PyCFunction
) _wrap_wxPyShape_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxPyShape__setSelf", (PyCFunction
) _wrap_wxPyShape__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShapeEvtHandler__setSelf", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8221 * This table is used by the pointer type-checker
8223 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8224 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8225 { "_wxEvent","_class_wxEvent",0},
8226 { "_class_wxActivateEvent","_wxActivateEvent",0},
8227 { "_signed_long","_long",0},
8228 { "_wxMenuEvent","_class_wxMenuEvent",0},
8229 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
8230 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8231 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8232 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8233 { "_wxBMPHandler","_class_wxBMPHandler",0},
8234 { "_wxImage","_class_wxImage",0},
8235 { "_wxPrintQuality","_wxCoord",0},
8236 { "_wxPrintQuality","_int",0},
8237 { "_wxPrintQuality","_signed_int",0},
8238 { "_wxPrintQuality","_unsigned_int",0},
8239 { "_wxPrintQuality","_wxWindowID",0},
8240 { "_wxPrintQuality","_uint",0},
8241 { "_wxPrintQuality","_EBool",0},
8242 { "_wxPrintQuality","_size_t",0},
8243 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8244 { "_wxFontData","_class_wxFontData",0},
8245 { "_class_wxRegionIterator","_wxRegionIterator",0},
8246 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8247 { "_class_wxMenuBar","_wxMenuBar",0},
8248 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8249 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
8250 { "_class_wxEvtHandler","_wxEvtHandler",0},
8251 { "_wxPaintEvent","_class_wxPaintEvent",0},
8252 { "_wxGIFHandler","_class_wxGIFHandler",0},
8253 { "_wxPySizer","_class_wxPySizer",0},
8254 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8255 { "_wxCursor","_class_wxCursor",0},
8256 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8257 { "_wxImageHandler","_class_wxImageHandler",0},
8258 { "_class_wxToolBarBase","_wxToolBarBase",0},
8259 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
8260 { "_wxMask","_class_wxMask",0},
8261 { "_wxToolTip","_class_wxToolTip",0},
8262 { "_wxGrid","_class_wxGrid",0},
8263 { "_wxPNGHandler","_class_wxPNGHandler",0},
8264 { "_class_wxColourData","_wxColourData",0},
8265 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8266 { "_wxPrinter","_class_wxPrinter",0},
8267 { "_wxPen","_class_wxPen",0},
8268 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8269 { "_byte","_unsigned_char",0},
8270 { "_wxDataObject","_class_wxDataObject",0},
8271 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
8272 { "_wxStaticBox","_class_wxStaticBox",0},
8273 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8274 { "_wxPyDropSource","_class_wxPyDropSource",0},
8275 { "_wxChoice","_class_wxChoice",0},
8276 { "_wxSlider","_class_wxSlider",0},
8277 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8278 { "_wxPyPrintout","_class_wxPyPrintout",0},
8279 { "_wxShapeRegion","_class_wxShapeRegion",0},
8280 { "_long","_unsigned_long",0},
8281 { "_long","_signed_long",0},
8282 { "_wxImageList","_class_wxImageList",0},
8283 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8284 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8285 { "_wxBitmapButton","_class_wxBitmapButton",0},
8286 { "_wxSashWindow","_class_wxSashWindow",0},
8287 { "_class_wxSizer","_wxSizer",0},
8288 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
8289 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8290 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8291 { "_class_wxClipboard","_wxClipboard",0},
8292 { "_class_wxGauge","_wxGauge",0},
8293 { "_class_wxSashEvent","_wxSashEvent",0},
8294 { "_wxDC","_class_wxDC",0},
8295 { "_wxSizerItem","_class_wxSizerItem",0},
8296 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8297 { "_wxListEvent","_class_wxListEvent",0},
8298 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8299 { "_wxProgressDialog","_class_wxProgressDialog",0},
8300 { "_class_wxBMPHandler","_wxBMPHandler",0},
8301 { "_wxPrintPreview","_class_wxPrintPreview",0},
8302 { "_wxSpinEvent","_class_wxSpinEvent",0},
8303 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8304 { "_size_t","_wxCoord",0},
8305 { "_size_t","_wxPrintQuality",0},
8306 { "_size_t","_unsigned_int",0},
8307 { "_size_t","_int",0},
8308 { "_size_t","_wxWindowID",0},
8309 { "_size_t","_uint",0},
8310 { "_class_wxRealPoint","_wxRealPoint",0},
8311 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8312 { "_wxPNMHandler","_class_wxPNMHandler",0},
8313 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8314 { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8315 { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8316 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
8317 { "_class_wxMenuItem","_wxMenuItem",0},
8318 { "_class_wxPaintEvent","_wxPaintEvent",0},
8319 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8320 { "_class_wxStatusBar","_wxStatusBar",0},
8321 { "_class_wxGIFHandler","_wxGIFHandler",0},
8322 { "_class_wxPySizer","_wxPySizer",0},
8323 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8324 { "_wxPanel","_class_wxPanel",0},
8325 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8326 { "_wxCheckBox","_class_wxCheckBox",0},
8327 { "_wxPyEvent","_class_wxPyEvent",0},
8328 { "_wxTextCtrl","_class_wxTextCtrl",0},
8329 { "_class_wxMask","_wxMask",0},
8330 { "_wxTextDataObject","_class_wxTextDataObject",0},
8331 { "_class_wxKeyEvent","_wxKeyEvent",0},
8332 { "_class_wxToolTip","_wxToolTip",0},
8333 { "_class_wxGrid","_wxGrid",0},
8334 { "_class_wxPNGHandler","_wxPNGHandler",0},
8335 { "_wxColour","_class_wxColour",0},
8336 { "_class_wxDialog","_wxDialog",0},
8337 { "_wxBusyCursor","_class_wxBusyCursor",0},
8338 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8339 { "_class_wxPrinter","_wxPrinter",0},
8340 { "_class_wxFileDataObject","_wxFileDataObject",0},
8341 { "_wxIdleEvent","_class_wxIdleEvent",0},
8342 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8343 { "_wxToolBar","_class_wxToolBar",0},
8344 { "_class_wxDataObject","_wxDataObject",0},
8345 { "_wxCaret","_class_wxCaret",0},
8346 { "_wxStaticLine","_class_wxStaticLine",0},
8347 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8348 { "_wxBrush","_class_wxBrush",0},
8349 { "_wxMiniFrame","_class_wxMiniFrame",0},
8350 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8351 { "_class_wxPyPrintout","_wxPyPrintout",0},
8352 { "_wxDataFormat","_class_wxDataFormat",0},
8353 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8354 { "_class_wxSashWindow","_wxSashWindow",0},
8355 { "_wxShowEvent","_class_wxShowEvent",0},
8356 { "_uint","_wxCoord",0},
8357 { "_uint","_wxPrintQuality",0},
8358 { "_uint","_size_t",0},
8359 { "_uint","_unsigned_int",0},
8360 { "_uint","_int",0},
8361 { "_uint","_wxWindowID",0},
8362 { "_wxPyValidator","_class_wxPyValidator",0},
8363 { "_class_wxEvent","_wxEvent",0},
8364 { "_wxCheckListBox","_class_wxCheckListBox",0},
8365 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8366 { "_wxGridEvent","_class_wxGridEvent",0},
8367 { "_wxRect","_class_wxRect",0},
8368 { "_wxCommandEvent","_class_wxCommandEvent",0},
8369 { "_wxSizeEvent","_class_wxSizeEvent",0},
8370 { "_class_wxImage","_wxImage",0},
8371 { "_wxPoint","_class_wxPoint",0},
8372 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8373 { "_class_wxButton","_wxButton",0},
8374 { "_wxRadioBox","_class_wxRadioBox",0},
8375 { "_class_wxFontData","_wxFontData",0},
8376 { "_class_wxPNMHandler","_wxPNMHandler",0},
8377 { "_wxBoxSizer","_class_wxBoxSizer",0},
8378 { "_wxBitmap","_class_wxBitmap",0},
8379 { "_char","_wxDash",0},
8380 { "_wxPrintDialog","_class_wxPrintDialog",0},
8381 { "_wxPyTimer","_class_wxPyTimer",0},
8382 { "_wxWindowDC","_class_wxWindowDC",0},
8383 { "_wxScrollBar","_class_wxScrollBar",0},
8384 { "_wxSpinButton","_class_wxSpinButton",0},
8385 { "_wxColourDialog","_class_wxColourDialog",0},
8386 { "_wxPrintData","_class_wxPrintData",0},
8387 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8388 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8389 { "_wxMessageDialog","_class_wxMessageDialog",0},
8390 { "_class_wxValidator","_wxValidator",0},
8391 { "_class_wxPyEvent","_wxPyEvent",0},
8392 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
8393 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8394 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8395 { "_class_wxBusyCursor","_wxBusyCursor",0},
8396 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
8397 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8398 { "_wxListItem","_class_wxListItem",0},
8399 { "_class_wxToolBar","_wxToolBar",0},
8400 { "_wxDropTarget","_class_wxDropTarget",0},
8401 { "_class_wxStaticLine","_wxStaticLine",0},
8402 { "_wxScrollEvent","_class_wxScrollEvent",0},
8403 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
8404 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
8405 { "_class_wxShapeRegion","_wxShapeRegion",0},
8406 { "_EBool","_wxCoord",0},
8407 { "_EBool","_wxPrintQuality",0},
8408 { "_EBool","_signed_int",0},
8409 { "_EBool","_int",0},
8410 { "_EBool","_wxWindowID",0},
8411 { "_class_wxRegion","_wxRegion",0},
8412 { "_class_wxDataFormat","_wxDataFormat",0},
8413 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8414 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8415 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8416 { "_wxStaticText","_class_wxStaticText",0},
8417 { "_wxFont","_class_wxFont",0},
8418 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8419 { "_wxCloseEvent","_class_wxCloseEvent",0},
8420 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
8421 { "_wxNotebook","_class_wxNotebook",0},
8422 { "_unsigned_long","_long",0},
8423 { "_class_wxRect","_wxRect",0},
8424 { "_class_wxDC","_wxDC",0},
8425 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8426 { "_class_wxProgressDialog","_wxProgressDialog",0},
8427 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8428 { "_wxPyApp","_class_wxPyApp",0},
8429 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8430 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8431 { "_class_wxTreeEvent","_wxTreeEvent",0},
8432 { "_class_wxDirDialog","_wxDirDialog",0},
8433 { "_class_wxPyTimer","_wxPyTimer",0},
8434 { "_wxFocusEvent","_class_wxFocusEvent",0},
8435 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8436 { "_class_wxSpinButton","_wxSpinButton",0},
8437 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8438 { "_class_wxPanel","_wxPanel",0},
8439 { "_class_wxCheckBox","_wxCheckBox",0},
8440 { "_wxComboBox","_class_wxComboBox",0},
8441 { "_wxRadioButton","_class_wxRadioButton",0},
8442 { "_class_wxMessageDialog","_wxMessageDialog",0},
8443 { "_signed_int","_wxCoord",0},
8444 { "_signed_int","_wxPrintQuality",0},
8445 { "_signed_int","_EBool",0},
8446 { "_signed_int","_wxWindowID",0},
8447 { "_signed_int","_int",0},
8448 { "_class_wxTextCtrl","_wxTextCtrl",0},
8449 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8450 { "_class_wxTextDataObject","_wxTextDataObject",0},
8451 { "_wxMenu","_class_wxMenu",0},
8452 { "_class_wxMoveEvent","_wxMoveEvent",0},
8453 { "_wxListBox","_class_wxListBox",0},
8454 { "_wxScreenDC","_class_wxScreenDC",0},
8455 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
8456 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
8457 { "_WXTYPE","_short",0},
8458 { "_WXTYPE","_signed_short",0},
8459 { "_WXTYPE","_unsigned_short",0},
8460 { "_wxFileDialog","_class_wxFileDialog",0},
8461 { "_class_wxDropTarget","_wxDropTarget",0},
8462 { "_class_wxCaret","_wxCaret",0},
8463 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8464 { "_class_wxBrush","_wxBrush",0},
8465 { "_unsigned_short","_WXTYPE",0},
8466 { "_unsigned_short","_short",0},
8467 { "_class_wxWindow","_wxWindow",0},
8468 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
8469 { "_class_wxStaticText","_wxStaticText",0},
8470 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8471 { "_class_wxFont","_wxFont",0},
8472 { "_wxClipboard","_class_wxClipboard",0},
8473 { "_class_wxPyValidator","_wxPyValidator",0},
8474 { "_class_wxCloseEvent","_wxCloseEvent",0},
8475 { "_wxSashEvent","_class_wxSashEvent",0},
8476 { "_wxBusyInfo","_class_wxBusyInfo",0},
8477 { "_class_wxMenuEvent","_wxMenuEvent",0},
8478 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8479 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8480 { "_wxClientDC","_class_wxClientDC",0},
8481 { "_wxMouseEvent","_class_wxMouseEvent",0},
8482 { "_wxListCtrl","_class_wxListCtrl",0},
8483 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8484 { "_class_wxPoint","_wxPoint",0},
8485 { "_wxRealPoint","_class_wxRealPoint",0},
8486 { "_class_wxRadioBox","_wxRadioBox",0},
8487 { "_wxGridCell","_class_wxGridCell",0},
8488 { "_class_wxBoxSizer","_wxBoxSizer",0},
8489 { "_signed_short","_WXTYPE",0},
8490 { "_signed_short","_short",0},
8491 { "_wxMemoryDC","_class_wxMemoryDC",0},
8492 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8493 { "_class_wxPrintDialog","_wxPrintDialog",0},
8494 { "_wxPaintDC","_class_wxPaintDC",0},
8495 { "_class_wxWindowDC","_wxWindowDC",0},
8496 { "_class_wxFocusEvent","_wxFocusEvent",0},
8497 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8498 { "_wxStatusBar","_class_wxStatusBar",0},
8499 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8500 { "_class_wxCursor","_wxCursor",0},
8501 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8502 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8503 { "_class_wxImageHandler","_wxImageHandler",0},
8504 { "_wxPyShape","_class_wxPyShape",0},
8505 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8506 { "_wxTreeItemId","_class_wxTreeItemId",0},
8507 { "_unsigned_char","_byte",0},
8508 { "_class_wxMenu","_wxMenu",0},
8509 { "_wxControl","_class_wxControl",0},
8510 { "_class_wxListBox","_wxListBox",0},
8511 { "_unsigned_int","_wxCoord",0},
8512 { "_unsigned_int","_wxPrintQuality",0},
8513 { "_unsigned_int","_size_t",0},
8514 { "_unsigned_int","_uint",0},
8515 { "_unsigned_int","_wxWindowID",0},
8516 { "_unsigned_int","_int",0},
8517 { "_wxIcon","_class_wxIcon",0},
8518 { "_wxDialog","_class_wxDialog",0},
8519 { "_class_wxListItem","_wxListItem",0},
8520 { "_class_wxPen","_wxPen",0},
8521 { "_class_wxFileDialog","_wxFileDialog",0},
8522 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
8523 { "_short","_WXTYPE",0},
8524 { "_short","_unsigned_short",0},
8525 { "_short","_signed_short",0},
8526 { "_class_wxStaticBox","_wxStaticBox",0},
8527 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8528 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8529 { "_class_wxPyDropSource","_wxPyDropSource",0},
8530 { "_class_wxScrollEvent","_wxScrollEvent",0},
8531 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8532 { "_class_wxChoice","_wxChoice",0},
8533 { "_class_wxSlider","_wxSlider",0},
8534 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8535 { "_class_wxImageList","_wxImageList",0},
8536 { "_class_wxBitmapButton","_wxBitmapButton",0},
8537 { "_wxFrame","_class_wxFrame",0},
8538 { "_wxPCXHandler","_class_wxPCXHandler",0},
8539 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8540 { "_class_wxNotebook","_wxNotebook",0},
8541 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8542 { "_wxWindowID","_wxCoord",0},
8543 { "_wxWindowID","_wxPrintQuality",0},
8544 { "_wxWindowID","_size_t",0},
8545 { "_wxWindowID","_EBool",0},
8546 { "_wxWindowID","_uint",0},
8547 { "_wxWindowID","_int",0},
8548 { "_wxWindowID","_signed_int",0},
8549 { "_wxWindowID","_unsigned_int",0},
8550 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8551 { "_class_wxSizerItem","_wxSizerItem",0},
8552 { "_int","_wxCoord",0},
8553 { "_int","_wxPrintQuality",0},
8554 { "_int","_size_t",0},
8555 { "_int","_EBool",0},
8556 { "_int","_uint",0},
8557 { "_int","_wxWindowID",0},
8558 { "_int","_unsigned_int",0},
8559 { "_int","_signed_int",0},
8560 { "_class_wxMouseEvent","_wxMouseEvent",0},
8561 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8562 { "_class_wxListEvent","_wxListEvent",0},
8563 { "_class_wxPrintPreview","_wxPrintPreview",0},
8564 { "_class_wxSpinEvent","_wxSpinEvent",0},
8565 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8566 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8567 { "_wxButton","_class_wxButton",0},
8568 { "_class_wxPyApp","_wxPyApp",0},
8569 { "_wxSize","_class_wxSize",0},
8570 { "_wxRegionIterator","_class_wxRegionIterator",0},
8571 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8572 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8573 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8574 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
8575 { "_class_wxPaintDC","_wxPaintDC",0},
8576 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8577 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8578 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8579 { "_class_wxComboBox","_wxComboBox",0},
8580 { "_class_wxRadioButton","_wxRadioButton",0},
8581 { "_class_wxPyShape","_wxPyShape",0},
8582 { "_wxValidator","_class_wxValidator",0},
8583 { "_wxToolBarBase","_class_wxToolBarBase",0},
8584 { "_class_wxTreeItemId","_wxTreeItemId",0},
8585 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
8586 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8587 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8588 { "_class_wxControl","_wxControl",0},
8589 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8590 { "_class_wxIcon","_wxIcon",0},
8591 { "_class_wxColour","_wxColour",0},
8592 { "_class_wxScreenDC","_wxScreenDC",0},
8593 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8594 { "_wxPalette","_class_wxPalette",0},
8595 { "_class_wxIdleEvent","_wxIdleEvent",0},
8596 { "_wxCoord","_int",0},
8597 { "_wxCoord","_signed_int",0},
8598 { "_wxCoord","_unsigned_int",0},
8599 { "_wxCoord","_wxWindowID",0},
8600 { "_wxCoord","_uint",0},
8601 { "_wxCoord","_EBool",0},
8602 { "_wxCoord","_size_t",0},
8603 { "_wxCoord","_wxPrintQuality",0},
8604 { "_wxEraseEvent","_class_wxEraseEvent",0},
8605 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8606 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8607 { "_class_wxMiniFrame","_wxMiniFrame",0},
8608 { "_wxFontDialog","_class_wxFontDialog",0},
8609 { "_wxRegion","_class_wxRegion",0},
8610 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8611 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8612 { "_wxSizer","_class_wxSizer",0},
8613 { "_class_wxShowEvent","_wxShowEvent",0},
8614 { "_class_wxPCXHandler","_wxPCXHandler",0},
8615 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
8616 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8617 { "_wxActivateEvent","_class_wxActivateEvent",0},
8618 { "_wxGauge","_class_wxGauge",0},
8619 { "_class_wxCheckListBox","_wxCheckListBox",0},
8620 { "_class_wxBusyInfo","_wxBusyInfo",0},
8621 { "_class_wxGridEvent","_wxGridEvent",0},
8622 { "_class_wxCommandEvent","_wxCommandEvent",0},
8623 { "_class_wxClientDC","_wxClientDC",0},
8624 { "_class_wxSizeEvent","_wxSizeEvent",0},
8625 { "_class_wxListCtrl","_wxListCtrl",0},
8626 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8627 { "_class_wxGridCell","_wxGridCell",0},
8628 { "_class_wxSize","_wxSize",0},
8629 { "_class_wxBitmap","_wxBitmap",0},
8630 { "_class_wxMemoryDC","_wxMemoryDC",0},
8631 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8632 { "_wxMenuBar","_class_wxMenuBar",0},
8633 { "_wxTreeEvent","_class_wxTreeEvent",0},
8634 { "_wxDirDialog","_class_wxDirDialog",0},
8635 { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8636 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8637 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
8638 { "_wxEvtHandler","_class_wxEvtHandler",0},
8639 { "_wxMenuItem","_class_wxMenuItem",0},
8640 { "_class_wxScrollBar","_wxScrollBar",0},
8641 { "_class_wxColourDialog","_wxColourDialog",0},
8642 { "_class_wxPrintData","_wxPrintData",0},
8643 { "_wxDash","_char",0},
8644 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8645 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
8646 { "_wxKeyEvent","_class_wxKeyEvent",0},
8647 { "_wxMoveEvent","_class_wxMoveEvent",0},
8648 { "_wxColourData","_class_wxColourData",0},
8649 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
8650 { "_class_wxPalette","_wxPalette",0},
8651 { "_wxFileDataObject","_class_wxFileDataObject",0},
8652 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
8653 { "_class_wxEraseEvent","_wxEraseEvent",0},
8654 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
8655 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
8656 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8657 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
8658 { "_class_wxFontDialog","_wxFontDialog",0},
8659 { "_wxWindow","_class_wxWindow",0},
8660 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8661 { "_class_wxFrame","_wxFrame",0},
8664 static PyObject
*SWIG_globals
;
8668 SWIGEXPORT(void) initoglbasicc() {
8670 SWIG_globals
= SWIG_newvarlink();
8671 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8672 d
= PyModule_GetDict(m
);
8675 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8676 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);