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_FromString(WXSTRINGCAST
*(_result
));
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_FromString(WXSTRINGCAST
*(_result
));
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_FromString(WXSTRINGCAST
*(_result
));
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_FromString(WXSTRINGCAST
*(_result
));
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 #define wxPyShape_SetClientData(_swigobj,_swigarg0) (_swigobj->SetClientData(_swigarg0))
4300 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4304 PyObject
* _argo0
= 0;
4305 PyObject
* _argo1
= 0;
4306 char *_kwnames
[] = { "self","client_data", NULL
};
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_argo1
))
4312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
4321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetClientData. Expected _wxObject_p.");
4326 wxPy_BEGIN_ALLOW_THREADS
;
4327 wxPyShape_SetClientData(_arg0
,_arg1
);
4329 wxPy_END_ALLOW_THREADS
;
4330 } Py_INCREF(Py_None
);
4331 _resultobj
= Py_None
;
4335 #define wxPyShape_GetClientData(_swigobj) (_swigobj->GetClientData())
4336 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
* _resultobj
;
4340 PyObject
* _argo0
= 0;
4341 char *_kwnames
[] = { "self", NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4355 wxPy_BEGIN_ALLOW_THREADS
;
4356 _result
= (wxObject
*)wxPyShape_GetClientData(_arg0
);
4358 wxPy_END_ALLOW_THREADS
;
4360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
4361 _resultobj
= Py_BuildValue("s",_ptemp
);
4364 _resultobj
= Py_None
;
4369 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4370 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4374 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self","show", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4388 _arg1
= (bool ) tempbool1
;
4390 wxPy_BEGIN_ALLOW_THREADS
;
4391 wxPyShape_Show(_arg0
,_arg1
);
4393 wxPy_END_ALLOW_THREADS
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4400 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4404 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4418 wxPy_BEGIN_ALLOW_THREADS
;
4419 _result
= (bool )wxPyShape_IsShown(_arg0
);
4421 wxPy_END_ALLOW_THREADS
;
4422 } _resultobj
= Py_BuildValue("i",_result
);
4426 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4427 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4433 bool _arg4
= (bool ) TRUE
;
4434 PyObject
* _argo0
= 0;
4435 PyObject
* _argo1
= 0;
4436 int tempbool4
= (int) TRUE
;
4437 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4456 _arg4
= (bool ) tempbool4
;
4458 wxPy_BEGIN_ALLOW_THREADS
;
4459 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4461 wxPy_END_ALLOW_THREADS
;
4462 } Py_INCREF(Py_None
);
4463 _resultobj
= Py_None
;
4467 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4468 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4472 PyObject
* _argo0
= 0;
4473 PyObject
* _argo1
= 0;
4474 char *_kwnames
[] = { "self","dc", NULL
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 wxPyShape_Erase(_arg0
,*_arg1
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } Py_INCREF(Py_None
);
4499 _resultobj
= Py_None
;
4503 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4504 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4508 PyObject
* _argo0
= 0;
4509 PyObject
* _argo1
= 0;
4510 char *_kwnames
[] = { "self","dc", NULL
};
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4523 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4530 wxPy_BEGIN_ALLOW_THREADS
;
4531 wxPyShape_EraseContents(_arg0
,*_arg1
);
4533 wxPy_END_ALLOW_THREADS
;
4534 } Py_INCREF(Py_None
);
4535 _resultobj
= Py_None
;
4539 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4540 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
* _resultobj
;
4544 PyObject
* _argo0
= 0;
4545 PyObject
* _argo1
= 0;
4546 char *_kwnames
[] = { "self","dc", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4566 wxPy_BEGIN_ALLOW_THREADS
;
4567 wxPyShape_Draw(_arg0
,*_arg1
);
4569 wxPy_END_ALLOW_THREADS
;
4570 } Py_INCREF(Py_None
);
4571 _resultobj
= Py_None
;
4575 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4576 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
* _resultobj
;
4579 PyObject
* _argo0
= 0;
4580 char *_kwnames
[] = { "self", NULL
};
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4593 wxPy_BEGIN_ALLOW_THREADS
;
4594 wxPyShape_Flash(_arg0
);
4596 wxPy_END_ALLOW_THREADS
;
4597 } Py_INCREF(Py_None
);
4598 _resultobj
= Py_None
;
4602 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4603 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4607 PyObject
* _argo0
= 0;
4608 PyObject
* _argo1
= 0;
4609 char *_kwnames
[] = { "self","dc", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4629 wxPy_BEGIN_ALLOW_THREADS
;
4630 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4632 wxPy_END_ALLOW_THREADS
;
4633 } Py_INCREF(Py_None
);
4634 _resultobj
= Py_None
;
4638 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4639 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4643 PyObject
* _argo0
= 0;
4644 PyObject
* _argo1
= 0;
4645 char *_kwnames
[] = { "self","dc", NULL
};
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4665 wxPy_BEGIN_ALLOW_THREADS
;
4666 wxPyShape_DrawContents(_arg0
,*_arg1
);
4668 wxPy_END_ALLOW_THREADS
;
4669 } Py_INCREF(Py_None
);
4670 _resultobj
= Py_None
;
4674 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4675 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4680 bool _arg3
= (bool ) TRUE
;
4681 PyObject
* _argo0
= 0;
4682 int tempbool3
= (int) TRUE
;
4683 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4695 _arg3
= (bool ) tempbool3
;
4697 wxPy_BEGIN_ALLOW_THREADS
;
4698 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4700 wxPy_END_ALLOW_THREADS
;
4701 } Py_INCREF(Py_None
);
4702 _resultobj
= Py_None
;
4706 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4707 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4712 PyObject
* _argo0
= 0;
4713 char *_kwnames
[] = { "self","x","y", NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4726 wxPy_BEGIN_ALLOW_THREADS
;
4727 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4729 wxPy_END_ALLOW_THREADS
;
4730 } Py_INCREF(Py_None
);
4731 _resultobj
= Py_None
;
4735 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4736 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4739 wxPyShapeCanvas
* _arg1
;
4740 PyObject
* _argo0
= 0;
4741 PyObject
* _argo1
= 0;
4742 char *_kwnames
[] = { "self","can", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4762 wxPy_BEGIN_ALLOW_THREADS
;
4763 wxPyShape_Attach(_arg0
,_arg1
);
4765 wxPy_END_ALLOW_THREADS
;
4766 } Py_INCREF(Py_None
);
4767 _resultobj
= Py_None
;
4771 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4772 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4775 PyObject
* _argo0
= 0;
4776 char *_kwnames
[] = { "self", NULL
};
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4789 wxPy_BEGIN_ALLOW_THREADS
;
4790 wxPyShape_Detach(_arg0
);
4792 wxPy_END_ALLOW_THREADS
;
4793 } Py_INCREF(Py_None
);
4794 _resultobj
= Py_None
;
4798 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4799 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4803 PyObject
* _argo0
= 0;
4804 char *_kwnames
[] = { "self", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4817 wxPy_BEGIN_ALLOW_THREADS
;
4818 _result
= (bool )wxPyShape_Constrain(_arg0
);
4820 wxPy_END_ALLOW_THREADS
;
4821 } _resultobj
= Py_BuildValue("i",_result
);
4825 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4826 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
* _resultobj
;
4829 wxPyLineShape
* _arg1
;
4831 int _arg3
= (int ) 0;
4832 int _arg4
= (int ) 0;
4833 int _arg5
= (int ) -1;
4834 int _arg6
= (int ) -1;
4835 PyObject
* _argo0
= 0;
4836 PyObject
* _argo1
= 0;
4837 PyObject
* _argo2
= 0;
4838 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4858 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4859 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4865 wxPy_BEGIN_ALLOW_THREADS
;
4866 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4868 wxPy_END_ALLOW_THREADS
;
4869 } Py_INCREF(Py_None
);
4870 _resultobj
= Py_None
;
4874 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4875 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4879 wxPyLineShape
* _arg1
;
4880 PyObject
* _argo0
= 0;
4881 PyObject
* _argo1
= 0;
4882 char *_kwnames
[] = { "self","line", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4902 wxPy_BEGIN_ALLOW_THREADS
;
4903 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4905 wxPy_END_ALLOW_THREADS
;
4906 } _resultobj
= Py_BuildValue("i",_result
);
4910 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4911 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
* _resultobj
;
4915 PyObject
* _argo0
= 0;
4916 PyObject
* _obj1
= 0;
4917 char *_kwnames
[] = { "self","string", NULL
};
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4930 if (!PyString_Check(_obj1
)) {
4931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4934 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4937 wxPy_BEGIN_ALLOW_THREADS
;
4938 wxPyShape_AddText(_arg0
,*_arg1
);
4940 wxPy_END_ALLOW_THREADS
;
4941 } Py_INCREF(Py_None
);
4942 _resultobj
= Py_None
;
4950 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
4951 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
* _resultobj
;
4955 PyObject
* _argo0
= 0;
4956 char *_kwnames
[] = { "self", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
4963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
4970 wxPy_BEGIN_ALLOW_THREADS
;
4971 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
4973 wxPy_END_ALLOW_THREADS
;
4975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4976 _resultobj
= Py_BuildValue("s",_ptemp
);
4979 _resultobj
= Py_None
;
4984 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
4985 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self", NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
4997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5004 wxPy_BEGIN_ALLOW_THREADS
;
5005 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5007 wxPy_END_ALLOW_THREADS
;
5009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5010 _resultobj
= Py_BuildValue("s",_ptemp
);
5013 _resultobj
= Py_None
;
5018 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5019 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5022 PyObject
* _argo0
= 0;
5023 char *_kwnames
[] = { "self", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 wxPyShape_SetDefaultRegionSize(_arg0
);
5039 wxPy_END_ALLOW_THREADS
;
5040 } Py_INCREF(Py_None
);
5041 _resultobj
= Py_None
;
5045 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5046 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5051 int _arg3
= (int ) 0;
5052 PyObject
* _argo0
= 0;
5053 PyObject
* _argo1
= 0;
5054 PyObject
* _obj2
= 0;
5055 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5075 if (!PyString_Check(_obj2
)) {
5076 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5079 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5085 wxPy_END_ALLOW_THREADS
;
5086 } Py_INCREF(Py_None
);
5087 _resultobj
= Py_None
;
5095 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5096 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5100 int _arg2
= (int ) 0;
5101 PyObject
* _argo0
= 0;
5102 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5118 wxPy_END_ALLOW_THREADS
;
5119 } Py_INCREF(Py_None
);
5120 _resultobj
= Py_None
;
5124 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5125 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5129 int _arg1
= (int ) 0;
5130 PyObject
* _argo0
= 0;
5131 char *_kwnames
[] = { "self","regionId", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } _resultobj
= Py_BuildValue("i",_result
);
5152 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5153 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5157 int _arg2
= (int ) 0;
5158 PyObject
* _argo0
= 0;
5159 PyObject
* _argo1
= 0;
5160 char *_kwnames
[] = { "self","font","regionId", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p.");
5180 wxPy_BEGIN_ALLOW_THREADS
;
5181 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5183 wxPy_END_ALLOW_THREADS
;
5184 } Py_INCREF(Py_None
);
5185 _resultobj
= Py_None
;
5189 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5190 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
* _resultobj
;
5194 int _arg1
= (int ) 0;
5195 PyObject
* _argo0
= 0;
5196 char *_kwnames
[] = { "self","regionId", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5210 wxPy_BEGIN_ALLOW_THREADS
;
5211 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5213 wxPy_END_ALLOW_THREADS
;
5215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5216 _resultobj
= Py_BuildValue("s",_ptemp
);
5219 _resultobj
= Py_None
;
5224 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5225 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
* _resultobj
;
5229 int _arg2
= (int ) 0;
5230 PyObject
* _argo0
= 0;
5231 PyObject
* _obj1
= 0;
5232 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5245 if (!PyString_Check(_obj1
)) {
5246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5249 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5252 wxPy_BEGIN_ALLOW_THREADS
;
5253 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5255 wxPy_END_ALLOW_THREADS
;
5256 } Py_INCREF(Py_None
);
5257 _resultobj
= Py_None
;
5265 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5266 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
* _resultobj
;
5270 int _arg1
= (int ) 0;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self","regionId", NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5285 wxPy_BEGIN_ALLOW_THREADS
;
5286 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5288 wxPy_END_ALLOW_THREADS
;
5290 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5298 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5299 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
* _resultobj
;
5303 PyObject
* _argo0
= 0;
5304 char *_kwnames
[] = { "self", NULL
};
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5317 wxPy_BEGIN_ALLOW_THREADS
;
5318 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5320 wxPy_END_ALLOW_THREADS
;
5321 } _resultobj
= Py_BuildValue("i",_result
);
5325 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5326 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5330 int _arg2
= (int ) 0;
5331 PyObject
* _argo0
= 0;
5332 PyObject
* _obj1
= 0;
5333 char *_kwnames
[] = { "self","name","regionId", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5346 if (!PyString_Check(_obj1
)) {
5347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5350 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5356 wxPy_END_ALLOW_THREADS
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5366 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5367 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5372 PyObject
* _argo0
= 0;
5373 char *_kwnames
[] = { "self","regionId", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5386 wxPy_BEGIN_ALLOW_THREADS
;
5387 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5389 wxPy_END_ALLOW_THREADS
;
5391 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5399 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5400 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5405 PyObject
* _argo0
= 0;
5406 PyObject
* _obj1
= 0;
5407 char *_kwnames
[] = { "self","name", NULL
};
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5420 if (!PyString_Check(_obj1
)) {
5421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5424 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5430 wxPy_END_ALLOW_THREADS
;
5431 } _resultobj
= Py_BuildValue("i",_result
);
5439 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5440 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
* _resultobj
;
5443 wxString
* _arg1
= (wxString
*) &"";
5444 PyObject
* _argo0
= 0;
5445 PyObject
* _obj1
= 0;
5446 char *_kwnames
[] = { "self","parentName", NULL
};
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5460 if (!PyString_Check(_obj1
)) {
5461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5464 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 wxPyShape_NameRegions(_arg0
,*_arg1
);
5470 wxPy_END_ALLOW_THREADS
;
5471 } Py_INCREF(Py_None
);
5472 _resultobj
= Py_None
;
5480 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5481 wxList
& list
= self
->GetRegions();
5482 return wxPy_ConvertList(&list
, "wxShapeRegion");
5484 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
* _resultobj
;
5488 PyObject
* _argo0
= 0;
5489 char *_kwnames
[] = { "self", NULL
};
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5502 wxPy_BEGIN_ALLOW_THREADS
;
5503 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5505 wxPy_END_ALLOW_THREADS
;
5507 _resultobj
= _result
;
5512 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5513 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
* _resultobj
;
5516 wxShapeRegion
* _arg1
;
5517 PyObject
* _argo0
= 0;
5518 PyObject
* _argo1
= 0;
5519 char *_kwnames
[] = { "self","region", NULL
};
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5539 wxPy_BEGIN_ALLOW_THREADS
;
5540 wxPyShape_AddRegion(_arg0
,_arg1
);
5542 wxPy_END_ALLOW_THREADS
;
5543 } Py_INCREF(Py_None
);
5544 _resultobj
= Py_None
;
5548 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5549 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
* _resultobj
;
5552 PyObject
* _argo0
= 0;
5553 char *_kwnames
[] = { "self", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5566 wxPy_BEGIN_ALLOW_THREADS
;
5567 wxPyShape_ClearRegions(_arg0
);
5569 wxPy_END_ALLOW_THREADS
;
5570 } Py_INCREF(Py_None
);
5571 _resultobj
= Py_None
;
5575 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5576 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5579 PyObject
* _argo0
= 0;
5580 char *_kwnames
[] = { "self", NULL
};
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5593 wxPy_BEGIN_ALLOW_THREADS
;
5594 wxPyShape_AssignNewIds(_arg0
);
5596 wxPy_END_ALLOW_THREADS
;
5597 } Py_INCREF(Py_None
);
5598 _resultobj
= Py_None
;
5602 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5603 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5605 wxPyShape
* _result
;
5609 PyObject
* _argo0
= 0;
5610 PyObject
* _obj1
= 0;
5611 PyObject
* _argo2
= 0;
5612 char *_kwnames
[] = { "self","regionName","regionId", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
5619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5626 if (!PyString_Check(_obj1
)) {
5627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5630 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5633 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5634 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
5635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_FindRegion. Expected _int_p.");
5640 wxPy_BEGIN_ALLOW_THREADS
;
5641 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5643 wxPy_END_ALLOW_THREADS
;
5645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
5646 _resultobj
= Py_BuildValue("s",_ptemp
);
5649 _resultobj
= Py_None
;
5658 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5659 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5662 wxStringList
* _arg1
;
5663 PyObject
* _argo0
= 0;
5664 PyObject
* _argo1
= 0;
5665 char *_kwnames
[] = { "self","list", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5685 wxPy_BEGIN_ALLOW_THREADS
;
5686 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5688 wxPy_END_ALLOW_THREADS
;
5689 } Py_INCREF(Py_None
);
5690 _resultobj
= Py_None
;
5694 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5695 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5698 int _arg1
= (int ) 0;
5699 PyObject
* _argo0
= 0;
5700 char *_kwnames
[] = { "self","regionId", NULL
};
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5713 wxPy_BEGIN_ALLOW_THREADS
;
5714 wxPyShape_ClearText(_arg0
,_arg1
);
5716 wxPy_END_ALLOW_THREADS
;
5717 } Py_INCREF(Py_None
);
5718 _resultobj
= Py_None
;
5722 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5723 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5726 wxPyLineShape
* _arg1
;
5727 PyObject
* _argo0
= 0;
5728 PyObject
* _argo1
= 0;
5729 char *_kwnames
[] = { "self","line", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5749 wxPy_BEGIN_ALLOW_THREADS
;
5750 wxPyShape_RemoveLine(_arg0
,_arg1
);
5752 wxPy_END_ALLOW_THREADS
;
5753 } Py_INCREF(Py_None
);
5754 _resultobj
= Py_None
;
5758 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5759 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5766 int _arg4
= (int ) 0;
5767 int _arg5
= (int ) 1;
5768 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5769 PyObject
* _argo0
= 0;
5770 PyObject
* _argo2
= 0;
5771 PyObject
* _argo3
= 0;
5772 PyObject
* _argo6
= 0;
5773 char *_kwnames
[] = { "self","attachment","x","y","nth","no_arcs","line", NULL
};
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_argo6
))
5779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5786 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetAttachmentPosition. Expected _double_p.");
5793 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5794 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_double_p")) {
5795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShape_GetAttachmentPosition. Expected _double_p.");
5800 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5807 wxPy_BEGIN_ALLOW_THREADS
;
5808 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5810 wxPy_END_ALLOW_THREADS
;
5811 } _resultobj
= Py_BuildValue("i",_result
);
5815 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5816 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5834 wxPy_BEGIN_ALLOW_THREADS
;
5835 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5837 wxPy_END_ALLOW_THREADS
;
5838 } _resultobj
= Py_BuildValue("i",_result
);
5842 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5843 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
* _resultobj
;
5848 PyObject
* _argo0
= 0;
5849 char *_kwnames
[] = { "self","attachment", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
5862 wxPy_BEGIN_ALLOW_THREADS
;
5863 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
5865 wxPy_END_ALLOW_THREADS
;
5866 } _resultobj
= Py_BuildValue("i",_result
);
5870 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5871 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5878 int _arg4
= (int ) 0;
5879 int _arg5
= (int ) 1;
5880 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5881 PyObject
* _argo0
= 0;
5882 PyObject
* _argo2
= 0;
5883 PyObject
* _argo3
= 0;
5884 PyObject
* _argo6
= 0;
5885 char *_kwnames
[] = { "self","attachment","x","y","nth","no_arcs","line", NULL
};
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_argo6
))
5891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
5898 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetAttachmentPositionEdge. Expected _double_p.");
5905 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_double_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShape_GetAttachmentPositionEdge. Expected _double_p.");
5912 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5913 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
5919 wxPy_BEGIN_ALLOW_THREADS
;
5920 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5922 wxPy_END_ALLOW_THREADS
;
5923 } _resultobj
= Py_BuildValue("i",_result
);
5927 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5928 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5930 wxRealPoint
* _result
;
5932 wxRealPoint
* _arg1
;
5933 wxRealPoint
* _arg2
;
5936 wxPyLineShape
* _arg5
;
5937 PyObject
* _argo0
= 0;
5939 PyObject
* _obj1
= 0;
5941 PyObject
* _obj2
= 0;
5942 PyObject
* _argo5
= 0;
5943 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
5958 if (! wxRealPoint_helper(_obj1
, &_arg1
))
5963 if (! wxRealPoint_helper(_obj2
, &_arg2
))
5967 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
5974 wxPy_BEGIN_ALLOW_THREADS
;
5975 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5977 wxPy_END_ALLOW_THREADS
;
5978 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
5979 _resultobj
= Py_BuildValue("s",_ptemp
);
5983 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
5984 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
* _resultobj
;
5989 wxRealPoint
* _arg2
;
5990 wxRealPoint
* _arg3
;
5991 PyObject
* _argo0
= 0;
5993 PyObject
* _obj2
= 0;
5995 PyObject
* _obj3
= 0;
5996 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6010 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6015 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6019 wxPy_BEGIN_ALLOW_THREADS
;
6020 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6022 wxPy_END_ALLOW_THREADS
;
6023 } _resultobj
= Py_BuildValue("i",_result
);
6027 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6028 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6032 int _arg2
= (int ) -1;
6033 bool _arg3
= (bool ) FALSE
;
6034 PyObject
* _argo0
= 0;
6035 PyObject
* _argo1
= 0;
6036 int tempbool3
= (int) FALSE
;
6037 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6056 _arg3
= (bool ) tempbool3
;
6058 wxPy_BEGIN_ALLOW_THREADS
;
6059 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6061 wxPy_END_ALLOW_THREADS
;
6062 } Py_INCREF(Py_None
);
6063 _resultobj
= Py_None
;
6067 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6068 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6072 int _arg2
= (int ) -1;
6073 bool _arg3
= (bool ) FALSE
;
6074 PyObject
* _argo0
= 0;
6075 PyObject
* _argo1
= 0;
6076 int tempbool3
= (int) FALSE
;
6077 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6096 _arg3
= (bool ) tempbool3
;
6098 wxPy_BEGIN_ALLOW_THREADS
;
6099 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6101 wxPy_END_ALLOW_THREADS
;
6102 } Py_INCREF(Py_None
);
6103 _resultobj
= Py_None
;
6107 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6108 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6113 wxPyLineShape
* _arg2
;
6116 PyObject
* _argo0
= 0;
6117 PyObject
* _argo1
= 0;
6118 PyObject
* _argo2
= 0;
6119 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6132 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6133 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6139 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6140 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6146 wxPy_BEGIN_ALLOW_THREADS
;
6147 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6149 wxPy_END_ALLOW_THREADS
;
6150 } _resultobj
= Py_BuildValue("i",_result
);
6154 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6155 wxList
* list
= wxPy_wxListHelper(linesToSort
, "wxPyLineShape");
6156 self
->ApplyAttachmentOrdering(*list
);
6159 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6163 PyObject
* _argo0
= 0;
6164 PyObject
* _obj1
= 0;
6165 char *_kwnames
[] = { "self","linesToSort", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6181 wxPy_BEGIN_ALLOW_THREADS
;
6182 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6184 wxPy_END_ALLOW_THREADS
;
6185 } Py_INCREF(Py_None
);
6186 _resultobj
= Py_None
;
6190 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6191 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6193 wxRealPoint
* _result
;
6196 PyObject
* _argo0
= 0;
6197 char *_kwnames
[] = { "self","attachment", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6211 wxPy_BEGIN_ALLOW_THREADS
;
6212 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6214 wxPy_END_ALLOW_THREADS
;
6215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6216 _resultobj
= Py_BuildValue("s",_ptemp
);
6220 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6221 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6226 wxRealPoint
* _arg2
;
6227 wxRealPoint
* _arg3
;
6228 wxRealPoint
* _arg4
;
6229 wxRealPoint
* _arg5
;
6230 PyObject
* _argo0
= 0;
6232 PyObject
* _obj2
= 0;
6234 PyObject
* _obj3
= 0;
6236 PyObject
* _obj4
= 0;
6238 PyObject
* _obj5
= 0;
6239 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6253 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6258 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6263 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6268 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6275 wxPy_END_ALLOW_THREADS
;
6276 } _resultobj
= Py_BuildValue("i",_result
);
6280 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6281 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
* _resultobj
;
6287 wxRealPoint
* _arg3
;
6288 wxRealPoint
* _arg4
;
6289 PyObject
* _argo0
= 0;
6291 PyObject
* _obj3
= 0;
6293 PyObject
* _obj4
= 0;
6294 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6308 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6313 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6317 wxPy_BEGIN_ALLOW_THREADS
;
6318 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6320 wxPy_END_ALLOW_THREADS
;
6321 } _resultobj
= Py_BuildValue("i",_result
);
6325 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6326 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
* _resultobj
;
6331 PyObject
* _argo0
= 0;
6332 char *_kwnames
[] = { "self","attachment", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6345 wxPy_BEGIN_ALLOW_THREADS
;
6346 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6348 wxPy_END_ALLOW_THREADS
;
6349 } _resultobj
= Py_BuildValue("i",_result
);
6353 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6354 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6358 PyObject
* _argo0
= 0;
6359 char *_kwnames
[] = { "self","len", NULL
};
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6372 wxPy_BEGIN_ALLOW_THREADS
;
6373 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6375 wxPy_END_ALLOW_THREADS
;
6376 } Py_INCREF(Py_None
);
6377 _resultobj
= Py_None
;
6381 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6382 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
* _resultobj
;
6386 PyObject
* _argo0
= 0;
6387 char *_kwnames
[] = { "self", NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6400 wxPy_BEGIN_ALLOW_THREADS
;
6401 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6403 wxPy_END_ALLOW_THREADS
;
6404 } _resultobj
= Py_BuildValue("i",_result
);
6408 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6409 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
* _resultobj
;
6413 PyObject
* _argo0
= 0;
6414 char *_kwnames
[] = { "self","len", NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6427 wxPy_BEGIN_ALLOW_THREADS
;
6428 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6430 wxPy_END_ALLOW_THREADS
;
6431 } Py_INCREF(Py_None
);
6432 _resultobj
= Py_None
;
6436 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6437 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
* _resultobj
;
6441 PyObject
* _argo0
= 0;
6442 char *_kwnames
[] = { "self", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6455 wxPy_BEGIN_ALLOW_THREADS
;
6456 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6458 wxPy_END_ALLOW_THREADS
;
6459 } _resultobj
= Py_BuildValue("i",_result
);
6463 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6464 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6468 PyObject
* _argo0
= 0;
6469 char *_kwnames
[] = { "self","len", NULL
};
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6482 wxPy_BEGIN_ALLOW_THREADS
;
6483 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6485 wxPy_END_ALLOW_THREADS
;
6486 } Py_INCREF(Py_None
);
6487 _resultobj
= Py_None
;
6491 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6492 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6496 PyObject
* _argo0
= 0;
6497 char *_kwnames
[] = { "self", NULL
};
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6510 wxPy_BEGIN_ALLOW_THREADS
;
6511 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6513 wxPy_END_ALLOW_THREADS
;
6514 } _resultobj
= Py_BuildValue("i",_result
);
6518 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6519 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
* _resultobj
;
6523 PyObject
* _argo0
= 0;
6524 char *_kwnames
[] = { "self","style", NULL
};
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6537 wxPy_BEGIN_ALLOW_THREADS
;
6538 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6540 wxPy_END_ALLOW_THREADS
;
6541 } Py_INCREF(Py_None
);
6542 _resultobj
= Py_None
;
6546 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6547 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
* _resultobj
;
6551 PyObject
* _argo0
= 0;
6552 char *_kwnames
[] = { "self", NULL
};
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6565 wxPy_BEGIN_ALLOW_THREADS
;
6566 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6568 wxPy_END_ALLOW_THREADS
;
6569 } _resultobj
= Py_BuildValue("l",_result
);
6573 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6574 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6579 PyObject
* _argo0
= 0;
6580 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6593 wxPy_BEGIN_ALLOW_THREADS
;
6594 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6596 wxPy_END_ALLOW_THREADS
;
6597 } _resultobj
= Py_BuildValue("i",_result
);
6601 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6602 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6607 PyObject
* _argo0
= 0;
6608 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6621 wxPy_BEGIN_ALLOW_THREADS
;
6622 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6624 wxPy_END_ALLOW_THREADS
;
6625 } _resultobj
= Py_BuildValue("i",_result
);
6629 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6630 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 _result
= (bool )wxPyShape_Draggable(_arg0
);
6651 wxPy_END_ALLOW_THREADS
;
6652 } _resultobj
= Py_BuildValue("i",_result
);
6656 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6657 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
* _resultobj
;
6662 PyObject
* _argo0
= 0;
6663 PyObject
* _argo1
= 0;
6664 char *_kwnames
[] = { "self","image", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6684 wxPy_BEGIN_ALLOW_THREADS
;
6685 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6687 wxPy_END_ALLOW_THREADS
;
6688 } _resultobj
= Py_BuildValue("i",_result
);
6692 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6693 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
* _resultobj
;
6695 wxPyShape
* _result
;
6697 bool _arg1
= (bool ) TRUE
;
6698 bool _arg2
= (bool ) TRUE
;
6699 PyObject
* _argo0
= 0;
6700 int tempbool1
= (int) TRUE
;
6701 int tempbool2
= (int) TRUE
;
6702 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6715 _arg1
= (bool ) tempbool1
;
6716 _arg2
= (bool ) tempbool2
;
6718 wxPy_BEGIN_ALLOW_THREADS
;
6719 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6721 wxPy_END_ALLOW_THREADS
;
6723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
6724 _resultobj
= Py_BuildValue("s",_ptemp
);
6727 _resultobj
= Py_None
;
6732 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6733 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6737 PyObject
* _argo0
= 0;
6738 PyObject
* _argo1
= 0;
6739 char *_kwnames
[] = { "self","copy", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6752 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6753 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6759 wxPy_BEGIN_ALLOW_THREADS
;
6760 wxPyShape_Copy(_arg0
,*_arg1
);
6762 wxPy_END_ALLOW_THREADS
;
6763 } Py_INCREF(Py_None
);
6764 _resultobj
= Py_None
;
6768 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6769 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
* _resultobj
;
6773 PyObject
* _argo0
= 0;
6774 PyObject
* _argo1
= 0;
6775 char *_kwnames
[] = { "self","copy", NULL
};
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6795 wxPy_BEGIN_ALLOW_THREADS
;
6796 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6798 wxPy_END_ALLOW_THREADS
;
6799 } Py_INCREF(Py_None
);
6800 _resultobj
= Py_None
;
6804 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6805 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6811 PyObject
* _argo0
= 0;
6812 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6825 wxPy_BEGIN_ALLOW_THREADS
;
6826 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6828 wxPy_END_ALLOW_THREADS
;
6829 } Py_INCREF(Py_None
);
6830 _resultobj
= Py_None
;
6834 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6835 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
* _resultobj
;
6839 PyObject
* _argo0
= 0;
6840 char *_kwnames
[] = { "self", NULL
};
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6853 wxPy_BEGIN_ALLOW_THREADS
;
6854 _result
= (double )wxPyShape_GetRotation(_arg0
);
6856 wxPy_END_ALLOW_THREADS
;
6857 } _resultobj
= Py_BuildValue("d",_result
);
6861 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
6862 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6865 PyObject
* _argo0
= 0;
6866 char *_kwnames
[] = { "self", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
6879 wxPy_BEGIN_ALLOW_THREADS
;
6880 wxPyShape_ClearAttachments(_arg0
);
6882 wxPy_END_ALLOW_THREADS
;
6883 } Py_INCREF(Py_None
);
6884 _resultobj
= Py_None
;
6888 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
6889 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
* _resultobj
;
6893 PyObject
* _argo0
= 0;
6894 PyObject
* _argo1
= 0;
6895 char *_kwnames
[] = { "self","dc", NULL
};
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
6901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
6908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
6915 wxPy_BEGIN_ALLOW_THREADS
;
6916 wxPyShape_Recentre(_arg0
,*_arg1
);
6918 wxPy_END_ALLOW_THREADS
;
6919 } Py_INCREF(Py_None
);
6920 _resultobj
= Py_None
;
6924 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
6925 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
* _resultobj
;
6929 PyObject
* _argo0
= 0;
6930 PyObject
* _argo1
= 0;
6931 char *_kwnames
[] = { "self","list", NULL
};
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
6937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
6944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
6951 wxPy_BEGIN_ALLOW_THREADS
;
6952 wxPyShape_ClearPointList(_arg0
,*_arg1
);
6954 wxPy_END_ALLOW_THREADS
;
6955 } Py_INCREF(Py_None
);
6956 _resultobj
= Py_None
;
6960 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6961 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
* _resultobj
;
6964 PyObject
* _argo0
= 0;
6965 char *_kwnames
[] = { "self", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
6978 wxPy_BEGIN_ALLOW_THREADS
;
6979 wxPyShape_base_OnDelete(_arg0
);
6981 wxPy_END_ALLOW_THREADS
;
6982 } Py_INCREF(Py_None
);
6983 _resultobj
= Py_None
;
6987 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6988 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
* _resultobj
;
6992 PyObject
* _argo0
= 0;
6993 PyObject
* _argo1
= 0;
6994 char *_kwnames
[] = { "self","dc", NULL
};
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7014 wxPy_BEGIN_ALLOW_THREADS
;
7015 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7017 wxPy_END_ALLOW_THREADS
;
7018 } Py_INCREF(Py_None
);
7019 _resultobj
= Py_None
;
7023 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7024 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
* _resultobj
;
7028 PyObject
* _argo0
= 0;
7029 PyObject
* _argo1
= 0;
7030 char *_kwnames
[] = { "self","dc", NULL
};
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7050 wxPy_BEGIN_ALLOW_THREADS
;
7051 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7053 wxPy_END_ALLOW_THREADS
;
7054 } Py_INCREF(Py_None
);
7055 _resultobj
= Py_None
;
7059 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7060 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
* _resultobj
;
7064 bool _arg2
= (bool ) FALSE
;
7065 PyObject
* _argo0
= 0;
7066 PyObject
* _argo1
= 0;
7067 int tempbool2
= (int) FALSE
;
7068 char *_kwnames
[] = { "self","dc","erase", NULL
};
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7087 _arg2
= (bool ) tempbool2
;
7089 wxPy_BEGIN_ALLOW_THREADS
;
7090 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7092 wxPy_END_ALLOW_THREADS
;
7093 } Py_INCREF(Py_None
);
7094 _resultobj
= Py_None
;
7098 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7099 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7103 PyObject
* _argo0
= 0;
7104 PyObject
* _argo1
= 0;
7105 char *_kwnames
[] = { "self","dc", NULL
};
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7125 wxPy_BEGIN_ALLOW_THREADS
;
7126 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7128 wxPy_END_ALLOW_THREADS
;
7129 } Py_INCREF(Py_None
);
7130 _resultobj
= Py_None
;
7134 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7135 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
* _resultobj
;
7139 PyObject
* _argo0
= 0;
7140 PyObject
* _argo1
= 0;
7141 char *_kwnames
[] = { "self","dc", NULL
};
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7161 wxPy_BEGIN_ALLOW_THREADS
;
7162 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7164 wxPy_END_ALLOW_THREADS
;
7165 } Py_INCREF(Py_None
);
7166 _resultobj
= Py_None
;
7170 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7171 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
* _resultobj
;
7175 PyObject
* _argo0
= 0;
7176 PyObject
* _argo1
= 0;
7177 char *_kwnames
[] = { "self","dc", NULL
};
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7197 wxPy_BEGIN_ALLOW_THREADS
;
7198 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7200 wxPy_END_ALLOW_THREADS
;
7201 } Py_INCREF(Py_None
);
7202 _resultobj
= Py_None
;
7206 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7207 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7211 PyObject
* _argo0
= 0;
7212 PyObject
* _argo1
= 0;
7213 char *_kwnames
[] = { "self","dc", NULL
};
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7226 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7227 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7233 wxPy_BEGIN_ALLOW_THREADS
;
7234 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7236 wxPy_END_ALLOW_THREADS
;
7237 } Py_INCREF(Py_None
);
7238 _resultobj
= Py_None
;
7242 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7243 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
* _resultobj
;
7248 int _arg3
= (int ) 0;
7249 int _arg4
= (int ) 0;
7250 PyObject
* _argo0
= 0;
7251 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7264 wxPy_BEGIN_ALLOW_THREADS
;
7265 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7267 wxPy_END_ALLOW_THREADS
;
7268 } Py_INCREF(Py_None
);
7269 _resultobj
= Py_None
;
7273 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7274 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7279 int _arg3
= (int ) 0;
7280 int _arg4
= (int ) 0;
7281 PyObject
* _argo0
= 0;
7282 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7295 wxPy_BEGIN_ALLOW_THREADS
;
7296 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7298 wxPy_END_ALLOW_THREADS
;
7299 } Py_INCREF(Py_None
);
7300 _resultobj
= Py_None
;
7304 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7305 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
* _resultobj
;
7310 int _arg3
= (int ) 0;
7311 int _arg4
= (int ) 0;
7312 PyObject
* _argo0
= 0;
7313 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7326 wxPy_BEGIN_ALLOW_THREADS
;
7327 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7329 wxPy_END_ALLOW_THREADS
;
7330 } Py_INCREF(Py_None
);
7331 _resultobj
= Py_None
;
7335 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7336 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7341 PyObject
* _argo0
= 0;
7342 char *_kwnames
[] = { "self","x","y", NULL
};
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7355 wxPy_BEGIN_ALLOW_THREADS
;
7356 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7358 wxPy_END_ALLOW_THREADS
;
7359 } Py_INCREF(Py_None
);
7360 _resultobj
= Py_None
;
7364 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7365 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
* _resultobj
;
7374 bool _arg6
= (bool ) TRUE
;
7375 PyObject
* _argo0
= 0;
7376 PyObject
* _argo1
= 0;
7377 int tempbool6
= (int) TRUE
;
7378 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7397 _arg6
= (bool ) tempbool6
;
7399 wxPy_BEGIN_ALLOW_THREADS
;
7400 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7402 wxPy_END_ALLOW_THREADS
;
7403 } _resultobj
= Py_BuildValue("i",_result
);
7407 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7408 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
* _resultobj
;
7416 bool _arg6
= (bool ) TRUE
;
7417 PyObject
* _argo0
= 0;
7418 PyObject
* _argo1
= 0;
7419 int tempbool6
= (int) TRUE
;
7420 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7433 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7439 _arg6
= (bool ) tempbool6
;
7441 wxPy_BEGIN_ALLOW_THREADS
;
7442 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7444 wxPy_END_ALLOW_THREADS
;
7445 } Py_INCREF(Py_None
);
7446 _resultobj
= Py_None
;
7450 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7451 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
* _resultobj
;
7457 int _arg4
= (int ) 0;
7458 int _arg5
= (int ) 0;
7459 PyObject
* _argo0
= 0;
7461 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7473 _arg1
= (bool ) tempbool1
;
7475 wxPy_BEGIN_ALLOW_THREADS
;
7476 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7478 wxPy_END_ALLOW_THREADS
;
7479 } Py_INCREF(Py_None
);
7480 _resultobj
= Py_None
;
7484 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7485 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7490 int _arg3
= (int ) 0;
7491 int _arg4
= (int ) 0;
7492 PyObject
* _argo0
= 0;
7493 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7506 wxPy_BEGIN_ALLOW_THREADS
;
7507 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7509 wxPy_END_ALLOW_THREADS
;
7510 } Py_INCREF(Py_None
);
7511 _resultobj
= Py_None
;
7515 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7516 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7521 int _arg3
= (int ) 0;
7522 int _arg4
= (int ) 0;
7523 PyObject
* _argo0
= 0;
7524 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7537 wxPy_BEGIN_ALLOW_THREADS
;
7538 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7540 wxPy_END_ALLOW_THREADS
;
7541 } Py_INCREF(Py_None
);
7542 _resultobj
= Py_None
;
7546 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7547 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
* _resultobj
;
7553 int _arg4
= (int ) 0;
7554 int _arg5
= (int ) 0;
7555 PyObject
* _argo0
= 0;
7557 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7569 _arg1
= (bool ) tempbool1
;
7571 wxPy_BEGIN_ALLOW_THREADS
;
7572 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7574 wxPy_END_ALLOW_THREADS
;
7575 } Py_INCREF(Py_None
);
7576 _resultobj
= Py_None
;
7580 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7581 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
* _resultobj
;
7586 int _arg3
= (int ) 0;
7587 int _arg4
= (int ) 0;
7588 PyObject
* _argo0
= 0;
7589 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7602 wxPy_BEGIN_ALLOW_THREADS
;
7603 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7605 wxPy_END_ALLOW_THREADS
;
7606 } Py_INCREF(Py_None
);
7607 _resultobj
= Py_None
;
7611 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7612 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
* _resultobj
;
7617 int _arg3
= (int ) 0;
7618 int _arg4
= (int ) 0;
7619 PyObject
* _argo0
= 0;
7620 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7633 wxPy_BEGIN_ALLOW_THREADS
;
7634 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7636 wxPy_END_ALLOW_THREADS
;
7637 } Py_INCREF(Py_None
);
7638 _resultobj
= Py_None
;
7642 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7643 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
* _resultobj
;
7651 PyObject
* _argo0
= 0;
7652 PyObject
* _argo1
= 0;
7653 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7673 wxPy_BEGIN_ALLOW_THREADS
;
7674 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7676 wxPy_END_ALLOW_THREADS
;
7677 } Py_INCREF(Py_None
);
7678 _resultobj
= Py_None
;
7682 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7683 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
* _resultobj
;
7687 PyObject
* _argo0
= 0;
7688 PyObject
* _argo1
= 0;
7689 char *_kwnames
[] = { "self","dc", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7709 wxPy_BEGIN_ALLOW_THREADS
;
7710 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7712 wxPy_END_ALLOW_THREADS
;
7713 } Py_INCREF(Py_None
);
7714 _resultobj
= Py_None
;
7718 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7719 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
* _resultobj
;
7723 PyObject
* _argo0
= 0;
7724 PyObject
* _argo1
= 0;
7725 char *_kwnames
[] = { "self","dc", NULL
};
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7745 wxPy_BEGIN_ALLOW_THREADS
;
7746 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7748 wxPy_END_ALLOW_THREADS
;
7749 } Py_INCREF(Py_None
);
7750 _resultobj
= Py_None
;
7754 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7755 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
* _resultobj
;
7759 bool _arg2
= (bool ) TRUE
;
7760 PyObject
* _argo0
= 0;
7761 PyObject
* _argo1
= 0;
7762 int tempbool2
= (int) TRUE
;
7763 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7782 _arg2
= (bool ) tempbool2
;
7784 wxPy_BEGIN_ALLOW_THREADS
;
7785 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7787 wxPy_END_ALLOW_THREADS
;
7788 } Py_INCREF(Py_None
);
7789 _resultobj
= Py_None
;
7793 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7794 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
* _resultobj
;
7797 wxPyControlPoint
* _arg1
;
7801 int _arg5
= (int ) 0;
7802 int _arg6
= (int ) 0;
7803 PyObject
* _argo0
= 0;
7804 PyObject
* _argo1
= 0;
7806 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7825 _arg2
= (bool ) tempbool2
;
7827 wxPy_BEGIN_ALLOW_THREADS
;
7828 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7830 wxPy_END_ALLOW_THREADS
;
7831 } Py_INCREF(Py_None
);
7832 _resultobj
= Py_None
;
7836 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7837 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
* _resultobj
;
7840 wxPyControlPoint
* _arg1
;
7843 int _arg4
= (int ) 0;
7844 int _arg5
= (int ) 0;
7845 PyObject
* _argo0
= 0;
7846 PyObject
* _argo1
= 0;
7847 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
7860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7867 wxPy_BEGIN_ALLOW_THREADS
;
7868 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7870 wxPy_END_ALLOW_THREADS
;
7871 } Py_INCREF(Py_None
);
7872 _resultobj
= Py_None
;
7876 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7877 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
* _resultobj
;
7880 wxPyControlPoint
* _arg1
;
7883 int _arg4
= (int ) 0;
7884 int _arg5
= (int ) 0;
7885 PyObject
* _argo0
= 0;
7886 PyObject
* _argo1
= 0;
7887 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
7900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7907 wxPy_BEGIN_ALLOW_THREADS
;
7908 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7910 wxPy_END_ALLOW_THREADS
;
7911 } Py_INCREF(Py_None
);
7912 _resultobj
= Py_None
;
7916 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7917 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
* _resultobj
;
7922 PyObject
* _argo0
= 0;
7923 char *_kwnames
[] = { "self","w","h", NULL
};
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
7936 wxPy_BEGIN_ALLOW_THREADS
;
7937 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
7939 wxPy_END_ALLOW_THREADS
;
7940 } Py_INCREF(Py_None
);
7941 _resultobj
= Py_None
;
7945 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7946 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
* _resultobj
;
7951 PyObject
* _argo0
= 0;
7952 char *_kwnames
[] = { "self","w","h", NULL
};
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
7965 wxPy_BEGIN_ALLOW_THREADS
;
7966 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
7968 wxPy_END_ALLOW_THREADS
;
7969 } Py_INCREF(Py_None
);
7970 _resultobj
= Py_None
;
7974 static PyMethodDef oglbasiccMethods
[] = {
7975 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxPyShape_Destroy", (PyCFunction
) _wrap_wxPyShape_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxPyShape__setSelf", (PyCFunction
) _wrap_wxPyShape__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShapeEvtHandler__setSelf", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8212 * This table is used by the pointer type-checker
8214 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8215 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8216 { "_wxEvent","_class_wxEvent",0},
8217 { "_class_wxActivateEvent","_wxActivateEvent",0},
8218 { "_signed_long","_long",0},
8219 { "_wxMenuEvent","_class_wxMenuEvent",0},
8220 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
8221 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8222 { "_wxBMPHandler","_class_wxBMPHandler",0},
8223 { "_wxImage","_class_wxImage",0},
8224 { "_wxPrintQuality","_int",0},
8225 { "_wxPrintQuality","_signed_int",0},
8226 { "_wxPrintQuality","_unsigned_int",0},
8227 { "_wxPrintQuality","_wxWindowID",0},
8228 { "_wxPrintQuality","_uint",0},
8229 { "_wxPrintQuality","_EBool",0},
8230 { "_wxPrintQuality","_size_t",0},
8231 { "_wxFontData","_class_wxFontData",0},
8232 { "___wxPyCleanup","_class___wxPyCleanup",0},
8233 { "_class_wxRegionIterator","_wxRegionIterator",0},
8234 { "_class_wxMenuBar","_wxMenuBar",0},
8235 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8236 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
8237 { "_class_wxEvtHandler","_wxEvtHandler",0},
8238 { "_wxPaintEvent","_class_wxPaintEvent",0},
8239 { "_wxGIFHandler","_class_wxGIFHandler",0},
8240 { "_wxPySizer","_class_wxPySizer",0},
8241 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8242 { "_wxCursor","_class_wxCursor",0},
8243 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8244 { "_wxImageHandler","_class_wxImageHandler",0},
8245 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
8246 { "_wxMask","_class_wxMask",0},
8247 { "_wxToolTip","_class_wxToolTip",0},
8248 { "_wxGrid","_class_wxGrid",0},
8249 { "_wxPNGHandler","_class_wxPNGHandler",0},
8250 { "_class_wxColourData","_wxColourData",0},
8251 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8252 { "_wxPrinter","_class_wxPrinter",0},
8253 { "_wxPen","_class_wxPen",0},
8254 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8255 { "_byte","_unsigned_char",0},
8256 { "_wxStaticBox","_class_wxStaticBox",0},
8257 { "_wxChoice","_class_wxChoice",0},
8258 { "_wxSlider","_class_wxSlider",0},
8259 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8260 { "_wxPyPrintout","_class_wxPyPrintout",0},
8261 { "_wxShapeRegion","_class_wxShapeRegion",0},
8262 { "_long","_wxDash",0},
8263 { "_long","_unsigned_long",0},
8264 { "_long","_signed_long",0},
8265 { "_wxImageList","_class_wxImageList",0},
8266 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8267 { "_wxBitmapButton","_class_wxBitmapButton",0},
8268 { "_wxSashWindow","_class_wxSashWindow",0},
8269 { "_class_wxSizer","_wxSizer",0},
8270 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8271 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8272 { "_class_wxGauge","_wxGauge",0},
8273 { "_class_wxSashEvent","_wxSashEvent",0},
8274 { "_wxDC","_class_wxDC",0},
8275 { "_wxSizerItem","_class_wxSizerItem",0},
8276 { "_wxListEvent","_class_wxListEvent",0},
8277 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8278 { "_wxProgressDialog","_class_wxProgressDialog",0},
8279 { "_class_wxBMPHandler","_wxBMPHandler",0},
8280 { "_wxPrintPreview","_class_wxPrintPreview",0},
8281 { "_wxSpinEvent","_class_wxSpinEvent",0},
8282 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8283 { "_size_t","_wxPrintQuality",0},
8284 { "_size_t","_unsigned_int",0},
8285 { "_size_t","_int",0},
8286 { "_size_t","_wxWindowID",0},
8287 { "_size_t","_uint",0},
8288 { "_class_wxRealPoint","_wxRealPoint",0},
8289 { "_wxPrinterDC","_class_wxPrinterDC",0},
8290 { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8291 { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8292 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
8293 { "_class_wxMenuItem","_wxMenuItem",0},
8294 { "_class_wxPaintEvent","_wxPaintEvent",0},
8295 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8296 { "_class_wxStatusBar","_wxStatusBar",0},
8297 { "_class_wxGIFHandler","_wxGIFHandler",0},
8298 { "_class_wxPySizer","_wxPySizer",0},
8299 { "_wxPanel","_class_wxPanel",0},
8300 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8301 { "_wxCheckBox","_class_wxCheckBox",0},
8302 { "_wxPyEvent","_class_wxPyEvent",0},
8303 { "_wxTextCtrl","_class_wxTextCtrl",0},
8304 { "_class_wxMask","_wxMask",0},
8305 { "_class_wxToolTip","_wxToolTip",0},
8306 { "_class_wxKeyEvent","_wxKeyEvent",0},
8307 { "_class_wxGrid","_wxGrid",0},
8308 { "_class_wxPNGHandler","_wxPNGHandler",0},
8309 { "_wxColour","_class_wxColour",0},
8310 { "_class_wxDialog","_wxDialog",0},
8311 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8312 { "_class_wxPrinter","_wxPrinter",0},
8313 { "_wxIdleEvent","_class_wxIdleEvent",0},
8314 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8315 { "_wxToolBar","_class_wxToolBar",0},
8316 { "_wxStaticLine","_class_wxStaticLine",0},
8317 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8318 { "_wxBrush","_class_wxBrush",0},
8319 { "_wxMiniFrame","_class_wxMiniFrame",0},
8320 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8321 { "_class_wxPyPrintout","_wxPyPrintout",0},
8322 { "_class_wxSashWindow","_wxSashWindow",0},
8323 { "_wxShowEvent","_class_wxShowEvent",0},
8324 { "_uint","_wxPrintQuality",0},
8325 { "_uint","_size_t",0},
8326 { "_uint","_unsigned_int",0},
8327 { "_uint","_int",0},
8328 { "_uint","_wxWindowID",0},
8329 { "_class_wxEvent","_wxEvent",0},
8330 { "_wxCheckListBox","_class_wxCheckListBox",0},
8331 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8332 { "_wxGridEvent","_class_wxGridEvent",0},
8333 { "_wxRect","_class_wxRect",0},
8334 { "_wxCommandEvent","_class_wxCommandEvent",0},
8335 { "_wxSizeEvent","_class_wxSizeEvent",0},
8336 { "_class_wxImage","_wxImage",0},
8337 { "_wxPoint","_class_wxPoint",0},
8338 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8339 { "_class_wxButton","_wxButton",0},
8340 { "_wxRadioBox","_class_wxRadioBox",0},
8341 { "_class_wxFontData","_wxFontData",0},
8342 { "_wxBoxSizer","_class_wxBoxSizer",0},
8343 { "_class___wxPyCleanup","___wxPyCleanup",0},
8344 { "_wxBitmap","_class_wxBitmap",0},
8345 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
8346 { "_wxPrintDialog","_class_wxPrintDialog",0},
8347 { "_wxPyTimer","_class_wxPyTimer",0},
8348 { "_wxWindowDC","_class_wxWindowDC",0},
8349 { "_wxScrollBar","_class_wxScrollBar",0},
8350 { "_wxSpinButton","_class_wxSpinButton",0},
8351 { "_wxToolBarTool","_class_wxToolBarTool",0},
8352 { "_wxColourDialog","_class_wxColourDialog",0},
8353 { "_wxPrintData","_class_wxPrintData",0},
8354 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8355 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8356 { "_wxMessageDialog","_class_wxMessageDialog",0},
8357 { "_class_wxPyEvent","_wxPyEvent",0},
8358 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
8359 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8360 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8361 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8362 { "_wxListItem","_class_wxListItem",0},
8363 { "_class_wxToolBar","_wxToolBar",0},
8364 { "_class_wxStaticLine","_wxStaticLine",0},
8365 { "_wxScrollEvent","_class_wxScrollEvent",0},
8366 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
8367 { "_class_wxShapeRegion","_wxShapeRegion",0},
8368 { "_EBool","_wxPrintQuality",0},
8369 { "_EBool","_signed_int",0},
8370 { "_EBool","_int",0},
8371 { "_EBool","_wxWindowID",0},
8372 { "_class_wxRegion","_wxRegion",0},
8373 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8374 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8375 { "_wxStaticText","_class_wxStaticText",0},
8376 { "_wxFont","_class_wxFont",0},
8377 { "_wxCloseEvent","_class_wxCloseEvent",0},
8378 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
8379 { "_wxNotebook","_class_wxNotebook",0},
8380 { "_unsigned_long","_wxDash",0},
8381 { "_unsigned_long","_long",0},
8382 { "_class_wxRect","_wxRect",0},
8383 { "_class_wxDC","_wxDC",0},
8384 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8385 { "_class_wxProgressDialog","_wxProgressDialog",0},
8386 { "_wxPyApp","_class_wxPyApp",0},
8387 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8388 { "_class_wxTreeEvent","_wxTreeEvent",0},
8389 { "_class_wxDirDialog","_wxDirDialog",0},
8390 { "_class_wxPyTimer","_wxPyTimer",0},
8391 { "_wxFocusEvent","_class_wxFocusEvent",0},
8392 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8393 { "_class_wxSpinButton","_wxSpinButton",0},
8394 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8395 { "_class_wxPanel","_wxPanel",0},
8396 { "_class_wxCheckBox","_wxCheckBox",0},
8397 { "_wxComboBox","_class_wxComboBox",0},
8398 { "_wxRadioButton","_class_wxRadioButton",0},
8399 { "_class_wxMessageDialog","_wxMessageDialog",0},
8400 { "_signed_int","_wxPrintQuality",0},
8401 { "_signed_int","_EBool",0},
8402 { "_signed_int","_wxWindowID",0},
8403 { "_signed_int","_int",0},
8404 { "_class_wxTextCtrl","_wxTextCtrl",0},
8405 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8406 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8407 { "_wxMenu","_class_wxMenu",0},
8408 { "_class_wxMoveEvent","_wxMoveEvent",0},
8409 { "_wxListBox","_class_wxListBox",0},
8410 { "_wxScreenDC","_class_wxScreenDC",0},
8411 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
8412 { "_WXTYPE","_short",0},
8413 { "_WXTYPE","_signed_short",0},
8414 { "_WXTYPE","_unsigned_short",0},
8415 { "_wxFileDialog","_class_wxFileDialog",0},
8416 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8417 { "_class_wxBrush","_wxBrush",0},
8418 { "_unsigned_short","_WXTYPE",0},
8419 { "_unsigned_short","_short",0},
8420 { "_class_wxWindow","_wxWindow",0},
8421 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
8422 { "_class_wxStaticText","_wxStaticText",0},
8423 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8424 { "_class_wxFont","_wxFont",0},
8425 { "_class_wxCloseEvent","_wxCloseEvent",0},
8426 { "_wxSashEvent","_class_wxSashEvent",0},
8427 { "_class_wxMenuEvent","_wxMenuEvent",0},
8428 { "_wxClientDC","_class_wxClientDC",0},
8429 { "_wxMouseEvent","_class_wxMouseEvent",0},
8430 { "_wxListCtrl","_class_wxListCtrl",0},
8431 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8432 { "_class_wxPoint","_wxPoint",0},
8433 { "_wxRealPoint","_class_wxRealPoint",0},
8434 { "_class_wxRadioBox","_wxRadioBox",0},
8435 { "_wxGridCell","_class_wxGridCell",0},
8436 { "_class_wxBoxSizer","_wxBoxSizer",0},
8437 { "_signed_short","_WXTYPE",0},
8438 { "_signed_short","_short",0},
8439 { "_wxMemoryDC","_class_wxMemoryDC",0},
8440 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
8441 { "_class_wxPrintDialog","_wxPrintDialog",0},
8442 { "_wxPaintDC","_class_wxPaintDC",0},
8443 { "_class_wxWindowDC","_wxWindowDC",0},
8444 { "_class_wxFocusEvent","_wxFocusEvent",0},
8445 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8446 { "_wxStatusBar","_class_wxStatusBar",0},
8447 { "_class_wxToolBarTool","_wxToolBarTool",0},
8448 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8449 { "_class_wxCursor","_wxCursor",0},
8450 { "_class_wxImageHandler","_wxImageHandler",0},
8451 { "_wxPyShape","_class_wxPyShape",0},
8452 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8453 { "_wxTreeItemId","_class_wxTreeItemId",0},
8454 { "_unsigned_char","_byte",0},
8455 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8456 { "_class_wxMenu","_wxMenu",0},
8457 { "_wxControl","_class_wxControl",0},
8458 { "_class_wxListBox","_wxListBox",0},
8459 { "_unsigned_int","_wxPrintQuality",0},
8460 { "_unsigned_int","_size_t",0},
8461 { "_unsigned_int","_uint",0},
8462 { "_unsigned_int","_wxWindowID",0},
8463 { "_unsigned_int","_int",0},
8464 { "_wxIcon","_class_wxIcon",0},
8465 { "_wxDialog","_class_wxDialog",0},
8466 { "_class_wxListItem","_wxListItem",0},
8467 { "_class_wxPen","_wxPen",0},
8468 { "_class_wxFileDialog","_wxFileDialog",0},
8469 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
8470 { "_short","_WXTYPE",0},
8471 { "_short","_unsigned_short",0},
8472 { "_short","_signed_short",0},
8473 { "_class_wxStaticBox","_wxStaticBox",0},
8474 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8475 { "_class_wxScrollEvent","_wxScrollEvent",0},
8476 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8477 { "_class_wxChoice","_wxChoice",0},
8478 { "_class_wxSlider","_wxSlider",0},
8479 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8480 { "_class_wxImageList","_wxImageList",0},
8481 { "_class_wxBitmapButton","_wxBitmapButton",0},
8482 { "_wxFrame","_class_wxFrame",0},
8483 { "_class_wxNotebook","_wxNotebook",0},
8484 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8485 { "_wxWindowID","_wxPrintQuality",0},
8486 { "_wxWindowID","_size_t",0},
8487 { "_wxWindowID","_EBool",0},
8488 { "_wxWindowID","_uint",0},
8489 { "_wxWindowID","_int",0},
8490 { "_wxWindowID","_signed_int",0},
8491 { "_wxWindowID","_unsigned_int",0},
8492 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8493 { "_class_wxSizerItem","_wxSizerItem",0},
8494 { "_int","_wxPrintQuality",0},
8495 { "_int","_size_t",0},
8496 { "_int","_EBool",0},
8497 { "_int","_uint",0},
8498 { "_int","_wxWindowID",0},
8499 { "_int","_unsigned_int",0},
8500 { "_int","_signed_int",0},
8501 { "_class_wxMouseEvent","_wxMouseEvent",0},
8502 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8503 { "_class_wxListEvent","_wxListEvent",0},
8504 { "_class_wxPrintPreview","_wxPrintPreview",0},
8505 { "_class_wxSpinEvent","_wxSpinEvent",0},
8506 { "_wxButton","_class_wxButton",0},
8507 { "_class_wxPyApp","_wxPyApp",0},
8508 { "_wxSize","_class_wxSize",0},
8509 { "_wxRegionIterator","_class_wxRegionIterator",0},
8510 { "_class_wxPrinterDC","_wxPrinterDC",0},
8511 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8512 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8513 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
8514 { "_class_wxPaintDC","_wxPaintDC",0},
8515 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8516 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8517 { "_class_wxComboBox","_wxComboBox",0},
8518 { "_class_wxRadioButton","_wxRadioButton",0},
8519 { "_class_wxPyShape","_wxPyShape",0},
8520 { "_class_wxTreeItemId","_wxTreeItemId",0},
8521 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
8522 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8523 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8524 { "_class_wxControl","_wxControl",0},
8525 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8526 { "_class_wxIcon","_wxIcon",0},
8527 { "_class_wxColour","_wxColour",0},
8528 { "_class_wxScreenDC","_wxScreenDC",0},
8529 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8530 { "_wxPalette","_class_wxPalette",0},
8531 { "_class_wxIdleEvent","_wxIdleEvent",0},
8532 { "_wxEraseEvent","_class_wxEraseEvent",0},
8533 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8534 { "_class_wxMiniFrame","_wxMiniFrame",0},
8535 { "_wxFontDialog","_class_wxFontDialog",0},
8536 { "_wxRegion","_class_wxRegion",0},
8537 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8538 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8539 { "_wxSizer","_class_wxSizer",0},
8540 { "_class_wxShowEvent","_wxShowEvent",0},
8541 { "_wxActivateEvent","_class_wxActivateEvent",0},
8542 { "_wxGauge","_class_wxGauge",0},
8543 { "_class_wxCheckListBox","_wxCheckListBox",0},
8544 { "_class_wxGridEvent","_wxGridEvent",0},
8545 { "_class_wxCommandEvent","_wxCommandEvent",0},
8546 { "_class_wxClientDC","_wxClientDC",0},
8547 { "_class_wxSizeEvent","_wxSizeEvent",0},
8548 { "_class_wxListCtrl","_wxListCtrl",0},
8549 { "_class_wxGridCell","_wxGridCell",0},
8550 { "_class_wxSize","_wxSize",0},
8551 { "_class_wxBitmap","_wxBitmap",0},
8552 { "_class_wxMemoryDC","_wxMemoryDC",0},
8553 { "_wxMenuBar","_class_wxMenuBar",0},
8554 { "_wxTreeEvent","_class_wxTreeEvent",0},
8555 { "_wxDirDialog","_class_wxDirDialog",0},
8556 { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8557 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8558 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
8559 { "_wxEvtHandler","_class_wxEvtHandler",0},
8560 { "_wxMenuItem","_class_wxMenuItem",0},
8561 { "_class_wxScrollBar","_wxScrollBar",0},
8562 { "_class_wxColourDialog","_wxColourDialog",0},
8563 { "_class_wxPrintData","_wxPrintData",0},
8564 { "_wxDash","_unsigned_long",0},
8565 { "_wxDash","_long",0},
8566 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8567 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
8568 { "_wxKeyEvent","_class_wxKeyEvent",0},
8569 { "_wxMoveEvent","_class_wxMoveEvent",0},
8570 { "_wxColourData","_class_wxColourData",0},
8571 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
8572 { "_class_wxPalette","_wxPalette",0},
8573 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
8574 { "_class_wxEraseEvent","_wxEraseEvent",0},
8575 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
8576 { "_class_wxFontDialog","_wxFontDialog",0},
8577 { "_wxWindow","_class_wxWindow",0},
8578 { "_class_wxFrame","_wxFrame",0},
8581 static PyObject
*SWIG_globals
;
8585 SWIGEXPORT(void) initoglbasicc() {
8587 SWIG_globals
= SWIG_newvarlink();
8588 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8589 d
= PyModule_GetDict(m
);
8592 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8593 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);