2 * FILE : contrib/ogl/oglbasic.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 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
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initoglbasicc
55 #define SWIG_name "oglbasicc"
58 #include "oglhelpers.h"
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
110 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
114 #define new_wxShapeRegion() (new wxShapeRegion())
115 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
116 PyObject
* _resultobj
;
117 wxShapeRegion
* _result
;
118 char *_kwnames
[] = { NULL
};
122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
125 wxPy_BEGIN_ALLOW_THREADS
;
126 _result
= (wxShapeRegion
*)new_wxShapeRegion();
128 wxPy_END_ALLOW_THREADS
;
130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
131 _resultobj
= Py_BuildValue("s",_ptemp
);
134 _resultobj
= Py_None
;
139 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
140 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
141 PyObject
* _resultobj
;
142 wxShapeRegion
* _arg0
;
144 PyObject
* _argo0
= 0;
145 PyObject
* _obj1
= 0;
146 char *_kwnames
[] = { "self","s", NULL
};
149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
159 if (!PyString_Check(_obj1
)) {
160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
163 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
166 wxPy_BEGIN_ALLOW_THREADS
;
167 wxShapeRegion_SetText(_arg0
,*_arg1
);
169 wxPy_END_ALLOW_THREADS
;
170 } Py_INCREF(Py_None
);
171 _resultobj
= Py_None
;
179 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
180 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
182 wxShapeRegion
* _arg0
;
184 PyObject
* _argo0
= 0;
185 PyObject
* _argo1
= 0;
186 char *_kwnames
[] = { "self","f", NULL
};
189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_argo1
))
192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_SetFont. Expected _wxFont_p.");
206 wxPy_BEGIN_ALLOW_THREADS
;
207 wxShapeRegion_SetFont(_arg0
,_arg1
);
209 wxPy_END_ALLOW_THREADS
;
210 } Py_INCREF(Py_None
);
211 _resultobj
= Py_None
;
215 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
216 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
218 wxShapeRegion
* _arg0
;
221 PyObject
* _argo0
= 0;
222 char *_kwnames
[] = { "self","w","h", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
235 wxPy_BEGIN_ALLOW_THREADS
;
236 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
238 wxPy_END_ALLOW_THREADS
;
239 } Py_INCREF(Py_None
);
240 _resultobj
= Py_None
;
244 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
245 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
247 wxShapeRegion
* _arg0
;
250 PyObject
* _argo0
= 0;
251 char *_kwnames
[] = { "self","w","h", NULL
};
254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
264 wxPy_BEGIN_ALLOW_THREADS
;
265 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
267 wxPy_END_ALLOW_THREADS
;
268 } Py_INCREF(Py_None
);
269 _resultobj
= Py_None
;
273 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
274 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
276 wxShapeRegion
* _arg0
;
279 PyObject
* _argo0
= 0;
280 char *_kwnames
[] = { "self","x","y", NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
293 wxPy_BEGIN_ALLOW_THREADS
;
294 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
296 wxPy_END_ALLOW_THREADS
;
297 } Py_INCREF(Py_None
);
298 _resultobj
= Py_None
;
302 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
303 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
305 wxShapeRegion
* _arg0
;
308 PyObject
* _argo0
= 0;
309 char *_kwnames
[] = { "self","x","y", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
322 wxPy_BEGIN_ALLOW_THREADS
;
323 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
325 wxPy_END_ALLOW_THREADS
;
326 } Py_INCREF(Py_None
);
327 _resultobj
= Py_None
;
331 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
332 static PyObject
*_wrap_wxShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
334 wxShapeRegion
* _arg0
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self","mode", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetFormatMode",_kwnames
,&_argo0
,&_arg1
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
350 wxPy_BEGIN_ALLOW_THREADS
;
351 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
353 wxPy_END_ALLOW_THREADS
;
354 } Py_INCREF(Py_None
);
355 _resultobj
= Py_None
;
359 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
360 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxShapeRegion
* _arg0
;
364 PyObject
* _argo0
= 0;
365 PyObject
* _obj1
= 0;
366 char *_kwnames
[] = { "self","s", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
379 if (!PyString_Check(_obj1
)) {
380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
383 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
386 wxPy_BEGIN_ALLOW_THREADS
;
387 wxShapeRegion_SetName(_arg0
,*_arg1
);
389 wxPy_END_ALLOW_THREADS
;
390 } Py_INCREF(Py_None
);
391 _resultobj
= Py_None
;
399 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
400 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
402 wxShapeRegion
* _arg0
;
404 PyObject
* _argo0
= 0;
405 PyObject
* _obj1
= 0;
406 char *_kwnames
[] = { "self","col", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
419 if (!PyString_Check(_obj1
)) {
420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
423 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
426 wxPy_BEGIN_ALLOW_THREADS
;
427 wxShapeRegion_SetColour(_arg0
,*_arg1
);
429 wxPy_END_ALLOW_THREADS
;
430 } Py_INCREF(Py_None
);
431 _resultobj
= Py_None
;
439 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
440 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
443 wxShapeRegion
* _arg0
;
444 PyObject
* _argo0
= 0;
445 char *_kwnames
[] = { "self", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
458 wxPy_BEGIN_ALLOW_THREADS
;
459 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
461 wxPy_END_ALLOW_THREADS
;
463 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
471 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
472 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
473 PyObject
* _resultobj
;
475 wxShapeRegion
* _arg0
;
476 PyObject
* _argo0
= 0;
477 char *_kwnames
[] = { "self", NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
491 wxPy_BEGIN_ALLOW_THREADS
;
492 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
494 wxPy_END_ALLOW_THREADS
;
496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
497 _resultobj
= Py_BuildValue("s",_ptemp
);
500 _resultobj
= Py_None
;
505 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
506 static PyObject
*_wrap_wxShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
508 wxShapeRegion
* _arg0
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
))
526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
533 wxPy_BEGIN_ALLOW_THREADS
;
534 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
536 wxPy_END_ALLOW_THREADS
;
537 } Py_INCREF(Py_None
);
538 _resultobj
= Py_None
;
541 o
= PyFloat_FromDouble((double) (*_arg1
));
542 _resultobj
= t_output_helper(_resultobj
, o
);
546 o
= PyFloat_FromDouble((double) (*_arg2
));
547 _resultobj
= t_output_helper(_resultobj
, o
);
552 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
553 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
555 wxShapeRegion
* _arg0
;
560 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "self", NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetProportion",_kwnames
,&_argo0
))
573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
580 wxPy_BEGIN_ALLOW_THREADS
;
581 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
583 wxPy_END_ALLOW_THREADS
;
584 } Py_INCREF(Py_None
);
585 _resultobj
= Py_None
;
588 o
= PyFloat_FromDouble((double) (*_arg1
));
589 _resultobj
= t_output_helper(_resultobj
, o
);
593 o
= PyFloat_FromDouble((double) (*_arg2
));
594 _resultobj
= t_output_helper(_resultobj
, o
);
599 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
600 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
601 PyObject
* _resultobj
;
602 wxShapeRegion
* _arg0
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetSize",_kwnames
,&_argo0
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
627 wxPy_BEGIN_ALLOW_THREADS
;
628 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
630 wxPy_END_ALLOW_THREADS
;
631 } Py_INCREF(Py_None
);
632 _resultobj
= Py_None
;
635 o
= PyFloat_FromDouble((double) (*_arg1
));
636 _resultobj
= t_output_helper(_resultobj
, o
);
640 o
= PyFloat_FromDouble((double) (*_arg2
));
641 _resultobj
= t_output_helper(_resultobj
, o
);
646 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
647 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
649 wxShapeRegion
* _arg0
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPosition",_kwnames
,&_argo0
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
674 wxPy_BEGIN_ALLOW_THREADS
;
675 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
677 wxPy_END_ALLOW_THREADS
;
678 } Py_INCREF(Py_None
);
679 _resultobj
= Py_None
;
682 o
= PyFloat_FromDouble((double) (*_arg1
));
683 _resultobj
= t_output_helper(_resultobj
, o
);
687 o
= PyFloat_FromDouble((double) (*_arg2
));
688 _resultobj
= t_output_helper(_resultobj
, o
);
693 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
694 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 wxShapeRegion
* _arg0
;
698 PyObject
* _argo0
= 0;
699 char *_kwnames
[] = { "self", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
712 wxPy_BEGIN_ALLOW_THREADS
;
713 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
715 wxPy_END_ALLOW_THREADS
;
716 } _resultobj
= Py_BuildValue("i",_result
);
720 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
721 static PyObject
*_wrap_wxShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
724 wxShapeRegion
* _arg0
;
725 PyObject
* _argo0
= 0;
726 char *_kwnames
[] = { "self", NULL
};
729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetName",_kwnames
,&_argo0
))
732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
742 wxPy_END_ALLOW_THREADS
;
744 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
752 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
753 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
756 wxShapeRegion
* _arg0
;
757 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "self", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
771 wxPy_BEGIN_ALLOW_THREADS
;
772 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
774 wxPy_END_ALLOW_THREADS
;
776 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
784 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
785 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
788 wxShapeRegion
* _arg0
;
789 PyObject
* _argo0
= 0;
790 char *_kwnames
[] = { "self", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
804 wxPy_BEGIN_ALLOW_THREADS
;
805 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
807 wxPy_END_ALLOW_THREADS
;
809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
810 _resultobj
= Py_BuildValue("s",_ptemp
);
813 _resultobj
= Py_None
;
818 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
819 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
820 PyObject
* _resultobj
;
822 wxShapeRegion
* _arg0
;
823 PyObject
* _argo0
= 0;
824 char *_kwnames
[] = { "self", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
840 _result
= (wxList
*) &_result_ref
;
842 wxPy_END_ALLOW_THREADS
;
844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
845 _resultobj
= Py_BuildValue("s",_ptemp
);
848 _resultobj
= Py_None
;
853 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
854 static PyObject
*_wrap_wxShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
857 wxShapeRegion
* _arg0
;
858 PyObject
* _argo0
= 0;
859 char *_kwnames
[] = { "self", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenColour",_kwnames
,&_argo0
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
872 wxPy_BEGIN_ALLOW_THREADS
;
873 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
875 wxPy_END_ALLOW_THREADS
;
877 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
885 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
886 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
889 wxShapeRegion
* _arg0
;
890 PyObject
* _argo0
= 0;
891 char *_kwnames
[] = { "self", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
904 wxPy_BEGIN_ALLOW_THREADS
;
905 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
907 wxPy_END_ALLOW_THREADS
;
908 } _resultobj
= Py_BuildValue("i",_result
);
912 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
913 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
915 wxShapeRegion
* _arg0
;
917 PyObject
* _argo0
= 0;
918 char *_kwnames
[] = { "self","style", NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
931 wxPy_BEGIN_ALLOW_THREADS
;
932 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
934 wxPy_END_ALLOW_THREADS
;
935 } Py_INCREF(Py_None
);
936 _resultobj
= Py_None
;
940 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
941 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
943 wxShapeRegion
* _arg0
;
945 PyObject
* _argo0
= 0;
946 PyObject
* _obj1
= 0;
947 char *_kwnames
[] = { "self","col", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
960 if (!PyString_Check(_obj1
)) {
961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
964 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
967 wxPy_BEGIN_ALLOW_THREADS
;
968 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
970 wxPy_END_ALLOW_THREADS
;
971 } Py_INCREF(Py_None
);
972 _resultobj
= Py_None
;
980 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
981 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
984 wxShapeRegion
* _arg0
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1000 wxPy_BEGIN_ALLOW_THREADS
;
1001 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
1003 wxPy_END_ALLOW_THREADS
;
1005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1006 _resultobj
= Py_BuildValue("s",_ptemp
);
1009 _resultobj
= Py_None
;
1014 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1015 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1018 wxShapeRegion
* _arg0
;
1019 PyObject
* _argo0
= 0;
1020 char *_kwnames
[] = { "self", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1036 wxPy_END_ALLOW_THREADS
;
1037 } _resultobj
= Py_BuildValue("d",_result
);
1041 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1042 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 wxShapeRegion
* _arg0
;
1046 PyObject
* _argo0
= 0;
1047 char *_kwnames
[] = { "self", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1063 wxPy_END_ALLOW_THREADS
;
1064 } _resultobj
= Py_BuildValue("d",_result
);
1068 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1069 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1071 wxShapeRegion
* _arg0
;
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_kwnames
,&_argo0
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 wxShapeRegion_ClearText(_arg0
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } Py_INCREF(Py_None
);
1091 _resultobj
= Py_None
;
1095 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1096 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1098 wxPyShapeEvtHandler
* _result
;
1099 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1100 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1101 PyObject
* _argo0
= 0;
1102 PyObject
* _argo1
= 0;
1103 char *_kwnames
[] = { "prev","shape", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
1110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1124 wxPy_BEGIN_ALLOW_THREADS
;
1125 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1127 wxPy_END_ALLOW_THREADS
;
1129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1130 _resultobj
= Py_BuildValue("s",_ptemp
);
1133 _resultobj
= Py_None
;
1138 #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1139 static PyObject
*_wrap_wxPyShapeEvtHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1141 wxPyShapeEvtHandler
* _arg0
;
1144 PyObject
* _argo0
= 0;
1145 PyObject
* _obj1
= 0;
1146 PyObject
* _obj2
= 0;
1147 char *_kwnames
[] = { "self","self","_class", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeEvtHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p.");
1166 wxPy_BEGIN_ALLOW_THREADS
;
1167 wxPyShapeEvtHandler__setSelf(_arg0
,_arg1
,_arg2
);
1169 wxPy_END_ALLOW_THREADS
;
1170 } Py_INCREF(Py_None
);
1171 _resultobj
= Py_None
;
1175 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1176 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1178 wxPyShapeEvtHandler
* _arg0
;
1179 PyObject
* _argo0
= 0;
1180 char *_kwnames
[] = { "self", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 wxPyShapeEvtHandler_Destroy(_arg0
);
1196 wxPy_END_ALLOW_THREADS
;
1197 } Py_INCREF(Py_None
);
1198 _resultobj
= Py_None
;
1202 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1203 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1205 wxPyShapeEvtHandler
* _arg0
;
1207 PyObject
* _argo0
= 0;
1208 PyObject
* _argo1
= 0;
1209 char *_kwnames
[] = { "self","sh", NULL
};
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1229 wxPy_BEGIN_ALLOW_THREADS
;
1230 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1232 wxPy_END_ALLOW_THREADS
;
1233 } Py_INCREF(Py_None
);
1234 _resultobj
= Py_None
;
1238 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1239 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1241 wxPyShape
* _result
;
1242 wxPyShapeEvtHandler
* _arg0
;
1243 PyObject
* _argo0
= 0;
1244 char *_kwnames
[] = { "self", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1258 wxPy_BEGIN_ALLOW_THREADS
;
1259 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1261 wxPy_END_ALLOW_THREADS
;
1263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1264 _resultobj
= Py_BuildValue("s",_ptemp
);
1267 _resultobj
= Py_None
;
1272 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1273 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1275 wxPyShapeEvtHandler
* _arg0
;
1276 wxPyShapeEvtHandler
* _arg1
;
1277 PyObject
* _argo0
= 0;
1278 PyObject
* _argo1
= 0;
1279 char *_kwnames
[] = { "self","handler", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1299 wxPy_BEGIN_ALLOW_THREADS
;
1300 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1302 wxPy_END_ALLOW_THREADS
;
1303 } Py_INCREF(Py_None
);
1304 _resultobj
= Py_None
;
1308 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1309 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1311 wxPyShapeEvtHandler
* _result
;
1312 wxPyShapeEvtHandler
* _arg0
;
1313 PyObject
* _argo0
= 0;
1314 char *_kwnames
[] = { "self", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1331 wxPy_END_ALLOW_THREADS
;
1333 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1334 _resultobj
= Py_BuildValue("s",_ptemp
);
1337 _resultobj
= Py_None
;
1342 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1343 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1345 wxPyShapeEvtHandler
* _result
;
1346 wxPyShapeEvtHandler
* _arg0
;
1347 PyObject
* _argo0
= 0;
1348 char *_kwnames
[] = { "self", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1362 wxPy_BEGIN_ALLOW_THREADS
;
1363 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1365 wxPy_END_ALLOW_THREADS
;
1367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1368 _resultobj
= Py_BuildValue("s",_ptemp
);
1371 _resultobj
= Py_None
;
1376 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1377 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxPyShapeEvtHandler
* _arg0
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1397 wxPy_END_ALLOW_THREADS
;
1398 } Py_INCREF(Py_None
);
1399 _resultobj
= Py_None
;
1403 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1404 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1406 wxPyShapeEvtHandler
* _arg0
;
1408 PyObject
* _argo0
= 0;
1409 PyObject
* _argo1
= 0;
1410 char *_kwnames
[] = { "self","dc", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1433 wxPy_END_ALLOW_THREADS
;
1434 } Py_INCREF(Py_None
);
1435 _resultobj
= Py_None
;
1439 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1440 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1442 wxPyShapeEvtHandler
* _arg0
;
1444 PyObject
* _argo0
= 0;
1445 PyObject
* _argo1
= 0;
1446 char *_kwnames
[] = { "self","dc", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1459 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1469 wxPy_END_ALLOW_THREADS
;
1470 } Py_INCREF(Py_None
);
1471 _resultobj
= Py_None
;
1475 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1476 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1478 wxPyShapeEvtHandler
* _arg0
;
1480 bool _arg2
= (bool ) FALSE
;
1481 PyObject
* _argo0
= 0;
1482 PyObject
* _argo1
= 0;
1483 int tempbool2
= (int) FALSE
;
1484 char *_kwnames
[] = { "self","dc","erase", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1503 _arg2
= (bool ) tempbool2
;
1505 wxPy_BEGIN_ALLOW_THREADS
;
1506 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1508 wxPy_END_ALLOW_THREADS
;
1509 } Py_INCREF(Py_None
);
1510 _resultobj
= Py_None
;
1514 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1515 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1517 wxPyShapeEvtHandler
* _arg0
;
1519 PyObject
* _argo0
= 0;
1520 PyObject
* _argo1
= 0;
1521 char *_kwnames
[] = { "self","dc", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1544 wxPy_END_ALLOW_THREADS
;
1545 } Py_INCREF(Py_None
);
1546 _resultobj
= Py_None
;
1550 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1551 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
* _resultobj
;
1553 wxPyShapeEvtHandler
* _arg0
;
1555 PyObject
* _argo0
= 0;
1556 PyObject
* _argo1
= 0;
1557 char *_kwnames
[] = { "self","dc", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } Py_INCREF(Py_None
);
1582 _resultobj
= Py_None
;
1586 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1587 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1589 wxPyShapeEvtHandler
* _arg0
;
1591 PyObject
* _argo0
= 0;
1592 PyObject
* _argo1
= 0;
1593 char *_kwnames
[] = { "self","dc", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1616 wxPy_END_ALLOW_THREADS
;
1617 } Py_INCREF(Py_None
);
1618 _resultobj
= Py_None
;
1622 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1623 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxPyShapeEvtHandler
* _arg0
;
1627 PyObject
* _argo0
= 0;
1628 PyObject
* _argo1
= 0;
1629 char *_kwnames
[] = { "self","dc", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1652 wxPy_END_ALLOW_THREADS
;
1653 } Py_INCREF(Py_None
);
1654 _resultobj
= Py_None
;
1658 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1659 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1661 wxPyShapeEvtHandler
* _arg0
;
1664 int _arg3
= (int ) 0;
1665 int _arg4
= (int ) 0;
1666 PyObject
* _argo0
= 0;
1667 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } Py_INCREF(Py_None
);
1685 _resultobj
= Py_None
;
1689 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1690 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1692 wxPyShapeEvtHandler
* _arg0
;
1695 int _arg3
= (int ) 0;
1696 int _arg4
= (int ) 0;
1697 PyObject
* _argo0
= 0;
1698 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1711 wxPy_BEGIN_ALLOW_THREADS
;
1712 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1714 wxPy_END_ALLOW_THREADS
;
1715 } Py_INCREF(Py_None
);
1716 _resultobj
= Py_None
;
1720 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1721 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1723 wxPyShapeEvtHandler
* _arg0
;
1726 int _arg3
= (int ) 0;
1727 int _arg4
= (int ) 0;
1728 PyObject
* _argo0
= 0;
1729 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1742 wxPy_BEGIN_ALLOW_THREADS
;
1743 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1745 wxPy_END_ALLOW_THREADS
;
1746 } Py_INCREF(Py_None
);
1747 _resultobj
= Py_None
;
1751 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1752 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1754 wxPyShapeEvtHandler
* _arg0
;
1757 PyObject
* _argo0
= 0;
1758 char *_kwnames
[] = { "self","x","y", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1771 wxPy_BEGIN_ALLOW_THREADS
;
1772 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1774 wxPy_END_ALLOW_THREADS
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1781 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1784 wxPyShapeEvtHandler
* _arg0
;
1790 bool _arg6
= (bool ) TRUE
;
1791 PyObject
* _argo0
= 0;
1792 PyObject
* _argo1
= 0;
1793 int tempbool6
= (int) TRUE
;
1794 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1807 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1813 _arg6
= (bool ) tempbool6
;
1815 wxPy_BEGIN_ALLOW_THREADS
;
1816 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1818 wxPy_END_ALLOW_THREADS
;
1819 } _resultobj
= Py_BuildValue("i",_result
);
1823 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1824 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1826 wxPyShapeEvtHandler
* _arg0
;
1832 bool _arg6
= (bool ) TRUE
;
1833 PyObject
* _argo0
= 0;
1834 PyObject
* _argo1
= 0;
1835 int tempbool6
= (int) TRUE
;
1836 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1849 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1855 _arg6
= (bool ) tempbool6
;
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1860 wxPy_END_ALLOW_THREADS
;
1861 } Py_INCREF(Py_None
);
1862 _resultobj
= Py_None
;
1866 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1867 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 wxPyShapeEvtHandler
* _arg0
;
1873 int _arg4
= (int ) 0;
1874 int _arg5
= (int ) 0;
1875 PyObject
* _argo0
= 0;
1877 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1889 _arg1
= (bool ) tempbool1
;
1891 wxPy_BEGIN_ALLOW_THREADS
;
1892 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1894 wxPy_END_ALLOW_THREADS
;
1895 } Py_INCREF(Py_None
);
1896 _resultobj
= Py_None
;
1900 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1901 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1903 wxPyShapeEvtHandler
* _arg0
;
1906 int _arg3
= (int ) 0;
1907 int _arg4
= (int ) 0;
1908 PyObject
* _argo0
= 0;
1909 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1922 wxPy_BEGIN_ALLOW_THREADS
;
1923 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1925 wxPy_END_ALLOW_THREADS
;
1926 } Py_INCREF(Py_None
);
1927 _resultobj
= Py_None
;
1931 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1932 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1934 wxPyShapeEvtHandler
* _arg0
;
1937 int _arg3
= (int ) 0;
1938 int _arg4
= (int ) 0;
1939 PyObject
* _argo0
= 0;
1940 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1956 wxPy_END_ALLOW_THREADS
;
1957 } Py_INCREF(Py_None
);
1958 _resultobj
= Py_None
;
1962 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1963 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1965 wxPyShapeEvtHandler
* _arg0
;
1969 int _arg4
= (int ) 0;
1970 int _arg5
= (int ) 0;
1971 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
1985 _arg1
= (bool ) tempbool1
;
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } Py_INCREF(Py_None
);
1992 _resultobj
= Py_None
;
1996 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1997 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
1999 wxPyShapeEvtHandler
* _arg0
;
2002 int _arg3
= (int ) 0;
2003 int _arg4
= (int ) 0;
2004 PyObject
* _argo0
= 0;
2005 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2018 wxPy_BEGIN_ALLOW_THREADS
;
2019 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2021 wxPy_END_ALLOW_THREADS
;
2022 } Py_INCREF(Py_None
);
2023 _resultobj
= Py_None
;
2027 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2028 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2030 wxPyShapeEvtHandler
* _arg0
;
2033 int _arg3
= (int ) 0;
2034 int _arg4
= (int ) 0;
2035 PyObject
* _argo0
= 0;
2036 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } Py_INCREF(Py_None
);
2054 _resultobj
= Py_None
;
2058 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2059 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2061 wxPyShapeEvtHandler
* _arg0
;
2067 PyObject
* _argo0
= 0;
2068 PyObject
* _argo1
= 0;
2069 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2092 wxPy_END_ALLOW_THREADS
;
2093 } Py_INCREF(Py_None
);
2094 _resultobj
= Py_None
;
2098 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2099 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2101 wxPyShapeEvtHandler
* _arg0
;
2103 PyObject
* _argo0
= 0;
2104 PyObject
* _argo1
= 0;
2105 char *_kwnames
[] = { "self","dc", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2125 wxPy_BEGIN_ALLOW_THREADS
;
2126 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2128 wxPy_END_ALLOW_THREADS
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2134 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2135 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
* _resultobj
;
2137 wxPyShapeEvtHandler
* _arg0
;
2139 PyObject
* _argo0
= 0;
2140 PyObject
* _argo1
= 0;
2141 char *_kwnames
[] = { "self","dc", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2161 wxPy_BEGIN_ALLOW_THREADS
;
2162 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2164 wxPy_END_ALLOW_THREADS
;
2165 } Py_INCREF(Py_None
);
2166 _resultobj
= Py_None
;
2170 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2171 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2173 wxPyShapeEvtHandler
* _arg0
;
2175 bool _arg2
= (bool ) TRUE
;
2176 PyObject
* _argo0
= 0;
2177 PyObject
* _argo1
= 0;
2178 int tempbool2
= (int) TRUE
;
2179 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2198 _arg2
= (bool ) tempbool2
;
2200 wxPy_BEGIN_ALLOW_THREADS
;
2201 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2203 wxPy_END_ALLOW_THREADS
;
2204 } Py_INCREF(Py_None
);
2205 _resultobj
= Py_None
;
2209 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2210 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2212 wxPyShapeEvtHandler
* _arg0
;
2213 wxPyControlPoint
* _arg1
;
2217 int _arg5
= (int ) 0;
2218 int _arg6
= (int ) 0;
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _argo1
= 0;
2222 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2241 _arg2
= (bool ) tempbool2
;
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2246 wxPy_END_ALLOW_THREADS
;
2247 } Py_INCREF(Py_None
);
2248 _resultobj
= Py_None
;
2252 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2253 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2255 wxPyShapeEvtHandler
* _arg0
;
2256 wxPyControlPoint
* _arg1
;
2259 int _arg4
= (int ) 0;
2260 int _arg5
= (int ) 0;
2261 PyObject
* _argo0
= 0;
2262 PyObject
* _argo1
= 0;
2263 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2283 wxPy_BEGIN_ALLOW_THREADS
;
2284 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2286 wxPy_END_ALLOW_THREADS
;
2287 } Py_INCREF(Py_None
);
2288 _resultobj
= Py_None
;
2292 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2293 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
* _resultobj
;
2295 wxPyShapeEvtHandler
* _arg0
;
2296 wxPyControlPoint
* _arg1
;
2299 int _arg4
= (int ) 0;
2300 int _arg5
= (int ) 0;
2301 PyObject
* _argo0
= 0;
2302 PyObject
* _argo1
= 0;
2303 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2323 wxPy_BEGIN_ALLOW_THREADS
;
2324 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2326 wxPy_END_ALLOW_THREADS
;
2327 } Py_INCREF(Py_None
);
2328 _resultobj
= Py_None
;
2332 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2333 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2335 wxPyShapeEvtHandler
* _arg0
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self","w","h", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2355 wxPy_END_ALLOW_THREADS
;
2356 } Py_INCREF(Py_None
);
2357 _resultobj
= Py_None
;
2361 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2362 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2364 wxPyShapeEvtHandler
* _arg0
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self","w","h", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2390 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2392 wxPyShapeEvtHandler
*dest
;
2393 src
= (wxPyShape
*) ptr
;
2394 dest
= (wxPyShapeEvtHandler
*) src
;
2395 return (void *) dest
;
2398 #define wxPyShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2399 static PyObject
*_wrap_wxPyShape__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2404 PyObject
* _argo0
= 0;
2405 PyObject
* _obj1
= 0;
2406 PyObject
* _obj2
= 0;
2407 char *_kwnames
[] = { "self","self","_class", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxPyShape__setSelf(_arg0
,_arg1
,_arg2
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 static void wxPyShape_Destroy(wxPyShape
*self
) { delete self
; }
2436 static PyObject
*_wrap_wxPyShape_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2439 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Destroy",_kwnames
,&_argo0
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 wxPyShape_Destroy(_arg0
);
2456 wxPy_END_ALLOW_THREADS
;
2457 } Py_INCREF(Py_None
);
2458 _resultobj
= Py_None
;
2462 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2463 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2470 PyObject
* _argo0
= 0;
2471 char *_kwnames
[] = { "self", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2493 wxPy_END_ALLOW_THREADS
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2498 o
= PyFloat_FromDouble((double) (*_arg1
));
2499 _resultobj
= t_output_helper(_resultobj
, o
);
2503 o
= PyFloat_FromDouble((double) (*_arg2
));
2504 _resultobj
= t_output_helper(_resultobj
, o
);
2509 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2510 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
* _resultobj
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2540 wxPy_END_ALLOW_THREADS
;
2541 } Py_INCREF(Py_None
);
2542 _resultobj
= Py_None
;
2545 o
= PyFloat_FromDouble((double) (*_arg1
));
2546 _resultobj
= t_output_helper(_resultobj
, o
);
2550 o
= PyFloat_FromDouble((double) (*_arg2
));
2551 _resultobj
= t_output_helper(_resultobj
, o
);
2556 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2557 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2569 PyObject
* _argo0
= 0;
2570 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2589 wxPy_BEGIN_ALLOW_THREADS
;
2590 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2592 wxPy_END_ALLOW_THREADS
;
2593 } _resultobj
= Py_BuildValue("i",_result
);
2596 o
= PyFloat_FromDouble((double) (*_arg5
));
2597 _resultobj
= t_output_helper(_resultobj
, o
);
2601 o
= PyFloat_FromDouble((double) (*_arg6
));
2602 _resultobj
= t_output_helper(_resultobj
, o
);
2607 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2608 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2610 wxPyShapeCanvas
* _result
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2627 wxPy_BEGIN_ALLOW_THREADS
;
2628 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2630 wxPy_END_ALLOW_THREADS
;
2632 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
2633 _resultobj
= Py_BuildValue("s",_ptemp
);
2636 _resultobj
= Py_None
;
2641 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2642 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2645 wxPyShapeCanvas
* _arg1
;
2646 PyObject
* _argo0
= 0;
2647 PyObject
* _argo1
= 0;
2648 char *_kwnames
[] = { "self","the_canvas", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 wxPyShape_SetCanvas(_arg0
,_arg1
);
2671 wxPy_END_ALLOW_THREADS
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2677 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2678 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2681 wxPyShapeCanvas
* _arg1
;
2682 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2683 PyObject
* _argo0
= 0;
2684 PyObject
* _argo1
= 0;
2685 PyObject
* _argo2
= 0;
2686 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2706 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2713 wxPy_BEGIN_ALLOW_THREADS
;
2714 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2716 wxPy_END_ALLOW_THREADS
;
2717 } Py_INCREF(Py_None
);
2718 _resultobj
= Py_None
;
2722 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2723 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2726 wxPyShapeCanvas
* _arg1
;
2727 PyObject
* _argo0
= 0;
2728 PyObject
* _argo1
= 0;
2729 char *_kwnames
[] = { "self","the_canvas", NULL
};
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2749 wxPy_BEGIN_ALLOW_THREADS
;
2750 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2752 wxPy_END_ALLOW_THREADS
;
2753 } Py_INCREF(Py_None
);
2754 _resultobj
= Py_None
;
2758 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2759 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2762 wxPyShapeCanvas
* _arg1
;
2763 PyObject
* _argo0
= 0;
2764 PyObject
* _argo1
= 0;
2765 char *_kwnames
[] = { "self","the_canvas", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2785 wxPy_BEGIN_ALLOW_THREADS
;
2786 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2788 wxPy_END_ALLOW_THREADS
;
2789 } Py_INCREF(Py_None
);
2790 _resultobj
= Py_None
;
2794 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2795 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2799 PyObject
* _argo0
= 0;
2800 char *_kwnames
[] = { "self", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2813 wxPy_BEGIN_ALLOW_THREADS
;
2814 _result
= (double )wxPyShape_GetX(_arg0
);
2816 wxPy_END_ALLOW_THREADS
;
2817 } _resultobj
= Py_BuildValue("d",_result
);
2821 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2822 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2826 PyObject
* _argo0
= 0;
2827 char *_kwnames
[] = { "self", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2840 wxPy_BEGIN_ALLOW_THREADS
;
2841 _result
= (double )wxPyShape_GetY(_arg0
);
2843 wxPy_END_ALLOW_THREADS
;
2844 } _resultobj
= Py_BuildValue("d",_result
);
2848 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2849 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2853 PyObject
* _argo0
= 0;
2854 char *_kwnames
[] = { "self","x", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2867 wxPy_BEGIN_ALLOW_THREADS
;
2868 wxPyShape_SetX(_arg0
,_arg1
);
2870 wxPy_END_ALLOW_THREADS
;
2871 } Py_INCREF(Py_None
);
2872 _resultobj
= Py_None
;
2876 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2877 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self","y", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 wxPyShape_SetY(_arg0
,_arg1
);
2898 wxPy_END_ALLOW_THREADS
;
2899 } Py_INCREF(Py_None
);
2900 _resultobj
= Py_None
;
2904 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2905 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2907 wxPyShape
* _result
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
2917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
2924 wxPy_BEGIN_ALLOW_THREADS
;
2925 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
2927 wxPy_END_ALLOW_THREADS
;
2929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
2930 _resultobj
= Py_BuildValue("s",_ptemp
);
2933 _resultobj
= Py_None
;
2938 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2939 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2943 PyObject
* _argo0
= 0;
2944 PyObject
* _argo1
= 0;
2945 char *_kwnames
[] = { "self","p", NULL
};
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
2951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 wxPyShape_SetParent(_arg0
,_arg1
);
2968 wxPy_END_ALLOW_THREADS
;
2969 } Py_INCREF(Py_None
);
2970 _resultobj
= Py_None
;
2974 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
2975 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2977 wxPyShape
* _result
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
2994 wxPy_BEGIN_ALLOW_THREADS
;
2995 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
2997 wxPy_END_ALLOW_THREADS
;
2999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
3000 _resultobj
= Py_BuildValue("s",_ptemp
);
3003 _resultobj
= Py_None
;
3008 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3009 wxList
& list
= self
->GetChildren();
3010 return wxPy_ConvertList(&list
, "wxPyShape");
3012 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3016 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3033 wxPy_END_ALLOW_THREADS
;
3035 _resultobj
= _result
;
3040 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3041 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
* _resultobj
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 wxPyShape_Unlink(_arg0
);
3061 wxPy_END_ALLOW_THREADS
;
3062 } Py_INCREF(Py_None
);
3063 _resultobj
= Py_None
;
3067 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3068 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3072 PyObject
* _argo0
= 0;
3074 char *_kwnames
[] = { "self","drawH", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3086 _arg1
= (bool ) tempbool1
;
3088 wxPy_BEGIN_ALLOW_THREADS
;
3089 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3091 wxPy_END_ALLOW_THREADS
;
3092 } Py_INCREF(Py_None
);
3093 _resultobj
= Py_None
;
3097 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3098 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3102 PyObject
* _argo0
= 0;
3103 char *_kwnames
[] = { "self", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3119 wxPy_END_ALLOW_THREADS
;
3120 } _resultobj
= Py_BuildValue("i",_result
);
3124 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3125 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3128 PyObject
* _argo0
= 0;
3129 char *_kwnames
[] = { "self", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3142 wxPy_BEGIN_ALLOW_THREADS
;
3143 wxPyShape_MakeControlPoints(_arg0
);
3145 wxPy_END_ALLOW_THREADS
;
3146 } Py_INCREF(Py_None
);
3147 _resultobj
= Py_None
;
3151 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3152 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3155 wxDC
* _arg1
= (wxDC
*) NULL
;
3156 PyObject
* _argo0
= 0;
3157 PyObject
* _argo1
= 0;
3158 char *_kwnames
[] = { "self","dc", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3178 wxPy_BEGIN_ALLOW_THREADS
;
3179 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3181 wxPy_END_ALLOW_THREADS
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3188 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3191 PyObject
* _argo0
= 0;
3192 char *_kwnames
[] = { "self", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3205 wxPy_BEGIN_ALLOW_THREADS
;
3206 wxPyShape_ResetControlPoints(_arg0
);
3208 wxPy_END_ALLOW_THREADS
;
3209 } Py_INCREF(Py_None
);
3210 _resultobj
= Py_None
;
3214 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3215 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
* _resultobj
;
3217 wxPyShapeEvtHandler
* _result
;
3219 PyObject
* _argo0
= 0;
3220 char *_kwnames
[] = { "self", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3234 wxPy_BEGIN_ALLOW_THREADS
;
3235 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3237 wxPy_END_ALLOW_THREADS
;
3239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
3240 _resultobj
= Py_BuildValue("s",_ptemp
);
3243 _resultobj
= Py_None
;
3248 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3249 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3252 wxPyShapeEvtHandler
* _arg1
;
3253 PyObject
* _argo0
= 0;
3254 PyObject
* _argo1
= 0;
3255 char *_kwnames
[] = { "self","handler", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3275 wxPy_BEGIN_ALLOW_THREADS
;
3276 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3278 wxPy_END_ALLOW_THREADS
;
3279 } Py_INCREF(Py_None
);
3280 _resultobj
= Py_None
;
3284 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3285 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3288 PyObject
* _argo0
= 0;
3289 char *_kwnames
[] = { "self", NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3302 wxPy_BEGIN_ALLOW_THREADS
;
3303 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3305 wxPy_END_ALLOW_THREADS
;
3306 } Py_INCREF(Py_None
);
3307 _resultobj
= Py_None
;
3311 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3312 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3315 PyObject
* _argo0
= 0;
3316 char *_kwnames
[] = { "self", NULL
};
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3329 wxPy_BEGIN_ALLOW_THREADS
;
3330 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3332 wxPy_END_ALLOW_THREADS
;
3333 } Py_INCREF(Py_None
);
3334 _resultobj
= Py_None
;
3338 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3339 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "self", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3357 wxPy_BEGIN_ALLOW_THREADS
;
3358 _result
= (bool )wxPyShape_Recompute(_arg0
);
3360 wxPy_END_ALLOW_THREADS
;
3361 } _resultobj
= Py_BuildValue("i",_result
);
3365 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3366 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3369 PyObject
* _argo0
= 0;
3370 char *_kwnames
[] = { "self", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3383 wxPy_BEGIN_ALLOW_THREADS
;
3384 wxPyShape_CalculateSize(_arg0
);
3386 wxPy_END_ALLOW_THREADS
;
3387 } Py_INCREF(Py_None
);
3388 _resultobj
= Py_None
;
3392 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3393 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
* _resultobj
;
3396 bool _arg1
= (bool ) TRUE
;
3397 wxDC
* _arg2
= (wxDC
*) NULL
;
3398 PyObject
* _argo0
= 0;
3399 int tempbool1
= (int) TRUE
;
3400 PyObject
* _argo2
= 0;
3401 char *_kwnames
[] = { "self","select","dc", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3413 _arg1
= (bool ) tempbool1
;
3415 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3422 wxPy_BEGIN_ALLOW_THREADS
;
3423 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3425 wxPy_END_ALLOW_THREADS
;
3426 } Py_INCREF(Py_None
);
3427 _resultobj
= Py_None
;
3431 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3432 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3435 bool _arg1
= (bool ) TRUE
;
3436 bool _arg2
= (bool ) FALSE
;
3437 PyObject
* _argo0
= 0;
3438 int tempbool1
= (int) TRUE
;
3439 int tempbool2
= (int) FALSE
;
3440 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3452 _arg1
= (bool ) tempbool1
;
3453 _arg2
= (bool ) tempbool2
;
3455 wxPy_BEGIN_ALLOW_THREADS
;
3456 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3458 wxPy_END_ALLOW_THREADS
;
3459 } Py_INCREF(Py_None
);
3460 _resultobj
= Py_None
;
3464 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3465 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3469 PyObject
* _argo0
= 0;
3470 char *_kwnames
[] = { "self", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3483 wxPy_BEGIN_ALLOW_THREADS
;
3484 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3486 wxPy_END_ALLOW_THREADS
;
3487 } _resultobj
= Py_BuildValue("i",_result
);
3491 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3492 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
* _resultobj
;
3496 PyObject
* _argo0
= 0;
3497 char *_kwnames
[] = { "self", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3510 wxPy_BEGIN_ALLOW_THREADS
;
3511 _result
= (bool )wxPyShape_Selected(_arg0
);
3513 wxPy_END_ALLOW_THREADS
;
3514 } _resultobj
= Py_BuildValue("i",_result
);
3518 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3519 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
* _resultobj
;
3523 PyObject
* _argo0
= 0;
3524 char *_kwnames
[] = { "self", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3537 wxPy_BEGIN_ALLOW_THREADS
;
3538 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3540 wxPy_END_ALLOW_THREADS
;
3541 } _resultobj
= Py_BuildValue("i",_result
);
3545 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3546 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3549 int _arg1
= (int ) OP_ALL
;
3550 bool _arg2
= (bool ) FALSE
;
3551 PyObject
* _argo0
= 0;
3552 int tempbool2
= (int) FALSE
;
3553 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3565 _arg2
= (bool ) tempbool2
;
3567 wxPy_BEGIN_ALLOW_THREADS
;
3568 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3570 wxPy_END_ALLOW_THREADS
;
3571 } Py_INCREF(Py_None
);
3572 _resultobj
= Py_None
;
3576 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3577 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
* _resultobj
;
3581 PyObject
* _argo0
= 0;
3582 char *_kwnames
[] = { "self", NULL
};
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } _resultobj
= Py_BuildValue("i",_result
);
3603 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3604 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3608 bool _arg2
= (bool ) FALSE
;
3609 PyObject
* _argo0
= 0;
3611 int tempbool2
= (int) FALSE
;
3612 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3624 _arg1
= (bool ) tempbool1
;
3625 _arg2
= (bool ) tempbool2
;
3627 wxPy_BEGIN_ALLOW_THREADS
;
3628 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3630 wxPy_END_ALLOW_THREADS
;
3631 } Py_INCREF(Py_None
);
3632 _resultobj
= Py_None
;
3636 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3637 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3642 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "self","x","y", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3657 _arg1
= (bool ) tempbool1
;
3658 _arg2
= (bool ) tempbool2
;
3660 wxPy_BEGIN_ALLOW_THREADS
;
3661 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3663 wxPy_END_ALLOW_THREADS
;
3664 } Py_INCREF(Py_None
);
3665 _resultobj
= Py_None
;
3669 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3670 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3675 PyObject
* _argo0
= 0;
3676 PyObject
* _argo1
= 0;
3677 PyObject
* _argo2
= 0;
3678 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3698 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } Py_INCREF(Py_None
);
3710 _resultobj
= Py_None
;
3714 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3715 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3719 PyObject
* _argo0
= 0;
3720 char *_kwnames
[] = { "self", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3733 wxPy_BEGIN_ALLOW_THREADS
;
3734 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3736 wxPy_END_ALLOW_THREADS
;
3737 } _resultobj
= Py_BuildValue("i",_result
);
3741 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3742 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3746 PyObject
* _argo0
= 0;
3747 char *_kwnames
[] = { "self", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3760 wxPy_BEGIN_ALLOW_THREADS
;
3761 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3763 wxPy_END_ALLOW_THREADS
;
3764 } _resultobj
= Py_BuildValue("i",_result
);
3768 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3769 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3773 PyObject
* _argo0
= 0;
3775 char *_kwnames
[] = { "self","sp", NULL
};
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3787 _arg1
= (bool ) tempbool1
;
3789 wxPy_BEGIN_ALLOW_THREADS
;
3790 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3792 wxPy_END_ALLOW_THREADS
;
3793 } Py_INCREF(Py_None
);
3794 _resultobj
= Py_None
;
3798 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3799 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3817 wxPy_BEGIN_ALLOW_THREADS
;
3818 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3820 wxPy_END_ALLOW_THREADS
;
3821 } _resultobj
= Py_BuildValue("i",_result
);
3825 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3826 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
* _resultobj
;
3830 bool _arg2
= (bool ) FALSE
;
3831 PyObject
* _argo0
= 0;
3832 int tempbool2
= (int) FALSE
;
3833 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3845 _arg2
= (bool ) tempbool2
;
3847 wxPy_BEGIN_ALLOW_THREADS
;
3848 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3850 wxPy_END_ALLOW_THREADS
;
3851 } Py_INCREF(Py_None
);
3852 _resultobj
= Py_None
;
3856 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3857 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
* _resultobj
;
3861 PyObject
* _argo0
= 0;
3862 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3875 wxPy_BEGIN_ALLOW_THREADS
;
3876 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3878 wxPy_END_ALLOW_THREADS
;
3879 } _resultobj
= Py_BuildValue("i",_result
);
3883 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3884 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
* _resultobj
;
3894 PyObject
* _argo0
= 0;
3895 char *_kwnames
[] = { "self","x","y", NULL
};
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3914 wxPy_BEGIN_ALLOW_THREADS
;
3915 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3917 wxPy_END_ALLOW_THREADS
;
3918 } _resultobj
= Py_BuildValue("i",_result
);
3921 o
= PyInt_FromLong((long) (*_arg3
));
3922 _resultobj
= t_output_helper(_resultobj
, o
);
3926 o
= PyFloat_FromDouble((double) (*_arg4
));
3927 _resultobj
= t_output_helper(_resultobj
, o
);
3932 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3933 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
* _resultobj
;
3937 PyObject
* _argo0
= 0;
3939 char *_kwnames
[] = { "self","cr", NULL
};
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
3945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
3951 _arg1
= (bool ) tempbool1
;
3953 wxPy_BEGIN_ALLOW_THREADS
;
3954 wxPyShape_SetCentreResize(_arg0
,_arg1
);
3956 wxPy_END_ALLOW_THREADS
;
3957 } Py_INCREF(Py_None
);
3958 _resultobj
= Py_None
;
3962 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
3963 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3967 PyObject
* _argo0
= 0;
3968 char *_kwnames
[] = { "self", NULL
};
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
3974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
3981 wxPy_BEGIN_ALLOW_THREADS
;
3982 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
3984 wxPy_END_ALLOW_THREADS
;
3985 } _resultobj
= Py_BuildValue("i",_result
);
3989 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
3990 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3994 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "self","ar", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4008 _arg1
= (bool ) tempbool1
;
4010 wxPy_BEGIN_ALLOW_THREADS
;
4011 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4013 wxPy_END_ALLOW_THREADS
;
4014 } Py_INCREF(Py_None
);
4015 _resultobj
= Py_None
;
4019 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4020 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4024 PyObject
* _argo0
= 0;
4025 char *_kwnames
[] = { "self", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4038 wxPy_BEGIN_ALLOW_THREADS
;
4039 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4041 wxPy_END_ALLOW_THREADS
;
4042 } _resultobj
= Py_BuildValue("i",_result
);
4046 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4047 wxList
& list
= self
->GetLines();
4048 return wxPy_ConvertList(&list
, "wxPyLineShape");
4050 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
* _resultobj
;
4054 PyObject
* _argo0
= 0;
4055 char *_kwnames
[] = { "self", NULL
};
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4068 wxPy_BEGIN_ALLOW_THREADS
;
4069 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4071 wxPy_END_ALLOW_THREADS
;
4073 _resultobj
= _result
;
4078 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4079 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
* _resultobj
;
4083 PyObject
* _argo0
= 0;
4085 char *_kwnames
[] = { "self","flag", NULL
};
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4097 _arg1
= (bool ) tempbool1
;
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4102 wxPy_END_ALLOW_THREADS
;
4103 } Py_INCREF(Py_None
);
4104 _resultobj
= Py_None
;
4108 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4109 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4127 wxPy_BEGIN_ALLOW_THREADS
;
4128 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4130 wxPy_END_ALLOW_THREADS
;
4131 } _resultobj
= Py_BuildValue("i",_result
);
4135 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4136 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4140 PyObject
* _argo0
= 0;
4141 char *_kwnames
[] = { "self","mode", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4157 wxPy_END_ALLOW_THREADS
;
4158 } Py_INCREF(Py_None
);
4159 _resultobj
= Py_None
;
4163 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4164 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4182 wxPy_BEGIN_ALLOW_THREADS
;
4183 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4185 wxPy_END_ALLOW_THREADS
;
4186 } _resultobj
= Py_BuildValue("i",_result
);
4190 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4191 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4195 PyObject
* _argo0
= 0;
4196 char *_kwnames
[] = { "self","i", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4209 wxPy_BEGIN_ALLOW_THREADS
;
4210 wxPyShape_SetId(_arg0
,_arg1
);
4212 wxPy_END_ALLOW_THREADS
;
4213 } Py_INCREF(Py_None
);
4214 _resultobj
= Py_None
;
4218 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4219 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4223 PyObject
* _argo0
= 0;
4224 char *_kwnames
[] = { "self", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4237 wxPy_BEGIN_ALLOW_THREADS
;
4238 _result
= (long )wxPyShape_GetId(_arg0
);
4240 wxPy_END_ALLOW_THREADS
;
4241 } _resultobj
= Py_BuildValue("l",_result
);
4245 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4246 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4250 PyObject
* _argo0
= 0;
4251 PyObject
* _argo1
= 0;
4252 char *_kwnames
[] = { "self","pen", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_argo1
))
4258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetPen. Expected _wxPen_p.");
4272 wxPy_BEGIN_ALLOW_THREADS
;
4273 wxPyShape_SetPen(_arg0
,_arg1
);
4275 wxPy_END_ALLOW_THREADS
;
4276 } Py_INCREF(Py_None
);
4277 _resultobj
= Py_None
;
4281 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4282 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4286 PyObject
* _argo0
= 0;
4287 PyObject
* _argo1
= 0;
4288 char *_kwnames
[] = { "self","brush", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_argo1
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetBrush. Expected _wxBrush_p.");
4308 wxPy_BEGIN_ALLOW_THREADS
;
4309 wxPyShape_SetBrush(_arg0
,_arg1
);
4311 wxPy_END_ALLOW_THREADS
;
4312 } Py_INCREF(Py_None
);
4313 _resultobj
= Py_None
;
4317 static void wxPyShape_SetClientData(wxPyShape
*self
,PyObject
* userData
) {
4318 wxPyUserData
* data
= NULL
;
4320 data
= new wxPyUserData(userData
);
4321 self
->SetClientData(data
);
4323 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4327 PyObject
* _argo0
= 0;
4328 PyObject
* _obj1
= 0;
4329 char *_kwnames
[] = { "self","userData", NULL
};
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_obj1
))
4335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 wxPyShape_SetClientData(_arg0
,_arg1
);
4348 wxPy_END_ALLOW_THREADS
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 static PyObject
* wxPyShape_GetClientData(wxPyShape
*self
) {
4355 wxPyUserData
* data
= (wxPyUserData
*)self
->GetClientData();
4357 Py_INCREF(data
->m_obj
);
4364 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4368 PyObject
* _argo0
= 0;
4369 char *_kwnames
[] = { "self", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4382 wxPy_BEGIN_ALLOW_THREADS
;
4383 _result
= (PyObject
*)wxPyShape_GetClientData(_arg0
);
4385 wxPy_END_ALLOW_THREADS
;
4387 _resultobj
= _result
;
4392 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4393 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4397 PyObject
* _argo0
= 0;
4399 char *_kwnames
[] = { "self","show", NULL
};
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4411 _arg1
= (bool ) tempbool1
;
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 wxPyShape_Show(_arg0
,_arg1
);
4416 wxPy_END_ALLOW_THREADS
;
4417 } Py_INCREF(Py_None
);
4418 _resultobj
= Py_None
;
4422 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4423 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
* _resultobj
;
4427 PyObject
* _argo0
= 0;
4428 char *_kwnames
[] = { "self", NULL
};
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4441 wxPy_BEGIN_ALLOW_THREADS
;
4442 _result
= (bool )wxPyShape_IsShown(_arg0
);
4444 wxPy_END_ALLOW_THREADS
;
4445 } _resultobj
= Py_BuildValue("i",_result
);
4449 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4450 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4456 bool _arg4
= (bool ) TRUE
;
4457 PyObject
* _argo0
= 0;
4458 PyObject
* _argo1
= 0;
4459 int tempbool4
= (int) TRUE
;
4460 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4479 _arg4
= (bool ) tempbool4
;
4481 wxPy_BEGIN_ALLOW_THREADS
;
4482 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4484 wxPy_END_ALLOW_THREADS
;
4485 } Py_INCREF(Py_None
);
4486 _resultobj
= Py_None
;
4490 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4491 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4495 PyObject
* _argo0
= 0;
4496 PyObject
* _argo1
= 0;
4497 char *_kwnames
[] = { "self","dc", NULL
};
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4517 wxPy_BEGIN_ALLOW_THREADS
;
4518 wxPyShape_Erase(_arg0
,*_arg1
);
4520 wxPy_END_ALLOW_THREADS
;
4521 } Py_INCREF(Py_None
);
4522 _resultobj
= Py_None
;
4526 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4527 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4531 PyObject
* _argo0
= 0;
4532 PyObject
* _argo1
= 0;
4533 char *_kwnames
[] = { "self","dc", NULL
};
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 wxPyShape_EraseContents(_arg0
,*_arg1
);
4556 wxPy_END_ALLOW_THREADS
;
4557 } Py_INCREF(Py_None
);
4558 _resultobj
= Py_None
;
4562 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4563 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4567 PyObject
* _argo0
= 0;
4568 PyObject
* _argo1
= 0;
4569 char *_kwnames
[] = { "self","dc", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4589 wxPy_BEGIN_ALLOW_THREADS
;
4590 wxPyShape_Draw(_arg0
,*_arg1
);
4592 wxPy_END_ALLOW_THREADS
;
4593 } Py_INCREF(Py_None
);
4594 _resultobj
= Py_None
;
4598 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4599 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
* _resultobj
;
4602 PyObject
* _argo0
= 0;
4603 char *_kwnames
[] = { "self", NULL
};
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4616 wxPy_BEGIN_ALLOW_THREADS
;
4617 wxPyShape_Flash(_arg0
);
4619 wxPy_END_ALLOW_THREADS
;
4620 } Py_INCREF(Py_None
);
4621 _resultobj
= Py_None
;
4625 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4626 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4630 PyObject
* _argo0
= 0;
4631 PyObject
* _argo1
= 0;
4632 char *_kwnames
[] = { "self","dc", NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4652 wxPy_BEGIN_ALLOW_THREADS
;
4653 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4655 wxPy_END_ALLOW_THREADS
;
4656 } Py_INCREF(Py_None
);
4657 _resultobj
= Py_None
;
4661 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4662 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4666 PyObject
* _argo0
= 0;
4667 PyObject
* _argo1
= 0;
4668 char *_kwnames
[] = { "self","dc", NULL
};
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4688 wxPy_BEGIN_ALLOW_THREADS
;
4689 wxPyShape_DrawContents(_arg0
,*_arg1
);
4691 wxPy_END_ALLOW_THREADS
;
4692 } Py_INCREF(Py_None
);
4693 _resultobj
= Py_None
;
4697 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4698 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4703 bool _arg3
= (bool ) TRUE
;
4704 PyObject
* _argo0
= 0;
4705 int tempbool3
= (int) TRUE
;
4706 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4718 _arg3
= (bool ) tempbool3
;
4720 wxPy_BEGIN_ALLOW_THREADS
;
4721 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4723 wxPy_END_ALLOW_THREADS
;
4724 } Py_INCREF(Py_None
);
4725 _resultobj
= Py_None
;
4729 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4730 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4735 PyObject
* _argo0
= 0;
4736 char *_kwnames
[] = { "self","x","y", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4749 wxPy_BEGIN_ALLOW_THREADS
;
4750 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4752 wxPy_END_ALLOW_THREADS
;
4753 } Py_INCREF(Py_None
);
4754 _resultobj
= Py_None
;
4758 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4759 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
* _resultobj
;
4762 wxPyShapeCanvas
* _arg1
;
4763 PyObject
* _argo0
= 0;
4764 PyObject
* _argo1
= 0;
4765 char *_kwnames
[] = { "self","can", NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4785 wxPy_BEGIN_ALLOW_THREADS
;
4786 wxPyShape_Attach(_arg0
,_arg1
);
4788 wxPy_END_ALLOW_THREADS
;
4789 } Py_INCREF(Py_None
);
4790 _resultobj
= Py_None
;
4794 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4795 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
* _resultobj
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "self", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 wxPyShape_Detach(_arg0
);
4815 wxPy_END_ALLOW_THREADS
;
4816 } Py_INCREF(Py_None
);
4817 _resultobj
= Py_None
;
4821 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4822 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4826 PyObject
* _argo0
= 0;
4827 char *_kwnames
[] = { "self", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4840 wxPy_BEGIN_ALLOW_THREADS
;
4841 _result
= (bool )wxPyShape_Constrain(_arg0
);
4843 wxPy_END_ALLOW_THREADS
;
4844 } _resultobj
= Py_BuildValue("i",_result
);
4848 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4849 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4852 wxPyLineShape
* _arg1
;
4854 int _arg3
= (int ) 0;
4855 int _arg4
= (int ) 0;
4856 int _arg5
= (int ) -1;
4857 int _arg6
= (int ) -1;
4858 PyObject
* _argo0
= 0;
4859 PyObject
* _argo1
= 0;
4860 PyObject
* _argo2
= 0;
4861 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4881 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4888 wxPy_BEGIN_ALLOW_THREADS
;
4889 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4891 wxPy_END_ALLOW_THREADS
;
4892 } Py_INCREF(Py_None
);
4893 _resultobj
= Py_None
;
4897 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4898 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4902 wxPyLineShape
* _arg1
;
4903 PyObject
* _argo0
= 0;
4904 PyObject
* _argo1
= 0;
4905 char *_kwnames
[] = { "self","line", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4925 wxPy_BEGIN_ALLOW_THREADS
;
4926 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4928 wxPy_END_ALLOW_THREADS
;
4929 } _resultobj
= Py_BuildValue("i",_result
);
4933 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4934 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4938 PyObject
* _argo0
= 0;
4939 PyObject
* _obj1
= 0;
4940 char *_kwnames
[] = { "self","string", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4953 if (!PyString_Check(_obj1
)) {
4954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4957 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4960 wxPy_BEGIN_ALLOW_THREADS
;
4961 wxPyShape_AddText(_arg0
,*_arg1
);
4963 wxPy_END_ALLOW_THREADS
;
4964 } Py_INCREF(Py_None
);
4965 _resultobj
= Py_None
;
4973 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
4974 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4978 PyObject
* _argo0
= 0;
4979 char *_kwnames
[] = { "self", NULL
};
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
4986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
4993 wxPy_BEGIN_ALLOW_THREADS
;
4994 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
4996 wxPy_END_ALLOW_THREADS
;
4998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4999 _resultobj
= Py_BuildValue("s",_ptemp
);
5002 _resultobj
= Py_None
;
5007 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5008 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5012 PyObject
* _argo0
= 0;
5013 char *_kwnames
[] = { "self", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5027 wxPy_BEGIN_ALLOW_THREADS
;
5028 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5030 wxPy_END_ALLOW_THREADS
;
5032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5033 _resultobj
= Py_BuildValue("s",_ptemp
);
5036 _resultobj
= Py_None
;
5041 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5042 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5045 PyObject
* _argo0
= 0;
5046 char *_kwnames
[] = { "self", NULL
};
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5059 wxPy_BEGIN_ALLOW_THREADS
;
5060 wxPyShape_SetDefaultRegionSize(_arg0
);
5062 wxPy_END_ALLOW_THREADS
;
5063 } Py_INCREF(Py_None
);
5064 _resultobj
= Py_None
;
5068 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5069 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
* _resultobj
;
5074 int _arg3
= (int ) 0;
5075 PyObject
* _argo0
= 0;
5076 PyObject
* _argo1
= 0;
5077 PyObject
* _obj2
= 0;
5078 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5098 if (!PyString_Check(_obj2
)) {
5099 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5102 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5105 wxPy_BEGIN_ALLOW_THREADS
;
5106 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5108 wxPy_END_ALLOW_THREADS
;
5109 } Py_INCREF(Py_None
);
5110 _resultobj
= Py_None
;
5118 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5119 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
* _resultobj
;
5123 int _arg2
= (int ) 0;
5124 PyObject
* _argo0
= 0;
5125 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5138 wxPy_BEGIN_ALLOW_THREADS
;
5139 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5141 wxPy_END_ALLOW_THREADS
;
5142 } Py_INCREF(Py_None
);
5143 _resultobj
= Py_None
;
5147 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5148 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5152 int _arg1
= (int ) 0;
5153 PyObject
* _argo0
= 0;
5154 char *_kwnames
[] = { "self","regionId", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5167 wxPy_BEGIN_ALLOW_THREADS
;
5168 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5170 wxPy_END_ALLOW_THREADS
;
5171 } _resultobj
= Py_BuildValue("i",_result
);
5175 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5176 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5180 int _arg2
= (int ) 0;
5181 PyObject
* _argo0
= 0;
5182 PyObject
* _argo1
= 0;
5183 char *_kwnames
[] = { "self","font","regionId", NULL
};
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p.");
5203 wxPy_BEGIN_ALLOW_THREADS
;
5204 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5206 wxPy_END_ALLOW_THREADS
;
5207 } Py_INCREF(Py_None
);
5208 _resultobj
= Py_None
;
5212 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5213 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5217 int _arg1
= (int ) 0;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self","regionId", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5233 wxPy_BEGIN_ALLOW_THREADS
;
5234 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5236 wxPy_END_ALLOW_THREADS
;
5238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5239 _resultobj
= Py_BuildValue("s",_ptemp
);
5242 _resultobj
= Py_None
;
5247 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5248 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
* _resultobj
;
5252 int _arg2
= (int ) 0;
5253 PyObject
* _argo0
= 0;
5254 PyObject
* _obj1
= 0;
5255 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5268 if (!PyString_Check(_obj1
)) {
5269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5272 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5275 wxPy_BEGIN_ALLOW_THREADS
;
5276 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5278 wxPy_END_ALLOW_THREADS
;
5279 } Py_INCREF(Py_None
);
5280 _resultobj
= Py_None
;
5288 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5289 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
* _resultobj
;
5293 int _arg1
= (int ) 0;
5294 PyObject
* _argo0
= 0;
5295 char *_kwnames
[] = { "self","regionId", NULL
};
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5308 wxPy_BEGIN_ALLOW_THREADS
;
5309 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5311 wxPy_END_ALLOW_THREADS
;
5313 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5321 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5322 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
* _resultobj
;
5326 PyObject
* _argo0
= 0;
5327 char *_kwnames
[] = { "self", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5340 wxPy_BEGIN_ALLOW_THREADS
;
5341 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5343 wxPy_END_ALLOW_THREADS
;
5344 } _resultobj
= Py_BuildValue("i",_result
);
5348 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5349 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
* _resultobj
;
5353 int _arg2
= (int ) 0;
5354 PyObject
* _argo0
= 0;
5355 PyObject
* _obj1
= 0;
5356 char *_kwnames
[] = { "self","name","regionId", NULL
};
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5369 if (!PyString_Check(_obj1
)) {
5370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5373 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5376 wxPy_BEGIN_ALLOW_THREADS
;
5377 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5379 wxPy_END_ALLOW_THREADS
;
5380 } Py_INCREF(Py_None
);
5381 _resultobj
= Py_None
;
5389 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5390 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5395 PyObject
* _argo0
= 0;
5396 char *_kwnames
[] = { "self","regionId", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5409 wxPy_BEGIN_ALLOW_THREADS
;
5410 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5412 wxPy_END_ALLOW_THREADS
;
5414 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5422 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5423 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5428 PyObject
* _argo0
= 0;
5429 PyObject
* _obj1
= 0;
5430 char *_kwnames
[] = { "self","name", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5443 if (!PyString_Check(_obj1
)) {
5444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5447 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5450 wxPy_BEGIN_ALLOW_THREADS
;
5451 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5453 wxPy_END_ALLOW_THREADS
;
5454 } _resultobj
= Py_BuildValue("i",_result
);
5462 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5463 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5466 wxString
* _arg1
= (wxString
*) &"";
5467 PyObject
* _argo0
= 0;
5468 PyObject
* _obj1
= 0;
5469 char *_kwnames
[] = { "self","parentName", NULL
};
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5483 if (!PyString_Check(_obj1
)) {
5484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5487 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5490 wxPy_BEGIN_ALLOW_THREADS
;
5491 wxPyShape_NameRegions(_arg0
,*_arg1
);
5493 wxPy_END_ALLOW_THREADS
;
5494 } Py_INCREF(Py_None
);
5495 _resultobj
= Py_None
;
5503 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5504 wxList
& list
= self
->GetRegions();
5505 return wxPy_ConvertList(&list
, "wxShapeRegion");
5507 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "self", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5525 wxPy_BEGIN_ALLOW_THREADS
;
5526 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5528 wxPy_END_ALLOW_THREADS
;
5530 _resultobj
= _result
;
5535 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5536 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
* _resultobj
;
5539 wxShapeRegion
* _arg1
;
5540 PyObject
* _argo0
= 0;
5541 PyObject
* _argo1
= 0;
5542 char *_kwnames
[] = { "self","region", NULL
};
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5562 wxPy_BEGIN_ALLOW_THREADS
;
5563 wxPyShape_AddRegion(_arg0
,_arg1
);
5565 wxPy_END_ALLOW_THREADS
;
5566 } Py_INCREF(Py_None
);
5567 _resultobj
= Py_None
;
5571 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5572 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5575 PyObject
* _argo0
= 0;
5576 char *_kwnames
[] = { "self", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5589 wxPy_BEGIN_ALLOW_THREADS
;
5590 wxPyShape_ClearRegions(_arg0
);
5592 wxPy_END_ALLOW_THREADS
;
5593 } Py_INCREF(Py_None
);
5594 _resultobj
= Py_None
;
5598 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5599 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5616 wxPy_BEGIN_ALLOW_THREADS
;
5617 wxPyShape_AssignNewIds(_arg0
);
5619 wxPy_END_ALLOW_THREADS
;
5620 } Py_INCREF(Py_None
);
5621 _resultobj
= Py_None
;
5625 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5626 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5628 wxPyShape
* _result
;
5633 PyObject
* _argo0
= 0;
5634 PyObject
* _obj1
= 0;
5635 char *_kwnames
[] = { "self","regionName", NULL
};
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5652 if (!PyString_Check(_obj1
)) {
5653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5656 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5659 wxPy_BEGIN_ALLOW_THREADS
;
5660 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5662 wxPy_END_ALLOW_THREADS
;
5664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
5665 _resultobj
= Py_BuildValue("s",_ptemp
);
5668 _resultobj
= Py_None
;
5672 o
= PyInt_FromLong((long) (*_arg2
));
5673 _resultobj
= t_output_helper(_resultobj
, o
);
5682 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5683 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5686 wxStringList
* _arg1
;
5687 PyObject
* _argo0
= 0;
5688 PyObject
* _argo1
= 0;
5689 char *_kwnames
[] = { "self","list", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5709 wxPy_BEGIN_ALLOW_THREADS
;
5710 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5712 wxPy_END_ALLOW_THREADS
;
5713 } Py_INCREF(Py_None
);
5714 _resultobj
= Py_None
;
5718 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5719 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5722 int _arg1
= (int ) 0;
5723 PyObject
* _argo0
= 0;
5724 char *_kwnames
[] = { "self","regionId", NULL
};
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 wxPyShape_ClearText(_arg0
,_arg1
);
5740 wxPy_END_ALLOW_THREADS
;
5741 } Py_INCREF(Py_None
);
5742 _resultobj
= Py_None
;
5746 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5747 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
* _resultobj
;
5750 wxPyLineShape
* _arg1
;
5751 PyObject
* _argo0
= 0;
5752 PyObject
* _argo1
= 0;
5753 char *_kwnames
[] = { "self","line", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5773 wxPy_BEGIN_ALLOW_THREADS
;
5774 wxPyShape_RemoveLine(_arg0
,_arg1
);
5776 wxPy_END_ALLOW_THREADS
;
5777 } Py_INCREF(Py_None
);
5778 _resultobj
= Py_None
;
5782 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5783 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5792 int _arg4
= (int ) 0;
5793 int _arg5
= (int ) 1;
5794 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5795 PyObject
* _argo0
= 0;
5796 PyObject
* _argo6
= 0;
5797 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5816 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5823 wxPy_BEGIN_ALLOW_THREADS
;
5824 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5826 wxPy_END_ALLOW_THREADS
;
5827 } _resultobj
= Py_BuildValue("i",_result
);
5830 o
= PyFloat_FromDouble((double) (*_arg2
));
5831 _resultobj
= t_output_helper(_resultobj
, o
);
5835 o
= PyFloat_FromDouble((double) (*_arg3
));
5836 _resultobj
= t_output_helper(_resultobj
, o
);
5841 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5842 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5846 PyObject
* _argo0
= 0;
5847 char *_kwnames
[] = { "self", NULL
};
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5860 wxPy_BEGIN_ALLOW_THREADS
;
5861 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5863 wxPy_END_ALLOW_THREADS
;
5864 } _resultobj
= Py_BuildValue("i",_result
);
5868 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5869 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5874 PyObject
* _argo0
= 0;
5875 char *_kwnames
[] = { "self","attachment", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
5888 wxPy_BEGIN_ALLOW_THREADS
;
5889 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
5891 wxPy_END_ALLOW_THREADS
;
5892 } _resultobj
= Py_BuildValue("i",_result
);
5896 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5897 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5906 int _arg4
= (int ) 0;
5907 int _arg5
= (int ) 1;
5908 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5909 PyObject
* _argo0
= 0;
5910 PyObject
* _argo6
= 0;
5911 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
5930 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
5937 wxPy_BEGIN_ALLOW_THREADS
;
5938 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5940 wxPy_END_ALLOW_THREADS
;
5941 } _resultobj
= Py_BuildValue("i",_result
);
5944 o
= PyFloat_FromDouble((double) (*_arg2
));
5945 _resultobj
= t_output_helper(_resultobj
, o
);
5949 o
= PyFloat_FromDouble((double) (*_arg3
));
5950 _resultobj
= t_output_helper(_resultobj
, o
);
5955 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5956 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5958 wxRealPoint
* _result
;
5960 wxRealPoint
* _arg1
;
5961 wxRealPoint
* _arg2
;
5964 wxPyLineShape
* _arg5
;
5965 PyObject
* _argo0
= 0;
5967 PyObject
* _obj1
= 0;
5969 PyObject
* _obj2
= 0;
5970 PyObject
* _argo5
= 0;
5971 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
5986 if (! wxRealPoint_helper(_obj1
, &_arg1
))
5991 if (! wxRealPoint_helper(_obj2
, &_arg2
))
5995 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6005 wxPy_END_ALLOW_THREADS
;
6006 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6007 _resultobj
= Py_BuildValue("s",_ptemp
);
6011 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6012 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
* _resultobj
;
6017 wxRealPoint
* _arg2
;
6018 wxRealPoint
* _arg3
;
6019 PyObject
* _argo0
= 0;
6021 PyObject
* _obj2
= 0;
6023 PyObject
* _obj3
= 0;
6024 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6038 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6043 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6047 wxPy_BEGIN_ALLOW_THREADS
;
6048 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6050 wxPy_END_ALLOW_THREADS
;
6051 } _resultobj
= Py_BuildValue("i",_result
);
6055 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6056 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
* _resultobj
;
6060 int _arg2
= (int ) -1;
6061 bool _arg3
= (bool ) FALSE
;
6062 PyObject
* _argo0
= 0;
6063 PyObject
* _argo1
= 0;
6064 int tempbool3
= (int) FALSE
;
6065 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6084 _arg3
= (bool ) tempbool3
;
6086 wxPy_BEGIN_ALLOW_THREADS
;
6087 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6089 wxPy_END_ALLOW_THREADS
;
6090 } Py_INCREF(Py_None
);
6091 _resultobj
= Py_None
;
6095 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6096 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
* _resultobj
;
6100 int _arg2
= (int ) -1;
6101 bool _arg3
= (bool ) FALSE
;
6102 PyObject
* _argo0
= 0;
6103 PyObject
* _argo1
= 0;
6104 int tempbool3
= (int) FALSE
;
6105 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6124 _arg3
= (bool ) tempbool3
;
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6129 wxPy_END_ALLOW_THREADS
;
6130 } Py_INCREF(Py_None
);
6131 _resultobj
= Py_None
;
6135 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6136 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6141 wxPyLineShape
* _arg2
;
6144 PyObject
* _argo0
= 0;
6145 PyObject
* _argo1
= 0;
6146 PyObject
* _argo2
= 0;
6147 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6167 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6174 wxPy_BEGIN_ALLOW_THREADS
;
6175 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6177 wxPy_END_ALLOW_THREADS
;
6178 } _resultobj
= Py_BuildValue("i",_result
);
6182 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6183 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6184 self
->ApplyAttachmentOrdering(*list
);
6187 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
* _resultobj
;
6191 PyObject
* _argo0
= 0;
6192 PyObject
* _obj1
= 0;
6193 char *_kwnames
[] = { "self","linesToSort", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6209 wxPy_BEGIN_ALLOW_THREADS
;
6210 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6212 wxPy_END_ALLOW_THREADS
;
6213 } Py_INCREF(Py_None
);
6214 _resultobj
= Py_None
;
6218 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6219 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
* _resultobj
;
6221 wxRealPoint
* _result
;
6224 PyObject
* _argo0
= 0;
6225 char *_kwnames
[] = { "self","attachment", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6239 wxPy_BEGIN_ALLOW_THREADS
;
6240 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6242 wxPy_END_ALLOW_THREADS
;
6243 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6244 _resultobj
= Py_BuildValue("s",_ptemp
);
6248 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6249 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6254 wxRealPoint
* _arg2
;
6255 wxRealPoint
* _arg3
;
6256 wxRealPoint
* _arg4
;
6257 wxRealPoint
* _arg5
;
6258 PyObject
* _argo0
= 0;
6260 PyObject
* _obj2
= 0;
6262 PyObject
* _obj3
= 0;
6264 PyObject
* _obj4
= 0;
6266 PyObject
* _obj5
= 0;
6267 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6281 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6286 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6291 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6296 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6300 wxPy_BEGIN_ALLOW_THREADS
;
6301 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6303 wxPy_END_ALLOW_THREADS
;
6304 } _resultobj
= Py_BuildValue("i",_result
);
6308 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6309 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
* _resultobj
;
6315 wxRealPoint
* _arg3
;
6316 wxRealPoint
* _arg4
;
6317 PyObject
* _argo0
= 0;
6319 PyObject
* _obj3
= 0;
6321 PyObject
* _obj4
= 0;
6322 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6336 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6341 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6345 wxPy_BEGIN_ALLOW_THREADS
;
6346 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6348 wxPy_END_ALLOW_THREADS
;
6349 } _resultobj
= Py_BuildValue("i",_result
);
6353 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6354 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6359 PyObject
* _argo0
= 0;
6360 char *_kwnames
[] = { "self","attachment", NULL
};
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6373 wxPy_BEGIN_ALLOW_THREADS
;
6374 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6376 wxPy_END_ALLOW_THREADS
;
6377 } _resultobj
= Py_BuildValue("i",_result
);
6381 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6382 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
* _resultobj
;
6386 PyObject
* _argo0
= 0;
6387 char *_kwnames
[] = { "self","len", NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
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_SetBranchNeckLength. Expected _wxPyShape_p.");
6400 wxPy_BEGIN_ALLOW_THREADS
;
6401 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6403 wxPy_END_ALLOW_THREADS
;
6404 } Py_INCREF(Py_None
);
6405 _resultobj
= Py_None
;
6409 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6410 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6414 PyObject
* _argo0
= 0;
6415 char *_kwnames
[] = { "self", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6428 wxPy_BEGIN_ALLOW_THREADS
;
6429 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6431 wxPy_END_ALLOW_THREADS
;
6432 } _resultobj
= Py_BuildValue("i",_result
);
6436 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6437 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
* _resultobj
;
6441 PyObject
* _argo0
= 0;
6442 char *_kwnames
[] = { "self","len", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
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_SetBranchStemLength. Expected _wxPyShape_p.");
6455 wxPy_BEGIN_ALLOW_THREADS
;
6456 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6458 wxPy_END_ALLOW_THREADS
;
6459 } Py_INCREF(Py_None
);
6460 _resultobj
= Py_None
;
6464 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6465 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
* _resultobj
;
6469 PyObject
* _argo0
= 0;
6470 char *_kwnames
[] = { "self", NULL
};
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6483 wxPy_BEGIN_ALLOW_THREADS
;
6484 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6486 wxPy_END_ALLOW_THREADS
;
6487 } _resultobj
= Py_BuildValue("i",_result
);
6491 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6492 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6496 PyObject
* _argo0
= 0;
6497 char *_kwnames
[] = { "self","len", NULL
};
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
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_SetBranchSpacing. Expected _wxPyShape_p.");
6510 wxPy_BEGIN_ALLOW_THREADS
;
6511 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6513 wxPy_END_ALLOW_THREADS
;
6514 } Py_INCREF(Py_None
);
6515 _resultobj
= Py_None
;
6519 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6520 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
* _resultobj
;
6524 PyObject
* _argo0
= 0;
6525 char *_kwnames
[] = { "self", NULL
};
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6538 wxPy_BEGIN_ALLOW_THREADS
;
6539 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6541 wxPy_END_ALLOW_THREADS
;
6542 } _resultobj
= Py_BuildValue("i",_result
);
6546 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6547 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
* _resultobj
;
6551 PyObject
* _argo0
= 0;
6552 char *_kwnames
[] = { "self","style", NULL
};
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
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_SetBranchStyle. Expected _wxPyShape_p.");
6565 wxPy_BEGIN_ALLOW_THREADS
;
6566 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6568 wxPy_END_ALLOW_THREADS
;
6569 } Py_INCREF(Py_None
);
6570 _resultobj
= Py_None
;
6574 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6575 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6579 PyObject
* _argo0
= 0;
6580 char *_kwnames
[] = { "self", NULL
};
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
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_GetBranchStyle. Expected _wxPyShape_p.");
6593 wxPy_BEGIN_ALLOW_THREADS
;
6594 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6596 wxPy_END_ALLOW_THREADS
;
6597 } _resultobj
= Py_BuildValue("l",_result
);
6601 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6602 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6607 PyObject
* _argo0
= 0;
6608 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_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_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6621 wxPy_BEGIN_ALLOW_THREADS
;
6622 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6624 wxPy_END_ALLOW_THREADS
;
6625 } _resultobj
= Py_BuildValue("i",_result
);
6629 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6630 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6635 PyObject
* _argo0
= 0;
6636 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6649 wxPy_BEGIN_ALLOW_THREADS
;
6650 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6652 wxPy_END_ALLOW_THREADS
;
6653 } _resultobj
= Py_BuildValue("i",_result
);
6657 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6658 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6662 PyObject
* _argo0
= 0;
6663 char *_kwnames
[] = { "self", NULL
};
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6676 wxPy_BEGIN_ALLOW_THREADS
;
6677 _result
= (bool )wxPyShape_Draggable(_arg0
);
6679 wxPy_END_ALLOW_THREADS
;
6680 } _resultobj
= Py_BuildValue("i",_result
);
6684 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6685 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
* _resultobj
;
6690 PyObject
* _argo0
= 0;
6691 PyObject
* _argo1
= 0;
6692 char *_kwnames
[] = { "self","image", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6712 wxPy_BEGIN_ALLOW_THREADS
;
6713 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6715 wxPy_END_ALLOW_THREADS
;
6716 } _resultobj
= Py_BuildValue("i",_result
);
6720 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6721 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
* _resultobj
;
6723 wxPyShape
* _result
;
6725 bool _arg1
= (bool ) TRUE
;
6726 bool _arg2
= (bool ) TRUE
;
6727 PyObject
* _argo0
= 0;
6728 int tempbool1
= (int) TRUE
;
6729 int tempbool2
= (int) TRUE
;
6730 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6743 _arg1
= (bool ) tempbool1
;
6744 _arg2
= (bool ) tempbool2
;
6746 wxPy_BEGIN_ALLOW_THREADS
;
6747 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6749 wxPy_END_ALLOW_THREADS
;
6751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
6752 _resultobj
= Py_BuildValue("s",_ptemp
);
6755 _resultobj
= Py_None
;
6760 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6761 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6765 PyObject
* _argo0
= 0;
6766 PyObject
* _argo1
= 0;
6767 char *_kwnames
[] = { "self","copy", NULL
};
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6780 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6787 wxPy_BEGIN_ALLOW_THREADS
;
6788 wxPyShape_Copy(_arg0
,*_arg1
);
6790 wxPy_END_ALLOW_THREADS
;
6791 } Py_INCREF(Py_None
);
6792 _resultobj
= Py_None
;
6796 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6797 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
* _resultobj
;
6801 PyObject
* _argo0
= 0;
6802 PyObject
* _argo1
= 0;
6803 char *_kwnames
[] = { "self","copy", NULL
};
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6823 wxPy_BEGIN_ALLOW_THREADS
;
6824 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6826 wxPy_END_ALLOW_THREADS
;
6827 } Py_INCREF(Py_None
);
6828 _resultobj
= Py_None
;
6832 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6833 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6839 PyObject
* _argo0
= 0;
6840 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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_Rotate. Expected _wxPyShape_p.");
6853 wxPy_BEGIN_ALLOW_THREADS
;
6854 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6856 wxPy_END_ALLOW_THREADS
;
6857 } Py_INCREF(Py_None
);
6858 _resultobj
= Py_None
;
6862 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6863 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
* _resultobj
;
6867 PyObject
* _argo0
= 0;
6868 char *_kwnames
[] = { "self", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6881 wxPy_BEGIN_ALLOW_THREADS
;
6882 _result
= (double )wxPyShape_GetRotation(_arg0
);
6884 wxPy_END_ALLOW_THREADS
;
6885 } _resultobj
= Py_BuildValue("d",_result
);
6889 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
6890 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6893 PyObject
* _argo0
= 0;
6894 char *_kwnames
[] = { "self", NULL
};
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
6900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
6907 wxPy_BEGIN_ALLOW_THREADS
;
6908 wxPyShape_ClearAttachments(_arg0
);
6910 wxPy_END_ALLOW_THREADS
;
6911 } Py_INCREF(Py_None
);
6912 _resultobj
= Py_None
;
6916 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
6917 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
* _resultobj
;
6921 PyObject
* _argo0
= 0;
6922 PyObject
* _argo1
= 0;
6923 char *_kwnames
[] = { "self","dc", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
6929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
6936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
6943 wxPy_BEGIN_ALLOW_THREADS
;
6944 wxPyShape_Recentre(_arg0
,*_arg1
);
6946 wxPy_END_ALLOW_THREADS
;
6947 } Py_INCREF(Py_None
);
6948 _resultobj
= Py_None
;
6952 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
6953 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
* _resultobj
;
6957 PyObject
* _argo0
= 0;
6958 PyObject
* _argo1
= 0;
6959 char *_kwnames
[] = { "self","list", NULL
};
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
6965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
6972 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
6979 wxPy_BEGIN_ALLOW_THREADS
;
6980 wxPyShape_ClearPointList(_arg0
,*_arg1
);
6982 wxPy_END_ALLOW_THREADS
;
6983 } Py_INCREF(Py_None
);
6984 _resultobj
= Py_None
;
6988 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6989 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6992 PyObject
* _argo0
= 0;
6993 char *_kwnames
[] = { "self", NULL
};
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
6999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7006 wxPy_BEGIN_ALLOW_THREADS
;
7007 wxPyShape_base_OnDelete(_arg0
);
7009 wxPy_END_ALLOW_THREADS
;
7010 } Py_INCREF(Py_None
);
7011 _resultobj
= Py_None
;
7015 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7016 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
* _resultobj
;
7020 PyObject
* _argo0
= 0;
7021 PyObject
* _argo1
= 0;
7022 char *_kwnames
[] = { "self","dc", NULL
};
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7042 wxPy_BEGIN_ALLOW_THREADS
;
7043 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7045 wxPy_END_ALLOW_THREADS
;
7046 } Py_INCREF(Py_None
);
7047 _resultobj
= Py_None
;
7051 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7052 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
* _resultobj
;
7056 PyObject
* _argo0
= 0;
7057 PyObject
* _argo1
= 0;
7058 char *_kwnames
[] = { "self","dc", NULL
};
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7078 wxPy_BEGIN_ALLOW_THREADS
;
7079 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7081 wxPy_END_ALLOW_THREADS
;
7082 } Py_INCREF(Py_None
);
7083 _resultobj
= Py_None
;
7087 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7088 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
* _resultobj
;
7092 bool _arg2
= (bool ) FALSE
;
7093 PyObject
* _argo0
= 0;
7094 PyObject
* _argo1
= 0;
7095 int tempbool2
= (int) FALSE
;
7096 char *_kwnames
[] = { "self","dc","erase", NULL
};
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7115 _arg2
= (bool ) tempbool2
;
7117 wxPy_BEGIN_ALLOW_THREADS
;
7118 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7120 wxPy_END_ALLOW_THREADS
;
7121 } Py_INCREF(Py_None
);
7122 _resultobj
= Py_None
;
7126 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7127 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
* _resultobj
;
7131 PyObject
* _argo0
= 0;
7132 PyObject
* _argo1
= 0;
7133 char *_kwnames
[] = { "self","dc", NULL
};
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7146 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7153 wxPy_BEGIN_ALLOW_THREADS
;
7154 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7156 wxPy_END_ALLOW_THREADS
;
7157 } Py_INCREF(Py_None
);
7158 _resultobj
= Py_None
;
7162 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7163 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
* _resultobj
;
7167 PyObject
* _argo0
= 0;
7168 PyObject
* _argo1
= 0;
7169 char *_kwnames
[] = { "self","dc", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7189 wxPy_BEGIN_ALLOW_THREADS
;
7190 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7192 wxPy_END_ALLOW_THREADS
;
7193 } Py_INCREF(Py_None
);
7194 _resultobj
= Py_None
;
7198 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7199 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7203 PyObject
* _argo0
= 0;
7204 PyObject
* _argo1
= 0;
7205 char *_kwnames
[] = { "self","dc", NULL
};
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7218 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7219 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7225 wxPy_BEGIN_ALLOW_THREADS
;
7226 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7228 wxPy_END_ALLOW_THREADS
;
7229 } Py_INCREF(Py_None
);
7230 _resultobj
= Py_None
;
7234 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7235 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
* _resultobj
;
7239 PyObject
* _argo0
= 0;
7240 PyObject
* _argo1
= 0;
7241 char *_kwnames
[] = { "self","dc", NULL
};
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7254 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7255 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7261 wxPy_BEGIN_ALLOW_THREADS
;
7262 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7264 wxPy_END_ALLOW_THREADS
;
7265 } Py_INCREF(Py_None
);
7266 _resultobj
= Py_None
;
7270 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7271 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7276 int _arg3
= (int ) 0;
7277 int _arg4
= (int ) 0;
7278 PyObject
* _argo0
= 0;
7279 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7295 wxPy_END_ALLOW_THREADS
;
7296 } Py_INCREF(Py_None
);
7297 _resultobj
= Py_None
;
7301 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7302 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
* _resultobj
;
7307 int _arg3
= (int ) 0;
7308 int _arg4
= (int ) 0;
7309 PyObject
* _argo0
= 0;
7310 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7323 wxPy_BEGIN_ALLOW_THREADS
;
7324 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7326 wxPy_END_ALLOW_THREADS
;
7327 } Py_INCREF(Py_None
);
7328 _resultobj
= Py_None
;
7332 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7333 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
* _resultobj
;
7338 int _arg3
= (int ) 0;
7339 int _arg4
= (int ) 0;
7340 PyObject
* _argo0
= 0;
7341 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7354 wxPy_BEGIN_ALLOW_THREADS
;
7355 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7357 wxPy_END_ALLOW_THREADS
;
7358 } Py_INCREF(Py_None
);
7359 _resultobj
= Py_None
;
7363 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7364 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
* _resultobj
;
7369 PyObject
* _argo0
= 0;
7370 char *_kwnames
[] = { "self","x","y", NULL
};
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7383 wxPy_BEGIN_ALLOW_THREADS
;
7384 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7386 wxPy_END_ALLOW_THREADS
;
7387 } Py_INCREF(Py_None
);
7388 _resultobj
= Py_None
;
7392 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7393 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
* _resultobj
;
7402 bool _arg6
= (bool ) TRUE
;
7403 PyObject
* _argo0
= 0;
7404 PyObject
* _argo1
= 0;
7405 int tempbool6
= (int) TRUE
;
7406 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7425 _arg6
= (bool ) tempbool6
;
7427 wxPy_BEGIN_ALLOW_THREADS
;
7428 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7430 wxPy_END_ALLOW_THREADS
;
7431 } _resultobj
= Py_BuildValue("i",_result
);
7435 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7436 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
* _resultobj
;
7444 bool _arg6
= (bool ) TRUE
;
7445 PyObject
* _argo0
= 0;
7446 PyObject
* _argo1
= 0;
7447 int tempbool6
= (int) TRUE
;
7448 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7467 _arg6
= (bool ) tempbool6
;
7469 wxPy_BEGIN_ALLOW_THREADS
;
7470 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7472 wxPy_END_ALLOW_THREADS
;
7473 } Py_INCREF(Py_None
);
7474 _resultobj
= Py_None
;
7478 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7479 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7485 int _arg4
= (int ) 0;
7486 int _arg5
= (int ) 0;
7487 PyObject
* _argo0
= 0;
7489 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7501 _arg1
= (bool ) tempbool1
;
7503 wxPy_BEGIN_ALLOW_THREADS
;
7504 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7506 wxPy_END_ALLOW_THREADS
;
7507 } Py_INCREF(Py_None
);
7508 _resultobj
= Py_None
;
7512 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7513 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7518 int _arg3
= (int ) 0;
7519 int _arg4
= (int ) 0;
7520 PyObject
* _argo0
= 0;
7521 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7534 wxPy_BEGIN_ALLOW_THREADS
;
7535 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7537 wxPy_END_ALLOW_THREADS
;
7538 } Py_INCREF(Py_None
);
7539 _resultobj
= Py_None
;
7543 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7544 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7549 int _arg3
= (int ) 0;
7550 int _arg4
= (int ) 0;
7551 PyObject
* _argo0
= 0;
7552 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7565 wxPy_BEGIN_ALLOW_THREADS
;
7566 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7568 wxPy_END_ALLOW_THREADS
;
7569 } Py_INCREF(Py_None
);
7570 _resultobj
= Py_None
;
7574 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7575 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
* _resultobj
;
7581 int _arg4
= (int ) 0;
7582 int _arg5
= (int ) 0;
7583 PyObject
* _argo0
= 0;
7585 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7597 _arg1
= (bool ) tempbool1
;
7599 wxPy_BEGIN_ALLOW_THREADS
;
7600 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7602 wxPy_END_ALLOW_THREADS
;
7603 } Py_INCREF(Py_None
);
7604 _resultobj
= Py_None
;
7608 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7609 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
* _resultobj
;
7614 int _arg3
= (int ) 0;
7615 int _arg4
= (int ) 0;
7616 PyObject
* _argo0
= 0;
7617 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7630 wxPy_BEGIN_ALLOW_THREADS
;
7631 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7633 wxPy_END_ALLOW_THREADS
;
7634 } Py_INCREF(Py_None
);
7635 _resultobj
= Py_None
;
7639 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7640 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
* _resultobj
;
7645 int _arg3
= (int ) 0;
7646 int _arg4
= (int ) 0;
7647 PyObject
* _argo0
= 0;
7648 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7661 wxPy_BEGIN_ALLOW_THREADS
;
7662 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7664 wxPy_END_ALLOW_THREADS
;
7665 } Py_INCREF(Py_None
);
7666 _resultobj
= Py_None
;
7670 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7671 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7679 PyObject
* _argo0
= 0;
7680 PyObject
* _argo1
= 0;
7681 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7701 wxPy_BEGIN_ALLOW_THREADS
;
7702 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7704 wxPy_END_ALLOW_THREADS
;
7705 } Py_INCREF(Py_None
);
7706 _resultobj
= Py_None
;
7710 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7711 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
* _resultobj
;
7715 PyObject
* _argo0
= 0;
7716 PyObject
* _argo1
= 0;
7717 char *_kwnames
[] = { "self","dc", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7737 wxPy_BEGIN_ALLOW_THREADS
;
7738 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7740 wxPy_END_ALLOW_THREADS
;
7741 } Py_INCREF(Py_None
);
7742 _resultobj
= Py_None
;
7746 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7747 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
* _resultobj
;
7751 PyObject
* _argo0
= 0;
7752 PyObject
* _argo1
= 0;
7753 char *_kwnames
[] = { "self","dc", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7773 wxPy_BEGIN_ALLOW_THREADS
;
7774 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7776 wxPy_END_ALLOW_THREADS
;
7777 } Py_INCREF(Py_None
);
7778 _resultobj
= Py_None
;
7782 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7783 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
* _resultobj
;
7787 bool _arg2
= (bool ) TRUE
;
7788 PyObject
* _argo0
= 0;
7789 PyObject
* _argo1
= 0;
7790 int tempbool2
= (int) TRUE
;
7791 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7810 _arg2
= (bool ) tempbool2
;
7812 wxPy_BEGIN_ALLOW_THREADS
;
7813 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7815 wxPy_END_ALLOW_THREADS
;
7816 } Py_INCREF(Py_None
);
7817 _resultobj
= Py_None
;
7821 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7822 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
* _resultobj
;
7825 wxPyControlPoint
* _arg1
;
7829 int _arg5
= (int ) 0;
7830 int _arg6
= (int ) 0;
7831 PyObject
* _argo0
= 0;
7832 PyObject
* _argo1
= 0;
7834 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7853 _arg2
= (bool ) tempbool2
;
7855 wxPy_BEGIN_ALLOW_THREADS
;
7856 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7858 wxPy_END_ALLOW_THREADS
;
7859 } Py_INCREF(Py_None
);
7860 _resultobj
= Py_None
;
7864 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7865 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
* _resultobj
;
7868 wxPyControlPoint
* _arg1
;
7871 int _arg4
= (int ) 0;
7872 int _arg5
= (int ) 0;
7873 PyObject
* _argo0
= 0;
7874 PyObject
* _argo1
= 0;
7875 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
7888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7895 wxPy_BEGIN_ALLOW_THREADS
;
7896 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7898 wxPy_END_ALLOW_THREADS
;
7899 } Py_INCREF(Py_None
);
7900 _resultobj
= Py_None
;
7904 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7905 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
* _resultobj
;
7908 wxPyControlPoint
* _arg1
;
7911 int _arg4
= (int ) 0;
7912 int _arg5
= (int ) 0;
7913 PyObject
* _argo0
= 0;
7914 PyObject
* _argo1
= 0;
7915 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
7928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7935 wxPy_BEGIN_ALLOW_THREADS
;
7936 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7938 wxPy_END_ALLOW_THREADS
;
7939 } Py_INCREF(Py_None
);
7940 _resultobj
= Py_None
;
7944 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7945 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
* _resultobj
;
7950 PyObject
* _argo0
= 0;
7951 char *_kwnames
[] = { "self","w","h", NULL
};
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
7964 wxPy_BEGIN_ALLOW_THREADS
;
7965 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
7967 wxPy_END_ALLOW_THREADS
;
7968 } Py_INCREF(Py_None
);
7969 _resultobj
= Py_None
;
7973 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7974 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7979 PyObject
* _argo0
= 0;
7980 char *_kwnames
[] = { "self","w","h", NULL
};
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
7993 wxPy_BEGIN_ALLOW_THREADS
;
7994 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
7996 wxPy_END_ALLOW_THREADS
;
7997 } Py_INCREF(Py_None
);
7998 _resultobj
= Py_None
;
8002 static PyMethodDef oglbasiccMethods
[] = {
8003 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxPyShape_Destroy", (PyCFunction
) _wrap_wxPyShape_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxPyShape__setSelf", (PyCFunction
) _wrap_wxPyShape__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxPyShapeEvtHandler__setSelf", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8240 * This table is used by the pointer type-checker
8242 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8243 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8244 { "_wxEvent","_class_wxEvent",0},
8245 { "_class_wxActivateEvent","_wxActivateEvent",0},
8246 { "_signed_long","_long",0},
8247 { "_wxMenuEvent","_class_wxMenuEvent",0},
8248 { "_class_wxProcessEvent","_wxProcessEvent",0},
8249 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
8250 { "_class_wxFSFile","_wxFSFile",0},
8251 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8252 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8253 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8254 { "_wxBMPHandler","_class_wxBMPHandler",0},
8255 { "_wxImage","_class_wxImage",0},
8256 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
8257 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
8258 { "_class_wxDateTime","_wxDateTime",0},
8259 { "_wxPrintQuality","_wxCoord",0},
8260 { "_wxPrintQuality","_int",0},
8261 { "_wxPrintQuality","_signed_int",0},
8262 { "_wxPrintQuality","_unsigned_int",0},
8263 { "_wxPrintQuality","_wxWindowID",0},
8264 { "_wxPrintQuality","_uint",0},
8265 { "_wxPrintQuality","_EBool",0},
8266 { "_wxPrintQuality","_size_t",0},
8267 { "_wxPrintQuality","_time_t",0},
8268 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8269 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8270 { "_wxFontData","_class_wxFontData",0},
8271 { "_class_wxRegionIterator","_wxRegionIterator",0},
8272 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8273 { "_class_wxMenuBar","_wxMenuBar",0},
8274 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8275 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
8276 { "_class_wxEvtHandler","_wxEvtHandler",0},
8277 { "_wxPaintEvent","_class_wxPaintEvent",0},
8278 { "_wxGIFHandler","_class_wxGIFHandler",0},
8279 { "_wxPySizer","_class_wxPySizer",0},
8280 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
8281 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8282 { "_wxCursor","_class_wxCursor",0},
8283 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8284 { "_wxPyProcess","_class_wxPyProcess",0},
8285 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8286 { "_wxImageHandler","_class_wxImageHandler",0},
8287 { "_wxLog","_class_wxLog",0},
8288 { "_class_wxToolBarBase","_wxToolBarBase",0},
8289 { "_wxMask","_class_wxMask",0},
8290 { "_wxToolTip","_class_wxToolTip",0},
8291 { "_wxPNGHandler","_class_wxPNGHandler",0},
8292 { "_class_wxColourData","_wxColourData",0},
8293 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8294 { "_wxPrinter","_class_wxPrinter",0},
8295 { "_wxPen","_class_wxPen",0},
8296 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8297 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
8298 { "_byte","_unsigned_char",0},
8299 { "_wxDataObject","_class_wxDataObject",0},
8300 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
8301 { "_wxStaticBox","_class_wxStaticBox",0},
8302 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8303 { "_wxPyDropSource","_class_wxPyDropSource",0},
8304 { "_wxChoice","_class_wxChoice",0},
8305 { "_wxSlider","_class_wxSlider",0},
8306 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8307 { "_wxPyPrintout","_class_wxPyPrintout",0},
8308 { "_wxShapeRegion","_class_wxShapeRegion",0},
8309 { "_long","_unsigned_long",0},
8310 { "_long","_signed_long",0},
8311 { "_wxImageList","_class_wxImageList",0},
8312 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8313 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8314 { "_wxBitmapButton","_class_wxBitmapButton",0},
8315 { "_wxSashWindow","_class_wxSashWindow",0},
8316 { "_class_wxSizer","_wxSizer",0},
8317 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
8318 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8319 { "_wxGridSizer","_class_wxGridSizer",0},
8320 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8321 { "_class_wxClipboard","_wxClipboard",0},
8322 { "_class_wxGauge","_wxGauge",0},
8323 { "_class_wxSashEvent","_wxSashEvent",0},
8324 { "_wxDC","_class_wxDC",0},
8325 { "_wxSizerItem","_class_wxSizerItem",0},
8326 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8327 { "_wxListEvent","_class_wxListEvent",0},
8328 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8329 { "_wxProgressDialog","_class_wxProgressDialog",0},
8330 { "_class_wxBMPHandler","_wxBMPHandler",0},
8331 { "_wxPrintPreview","_class_wxPrintPreview",0},
8332 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
8333 { "_wxSpinEvent","_class_wxSpinEvent",0},
8334 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8335 { "_size_t","_wxCoord",0},
8336 { "_size_t","_wxPrintQuality",0},
8337 { "_size_t","_time_t",0},
8338 { "_size_t","_unsigned_int",0},
8339 { "_size_t","_int",0},
8340 { "_size_t","_wxWindowID",0},
8341 { "_size_t","_uint",0},
8342 { "_class_wxRealPoint","_wxRealPoint",0},
8343 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8344 { "_wxPNMHandler","_class_wxPNMHandler",0},
8345 { "_wxPrinterDC","_class_wxPrinterDC",0},
8346 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8347 { "_wxLogGui","_class_wxLogGui",0},
8348 { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8349 { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8350 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
8351 { "_class_wxMenuItem","_wxMenuItem",0},
8352 { "_class_wxPaintEvent","_wxPaintEvent",0},
8353 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8354 { "_class_wxStatusBar","_wxStatusBar",0},
8355 { "_class_wxGIFHandler","_wxGIFHandler",0},
8356 { "_class_wxPySizer","_wxPySizer",0},
8357 { "_wxPanel","_class_wxPanel",0},
8358 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8359 { "_wxCheckBox","_class_wxCheckBox",0},
8360 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8361 { "_wxPyEvent","_class_wxPyEvent",0},
8362 { "_wxTextCtrl","_class_wxTextCtrl",0},
8363 { "_class_wxMask","_wxMask",0},
8364 { "_wxTextDataObject","_class_wxTextDataObject",0},
8365 { "_class_wxKeyEvent","_wxKeyEvent",0},
8366 { "_class_wxToolTip","_wxToolTip",0},
8367 { "_class_wxPNGHandler","_wxPNGHandler",0},
8368 { "_wxFileConfig","_class_wxFileConfig",0},
8369 { "_wxColour","_class_wxColour",0},
8370 { "_class_wxDialog","_wxDialog",0},
8371 { "_wxBusyCursor","_class_wxBusyCursor",0},
8372 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8373 { "_class_wxPrinter","_wxPrinter",0},
8374 { "_class_wxFileDataObject","_wxFileDataObject",0},
8375 { "_wxIdleEvent","_class_wxIdleEvent",0},
8376 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8377 { "_wxToolBar","_class_wxToolBar",0},
8378 { "_class_wxDataObject","_wxDataObject",0},
8379 { "_wxCaret","_class_wxCaret",0},
8380 { "_wxStaticLine","_class_wxStaticLine",0},
8381 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8382 { "_wxBrush","_class_wxBrush",0},
8383 { "_wxMiniFrame","_class_wxMiniFrame",0},
8384 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8385 { "_class_wxPyPrintout","_wxPyPrintout",0},
8386 { "_wxDataFormat","_class_wxDataFormat",0},
8387 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8388 { "_class_wxSashWindow","_wxSashWindow",0},
8389 { "_wxShowEvent","_class_wxShowEvent",0},
8390 { "_uint","_wxCoord",0},
8391 { "_uint","_wxPrintQuality",0},
8392 { "_uint","_time_t",0},
8393 { "_uint","_size_t",0},
8394 { "_uint","_unsigned_int",0},
8395 { "_uint","_int",0},
8396 { "_uint","_wxWindowID",0},
8397 { "_wxChar","_char",0},
8398 { "_wxPyValidator","_class_wxPyValidator",0},
8399 { "_class_wxEvent","_wxEvent",0},
8400 { "_wxCheckListBox","_class_wxCheckListBox",0},
8401 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8402 { "_wxRect","_class_wxRect",0},
8403 { "_wxCommandEvent","_class_wxCommandEvent",0},
8404 { "_wxSizeEvent","_class_wxSizeEvent",0},
8405 { "_class_wxLogWindow","_wxLogWindow",0},
8406 { "_class_wxImage","_wxImage",0},
8407 { "_wxPoint","_class_wxPoint",0},
8408 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
8409 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8410 { "_class_wxButton","_wxButton",0},
8411 { "_wxRadioBox","_class_wxRadioBox",0},
8412 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8413 { "_class_wxFontData","_wxFontData",0},
8414 { "_class_wxPNMHandler","_wxPNMHandler",0},
8415 { "_wxBoxSizer","_class_wxBoxSizer",0},
8416 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
8417 { "_char","_wxChar",0},
8418 { "_wxBitmap","_class_wxBitmap",0},
8419 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
8420 { "_wxPrintDialog","_class_wxPrintDialog",0},
8421 { "_wxWindowDC","_class_wxWindowDC",0},
8422 { "_wxTimerEvent","_class_wxTimerEvent",0},
8423 { "_wxPyTimer","_class_wxPyTimer",0},
8424 { "_wxScrollBar","_class_wxScrollBar",0},
8425 { "_wxSpinButton","_class_wxSpinButton",0},
8426 { "_wxColourDialog","_class_wxColourDialog",0},
8427 { "_wxPrintData","_class_wxPrintData",0},
8428 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
8429 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8430 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8431 { "_wxMessageDialog","_class_wxMessageDialog",0},
8432 { "_class_wxValidator","_wxValidator",0},
8433 { "_class_wxPyEvent","_wxPyEvent",0},
8434 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
8435 { "_wxConfig","_class_wxConfig",0},
8436 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8437 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8438 { "_class_wxFileConfig","_wxFileConfig",0},
8439 { "_class_wxBusyCursor","_wxBusyCursor",0},
8440 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
8441 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8442 { "_wxListItem","_class_wxListItem",0},
8443 { "_class_wxToolBar","_wxToolBar",0},
8444 { "_wxDropTarget","_class_wxDropTarget",0},
8445 { "_class_wxStaticLine","_wxStaticLine",0},
8446 { "_wxScrollEvent","_class_wxScrollEvent",0},
8447 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
8448 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
8449 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
8450 { "_class_wxShapeRegion","_wxShapeRegion",0},
8451 { "_EBool","_wxCoord",0},
8452 { "_EBool","_wxPrintQuality",0},
8453 { "_EBool","_signed_int",0},
8454 { "_EBool","_int",0},
8455 { "_EBool","_wxWindowID",0},
8456 { "_class_wxRegion","_wxRegion",0},
8457 { "_class_wxDataFormat","_wxDataFormat",0},
8458 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8459 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8460 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8461 { "_wxStaticText","_class_wxStaticText",0},
8462 { "_wxFont","_class_wxFont",0},
8463 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8464 { "_wxCloseEvent","_class_wxCloseEvent",0},
8465 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
8466 { "_wxProcessEvent","_class_wxProcessEvent",0},
8467 { "_wxNotebook","_class_wxNotebook",0},
8468 { "_wxFSFile","_class_wxFSFile",0},
8469 { "_unsigned_long","_long",0},
8470 { "_class_wxRect","_wxRect",0},
8471 { "_class_wxDC","_wxDC",0},
8472 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8473 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
8474 { "_class_wxProgressDialog","_wxProgressDialog",0},
8475 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8476 { "_wxPyInputStream","_class_wxPyInputStream",0},
8477 { "_wxPyApp","_class_wxPyApp",0},
8478 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8479 { "_class_wxOutputStream","_wxOutputStream",0},
8480 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
8481 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8482 { "_class_wxTreeEvent","_wxTreeEvent",0},
8483 { "_class_wxDirDialog","_wxDirDialog",0},
8484 { "_wxTimeSpan","_class_wxTimeSpan",0},
8485 { "_wxFocusEvent","_class_wxFocusEvent",0},
8486 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8487 { "_class_wxTimerEvent","_wxTimerEvent",0},
8488 { "_class_wxPyTimer","_wxPyTimer",0},
8489 { "_class_wxSpinButton","_wxSpinButton",0},
8490 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8491 { "_class_wxPanel","_wxPanel",0},
8492 { "_class_wxCheckBox","_wxCheckBox",0},
8493 { "_wxComboBox","_class_wxComboBox",0},
8494 { "_wxRadioButton","_class_wxRadioButton",0},
8495 { "_class_wxMessageDialog","_wxMessageDialog",0},
8496 { "_signed_int","_wxCoord",0},
8497 { "_signed_int","_wxPrintQuality",0},
8498 { "_signed_int","_EBool",0},
8499 { "_signed_int","_wxWindowID",0},
8500 { "_signed_int","_int",0},
8501 { "_class_wxTextCtrl","_wxTextCtrl",0},
8502 { "_class_wxListItemAttr","_wxListItemAttr",0},
8503 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8504 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8505 { "_class_wxTextDataObject","_wxTextDataObject",0},
8506 { "_wxMenu","_class_wxMenu",0},
8507 { "_class_wxMoveEvent","_wxMoveEvent",0},
8508 { "_wxListBox","_class_wxListBox",0},
8509 { "_wxScreenDC","_class_wxScreenDC",0},
8510 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
8511 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
8512 { "_WXTYPE","_wxDateTime_t",0},
8513 { "_WXTYPE","_short",0},
8514 { "_WXTYPE","_signed_short",0},
8515 { "_WXTYPE","_unsigned_short",0},
8516 { "_wxFileDialog","_class_wxFileDialog",0},
8517 { "_class_wxDropTarget","_wxDropTarget",0},
8518 { "_class_wxCaret","_wxCaret",0},
8519 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8520 { "_class_wxBrush","_wxBrush",0},
8521 { "_wxTipProvider","_class_wxTipProvider",0},
8522 { "_unsigned_short","_wxDateTime_t",0},
8523 { "_unsigned_short","_WXTYPE",0},
8524 { "_unsigned_short","_short",0},
8525 { "_class_wxWindow","_wxWindow",0},
8526 { "_class_wxLogStderr","_wxLogStderr",0},
8527 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
8528 { "_wxDateSpan","_class_wxDateSpan",0},
8529 { "_class_wxStaticText","_wxStaticText",0},
8530 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8531 { "_class_wxFont","_wxFont",0},
8532 { "_wxClipboard","_class_wxClipboard",0},
8533 { "_class_wxPyValidator","_wxPyValidator",0},
8534 { "_class_wxCloseEvent","_wxCloseEvent",0},
8535 { "_wxSashEvent","_class_wxSashEvent",0},
8536 { "_wxBusyInfo","_class_wxBusyInfo",0},
8537 { "_class_wxMenuEvent","_wxMenuEvent",0},
8538 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8539 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8540 { "_wxClientDC","_class_wxClientDC",0},
8541 { "_wxMouseEvent","_class_wxMouseEvent",0},
8542 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
8543 { "_wxListCtrl","_class_wxListCtrl",0},
8544 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8545 { "_class_wxPoint","_wxPoint",0},
8546 { "_class_wxPyInputStream","_wxPyInputStream",0},
8547 { "_wxRealPoint","_class_wxRealPoint",0},
8548 { "_class_wxRadioBox","_wxRadioBox",0},
8549 { "_class_wxBoxSizer","_wxBoxSizer",0},
8550 { "_signed_short","_WXTYPE",0},
8551 { "_signed_short","_short",0},
8552 { "_wxMemoryDC","_class_wxMemoryDC",0},
8553 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8554 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
8555 { "_class_wxPrintDialog","_wxPrintDialog",0},
8556 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
8557 { "_wxPaintDC","_class_wxPaintDC",0},
8558 { "_class_wxWindowDC","_wxWindowDC",0},
8559 { "_class_wxFocusEvent","_wxFocusEvent",0},
8560 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8561 { "_wxStatusBar","_class_wxStatusBar",0},
8562 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8563 { "_class_wxCursor","_wxCursor",0},
8564 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8565 { "_class_wxPyProcess","_wxPyProcess",0},
8566 { "_class_wxImageHandler","_wxImageHandler",0},
8567 { "_wxPyShape","_class_wxPyShape",0},
8568 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8569 { "_class_wxLog","_wxLog",0},
8570 { "_wxTreeItemId","_class_wxTreeItemId",0},
8571 { "_unsigned_char","_byte",0},
8572 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8573 { "_class_wxMenu","_wxMenu",0},
8574 { "_wxControl","_class_wxControl",0},
8575 { "_class_wxListBox","_wxListBox",0},
8576 { "_unsigned_int","_wxCoord",0},
8577 { "_unsigned_int","_wxPrintQuality",0},
8578 { "_unsigned_int","_time_t",0},
8579 { "_unsigned_int","_size_t",0},
8580 { "_unsigned_int","_uint",0},
8581 { "_unsigned_int","_wxWindowID",0},
8582 { "_unsigned_int","_int",0},
8583 { "_wxIcon","_class_wxIcon",0},
8584 { "_wxDialog","_class_wxDialog",0},
8585 { "_class_wxListItem","_wxListItem",0},
8586 { "_class_wxPen","_wxPen",0},
8587 { "_class_wxFileDialog","_wxFileDialog",0},
8588 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
8589 { "_wxConfigBase","_class_wxConfigBase",0},
8590 { "_short","_wxDateTime_t",0},
8591 { "_short","_WXTYPE",0},
8592 { "_short","_unsigned_short",0},
8593 { "_short","_signed_short",0},
8594 { "_class_wxStaticBox","_wxStaticBox",0},
8595 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8596 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8597 { "_class_wxPyDropSource","_wxPyDropSource",0},
8598 { "_class_wxScrollEvent","_wxScrollEvent",0},
8599 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8600 { "_class_wxChoice","_wxChoice",0},
8601 { "_class_wxSlider","_wxSlider",0},
8602 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8603 { "_class_wxImageList","_wxImageList",0},
8604 { "_class_wxBitmapButton","_wxBitmapButton",0},
8605 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
8606 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
8607 { "_wxFrame","_class_wxFrame",0},
8608 { "_wxPCXHandler","_class_wxPCXHandler",0},
8609 { "_class_wxGridSizer","_wxGridSizer",0},
8610 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8611 { "_class_wxNotebook","_wxNotebook",0},
8612 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8613 { "_wxWindowID","_wxCoord",0},
8614 { "_wxWindowID","_wxPrintQuality",0},
8615 { "_wxWindowID","_time_t",0},
8616 { "_wxWindowID","_size_t",0},
8617 { "_wxWindowID","_EBool",0},
8618 { "_wxWindowID","_uint",0},
8619 { "_wxWindowID","_int",0},
8620 { "_wxWindowID","_signed_int",0},
8621 { "_wxWindowID","_unsigned_int",0},
8622 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8623 { "_class_wxSizerItem","_wxSizerItem",0},
8624 { "_int","_wxCoord",0},
8625 { "_int","_wxPrintQuality",0},
8626 { "_int","_time_t",0},
8627 { "_int","_size_t",0},
8628 { "_int","_EBool",0},
8629 { "_int","_uint",0},
8630 { "_int","_wxWindowID",0},
8631 { "_int","_unsigned_int",0},
8632 { "_int","_signed_int",0},
8633 { "_class_wxMouseEvent","_wxMouseEvent",0},
8634 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8635 { "_wxLogWindow","_class_wxLogWindow",0},
8636 { "_class_wxListEvent","_wxListEvent",0},
8637 { "_class_wxPrintPreview","_wxPrintPreview",0},
8638 { "_wxDateTime_t","_unsigned_short",0},
8639 { "_wxDateTime_t","_short",0},
8640 { "_wxDateTime_t","_WXTYPE",0},
8641 { "_class_wxSpinEvent","_wxSpinEvent",0},
8642 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8643 { "_wxDateTime","_class_wxDateTime",0},
8644 { "_time_t","_wxCoord",0},
8645 { "_time_t","_wxPrintQuality",0},
8646 { "_time_t","_unsigned_int",0},
8647 { "_time_t","_int",0},
8648 { "_time_t","_wxWindowID",0},
8649 { "_time_t","_uint",0},
8650 { "_time_t","_size_t",0},
8651 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8652 { "_wxLogNull","_class_wxLogNull",0},
8653 { "_wxButton","_class_wxButton",0},
8654 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
8655 { "_class_wxPyApp","_wxPyApp",0},
8656 { "_wxSize","_class_wxSize",0},
8657 { "_wxRegionIterator","_class_wxRegionIterator",0},
8658 { "_class_wxPrinterDC","_wxPrinterDC",0},
8659 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8660 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
8661 { "_class_wxLogGui","_wxLogGui",0},
8662 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8663 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8664 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
8665 { "_class_wxTimeSpan","_wxTimeSpan",0},
8666 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
8667 { "_class_wxPaintDC","_wxPaintDC",0},
8668 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8669 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8670 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8671 { "_class_wxComboBox","_wxComboBox",0},
8672 { "_class_wxRadioButton","_wxRadioButton",0},
8673 { "_class_wxPyShape","_wxPyShape",0},
8674 { "_wxValidator","_class_wxValidator",0},
8675 { "_wxToolBarBase","_class_wxToolBarBase",0},
8676 { "_class_wxTreeItemId","_wxTreeItemId",0},
8677 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8678 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8679 { "_class_wxControl","_wxControl",0},
8680 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8681 { "_class_wxIcon","_wxIcon",0},
8682 { "_class_wxColour","_wxColour",0},
8683 { "_class_wxScreenDC","_wxScreenDC",0},
8684 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8685 { "_wxPalette","_class_wxPalette",0},
8686 { "_class_wxIdleEvent","_wxIdleEvent",0},
8687 { "_class_wxConfigBase","_wxConfigBase",0},
8688 { "_wxCoord","_int",0},
8689 { "_wxCoord","_signed_int",0},
8690 { "_wxCoord","_unsigned_int",0},
8691 { "_wxCoord","_wxWindowID",0},
8692 { "_wxCoord","_uint",0},
8693 { "_wxCoord","_EBool",0},
8694 { "_wxCoord","_size_t",0},
8695 { "_wxCoord","_time_t",0},
8696 { "_wxCoord","_wxPrintQuality",0},
8697 { "_wxEraseEvent","_class_wxEraseEvent",0},
8698 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8699 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8700 { "_class_wxTipProvider","_wxTipProvider",0},
8701 { "_class_wxMiniFrame","_wxMiniFrame",0},
8702 { "_wxFontDialog","_class_wxFontDialog",0},
8703 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
8704 { "_wxRegion","_class_wxRegion",0},
8705 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8706 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8707 { "_wxSizer","_class_wxSizer",0},
8708 { "_class_wxDateSpan","_wxDateSpan",0},
8709 { "_wxFileSystem","_class_wxFileSystem",0},
8710 { "_class_wxShowEvent","_wxShowEvent",0},
8711 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
8712 { "_class_wxPCXHandler","_wxPCXHandler",0},
8713 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
8714 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8715 { "_wxActivateEvent","_class_wxActivateEvent",0},
8716 { "_wxGauge","_class_wxGauge",0},
8717 { "_class_wxCheckListBox","_wxCheckListBox",0},
8718 { "_class_wxBusyInfo","_wxBusyInfo",0},
8719 { "_class_wxCommandEvent","_wxCommandEvent",0},
8720 { "_class_wxClientDC","_wxClientDC",0},
8721 { "_class_wxSizeEvent","_wxSizeEvent",0},
8722 { "_class_wxListCtrl","_wxListCtrl",0},
8723 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8724 { "_class_wxLogNull","_wxLogNull",0},
8725 { "_class_wxSize","_wxSize",0},
8726 { "_class_wxBitmap","_wxBitmap",0},
8727 { "_class_wxMemoryDC","_wxMemoryDC",0},
8728 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8729 { "_wxMenuBar","_class_wxMenuBar",0},
8730 { "_wxOutputStream","_class_wxOutputStream",0},
8731 { "_wxTreeEvent","_class_wxTreeEvent",0},
8732 { "_wxDirDialog","_class_wxDirDialog",0},
8733 { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8734 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8735 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
8736 { "_wxEvtHandler","_class_wxEvtHandler",0},
8737 { "_wxMenuItem","_class_wxMenuItem",0},
8738 { "_class_wxScrollBar","_wxScrollBar",0},
8739 { "_class_wxColourDialog","_wxColourDialog",0},
8740 { "_class_wxPrintData","_wxPrintData",0},
8741 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8742 { "_wxListItemAttr","_class_wxListItemAttr",0},
8743 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
8744 { "_class_wxConfig","_wxConfig",0},
8745 { "_wxKeyEvent","_class_wxKeyEvent",0},
8746 { "_wxMoveEvent","_class_wxMoveEvent",0},
8747 { "_wxColourData","_class_wxColourData",0},
8748 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
8749 { "_class_wxPalette","_wxPalette",0},
8750 { "_wxFileDataObject","_class_wxFileDataObject",0},
8751 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
8752 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
8753 { "_class_wxEraseEvent","_wxEraseEvent",0},
8754 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
8755 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
8756 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8757 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
8758 { "_class_wxFontDialog","_wxFontDialog",0},
8759 { "_wxWindow","_class_wxWindow",0},
8760 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8761 { "_wxLogStderr","_class_wxLogStderr",0},
8762 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
8763 { "_class_wxFileSystem","_wxFileSystem",0},
8764 { "_class_wxFrame","_wxFrame",0},
8767 static PyObject
*SWIG_globals
;
8771 SWIGEXPORT(void) initoglbasicc() {
8773 SWIG_globals
= SWIG_newvarlink();
8774 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8775 d
= PyModule_GetDict(m
);
8778 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8779 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);