2 * FILE : contrib/ogl/oglbasic.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initoglbasicc
54 #define SWIG_name "oglbasicc"
57 #include "oglhelpers.h"
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 static char* wxStringErrorMsg
= "string type is required for parameter";
107 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
109 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
113 #define new_wxShapeRegion() (new wxShapeRegion())
114 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
115 PyObject
* _resultobj
;
116 wxShapeRegion
* _result
;
117 char *_kwnames
[] = { NULL
};
121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
124 wxPy_BEGIN_ALLOW_THREADS
;
125 _result
= (wxShapeRegion
*)new_wxShapeRegion();
127 wxPy_END_ALLOW_THREADS
;
129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
130 _resultobj
= Py_BuildValue("s",_ptemp
);
133 _resultobj
= Py_None
;
138 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
139 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
141 wxShapeRegion
* _arg0
;
143 PyObject
* _argo0
= 0;
144 PyObject
* _obj1
= 0;
145 char *_kwnames
[] = { "self","s", NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
158 #if PYTHON_API_VERSION >= 1009
159 char* tmpPtr
; int tmpSize
;
160 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
161 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
164 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
166 _arg1
= new wxString(tmpPtr
, tmpSize
);
168 if (!PyString_Check(_obj1
)) {
169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
172 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
176 wxPy_BEGIN_ALLOW_THREADS
;
177 wxShapeRegion_SetText(_arg0
,*_arg1
);
179 wxPy_END_ALLOW_THREADS
;
180 } Py_INCREF(Py_None
);
181 _resultobj
= Py_None
;
189 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
190 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
191 PyObject
* _resultobj
;
192 wxShapeRegion
* _arg0
;
194 PyObject
* _argo0
= 0;
195 PyObject
* _argo1
= 0;
196 char *_kwnames
[] = { "self","f", NULL
};
199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_argo1
))
202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_SetFont. Expected _wxFont_p.");
216 wxPy_BEGIN_ALLOW_THREADS
;
217 wxShapeRegion_SetFont(_arg0
,_arg1
);
219 wxPy_END_ALLOW_THREADS
;
220 } Py_INCREF(Py_None
);
221 _resultobj
= Py_None
;
225 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
226 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
228 wxShapeRegion
* _arg0
;
231 PyObject
* _argo0
= 0;
232 char *_kwnames
[] = { "self","w","h", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
245 wxPy_BEGIN_ALLOW_THREADS
;
246 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
248 wxPy_END_ALLOW_THREADS
;
249 } Py_INCREF(Py_None
);
250 _resultobj
= Py_None
;
254 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
255 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
256 PyObject
* _resultobj
;
257 wxShapeRegion
* _arg0
;
260 PyObject
* _argo0
= 0;
261 char *_kwnames
[] = { "self","w","h", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
274 wxPy_BEGIN_ALLOW_THREADS
;
275 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
277 wxPy_END_ALLOW_THREADS
;
278 } Py_INCREF(Py_None
);
279 _resultobj
= Py_None
;
283 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
284 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
286 wxShapeRegion
* _arg0
;
289 PyObject
* _argo0
= 0;
290 char *_kwnames
[] = { "self","x","y", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
303 wxPy_BEGIN_ALLOW_THREADS
;
304 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
306 wxPy_END_ALLOW_THREADS
;
307 } Py_INCREF(Py_None
);
308 _resultobj
= Py_None
;
312 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
313 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
314 PyObject
* _resultobj
;
315 wxShapeRegion
* _arg0
;
318 PyObject
* _argo0
= 0;
319 char *_kwnames
[] = { "self","x","y", NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
332 wxPy_BEGIN_ALLOW_THREADS
;
333 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
335 wxPy_END_ALLOW_THREADS
;
336 } Py_INCREF(Py_None
);
337 _resultobj
= Py_None
;
341 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
342 static PyObject
*_wrap_wxShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
344 wxShapeRegion
* _arg0
;
346 PyObject
* _argo0
= 0;
347 char *_kwnames
[] = { "self","mode", NULL
};
350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetFormatMode",_kwnames
,&_argo0
,&_arg1
))
353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
360 wxPy_BEGIN_ALLOW_THREADS
;
361 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
363 wxPy_END_ALLOW_THREADS
;
364 } Py_INCREF(Py_None
);
365 _resultobj
= Py_None
;
369 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
370 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
371 PyObject
* _resultobj
;
372 wxShapeRegion
* _arg0
;
374 PyObject
* _argo0
= 0;
375 PyObject
* _obj1
= 0;
376 char *_kwnames
[] = { "self","s", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
389 #if PYTHON_API_VERSION >= 1009
390 char* tmpPtr
; int tmpSize
;
391 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
392 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
395 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
397 _arg1
= new wxString(tmpPtr
, tmpSize
);
399 if (!PyString_Check(_obj1
)) {
400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
403 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
407 wxPy_BEGIN_ALLOW_THREADS
;
408 wxShapeRegion_SetName(_arg0
,*_arg1
);
410 wxPy_END_ALLOW_THREADS
;
411 } Py_INCREF(Py_None
);
412 _resultobj
= Py_None
;
420 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
421 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
423 wxShapeRegion
* _arg0
;
425 PyObject
* _argo0
= 0;
426 PyObject
* _obj1
= 0;
427 char *_kwnames
[] = { "self","col", NULL
};
430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
440 #if PYTHON_API_VERSION >= 1009
441 char* tmpPtr
; int tmpSize
;
442 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
443 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
446 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
448 _arg1
= new wxString(tmpPtr
, tmpSize
);
450 if (!PyString_Check(_obj1
)) {
451 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
454 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
458 wxPy_BEGIN_ALLOW_THREADS
;
459 wxShapeRegion_SetColour(_arg0
,*_arg1
);
461 wxPy_END_ALLOW_THREADS
;
462 } Py_INCREF(Py_None
);
463 _resultobj
= Py_None
;
471 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
472 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
473 PyObject
* _resultobj
;
475 wxShapeRegion
* _arg0
;
476 PyObject
* _argo0
= 0;
477 char *_kwnames
[] = { "self", NULL
};
480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
490 wxPy_BEGIN_ALLOW_THREADS
;
491 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
493 wxPy_END_ALLOW_THREADS
;
495 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
503 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
504 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
507 wxShapeRegion
* _arg0
;
508 PyObject
* _argo0
= 0;
509 char *_kwnames
[] = { "self", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
523 wxPy_BEGIN_ALLOW_THREADS
;
524 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
526 wxPy_END_ALLOW_THREADS
;
528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
529 _resultobj
= Py_BuildValue("s",_ptemp
);
532 _resultobj
= Py_None
;
537 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
538 static PyObject
*_wrap_wxShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
540 wxShapeRegion
* _arg0
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
568 wxPy_END_ALLOW_THREADS
;
569 } Py_INCREF(Py_None
);
570 _resultobj
= Py_None
;
573 o
= PyFloat_FromDouble((double) (*_arg1
));
574 _resultobj
= t_output_helper(_resultobj
, o
);
578 o
= PyFloat_FromDouble((double) (*_arg2
));
579 _resultobj
= t_output_helper(_resultobj
, o
);
584 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
585 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxShapeRegion
* _arg0
;
592 PyObject
* _argo0
= 0;
593 char *_kwnames
[] = { "self", NULL
};
602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetProportion",_kwnames
,&_argo0
))
605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
612 wxPy_BEGIN_ALLOW_THREADS
;
613 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
615 wxPy_END_ALLOW_THREADS
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
620 o
= PyFloat_FromDouble((double) (*_arg1
));
621 _resultobj
= t_output_helper(_resultobj
, o
);
625 o
= PyFloat_FromDouble((double) (*_arg2
));
626 _resultobj
= t_output_helper(_resultobj
, o
);
631 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
632 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
634 wxShapeRegion
* _arg0
;
639 PyObject
* _argo0
= 0;
640 char *_kwnames
[] = { "self", NULL
};
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetSize",_kwnames
,&_argo0
))
652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
659 wxPy_BEGIN_ALLOW_THREADS
;
660 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
662 wxPy_END_ALLOW_THREADS
;
663 } Py_INCREF(Py_None
);
664 _resultobj
= Py_None
;
667 o
= PyFloat_FromDouble((double) (*_arg1
));
668 _resultobj
= t_output_helper(_resultobj
, o
);
672 o
= PyFloat_FromDouble((double) (*_arg2
));
673 _resultobj
= t_output_helper(_resultobj
, o
);
678 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
679 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
681 wxShapeRegion
* _arg0
;
686 PyObject
* _argo0
= 0;
687 char *_kwnames
[] = { "self", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPosition",_kwnames
,&_argo0
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
706 wxPy_BEGIN_ALLOW_THREADS
;
707 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
709 wxPy_END_ALLOW_THREADS
;
710 } Py_INCREF(Py_None
);
711 _resultobj
= Py_None
;
714 o
= PyFloat_FromDouble((double) (*_arg1
));
715 _resultobj
= t_output_helper(_resultobj
, o
);
719 o
= PyFloat_FromDouble((double) (*_arg2
));
720 _resultobj
= t_output_helper(_resultobj
, o
);
725 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
726 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
729 wxShapeRegion
* _arg0
;
730 PyObject
* _argo0
= 0;
731 char *_kwnames
[] = { "self", NULL
};
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
744 wxPy_BEGIN_ALLOW_THREADS
;
745 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
747 wxPy_END_ALLOW_THREADS
;
748 } _resultobj
= Py_BuildValue("i",_result
);
752 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
753 static PyObject
*_wrap_wxShapeRegion_GetName(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_GetName",_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_GetName. Expected _wxShapeRegion_p.");
771 wxPy_BEGIN_ALLOW_THREADS
;
772 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
774 wxPy_END_ALLOW_THREADS
;
776 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
784 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
785 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
788 wxShapeRegion
* _arg0
;
789 PyObject
* _argo0
= 0;
790 char *_kwnames
[] = { "self", NULL
};
793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
803 wxPy_BEGIN_ALLOW_THREADS
;
804 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
806 wxPy_END_ALLOW_THREADS
;
808 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
816 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
817 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
820 wxShapeRegion
* _arg0
;
821 PyObject
* _argo0
= 0;
822 char *_kwnames
[] = { "self", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
836 wxPy_BEGIN_ALLOW_THREADS
;
837 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
839 wxPy_END_ALLOW_THREADS
;
841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
842 _resultobj
= Py_BuildValue("s",_ptemp
);
845 _resultobj
= Py_None
;
850 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
851 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 PyObject
* _resultobj
;
854 wxShapeRegion
* _arg0
;
855 PyObject
* _argo0
= 0;
856 char *_kwnames
[] = { "self", NULL
};
860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
870 wxPy_BEGIN_ALLOW_THREADS
;
871 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
872 _result
= (wxList
*) &_result_ref
;
874 wxPy_END_ALLOW_THREADS
;
876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
877 _resultobj
= Py_BuildValue("s",_ptemp
);
880 _resultobj
= Py_None
;
885 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
886 static PyObject
*_wrap_wxShapeRegion_GetPenColour(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_GetPenColour",_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_GetPenColour. Expected _wxShapeRegion_p.");
904 wxPy_BEGIN_ALLOW_THREADS
;
905 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
907 wxPy_END_ALLOW_THREADS
;
909 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
917 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
918 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
921 wxShapeRegion
* _arg0
;
922 PyObject
* _argo0
= 0;
923 char *_kwnames
[] = { "self", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
939 wxPy_END_ALLOW_THREADS
;
940 } _resultobj
= Py_BuildValue("i",_result
);
944 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
945 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
947 wxShapeRegion
* _arg0
;
949 PyObject
* _argo0
= 0;
950 char *_kwnames
[] = { "self","style", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
963 wxPy_BEGIN_ALLOW_THREADS
;
964 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
966 wxPy_END_ALLOW_THREADS
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
972 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
973 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
975 wxShapeRegion
* _arg0
;
977 PyObject
* _argo0
= 0;
978 PyObject
* _obj1
= 0;
979 char *_kwnames
[] = { "self","col", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
992 #if PYTHON_API_VERSION >= 1009
993 char* tmpPtr
; int tmpSize
;
994 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
995 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
998 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1000 _arg1
= new wxString(tmpPtr
, tmpSize
);
1002 if (!PyString_Check(_obj1
)) {
1003 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1006 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
1013 wxPy_END_ALLOW_THREADS
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1023 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
1024 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1027 wxShapeRegion
* _arg0
;
1028 PyObject
* _argo0
= 0;
1029 char *_kwnames
[] = { "self", NULL
};
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1043 wxPy_BEGIN_ALLOW_THREADS
;
1044 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
1046 wxPy_END_ALLOW_THREADS
;
1048 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1049 _resultobj
= Py_BuildValue("s",_ptemp
);
1052 _resultobj
= Py_None
;
1057 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1058 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1061 wxShapeRegion
* _arg0
;
1062 PyObject
* _argo0
= 0;
1063 char *_kwnames
[] = { "self", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1076 wxPy_BEGIN_ALLOW_THREADS
;
1077 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1079 wxPy_END_ALLOW_THREADS
;
1080 } _resultobj
= Py_BuildValue("d",_result
);
1084 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1085 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1088 wxShapeRegion
* _arg0
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1106 wxPy_END_ALLOW_THREADS
;
1107 } _resultobj
= Py_BuildValue("d",_result
);
1111 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1112 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1114 wxShapeRegion
* _arg0
;
1115 PyObject
* _argo0
= 0;
1116 char *_kwnames
[] = { "self", NULL
};
1119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_kwnames
,&_argo0
))
1122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1129 wxPy_BEGIN_ALLOW_THREADS
;
1130 wxShapeRegion_ClearText(_arg0
);
1132 wxPy_END_ALLOW_THREADS
;
1133 } Py_INCREF(Py_None
);
1134 _resultobj
= Py_None
;
1138 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1139 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1141 wxPyShapeEvtHandler
* _result
;
1142 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1143 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1144 PyObject
* _argo0
= 0;
1145 PyObject
* _argo1
= 0;
1146 char *_kwnames
[] = { "prev","shape", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
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 new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1170 wxPy_END_ALLOW_THREADS
;
1172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1173 _resultobj
= Py_BuildValue("s",_ptemp
);
1176 _resultobj
= Py_None
;
1181 #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1182 static PyObject
*_wrap_wxPyShapeEvtHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1184 wxPyShapeEvtHandler
* _arg0
;
1187 PyObject
* _argo0
= 0;
1188 PyObject
* _obj1
= 0;
1189 PyObject
* _obj2
= 0;
1190 char *_kwnames
[] = { "self","self","_class", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeEvtHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p.");
1209 wxPy_BEGIN_ALLOW_THREADS
;
1210 wxPyShapeEvtHandler__setSelf(_arg0
,_arg1
,_arg2
);
1212 wxPy_END_ALLOW_THREADS
;
1213 } Py_INCREF(Py_None
);
1214 _resultobj
= Py_None
;
1218 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1219 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1221 wxPyShapeEvtHandler
* _arg0
;
1222 PyObject
* _argo0
= 0;
1223 char *_kwnames
[] = { "self", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1236 wxPy_BEGIN_ALLOW_THREADS
;
1237 wxPyShapeEvtHandler_Destroy(_arg0
);
1239 wxPy_END_ALLOW_THREADS
;
1240 } Py_INCREF(Py_None
);
1241 _resultobj
= Py_None
;
1245 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1246 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1248 wxPyShapeEvtHandler
* _arg0
;
1250 PyObject
* _argo0
= 0;
1251 PyObject
* _argo1
= 0;
1252 char *_kwnames
[] = { "self","sh", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1275 wxPy_END_ALLOW_THREADS
;
1276 } Py_INCREF(Py_None
);
1277 _resultobj
= Py_None
;
1281 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1282 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1284 wxPyShape
* _result
;
1285 wxPyShapeEvtHandler
* _arg0
;
1286 PyObject
* _argo0
= 0;
1287 char *_kwnames
[] = { "self", NULL
};
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1304 wxPy_END_ALLOW_THREADS
;
1306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1307 _resultobj
= Py_BuildValue("s",_ptemp
);
1310 _resultobj
= Py_None
;
1315 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1316 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1318 wxPyShapeEvtHandler
* _arg0
;
1319 wxPyShapeEvtHandler
* _arg1
;
1320 PyObject
* _argo0
= 0;
1321 PyObject
* _argo1
= 0;
1322 char *_kwnames
[] = { "self","handler", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1345 wxPy_END_ALLOW_THREADS
;
1346 } Py_INCREF(Py_None
);
1347 _resultobj
= Py_None
;
1351 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1352 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1354 wxPyShapeEvtHandler
* _result
;
1355 wxPyShapeEvtHandler
* _arg0
;
1356 PyObject
* _argo0
= 0;
1357 char *_kwnames
[] = { "self", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1371 wxPy_BEGIN_ALLOW_THREADS
;
1372 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1374 wxPy_END_ALLOW_THREADS
;
1376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1377 _resultobj
= Py_BuildValue("s",_ptemp
);
1380 _resultobj
= Py_None
;
1385 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1386 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1388 wxPyShapeEvtHandler
* _result
;
1389 wxPyShapeEvtHandler
* _arg0
;
1390 PyObject
* _argo0
= 0;
1391 char *_kwnames
[] = { "self", NULL
};
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1405 wxPy_BEGIN_ALLOW_THREADS
;
1406 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1408 wxPy_END_ALLOW_THREADS
;
1410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1411 _resultobj
= Py_BuildValue("s",_ptemp
);
1414 _resultobj
= Py_None
;
1419 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1420 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1422 wxPyShapeEvtHandler
* _arg0
;
1423 PyObject
* _argo0
= 0;
1424 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1440 wxPy_END_ALLOW_THREADS
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1447 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1449 wxPyShapeEvtHandler
* _arg0
;
1451 PyObject
* _argo0
= 0;
1452 PyObject
* _argo1
= 0;
1453 char *_kwnames
[] = { "self","dc", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1466 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1473 wxPy_BEGIN_ALLOW_THREADS
;
1474 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1476 wxPy_END_ALLOW_THREADS
;
1477 } Py_INCREF(Py_None
);
1478 _resultobj
= Py_None
;
1482 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1483 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1485 wxPyShapeEvtHandler
* _arg0
;
1487 PyObject
* _argo0
= 0;
1488 PyObject
* _argo1
= 0;
1489 char *_kwnames
[] = { "self","dc", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1512 wxPy_END_ALLOW_THREADS
;
1513 } Py_INCREF(Py_None
);
1514 _resultobj
= Py_None
;
1518 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1519 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1521 wxPyShapeEvtHandler
* _arg0
;
1523 bool _arg2
= (bool ) FALSE
;
1524 PyObject
* _argo0
= 0;
1525 PyObject
* _argo1
= 0;
1526 int tempbool2
= (int) FALSE
;
1527 char *_kwnames
[] = { "self","dc","erase", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1546 _arg2
= (bool ) tempbool2
;
1548 wxPy_BEGIN_ALLOW_THREADS
;
1549 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1551 wxPy_END_ALLOW_THREADS
;
1552 } Py_INCREF(Py_None
);
1553 _resultobj
= Py_None
;
1557 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1558 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1560 wxPyShapeEvtHandler
* _arg0
;
1562 PyObject
* _argo0
= 0;
1563 PyObject
* _argo1
= 0;
1564 char *_kwnames
[] = { "self","dc", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1584 wxPy_BEGIN_ALLOW_THREADS
;
1585 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1587 wxPy_END_ALLOW_THREADS
;
1588 } Py_INCREF(Py_None
);
1589 _resultobj
= Py_None
;
1593 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1594 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1596 wxPyShapeEvtHandler
* _arg0
;
1598 PyObject
* _argo0
= 0;
1599 PyObject
* _argo1
= 0;
1600 char *_kwnames
[] = { "self","dc", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1623 wxPy_END_ALLOW_THREADS
;
1624 } Py_INCREF(Py_None
);
1625 _resultobj
= Py_None
;
1629 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1630 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1632 wxPyShapeEvtHandler
* _arg0
;
1634 PyObject
* _argo0
= 0;
1635 PyObject
* _argo1
= 0;
1636 char *_kwnames
[] = { "self","dc", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1656 wxPy_BEGIN_ALLOW_THREADS
;
1657 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1659 wxPy_END_ALLOW_THREADS
;
1660 } Py_INCREF(Py_None
);
1661 _resultobj
= Py_None
;
1665 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1666 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 wxPyShapeEvtHandler
* _arg0
;
1670 PyObject
* _argo0
= 0;
1671 PyObject
* _argo1
= 0;
1672 char *_kwnames
[] = { "self","dc", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1692 wxPy_BEGIN_ALLOW_THREADS
;
1693 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1695 wxPy_END_ALLOW_THREADS
;
1696 } Py_INCREF(Py_None
);
1697 _resultobj
= Py_None
;
1701 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1702 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1704 wxPyShapeEvtHandler
* _arg0
;
1707 int _arg3
= (int ) 0;
1708 int _arg4
= (int ) 0;
1709 PyObject
* _argo0
= 0;
1710 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1726 wxPy_END_ALLOW_THREADS
;
1727 } Py_INCREF(Py_None
);
1728 _resultobj
= Py_None
;
1732 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1733 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1735 wxPyShapeEvtHandler
* _arg0
;
1738 int _arg3
= (int ) 0;
1739 int _arg4
= (int ) 0;
1740 PyObject
* _argo0
= 0;
1741 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1757 wxPy_END_ALLOW_THREADS
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1763 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1764 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1766 wxPyShapeEvtHandler
* _arg0
;
1769 int _arg3
= (int ) 0;
1770 int _arg4
= (int ) 0;
1771 PyObject
* _argo0
= 0;
1772 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1785 wxPy_BEGIN_ALLOW_THREADS
;
1786 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1788 wxPy_END_ALLOW_THREADS
;
1789 } Py_INCREF(Py_None
);
1790 _resultobj
= Py_None
;
1794 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1795 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1797 wxPyShapeEvtHandler
* _arg0
;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self","x","y", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1817 wxPy_END_ALLOW_THREADS
;
1818 } Py_INCREF(Py_None
);
1819 _resultobj
= Py_None
;
1823 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1824 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1827 wxPyShapeEvtHandler
* _arg0
;
1833 bool _arg6
= (bool ) TRUE
;
1834 PyObject
* _argo0
= 0;
1835 PyObject
* _argo1
= 0;
1836 int tempbool6
= (int) TRUE
;
1837 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1856 _arg6
= (bool ) tempbool6
;
1858 wxPy_BEGIN_ALLOW_THREADS
;
1859 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1861 wxPy_END_ALLOW_THREADS
;
1862 } _resultobj
= Py_BuildValue("i",_result
);
1866 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1867 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 wxPyShapeEvtHandler
* _arg0
;
1875 bool _arg6
= (bool ) TRUE
;
1876 PyObject
* _argo0
= 0;
1877 PyObject
* _argo1
= 0;
1878 int tempbool6
= (int) TRUE
;
1879 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1898 _arg6
= (bool ) tempbool6
;
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1903 wxPy_END_ALLOW_THREADS
;
1904 } Py_INCREF(Py_None
);
1905 _resultobj
= Py_None
;
1909 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1910 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1912 wxPyShapeEvtHandler
* _arg0
;
1916 int _arg4
= (int ) 0;
1917 int _arg5
= (int ) 0;
1918 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1932 _arg1
= (bool ) tempbool1
;
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1937 wxPy_END_ALLOW_THREADS
;
1938 } Py_INCREF(Py_None
);
1939 _resultobj
= Py_None
;
1943 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1944 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1946 wxPyShapeEvtHandler
* _arg0
;
1949 int _arg3
= (int ) 0;
1950 int _arg4
= (int ) 0;
1951 PyObject
* _argo0
= 0;
1952 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1965 wxPy_BEGIN_ALLOW_THREADS
;
1966 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1968 wxPy_END_ALLOW_THREADS
;
1969 } Py_INCREF(Py_None
);
1970 _resultobj
= Py_None
;
1974 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1975 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1977 wxPyShapeEvtHandler
* _arg0
;
1980 int _arg3
= (int ) 0;
1981 int _arg4
= (int ) 0;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
1996 wxPy_BEGIN_ALLOW_THREADS
;
1997 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1999 wxPy_END_ALLOW_THREADS
;
2000 } Py_INCREF(Py_None
);
2001 _resultobj
= Py_None
;
2005 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2006 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2008 wxPyShapeEvtHandler
* _arg0
;
2012 int _arg4
= (int ) 0;
2013 int _arg5
= (int ) 0;
2014 PyObject
* _argo0
= 0;
2016 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
2028 _arg1
= (bool ) tempbool1
;
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2033 wxPy_END_ALLOW_THREADS
;
2034 } Py_INCREF(Py_None
);
2035 _resultobj
= Py_None
;
2039 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2040 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2042 wxPyShapeEvtHandler
* _arg0
;
2045 int _arg3
= (int ) 0;
2046 int _arg4
= (int ) 0;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2061 wxPy_BEGIN_ALLOW_THREADS
;
2062 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2064 wxPy_END_ALLOW_THREADS
;
2065 } Py_INCREF(Py_None
);
2066 _resultobj
= Py_None
;
2070 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2071 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2073 wxPyShapeEvtHandler
* _arg0
;
2076 int _arg3
= (int ) 0;
2077 int _arg4
= (int ) 0;
2078 PyObject
* _argo0
= 0;
2079 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2092 wxPy_BEGIN_ALLOW_THREADS
;
2093 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2095 wxPy_END_ALLOW_THREADS
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2102 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2104 wxPyShapeEvtHandler
* _arg0
;
2110 PyObject
* _argo0
= 0;
2111 PyObject
* _argo1
= 0;
2112 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2132 wxPy_BEGIN_ALLOW_THREADS
;
2133 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2135 wxPy_END_ALLOW_THREADS
;
2136 } Py_INCREF(Py_None
);
2137 _resultobj
= Py_None
;
2141 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2142 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2144 wxPyShapeEvtHandler
* _arg0
;
2146 PyObject
* _argo0
= 0;
2147 PyObject
* _argo1
= 0;
2148 char *_kwnames
[] = { "self","dc", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2161 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2168 wxPy_BEGIN_ALLOW_THREADS
;
2169 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2171 wxPy_END_ALLOW_THREADS
;
2172 } Py_INCREF(Py_None
);
2173 _resultobj
= Py_None
;
2177 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2178 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2180 wxPyShapeEvtHandler
* _arg0
;
2182 PyObject
* _argo0
= 0;
2183 PyObject
* _argo1
= 0;
2184 char *_kwnames
[] = { "self","dc", NULL
};
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } Py_INCREF(Py_None
);
2209 _resultobj
= Py_None
;
2213 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2214 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2216 wxPyShapeEvtHandler
* _arg0
;
2218 bool _arg2
= (bool ) TRUE
;
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _argo1
= 0;
2221 int tempbool2
= (int) TRUE
;
2222 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
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_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2241 _arg2
= (bool ) tempbool2
;
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2246 wxPy_END_ALLOW_THREADS
;
2247 } Py_INCREF(Py_None
);
2248 _resultobj
= Py_None
;
2252 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2253 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2255 wxPyShapeEvtHandler
* _arg0
;
2256 wxPyControlPoint
* _arg1
;
2260 int _arg5
= (int ) 0;
2261 int _arg6
= (int ) 0;
2262 PyObject
* _argo0
= 0;
2263 PyObject
* _argo1
= 0;
2265 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2284 _arg2
= (bool ) tempbool2
;
2286 wxPy_BEGIN_ALLOW_THREADS
;
2287 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2289 wxPy_END_ALLOW_THREADS
;
2290 } Py_INCREF(Py_None
);
2291 _resultobj
= Py_None
;
2295 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2296 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2298 wxPyShapeEvtHandler
* _arg0
;
2299 wxPyControlPoint
* _arg1
;
2302 int _arg4
= (int ) 0;
2303 int _arg5
= (int ) 0;
2304 PyObject
* _argo0
= 0;
2305 PyObject
* _argo1
= 0;
2306 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2335 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2336 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2338 wxPyShapeEvtHandler
* _arg0
;
2339 wxPyControlPoint
* _arg1
;
2342 int _arg4
= (int ) 0;
2343 int _arg5
= (int ) 0;
2344 PyObject
* _argo0
= 0;
2345 PyObject
* _argo1
= 0;
2346 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2366 wxPy_BEGIN_ALLOW_THREADS
;
2367 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2369 wxPy_END_ALLOW_THREADS
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2376 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2378 wxPyShapeEvtHandler
* _arg0
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self","w","h", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2405 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2407 wxPyShapeEvtHandler
* _arg0
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self","w","h", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2435 wxPyShapeEvtHandler
*dest
;
2436 src
= (wxPyShape
*) ptr
;
2437 dest
= (wxPyShapeEvtHandler
*) src
;
2438 return (void *) dest
;
2441 #define wxPyShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2442 static PyObject
*_wrap_wxPyShape__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2447 PyObject
* _argo0
= 0;
2448 PyObject
* _obj1
= 0;
2449 PyObject
* _obj2
= 0;
2450 char *_kwnames
[] = { "self","self","_class", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p.");
2469 wxPy_BEGIN_ALLOW_THREADS
;
2470 wxPyShape__setSelf(_arg0
,_arg1
,_arg2
);
2472 wxPy_END_ALLOW_THREADS
;
2473 } Py_INCREF(Py_None
);
2474 _resultobj
= Py_None
;
2478 static void wxPyShape_Destroy(wxPyShape
*self
) { delete self
; }
2479 static PyObject
*_wrap_wxPyShape_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2482 PyObject
* _argo0
= 0;
2483 char *_kwnames
[] = { "self", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Destroy",_kwnames
,&_argo0
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p.");
2496 wxPy_BEGIN_ALLOW_THREADS
;
2497 wxPyShape_Destroy(_arg0
);
2499 wxPy_END_ALLOW_THREADS
;
2500 } Py_INCREF(Py_None
);
2501 _resultobj
= Py_None
;
2505 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2506 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2513 PyObject
* _argo0
= 0;
2514 char *_kwnames
[] = { "self", NULL
};
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2536 wxPy_END_ALLOW_THREADS
;
2537 } Py_INCREF(Py_None
);
2538 _resultobj
= Py_None
;
2541 o
= PyFloat_FromDouble((double) (*_arg1
));
2542 _resultobj
= t_output_helper(_resultobj
, o
);
2546 o
= PyFloat_FromDouble((double) (*_arg2
));
2547 _resultobj
= t_output_helper(_resultobj
, o
);
2552 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2553 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2560 PyObject
* _argo0
= 0;
2561 char *_kwnames
[] = { "self", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2580 wxPy_BEGIN_ALLOW_THREADS
;
2581 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2583 wxPy_END_ALLOW_THREADS
;
2584 } Py_INCREF(Py_None
);
2585 _resultobj
= Py_None
;
2588 o
= PyFloat_FromDouble((double) (*_arg1
));
2589 _resultobj
= t_output_helper(_resultobj
, o
);
2593 o
= PyFloat_FromDouble((double) (*_arg2
));
2594 _resultobj
= t_output_helper(_resultobj
, o
);
2599 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2600 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } _resultobj
= Py_BuildValue("i",_result
);
2639 o
= PyFloat_FromDouble((double) (*_arg5
));
2640 _resultobj
= t_output_helper(_resultobj
, o
);
2644 o
= PyFloat_FromDouble((double) (*_arg6
));
2645 _resultobj
= t_output_helper(_resultobj
, o
);
2650 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2651 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2653 wxPyShapeCanvas
* _result
;
2655 PyObject
* _argo0
= 0;
2656 char *_kwnames
[] = { "self", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2670 wxPy_BEGIN_ALLOW_THREADS
;
2671 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2673 wxPy_END_ALLOW_THREADS
;
2675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
2676 _resultobj
= Py_BuildValue("s",_ptemp
);
2679 _resultobj
= Py_None
;
2684 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2685 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2688 wxPyShapeCanvas
* _arg1
;
2689 PyObject
* _argo0
= 0;
2690 PyObject
* _argo1
= 0;
2691 char *_kwnames
[] = { "self","the_canvas", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2711 wxPy_BEGIN_ALLOW_THREADS
;
2712 wxPyShape_SetCanvas(_arg0
,_arg1
);
2714 wxPy_END_ALLOW_THREADS
;
2715 } Py_INCREF(Py_None
);
2716 _resultobj
= Py_None
;
2720 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2721 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
* _resultobj
;
2724 wxPyShapeCanvas
* _arg1
;
2725 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2726 PyObject
* _argo0
= 0;
2727 PyObject
* _argo1
= 0;
2728 PyObject
* _argo2
= 0;
2729 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
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_AddToCanvas. 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_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2749 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2756 wxPy_BEGIN_ALLOW_THREADS
;
2757 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2759 wxPy_END_ALLOW_THREADS
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2766 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2769 wxPyShapeCanvas
* _arg1
;
2770 PyObject
* _argo0
= 0;
2771 PyObject
* _argo1
= 0;
2772 char *_kwnames
[] = { "self","the_canvas", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2792 wxPy_BEGIN_ALLOW_THREADS
;
2793 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2795 wxPy_END_ALLOW_THREADS
;
2796 } Py_INCREF(Py_None
);
2797 _resultobj
= Py_None
;
2801 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2802 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2805 wxPyShapeCanvas
* _arg1
;
2806 PyObject
* _argo0
= 0;
2807 PyObject
* _argo1
= 0;
2808 char *_kwnames
[] = { "self","the_canvas", NULL
};
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2831 wxPy_END_ALLOW_THREADS
;
2832 } Py_INCREF(Py_None
);
2833 _resultobj
= Py_None
;
2837 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2838 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2842 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2856 wxPy_BEGIN_ALLOW_THREADS
;
2857 _result
= (double )wxPyShape_GetX(_arg0
);
2859 wxPy_END_ALLOW_THREADS
;
2860 } _resultobj
= Py_BuildValue("d",_result
);
2864 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2865 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2869 PyObject
* _argo0
= 0;
2870 char *_kwnames
[] = { "self", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2883 wxPy_BEGIN_ALLOW_THREADS
;
2884 _result
= (double )wxPyShape_GetY(_arg0
);
2886 wxPy_END_ALLOW_THREADS
;
2887 } _resultobj
= Py_BuildValue("d",_result
);
2891 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2892 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2896 PyObject
* _argo0
= 0;
2897 char *_kwnames
[] = { "self","x", NULL
};
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2910 wxPy_BEGIN_ALLOW_THREADS
;
2911 wxPyShape_SetX(_arg0
,_arg1
);
2913 wxPy_END_ALLOW_THREADS
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2920 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self","y", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 wxPyShape_SetY(_arg0
,_arg1
);
2941 wxPy_END_ALLOW_THREADS
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2948 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2950 wxPyShape
* _result
;
2952 PyObject
* _argo0
= 0;
2953 char *_kwnames
[] = { "self", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
2967 wxPy_BEGIN_ALLOW_THREADS
;
2968 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
2970 wxPy_END_ALLOW_THREADS
;
2972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
2973 _resultobj
= Py_BuildValue("s",_ptemp
);
2976 _resultobj
= Py_None
;
2981 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2982 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2986 PyObject
* _argo0
= 0;
2987 PyObject
* _argo1
= 0;
2988 char *_kwnames
[] = { "self","p", NULL
};
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
2994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3008 wxPy_BEGIN_ALLOW_THREADS
;
3009 wxPyShape_SetParent(_arg0
,_arg1
);
3011 wxPy_END_ALLOW_THREADS
;
3012 } Py_INCREF(Py_None
);
3013 _resultobj
= Py_None
;
3017 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
3018 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3020 wxPyShape
* _result
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
3037 wxPy_BEGIN_ALLOW_THREADS
;
3038 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
3040 wxPy_END_ALLOW_THREADS
;
3042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
3043 _resultobj
= Py_BuildValue("s",_ptemp
);
3046 _resultobj
= Py_None
;
3051 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3052 wxList
& list
= self
->GetChildren();
3053 return wxPy_ConvertList(&list
, "wxPyShape");
3055 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
* _resultobj
;
3059 PyObject
* _argo0
= 0;
3060 char *_kwnames
[] = { "self", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3078 _resultobj
= _result
;
3083 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3084 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3087 PyObject
* _argo0
= 0;
3088 char *_kwnames
[] = { "self", NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3101 wxPy_BEGIN_ALLOW_THREADS
;
3102 wxPyShape_Unlink(_arg0
);
3104 wxPy_END_ALLOW_THREADS
;
3105 } Py_INCREF(Py_None
);
3106 _resultobj
= Py_None
;
3110 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3111 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3115 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self","drawH", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3129 _arg1
= (bool ) tempbool1
;
3131 wxPy_BEGIN_ALLOW_THREADS
;
3132 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3134 wxPy_END_ALLOW_THREADS
;
3135 } Py_INCREF(Py_None
);
3136 _resultobj
= Py_None
;
3140 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3141 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3145 PyObject
* _argo0
= 0;
3146 char *_kwnames
[] = { "self", NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3159 wxPy_BEGIN_ALLOW_THREADS
;
3160 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3162 wxPy_END_ALLOW_THREADS
;
3163 } _resultobj
= Py_BuildValue("i",_result
);
3167 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3168 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3185 wxPy_BEGIN_ALLOW_THREADS
;
3186 wxPyShape_MakeControlPoints(_arg0
);
3188 wxPy_END_ALLOW_THREADS
;
3189 } Py_INCREF(Py_None
);
3190 _resultobj
= Py_None
;
3194 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3195 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3198 wxDC
* _arg1
= (wxDC
*) NULL
;
3199 PyObject
* _argo0
= 0;
3200 PyObject
* _argo1
= 0;
3201 char *_kwnames
[] = { "self","dc", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3221 wxPy_BEGIN_ALLOW_THREADS
;
3222 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3224 wxPy_END_ALLOW_THREADS
;
3225 } Py_INCREF(Py_None
);
3226 _resultobj
= Py_None
;
3230 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3231 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3248 wxPy_BEGIN_ALLOW_THREADS
;
3249 wxPyShape_ResetControlPoints(_arg0
);
3251 wxPy_END_ALLOW_THREADS
;
3252 } Py_INCREF(Py_None
);
3253 _resultobj
= Py_None
;
3257 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3258 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3260 wxPyShapeEvtHandler
* _result
;
3262 PyObject
* _argo0
= 0;
3263 char *_kwnames
[] = { "self", NULL
};
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3277 wxPy_BEGIN_ALLOW_THREADS
;
3278 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3280 wxPy_END_ALLOW_THREADS
;
3282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
3283 _resultobj
= Py_BuildValue("s",_ptemp
);
3286 _resultobj
= Py_None
;
3291 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3292 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3295 wxPyShapeEvtHandler
* _arg1
;
3296 PyObject
* _argo0
= 0;
3297 PyObject
* _argo1
= 0;
3298 char *_kwnames
[] = { "self","handler", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3311 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3312 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3318 wxPy_BEGIN_ALLOW_THREADS
;
3319 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3321 wxPy_END_ALLOW_THREADS
;
3322 } Py_INCREF(Py_None
);
3323 _resultobj
= Py_None
;
3327 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3328 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
* _resultobj
;
3331 PyObject
* _argo0
= 0;
3332 char *_kwnames
[] = { "self", NULL
};
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3345 wxPy_BEGIN_ALLOW_THREADS
;
3346 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3348 wxPy_END_ALLOW_THREADS
;
3349 } Py_INCREF(Py_None
);
3350 _resultobj
= Py_None
;
3354 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3355 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
* _resultobj
;
3358 PyObject
* _argo0
= 0;
3359 char *_kwnames
[] = { "self", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3375 wxPy_END_ALLOW_THREADS
;
3376 } Py_INCREF(Py_None
);
3377 _resultobj
= Py_None
;
3381 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3382 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3386 PyObject
* _argo0
= 0;
3387 char *_kwnames
[] = { "self", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3400 wxPy_BEGIN_ALLOW_THREADS
;
3401 _result
= (bool )wxPyShape_Recompute(_arg0
);
3403 wxPy_END_ALLOW_THREADS
;
3404 } _resultobj
= Py_BuildValue("i",_result
);
3408 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3409 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3426 wxPy_BEGIN_ALLOW_THREADS
;
3427 wxPyShape_CalculateSize(_arg0
);
3429 wxPy_END_ALLOW_THREADS
;
3430 } Py_INCREF(Py_None
);
3431 _resultobj
= Py_None
;
3435 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3436 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3439 bool _arg1
= (bool ) TRUE
;
3440 wxDC
* _arg2
= (wxDC
*) NULL
;
3441 PyObject
* _argo0
= 0;
3442 int tempbool1
= (int) TRUE
;
3443 PyObject
* _argo2
= 0;
3444 char *_kwnames
[] = { "self","select","dc", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3456 _arg1
= (bool ) tempbool1
;
3458 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3465 wxPy_BEGIN_ALLOW_THREADS
;
3466 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3468 wxPy_END_ALLOW_THREADS
;
3469 } Py_INCREF(Py_None
);
3470 _resultobj
= Py_None
;
3474 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3475 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
* _resultobj
;
3478 bool _arg1
= (bool ) TRUE
;
3479 bool _arg2
= (bool ) FALSE
;
3480 PyObject
* _argo0
= 0;
3481 int tempbool1
= (int) TRUE
;
3482 int tempbool2
= (int) FALSE
;
3483 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3495 _arg1
= (bool ) tempbool1
;
3496 _arg2
= (bool ) tempbool2
;
3498 wxPy_BEGIN_ALLOW_THREADS
;
3499 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3501 wxPy_END_ALLOW_THREADS
;
3502 } Py_INCREF(Py_None
);
3503 _resultobj
= Py_None
;
3507 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3508 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3512 PyObject
* _argo0
= 0;
3513 char *_kwnames
[] = { "self", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3529 wxPy_END_ALLOW_THREADS
;
3530 } _resultobj
= Py_BuildValue("i",_result
);
3534 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3535 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
* _resultobj
;
3539 PyObject
* _argo0
= 0;
3540 char *_kwnames
[] = { "self", NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3553 wxPy_BEGIN_ALLOW_THREADS
;
3554 _result
= (bool )wxPyShape_Selected(_arg0
);
3556 wxPy_END_ALLOW_THREADS
;
3557 } _resultobj
= Py_BuildValue("i",_result
);
3561 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3562 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3566 PyObject
* _argo0
= 0;
3567 char *_kwnames
[] = { "self", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3580 wxPy_BEGIN_ALLOW_THREADS
;
3581 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3583 wxPy_END_ALLOW_THREADS
;
3584 } _resultobj
= Py_BuildValue("i",_result
);
3588 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3589 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
* _resultobj
;
3592 int _arg1
= (int ) OP_ALL
;
3593 bool _arg2
= (bool ) FALSE
;
3594 PyObject
* _argo0
= 0;
3595 int tempbool2
= (int) FALSE
;
3596 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3608 _arg2
= (bool ) tempbool2
;
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3613 wxPy_END_ALLOW_THREADS
;
3614 } Py_INCREF(Py_None
);
3615 _resultobj
= Py_None
;
3619 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3620 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3624 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "self", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3638 wxPy_BEGIN_ALLOW_THREADS
;
3639 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3641 wxPy_END_ALLOW_THREADS
;
3642 } _resultobj
= Py_BuildValue("i",_result
);
3646 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3647 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3651 bool _arg2
= (bool ) FALSE
;
3652 PyObject
* _argo0
= 0;
3654 int tempbool2
= (int) FALSE
;
3655 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3667 _arg1
= (bool ) tempbool1
;
3668 _arg2
= (bool ) tempbool2
;
3670 wxPy_BEGIN_ALLOW_THREADS
;
3671 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3673 wxPy_END_ALLOW_THREADS
;
3674 } Py_INCREF(Py_None
);
3675 _resultobj
= Py_None
;
3679 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3680 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3685 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "self","x","y", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3700 _arg1
= (bool ) tempbool1
;
3701 _arg2
= (bool ) tempbool2
;
3703 wxPy_BEGIN_ALLOW_THREADS
;
3704 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3706 wxPy_END_ALLOW_THREADS
;
3707 } Py_INCREF(Py_None
);
3708 _resultobj
= Py_None
;
3712 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3713 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3718 PyObject
* _argo0
= 0;
3719 PyObject
* _argo1
= 0;
3720 PyObject
* _argo2
= 0;
3721 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3741 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3748 wxPy_BEGIN_ALLOW_THREADS
;
3749 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3751 wxPy_END_ALLOW_THREADS
;
3752 } Py_INCREF(Py_None
);
3753 _resultobj
= Py_None
;
3757 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3758 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3777 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3779 wxPy_END_ALLOW_THREADS
;
3780 } _resultobj
= Py_BuildValue("i",_result
);
3784 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3785 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3789 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3803 wxPy_BEGIN_ALLOW_THREADS
;
3804 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3806 wxPy_END_ALLOW_THREADS
;
3807 } _resultobj
= Py_BuildValue("i",_result
);
3811 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3812 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3816 PyObject
* _argo0
= 0;
3818 char *_kwnames
[] = { "self","sp", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3830 _arg1
= (bool ) tempbool1
;
3832 wxPy_BEGIN_ALLOW_THREADS
;
3833 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3835 wxPy_END_ALLOW_THREADS
;
3836 } Py_INCREF(Py_None
);
3837 _resultobj
= Py_None
;
3841 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3842 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3846 PyObject
* _argo0
= 0;
3847 char *_kwnames
[] = { "self", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3860 wxPy_BEGIN_ALLOW_THREADS
;
3861 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3863 wxPy_END_ALLOW_THREADS
;
3864 } _resultobj
= Py_BuildValue("i",_result
);
3868 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3869 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3873 bool _arg2
= (bool ) FALSE
;
3874 PyObject
* _argo0
= 0;
3875 int tempbool2
= (int) FALSE
;
3876 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3888 _arg2
= (bool ) tempbool2
;
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } Py_INCREF(Py_None
);
3895 _resultobj
= Py_None
;
3899 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3900 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "self", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3918 wxPy_BEGIN_ALLOW_THREADS
;
3919 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3921 wxPy_END_ALLOW_THREADS
;
3922 } _resultobj
= Py_BuildValue("i",_result
);
3926 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3927 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3937 PyObject
* _argo0
= 0;
3938 char *_kwnames
[] = { "self","x","y", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3957 wxPy_BEGIN_ALLOW_THREADS
;
3958 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3960 wxPy_END_ALLOW_THREADS
;
3961 } _resultobj
= Py_BuildValue("i",_result
);
3964 o
= PyInt_FromLong((long) (*_arg3
));
3965 _resultobj
= t_output_helper(_resultobj
, o
);
3969 o
= PyFloat_FromDouble((double) (*_arg4
));
3970 _resultobj
= t_output_helper(_resultobj
, o
);
3975 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3976 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3980 PyObject
* _argo0
= 0;
3982 char *_kwnames
[] = { "self","cr", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
3994 _arg1
= (bool ) tempbool1
;
3996 wxPy_BEGIN_ALLOW_THREADS
;
3997 wxPyShape_SetCentreResize(_arg0
,_arg1
);
3999 wxPy_END_ALLOW_THREADS
;
4000 } Py_INCREF(Py_None
);
4001 _resultobj
= Py_None
;
4005 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
4006 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4010 PyObject
* _argo0
= 0;
4011 char *_kwnames
[] = { "self", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
4024 wxPy_BEGIN_ALLOW_THREADS
;
4025 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
4027 wxPy_END_ALLOW_THREADS
;
4028 } _resultobj
= Py_BuildValue("i",_result
);
4032 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4033 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
* _resultobj
;
4037 PyObject
* _argo0
= 0;
4039 char *_kwnames
[] = { "self","ar", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4051 _arg1
= (bool ) tempbool1
;
4053 wxPy_BEGIN_ALLOW_THREADS
;
4054 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4056 wxPy_END_ALLOW_THREADS
;
4057 } Py_INCREF(Py_None
);
4058 _resultobj
= Py_None
;
4062 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4063 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4067 PyObject
* _argo0
= 0;
4068 char *_kwnames
[] = { "self", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4081 wxPy_BEGIN_ALLOW_THREADS
;
4082 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4084 wxPy_END_ALLOW_THREADS
;
4085 } _resultobj
= Py_BuildValue("i",_result
);
4089 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4090 wxList
& list
= self
->GetLines();
4091 return wxPy_ConvertList(&list
, "wxPyLineShape");
4093 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4097 PyObject
* _argo0
= 0;
4098 char *_kwnames
[] = { "self", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4111 wxPy_BEGIN_ALLOW_THREADS
;
4112 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4114 wxPy_END_ALLOW_THREADS
;
4116 _resultobj
= _result
;
4121 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4122 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4126 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self","flag", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4140 _arg1
= (bool ) tempbool1
;
4142 wxPy_BEGIN_ALLOW_THREADS
;
4143 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4145 wxPy_END_ALLOW_THREADS
;
4146 } Py_INCREF(Py_None
);
4147 _resultobj
= Py_None
;
4151 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4152 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4157 char *_kwnames
[] = { "self", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4170 wxPy_BEGIN_ALLOW_THREADS
;
4171 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4173 wxPy_END_ALLOW_THREADS
;
4174 } _resultobj
= Py_BuildValue("i",_result
);
4178 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4179 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4183 PyObject
* _argo0
= 0;
4184 char *_kwnames
[] = { "self","mode", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4197 wxPy_BEGIN_ALLOW_THREADS
;
4198 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4200 wxPy_END_ALLOW_THREADS
;
4201 } Py_INCREF(Py_None
);
4202 _resultobj
= Py_None
;
4206 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4207 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
* _resultobj
;
4211 PyObject
* _argo0
= 0;
4212 char *_kwnames
[] = { "self", NULL
};
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } _resultobj
= Py_BuildValue("i",_result
);
4233 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4234 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
* _resultobj
;
4238 PyObject
* _argo0
= 0;
4239 char *_kwnames
[] = { "self","i", NULL
};
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4252 wxPy_BEGIN_ALLOW_THREADS
;
4253 wxPyShape_SetId(_arg0
,_arg1
);
4255 wxPy_END_ALLOW_THREADS
;
4256 } Py_INCREF(Py_None
);
4257 _resultobj
= Py_None
;
4261 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4262 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4266 PyObject
* _argo0
= 0;
4267 char *_kwnames
[] = { "self", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4280 wxPy_BEGIN_ALLOW_THREADS
;
4281 _result
= (long )wxPyShape_GetId(_arg0
);
4283 wxPy_END_ALLOW_THREADS
;
4284 } _resultobj
= Py_BuildValue("l",_result
);
4288 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4289 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4293 PyObject
* _argo0
= 0;
4294 PyObject
* _argo1
= 0;
4295 char *_kwnames
[] = { "self","pen", NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_argo1
))
4301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetPen. Expected _wxPen_p.");
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 wxPyShape_SetPen(_arg0
,_arg1
);
4318 wxPy_END_ALLOW_THREADS
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4324 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4325 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4329 PyObject
* _argo0
= 0;
4330 PyObject
* _argo1
= 0;
4331 char *_kwnames
[] = { "self","brush", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_argo1
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetBrush. Expected _wxBrush_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 wxPyShape_SetBrush(_arg0
,_arg1
);
4354 wxPy_END_ALLOW_THREADS
;
4355 } Py_INCREF(Py_None
);
4356 _resultobj
= Py_None
;
4360 static void wxPyShape_SetClientData(wxPyShape
*self
,PyObject
* userData
) {
4361 wxPyUserData
* data
= NULL
;
4363 data
= new wxPyUserData(userData
);
4364 self
->SetClientData(data
);
4366 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4370 PyObject
* _argo0
= 0;
4371 PyObject
* _obj1
= 0;
4372 char *_kwnames
[] = { "self","userData", NULL
};
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_obj1
))
4378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 wxPyShape_SetClientData(_arg0
,_arg1
);
4391 wxPy_END_ALLOW_THREADS
;
4392 } Py_INCREF(Py_None
);
4393 _resultobj
= Py_None
;
4397 static PyObject
* wxPyShape_GetClientData(wxPyShape
*self
) {
4398 wxPyUserData
* data
= (wxPyUserData
*)self
->GetClientData();
4400 Py_INCREF(data
->m_obj
);
4407 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
* _resultobj
;
4411 PyObject
* _argo0
= 0;
4412 char *_kwnames
[] = { "self", NULL
};
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4425 wxPy_BEGIN_ALLOW_THREADS
;
4426 _result
= (PyObject
*)wxPyShape_GetClientData(_arg0
);
4428 wxPy_END_ALLOW_THREADS
;
4430 _resultobj
= _result
;
4435 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4436 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
* _resultobj
;
4440 PyObject
* _argo0
= 0;
4442 char *_kwnames
[] = { "self","show", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4454 _arg1
= (bool ) tempbool1
;
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 wxPyShape_Show(_arg0
,_arg1
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } Py_INCREF(Py_None
);
4461 _resultobj
= Py_None
;
4465 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4466 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4470 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4484 wxPy_BEGIN_ALLOW_THREADS
;
4485 _result
= (bool )wxPyShape_IsShown(_arg0
);
4487 wxPy_END_ALLOW_THREADS
;
4488 } _resultobj
= Py_BuildValue("i",_result
);
4492 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4493 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4499 bool _arg4
= (bool ) TRUE
;
4500 PyObject
* _argo0
= 0;
4501 PyObject
* _argo1
= 0;
4502 int tempbool4
= (int) TRUE
;
4503 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4522 _arg4
= (bool ) tempbool4
;
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4527 wxPy_END_ALLOW_THREADS
;
4528 } Py_INCREF(Py_None
);
4529 _resultobj
= Py_None
;
4533 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4534 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
* _resultobj
;
4538 PyObject
* _argo0
= 0;
4539 PyObject
* _argo1
= 0;
4540 char *_kwnames
[] = { "self","dc", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 wxPyShape_Erase(_arg0
,*_arg1
);
4563 wxPy_END_ALLOW_THREADS
;
4564 } Py_INCREF(Py_None
);
4565 _resultobj
= Py_None
;
4569 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4570 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
* _resultobj
;
4574 PyObject
* _argo0
= 0;
4575 PyObject
* _argo1
= 0;
4576 char *_kwnames
[] = { "self","dc", NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4596 wxPy_BEGIN_ALLOW_THREADS
;
4597 wxPyShape_EraseContents(_arg0
,*_arg1
);
4599 wxPy_END_ALLOW_THREADS
;
4600 } Py_INCREF(Py_None
);
4601 _resultobj
= Py_None
;
4605 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4606 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
* _resultobj
;
4610 PyObject
* _argo0
= 0;
4611 PyObject
* _argo1
= 0;
4612 char *_kwnames
[] = { "self","dc", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4625 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4626 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4632 wxPy_BEGIN_ALLOW_THREADS
;
4633 wxPyShape_Draw(_arg0
,*_arg1
);
4635 wxPy_END_ALLOW_THREADS
;
4636 } Py_INCREF(Py_None
);
4637 _resultobj
= Py_None
;
4641 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4642 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
* _resultobj
;
4645 PyObject
* _argo0
= 0;
4646 char *_kwnames
[] = { "self", NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4659 wxPy_BEGIN_ALLOW_THREADS
;
4660 wxPyShape_Flash(_arg0
);
4662 wxPy_END_ALLOW_THREADS
;
4663 } Py_INCREF(Py_None
);
4664 _resultobj
= Py_None
;
4668 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4669 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
* _resultobj
;
4673 PyObject
* _argo0
= 0;
4674 PyObject
* _argo1
= 0;
4675 char *_kwnames
[] = { "self","dc", NULL
};
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4695 wxPy_BEGIN_ALLOW_THREADS
;
4696 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4698 wxPy_END_ALLOW_THREADS
;
4699 } Py_INCREF(Py_None
);
4700 _resultobj
= Py_None
;
4704 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4705 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4709 PyObject
* _argo0
= 0;
4710 PyObject
* _argo1
= 0;
4711 char *_kwnames
[] = { "self","dc", NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 wxPyShape_DrawContents(_arg0
,*_arg1
);
4734 wxPy_END_ALLOW_THREADS
;
4735 } Py_INCREF(Py_None
);
4736 _resultobj
= Py_None
;
4740 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4741 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4746 bool _arg3
= (bool ) TRUE
;
4747 PyObject
* _argo0
= 0;
4748 int tempbool3
= (int) TRUE
;
4749 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4761 _arg3
= (bool ) tempbool3
;
4763 wxPy_BEGIN_ALLOW_THREADS
;
4764 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4766 wxPy_END_ALLOW_THREADS
;
4767 } Py_INCREF(Py_None
);
4768 _resultobj
= Py_None
;
4772 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4773 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4778 PyObject
* _argo0
= 0;
4779 char *_kwnames
[] = { "self","x","y", NULL
};
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4795 wxPy_END_ALLOW_THREADS
;
4796 } Py_INCREF(Py_None
);
4797 _resultobj
= Py_None
;
4801 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4802 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4805 wxPyShapeCanvas
* _arg1
;
4806 PyObject
* _argo0
= 0;
4807 PyObject
* _argo1
= 0;
4808 char *_kwnames
[] = { "self","can", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 wxPyShape_Attach(_arg0
,_arg1
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } Py_INCREF(Py_None
);
4833 _resultobj
= Py_None
;
4837 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4838 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4841 PyObject
* _argo0
= 0;
4842 char *_kwnames
[] = { "self", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4855 wxPy_BEGIN_ALLOW_THREADS
;
4856 wxPyShape_Detach(_arg0
);
4858 wxPy_END_ALLOW_THREADS
;
4859 } Py_INCREF(Py_None
);
4860 _resultobj
= Py_None
;
4864 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4865 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
* _resultobj
;
4869 PyObject
* _argo0
= 0;
4870 char *_kwnames
[] = { "self", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 _result
= (bool )wxPyShape_Constrain(_arg0
);
4886 wxPy_END_ALLOW_THREADS
;
4887 } _resultobj
= Py_BuildValue("i",_result
);
4891 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4892 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
* _resultobj
;
4895 wxPyLineShape
* _arg1
;
4897 int _arg3
= (int ) 0;
4898 int _arg4
= (int ) 0;
4899 int _arg5
= (int ) -1;
4900 int _arg6
= (int ) -1;
4901 PyObject
* _argo0
= 0;
4902 PyObject
* _argo1
= 0;
4903 PyObject
* _argo2
= 0;
4904 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4924 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4934 wxPy_END_ALLOW_THREADS
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4940 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4941 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4945 wxPyLineShape
* _arg1
;
4946 PyObject
* _argo0
= 0;
4947 PyObject
* _argo1
= 0;
4948 char *_kwnames
[] = { "self","line", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4971 wxPy_END_ALLOW_THREADS
;
4972 } _resultobj
= Py_BuildValue("i",_result
);
4976 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4977 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
* _resultobj
;
4981 PyObject
* _argo0
= 0;
4982 PyObject
* _obj1
= 0;
4983 char *_kwnames
[] = { "self","string", NULL
};
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4996 #if PYTHON_API_VERSION >= 1009
4997 char* tmpPtr
; int tmpSize
;
4998 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4999 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5002 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5004 _arg1
= new wxString(tmpPtr
, tmpSize
);
5006 if (!PyString_Check(_obj1
)) {
5007 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5010 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5014 wxPy_BEGIN_ALLOW_THREADS
;
5015 wxPyShape_AddText(_arg0
,*_arg1
);
5017 wxPy_END_ALLOW_THREADS
;
5018 } Py_INCREF(Py_None
);
5019 _resultobj
= Py_None
;
5027 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5028 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
* _resultobj
;
5032 PyObject
* _argo0
= 0;
5033 char *_kwnames
[] = { "self", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
5040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5047 wxPy_BEGIN_ALLOW_THREADS
;
5048 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
5050 wxPy_END_ALLOW_THREADS
;
5052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5053 _resultobj
= Py_BuildValue("s",_ptemp
);
5056 _resultobj
= Py_None
;
5061 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5062 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
* _resultobj
;
5066 PyObject
* _argo0
= 0;
5067 char *_kwnames
[] = { "self", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5081 wxPy_BEGIN_ALLOW_THREADS
;
5082 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5084 wxPy_END_ALLOW_THREADS
;
5086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5087 _resultobj
= Py_BuildValue("s",_ptemp
);
5090 _resultobj
= Py_None
;
5095 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5096 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5113 wxPy_BEGIN_ALLOW_THREADS
;
5114 wxPyShape_SetDefaultRegionSize(_arg0
);
5116 wxPy_END_ALLOW_THREADS
;
5117 } Py_INCREF(Py_None
);
5118 _resultobj
= Py_None
;
5122 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5123 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5128 int _arg3
= (int ) 0;
5129 PyObject
* _argo0
= 0;
5130 PyObject
* _argo1
= 0;
5131 PyObject
* _obj2
= 0;
5132 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5152 #if PYTHON_API_VERSION >= 1009
5153 char* tmpPtr
; int tmpSize
;
5154 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5155 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5158 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5160 _arg2
= new wxString(tmpPtr
, tmpSize
);
5162 if (!PyString_Check(_obj2
)) {
5163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5166 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5170 wxPy_BEGIN_ALLOW_THREADS
;
5171 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5173 wxPy_END_ALLOW_THREADS
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5183 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5184 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5188 int _arg2
= (int ) 0;
5189 PyObject
* _argo0
= 0;
5190 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5203 wxPy_BEGIN_ALLOW_THREADS
;
5204 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5206 wxPy_END_ALLOW_THREADS
;
5207 } Py_INCREF(Py_None
);
5208 _resultobj
= Py_None
;
5212 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5213 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5217 int _arg1
= (int ) 0;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self","regionId", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5232 wxPy_BEGIN_ALLOW_THREADS
;
5233 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5235 wxPy_END_ALLOW_THREADS
;
5236 } _resultobj
= Py_BuildValue("i",_result
);
5240 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5241 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5245 int _arg2
= (int ) 0;
5246 PyObject
* _argo0
= 0;
5247 PyObject
* _argo1
= 0;
5248 char *_kwnames
[] = { "self","font","regionId", NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p.");
5268 wxPy_BEGIN_ALLOW_THREADS
;
5269 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5271 wxPy_END_ALLOW_THREADS
;
5272 } Py_INCREF(Py_None
);
5273 _resultobj
= Py_None
;
5277 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5278 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
* _resultobj
;
5282 int _arg1
= (int ) 0;
5283 PyObject
* _argo0
= 0;
5284 char *_kwnames
[] = { "self","regionId", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5298 wxPy_BEGIN_ALLOW_THREADS
;
5299 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5301 wxPy_END_ALLOW_THREADS
;
5303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5304 _resultobj
= Py_BuildValue("s",_ptemp
);
5307 _resultobj
= Py_None
;
5312 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5313 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5317 int _arg2
= (int ) 0;
5318 PyObject
* _argo0
= 0;
5319 PyObject
* _obj1
= 0;
5320 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5333 #if PYTHON_API_VERSION >= 1009
5334 char* tmpPtr
; int tmpSize
;
5335 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5336 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5339 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5341 _arg1
= new wxString(tmpPtr
, tmpSize
);
5343 if (!PyString_Check(_obj1
)) {
5344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5347 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5351 wxPy_BEGIN_ALLOW_THREADS
;
5352 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5354 wxPy_END_ALLOW_THREADS
;
5355 } Py_INCREF(Py_None
);
5356 _resultobj
= Py_None
;
5364 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5365 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
* _resultobj
;
5369 int _arg1
= (int ) 0;
5370 PyObject
* _argo0
= 0;
5371 char *_kwnames
[] = { "self","regionId", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5384 wxPy_BEGIN_ALLOW_THREADS
;
5385 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5387 wxPy_END_ALLOW_THREADS
;
5389 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5397 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5398 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5419 wxPy_END_ALLOW_THREADS
;
5420 } _resultobj
= Py_BuildValue("i",_result
);
5424 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5425 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5429 int _arg2
= (int ) 0;
5430 PyObject
* _argo0
= 0;
5431 PyObject
* _obj1
= 0;
5432 char *_kwnames
[] = { "self","name","regionId", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5445 #if PYTHON_API_VERSION >= 1009
5446 char* tmpPtr
; int tmpSize
;
5447 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5448 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5451 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5453 _arg1
= new wxString(tmpPtr
, tmpSize
);
5455 if (!PyString_Check(_obj1
)) {
5456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5459 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5463 wxPy_BEGIN_ALLOW_THREADS
;
5464 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5466 wxPy_END_ALLOW_THREADS
;
5467 } Py_INCREF(Py_None
);
5468 _resultobj
= Py_None
;
5476 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5477 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
* _resultobj
;
5482 PyObject
* _argo0
= 0;
5483 char *_kwnames
[] = { "self","regionId", NULL
};
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5496 wxPy_BEGIN_ALLOW_THREADS
;
5497 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5499 wxPy_END_ALLOW_THREADS
;
5501 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5509 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5510 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
* _resultobj
;
5515 PyObject
* _argo0
= 0;
5516 PyObject
* _obj1
= 0;
5517 char *_kwnames
[] = { "self","name", NULL
};
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5530 #if PYTHON_API_VERSION >= 1009
5531 char* tmpPtr
; int tmpSize
;
5532 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5533 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5536 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5538 _arg1
= new wxString(tmpPtr
, tmpSize
);
5540 if (!PyString_Check(_obj1
)) {
5541 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5544 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5548 wxPy_BEGIN_ALLOW_THREADS
;
5549 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5551 wxPy_END_ALLOW_THREADS
;
5552 } _resultobj
= Py_BuildValue("i",_result
);
5560 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5561 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5564 wxString
* _arg1
= (wxString
*) &"";
5565 PyObject
* _argo0
= 0;
5566 PyObject
* _obj1
= 0;
5567 char *_kwnames
[] = { "self","parentName", NULL
};
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5581 #if PYTHON_API_VERSION >= 1009
5582 char* tmpPtr
; int tmpSize
;
5583 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5584 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5587 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5589 _arg1
= new wxString(tmpPtr
, tmpSize
);
5591 if (!PyString_Check(_obj1
)) {
5592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5595 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5599 wxPy_BEGIN_ALLOW_THREADS
;
5600 wxPyShape_NameRegions(_arg0
,*_arg1
);
5602 wxPy_END_ALLOW_THREADS
;
5603 } Py_INCREF(Py_None
);
5604 _resultobj
= Py_None
;
5612 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5613 wxList
& list
= self
->GetRegions();
5614 return wxPy_ConvertList(&list
, "wxShapeRegion");
5616 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5634 wxPy_BEGIN_ALLOW_THREADS
;
5635 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5637 wxPy_END_ALLOW_THREADS
;
5639 _resultobj
= _result
;
5644 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5645 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
* _resultobj
;
5648 wxShapeRegion
* _arg1
;
5649 PyObject
* _argo0
= 0;
5650 PyObject
* _argo1
= 0;
5651 char *_kwnames
[] = { "self","region", NULL
};
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5664 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5665 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5671 wxPy_BEGIN_ALLOW_THREADS
;
5672 wxPyShape_AddRegion(_arg0
,_arg1
);
5674 wxPy_END_ALLOW_THREADS
;
5675 } Py_INCREF(Py_None
);
5676 _resultobj
= Py_None
;
5680 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5681 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5684 PyObject
* _argo0
= 0;
5685 char *_kwnames
[] = { "self", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5698 wxPy_BEGIN_ALLOW_THREADS
;
5699 wxPyShape_ClearRegions(_arg0
);
5701 wxPy_END_ALLOW_THREADS
;
5702 } Py_INCREF(Py_None
);
5703 _resultobj
= Py_None
;
5707 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5708 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5711 PyObject
* _argo0
= 0;
5712 char *_kwnames
[] = { "self", NULL
};
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5725 wxPy_BEGIN_ALLOW_THREADS
;
5726 wxPyShape_AssignNewIds(_arg0
);
5728 wxPy_END_ALLOW_THREADS
;
5729 } Py_INCREF(Py_None
);
5730 _resultobj
= Py_None
;
5734 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5735 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5737 wxPyShape
* _result
;
5742 PyObject
* _argo0
= 0;
5743 PyObject
* _obj1
= 0;
5744 char *_kwnames
[] = { "self","regionName", NULL
};
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5761 #if PYTHON_API_VERSION >= 1009
5762 char* tmpPtr
; int tmpSize
;
5763 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5764 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5767 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5769 _arg1
= new wxString(tmpPtr
, tmpSize
);
5771 if (!PyString_Check(_obj1
)) {
5772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5775 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5779 wxPy_BEGIN_ALLOW_THREADS
;
5780 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5782 wxPy_END_ALLOW_THREADS
;
5784 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
5785 _resultobj
= Py_BuildValue("s",_ptemp
);
5788 _resultobj
= Py_None
;
5792 o
= PyInt_FromLong((long) (*_arg2
));
5793 _resultobj
= t_output_helper(_resultobj
, o
);
5802 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5803 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5806 wxStringList
* _arg1
;
5807 PyObject
* _argo0
= 0;
5808 PyObject
* _argo1
= 0;
5809 char *_kwnames
[] = { "self","list", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5829 wxPy_BEGIN_ALLOW_THREADS
;
5830 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5832 wxPy_END_ALLOW_THREADS
;
5833 } Py_INCREF(Py_None
);
5834 _resultobj
= Py_None
;
5838 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5839 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
* _resultobj
;
5842 int _arg1
= (int ) 0;
5843 PyObject
* _argo0
= 0;
5844 char *_kwnames
[] = { "self","regionId", NULL
};
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5857 wxPy_BEGIN_ALLOW_THREADS
;
5858 wxPyShape_ClearText(_arg0
,_arg1
);
5860 wxPy_END_ALLOW_THREADS
;
5861 } Py_INCREF(Py_None
);
5862 _resultobj
= Py_None
;
5866 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5867 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
* _resultobj
;
5870 wxPyLineShape
* _arg1
;
5871 PyObject
* _argo0
= 0;
5872 PyObject
* _argo1
= 0;
5873 char *_kwnames
[] = { "self","line", NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5893 wxPy_BEGIN_ALLOW_THREADS
;
5894 wxPyShape_RemoveLine(_arg0
,_arg1
);
5896 wxPy_END_ALLOW_THREADS
;
5897 } Py_INCREF(Py_None
);
5898 _resultobj
= Py_None
;
5902 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5903 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5912 int _arg4
= (int ) 0;
5913 int _arg5
= (int ) 1;
5914 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5915 PyObject
* _argo0
= 0;
5916 PyObject
* _argo6
= 0;
5917 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5936 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5943 wxPy_BEGIN_ALLOW_THREADS
;
5944 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5946 wxPy_END_ALLOW_THREADS
;
5947 } _resultobj
= Py_BuildValue("i",_result
);
5950 o
= PyFloat_FromDouble((double) (*_arg2
));
5951 _resultobj
= t_output_helper(_resultobj
, o
);
5955 o
= PyFloat_FromDouble((double) (*_arg3
));
5956 _resultobj
= t_output_helper(_resultobj
, o
);
5961 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5962 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
* _resultobj
;
5966 PyObject
* _argo0
= 0;
5967 char *_kwnames
[] = { "self", NULL
};
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5980 wxPy_BEGIN_ALLOW_THREADS
;
5981 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5983 wxPy_END_ALLOW_THREADS
;
5984 } _resultobj
= Py_BuildValue("i",_result
);
5988 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5989 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5994 PyObject
* _argo0
= 0;
5995 char *_kwnames
[] = { "self","attachment", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
6008 wxPy_BEGIN_ALLOW_THREADS
;
6009 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
6011 wxPy_END_ALLOW_THREADS
;
6012 } _resultobj
= Py_BuildValue("i",_result
);
6016 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6017 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6026 int _arg4
= (int ) 0;
6027 int _arg5
= (int ) 1;
6028 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6029 PyObject
* _argo0
= 0;
6030 PyObject
* _argo6
= 0;
6031 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6050 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6057 wxPy_BEGIN_ALLOW_THREADS
;
6058 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6060 wxPy_END_ALLOW_THREADS
;
6061 } _resultobj
= Py_BuildValue("i",_result
);
6064 o
= PyFloat_FromDouble((double) (*_arg2
));
6065 _resultobj
= t_output_helper(_resultobj
, o
);
6069 o
= PyFloat_FromDouble((double) (*_arg3
));
6070 _resultobj
= t_output_helper(_resultobj
, o
);
6075 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6076 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6078 wxRealPoint
* _result
;
6080 wxRealPoint
* _arg1
;
6081 wxRealPoint
* _arg2
;
6084 wxPyLineShape
* _arg5
;
6085 PyObject
* _argo0
= 0;
6087 PyObject
* _obj1
= 0;
6089 PyObject
* _obj2
= 0;
6090 PyObject
* _argo5
= 0;
6091 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6106 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6111 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6115 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6122 wxPy_BEGIN_ALLOW_THREADS
;
6123 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6125 wxPy_END_ALLOW_THREADS
;
6126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6127 _resultobj
= Py_BuildValue("s",_ptemp
);
6131 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6132 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6137 wxRealPoint
* _arg2
;
6138 wxRealPoint
* _arg3
;
6139 PyObject
* _argo0
= 0;
6141 PyObject
* _obj2
= 0;
6143 PyObject
* _obj3
= 0;
6144 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6158 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6163 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6167 wxPy_BEGIN_ALLOW_THREADS
;
6168 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6170 wxPy_END_ALLOW_THREADS
;
6171 } _resultobj
= Py_BuildValue("i",_result
);
6175 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6176 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
* _resultobj
;
6180 int _arg2
= (int ) -1;
6181 bool _arg3
= (bool ) FALSE
;
6182 PyObject
* _argo0
= 0;
6183 PyObject
* _argo1
= 0;
6184 int tempbool3
= (int) FALSE
;
6185 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6204 _arg3
= (bool ) tempbool3
;
6206 wxPy_BEGIN_ALLOW_THREADS
;
6207 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6209 wxPy_END_ALLOW_THREADS
;
6210 } Py_INCREF(Py_None
);
6211 _resultobj
= Py_None
;
6215 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6216 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6220 int _arg2
= (int ) -1;
6221 bool _arg3
= (bool ) FALSE
;
6222 PyObject
* _argo0
= 0;
6223 PyObject
* _argo1
= 0;
6224 int tempbool3
= (int) FALSE
;
6225 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6244 _arg3
= (bool ) tempbool3
;
6246 wxPy_BEGIN_ALLOW_THREADS
;
6247 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6249 wxPy_END_ALLOW_THREADS
;
6250 } Py_INCREF(Py_None
);
6251 _resultobj
= Py_None
;
6255 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6256 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
* _resultobj
;
6261 wxPyLineShape
* _arg2
;
6264 PyObject
* _argo0
= 0;
6265 PyObject
* _argo1
= 0;
6266 PyObject
* _argo2
= 0;
6267 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
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_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6287 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6288 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6294 wxPy_BEGIN_ALLOW_THREADS
;
6295 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6297 wxPy_END_ALLOW_THREADS
;
6298 } _resultobj
= Py_BuildValue("i",_result
);
6302 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6303 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6304 self
->ApplyAttachmentOrdering(*list
);
6307 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6311 PyObject
* _argo0
= 0;
6312 PyObject
* _obj1
= 0;
6313 char *_kwnames
[] = { "self","linesToSort", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6329 wxPy_BEGIN_ALLOW_THREADS
;
6330 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6332 wxPy_END_ALLOW_THREADS
;
6333 } Py_INCREF(Py_None
);
6334 _resultobj
= Py_None
;
6338 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6339 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
* _resultobj
;
6341 wxRealPoint
* _result
;
6344 PyObject
* _argo0
= 0;
6345 char *_kwnames
[] = { "self","attachment", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6359 wxPy_BEGIN_ALLOW_THREADS
;
6360 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6362 wxPy_END_ALLOW_THREADS
;
6363 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6364 _resultobj
= Py_BuildValue("s",_ptemp
);
6368 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6369 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
* _resultobj
;
6374 wxRealPoint
* _arg2
;
6375 wxRealPoint
* _arg3
;
6376 wxRealPoint
* _arg4
;
6377 wxRealPoint
* _arg5
;
6378 PyObject
* _argo0
= 0;
6380 PyObject
* _obj2
= 0;
6382 PyObject
* _obj3
= 0;
6384 PyObject
* _obj4
= 0;
6386 PyObject
* _obj5
= 0;
6387 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
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_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6401 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6406 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6411 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6416 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6420 wxPy_BEGIN_ALLOW_THREADS
;
6421 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6423 wxPy_END_ALLOW_THREADS
;
6424 } _resultobj
= Py_BuildValue("i",_result
);
6428 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6429 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
* _resultobj
;
6435 wxRealPoint
* _arg3
;
6436 wxRealPoint
* _arg4
;
6437 PyObject
* _argo0
= 0;
6439 PyObject
* _obj3
= 0;
6441 PyObject
* _obj4
= 0;
6442 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
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_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6456 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6461 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6465 wxPy_BEGIN_ALLOW_THREADS
;
6466 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6468 wxPy_END_ALLOW_THREADS
;
6469 } _resultobj
= Py_BuildValue("i",_result
);
6473 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6474 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6479 PyObject
* _argo0
= 0;
6480 char *_kwnames
[] = { "self","attachment", NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6493 wxPy_BEGIN_ALLOW_THREADS
;
6494 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6496 wxPy_END_ALLOW_THREADS
;
6497 } _resultobj
= Py_BuildValue("i",_result
);
6501 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6502 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self","len", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6520 wxPy_BEGIN_ALLOW_THREADS
;
6521 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6523 wxPy_END_ALLOW_THREADS
;
6524 } Py_INCREF(Py_None
);
6525 _resultobj
= Py_None
;
6529 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6530 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6548 wxPy_BEGIN_ALLOW_THREADS
;
6549 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6551 wxPy_END_ALLOW_THREADS
;
6552 } _resultobj
= Py_BuildValue("i",_result
);
6556 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6557 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
* _resultobj
;
6561 PyObject
* _argo0
= 0;
6562 char *_kwnames
[] = { "self","len", NULL
};
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6575 wxPy_BEGIN_ALLOW_THREADS
;
6576 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6578 wxPy_END_ALLOW_THREADS
;
6579 } Py_INCREF(Py_None
);
6580 _resultobj
= Py_None
;
6584 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6585 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6589 PyObject
* _argo0
= 0;
6590 char *_kwnames
[] = { "self", NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6603 wxPy_BEGIN_ALLOW_THREADS
;
6604 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6606 wxPy_END_ALLOW_THREADS
;
6607 } _resultobj
= Py_BuildValue("i",_result
);
6611 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6612 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
* _resultobj
;
6616 PyObject
* _argo0
= 0;
6617 char *_kwnames
[] = { "self","len", NULL
};
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6630 wxPy_BEGIN_ALLOW_THREADS
;
6631 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6633 wxPy_END_ALLOW_THREADS
;
6634 } Py_INCREF(Py_None
);
6635 _resultobj
= Py_None
;
6639 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6640 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
* _resultobj
;
6644 PyObject
* _argo0
= 0;
6645 char *_kwnames
[] = { "self", NULL
};
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6658 wxPy_BEGIN_ALLOW_THREADS
;
6659 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6661 wxPy_END_ALLOW_THREADS
;
6662 } _resultobj
= Py_BuildValue("i",_result
);
6666 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6667 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
* _resultobj
;
6671 PyObject
* _argo0
= 0;
6672 char *_kwnames
[] = { "self","style", NULL
};
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6685 wxPy_BEGIN_ALLOW_THREADS
;
6686 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6688 wxPy_END_ALLOW_THREADS
;
6689 } Py_INCREF(Py_None
);
6690 _resultobj
= Py_None
;
6694 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6695 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
* _resultobj
;
6699 PyObject
* _argo0
= 0;
6700 char *_kwnames
[] = { "self", NULL
};
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6713 wxPy_BEGIN_ALLOW_THREADS
;
6714 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6716 wxPy_END_ALLOW_THREADS
;
6717 } _resultobj
= Py_BuildValue("l",_result
);
6721 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6722 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6727 PyObject
* _argo0
= 0;
6728 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6741 wxPy_BEGIN_ALLOW_THREADS
;
6742 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6744 wxPy_END_ALLOW_THREADS
;
6745 } _resultobj
= Py_BuildValue("i",_result
);
6749 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6750 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6755 PyObject
* _argo0
= 0;
6756 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6769 wxPy_BEGIN_ALLOW_THREADS
;
6770 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6772 wxPy_END_ALLOW_THREADS
;
6773 } _resultobj
= Py_BuildValue("i",_result
);
6777 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6778 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6782 PyObject
* _argo0
= 0;
6783 char *_kwnames
[] = { "self", NULL
};
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6796 wxPy_BEGIN_ALLOW_THREADS
;
6797 _result
= (bool )wxPyShape_Draggable(_arg0
);
6799 wxPy_END_ALLOW_THREADS
;
6800 } _resultobj
= Py_BuildValue("i",_result
);
6804 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6805 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6810 PyObject
* _argo0
= 0;
6811 PyObject
* _argo1
= 0;
6812 char *_kwnames
[] = { "self","image", NULL
};
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6832 wxPy_BEGIN_ALLOW_THREADS
;
6833 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6835 wxPy_END_ALLOW_THREADS
;
6836 } _resultobj
= Py_BuildValue("i",_result
);
6840 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6841 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
* _resultobj
;
6843 wxPyShape
* _result
;
6845 bool _arg1
= (bool ) TRUE
;
6846 bool _arg2
= (bool ) TRUE
;
6847 PyObject
* _argo0
= 0;
6848 int tempbool1
= (int) TRUE
;
6849 int tempbool2
= (int) TRUE
;
6850 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6863 _arg1
= (bool ) tempbool1
;
6864 _arg2
= (bool ) tempbool2
;
6866 wxPy_BEGIN_ALLOW_THREADS
;
6867 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6869 wxPy_END_ALLOW_THREADS
;
6871 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
6872 _resultobj
= Py_BuildValue("s",_ptemp
);
6875 _resultobj
= Py_None
;
6880 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6881 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
* _resultobj
;
6885 PyObject
* _argo0
= 0;
6886 PyObject
* _argo1
= 0;
6887 char *_kwnames
[] = { "self","copy", NULL
};
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6907 wxPy_BEGIN_ALLOW_THREADS
;
6908 wxPyShape_Copy(_arg0
,*_arg1
);
6910 wxPy_END_ALLOW_THREADS
;
6911 } Py_INCREF(Py_None
);
6912 _resultobj
= Py_None
;
6916 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6917 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
* _resultobj
;
6921 PyObject
* _argo0
= 0;
6922 PyObject
* _argo1
= 0;
6923 char *_kwnames
[] = { "self","copy", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_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_CopyWithHandler. Expected _wxPyShape_p.");
6936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6943 wxPy_BEGIN_ALLOW_THREADS
;
6944 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6946 wxPy_END_ALLOW_THREADS
;
6947 } Py_INCREF(Py_None
);
6948 _resultobj
= Py_None
;
6952 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6953 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
* _resultobj
;
6959 PyObject
* _argo0
= 0;
6960 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6973 wxPy_BEGIN_ALLOW_THREADS
;
6974 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6976 wxPy_END_ALLOW_THREADS
;
6977 } Py_INCREF(Py_None
);
6978 _resultobj
= Py_None
;
6982 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6983 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 char *_kwnames
[] = { "self", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
7001 wxPy_BEGIN_ALLOW_THREADS
;
7002 _result
= (double )wxPyShape_GetRotation(_arg0
);
7004 wxPy_END_ALLOW_THREADS
;
7005 } _resultobj
= Py_BuildValue("d",_result
);
7009 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7010 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
* _resultobj
;
7013 PyObject
* _argo0
= 0;
7014 char *_kwnames
[] = { "self", NULL
};
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
7020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7027 wxPy_BEGIN_ALLOW_THREADS
;
7028 wxPyShape_ClearAttachments(_arg0
);
7030 wxPy_END_ALLOW_THREADS
;
7031 } Py_INCREF(Py_None
);
7032 _resultobj
= Py_None
;
7036 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7037 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
* _resultobj
;
7041 PyObject
* _argo0
= 0;
7042 PyObject
* _argo1
= 0;
7043 char *_kwnames
[] = { "self","dc", NULL
};
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
7049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7056 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7063 wxPy_BEGIN_ALLOW_THREADS
;
7064 wxPyShape_Recentre(_arg0
,*_arg1
);
7066 wxPy_END_ALLOW_THREADS
;
7067 } Py_INCREF(Py_None
);
7068 _resultobj
= Py_None
;
7072 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7073 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
* _resultobj
;
7077 PyObject
* _argo0
= 0;
7078 PyObject
* _argo1
= 0;
7079 char *_kwnames
[] = { "self","list", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7099 wxPy_BEGIN_ALLOW_THREADS
;
7100 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7102 wxPy_END_ALLOW_THREADS
;
7103 } Py_INCREF(Py_None
);
7104 _resultobj
= Py_None
;
7108 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7109 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
* _resultobj
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7126 wxPy_BEGIN_ALLOW_THREADS
;
7127 wxPyShape_base_OnDelete(_arg0
);
7129 wxPy_END_ALLOW_THREADS
;
7130 } Py_INCREF(Py_None
);
7131 _resultobj
= Py_None
;
7135 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7136 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
* _resultobj
;
7140 PyObject
* _argo0
= 0;
7141 PyObject
* _argo1
= 0;
7142 char *_kwnames
[] = { "self","dc", NULL
};
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7162 wxPy_BEGIN_ALLOW_THREADS
;
7163 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7165 wxPy_END_ALLOW_THREADS
;
7166 } Py_INCREF(Py_None
);
7167 _resultobj
= Py_None
;
7171 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7172 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
* _resultobj
;
7176 PyObject
* _argo0
= 0;
7177 PyObject
* _argo1
= 0;
7178 char *_kwnames
[] = { "self","dc", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7198 wxPy_BEGIN_ALLOW_THREADS
;
7199 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7201 wxPy_END_ALLOW_THREADS
;
7202 } Py_INCREF(Py_None
);
7203 _resultobj
= Py_None
;
7207 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7208 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
* _resultobj
;
7212 bool _arg2
= (bool ) FALSE
;
7213 PyObject
* _argo0
= 0;
7214 PyObject
* _argo1
= 0;
7215 int tempbool2
= (int) FALSE
;
7216 char *_kwnames
[] = { "self","dc","erase", NULL
};
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7235 _arg2
= (bool ) tempbool2
;
7237 wxPy_BEGIN_ALLOW_THREADS
;
7238 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7240 wxPy_END_ALLOW_THREADS
;
7241 } Py_INCREF(Py_None
);
7242 _resultobj
= Py_None
;
7246 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7247 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7251 PyObject
* _argo0
= 0;
7252 PyObject
* _argo1
= 0;
7253 char *_kwnames
[] = { "self","dc", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7273 wxPy_BEGIN_ALLOW_THREADS
;
7274 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7276 wxPy_END_ALLOW_THREADS
;
7277 } Py_INCREF(Py_None
);
7278 _resultobj
= Py_None
;
7282 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7283 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7287 PyObject
* _argo0
= 0;
7288 PyObject
* _argo1
= 0;
7289 char *_kwnames
[] = { "self","dc", NULL
};
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7309 wxPy_BEGIN_ALLOW_THREADS
;
7310 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7312 wxPy_END_ALLOW_THREADS
;
7313 } Py_INCREF(Py_None
);
7314 _resultobj
= Py_None
;
7318 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7319 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
* _resultobj
;
7323 PyObject
* _argo0
= 0;
7324 PyObject
* _argo1
= 0;
7325 char *_kwnames
[] = { "self","dc", NULL
};
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7345 wxPy_BEGIN_ALLOW_THREADS
;
7346 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7348 wxPy_END_ALLOW_THREADS
;
7349 } Py_INCREF(Py_None
);
7350 _resultobj
= Py_None
;
7354 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7355 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
* _resultobj
;
7359 PyObject
* _argo0
= 0;
7360 PyObject
* _argo1
= 0;
7361 char *_kwnames
[] = { "self","dc", NULL
};
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7381 wxPy_BEGIN_ALLOW_THREADS
;
7382 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7384 wxPy_END_ALLOW_THREADS
;
7385 } Py_INCREF(Py_None
);
7386 _resultobj
= Py_None
;
7390 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7391 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
* _resultobj
;
7396 int _arg3
= (int ) 0;
7397 int _arg4
= (int ) 0;
7398 PyObject
* _argo0
= 0;
7399 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7412 wxPy_BEGIN_ALLOW_THREADS
;
7413 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7415 wxPy_END_ALLOW_THREADS
;
7416 } Py_INCREF(Py_None
);
7417 _resultobj
= Py_None
;
7421 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7422 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
* _resultobj
;
7427 int _arg3
= (int ) 0;
7428 int _arg4
= (int ) 0;
7429 PyObject
* _argo0
= 0;
7430 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7443 wxPy_BEGIN_ALLOW_THREADS
;
7444 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7446 wxPy_END_ALLOW_THREADS
;
7447 } Py_INCREF(Py_None
);
7448 _resultobj
= Py_None
;
7452 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7453 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
* _resultobj
;
7458 int _arg3
= (int ) 0;
7459 int _arg4
= (int ) 0;
7460 PyObject
* _argo0
= 0;
7461 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7474 wxPy_BEGIN_ALLOW_THREADS
;
7475 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7477 wxPy_END_ALLOW_THREADS
;
7478 } Py_INCREF(Py_None
);
7479 _resultobj
= Py_None
;
7483 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7484 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
* _resultobj
;
7489 PyObject
* _argo0
= 0;
7490 char *_kwnames
[] = { "self","x","y", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7503 wxPy_BEGIN_ALLOW_THREADS
;
7504 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7506 wxPy_END_ALLOW_THREADS
;
7507 } Py_INCREF(Py_None
);
7508 _resultobj
= Py_None
;
7512 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7513 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7522 bool _arg6
= (bool ) TRUE
;
7523 PyObject
* _argo0
= 0;
7524 PyObject
* _argo1
= 0;
7525 int tempbool6
= (int) TRUE
;
7526 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7545 _arg6
= (bool ) tempbool6
;
7547 wxPy_BEGIN_ALLOW_THREADS
;
7548 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7550 wxPy_END_ALLOW_THREADS
;
7551 } _resultobj
= Py_BuildValue("i",_result
);
7555 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7556 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
* _resultobj
;
7564 bool _arg6
= (bool ) TRUE
;
7565 PyObject
* _argo0
= 0;
7566 PyObject
* _argo1
= 0;
7567 int tempbool6
= (int) TRUE
;
7568 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7581 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7582 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7587 _arg6
= (bool ) tempbool6
;
7589 wxPy_BEGIN_ALLOW_THREADS
;
7590 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7592 wxPy_END_ALLOW_THREADS
;
7593 } Py_INCREF(Py_None
);
7594 _resultobj
= Py_None
;
7598 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7599 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
* _resultobj
;
7605 int _arg4
= (int ) 0;
7606 int _arg5
= (int ) 0;
7607 PyObject
* _argo0
= 0;
7609 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7621 _arg1
= (bool ) tempbool1
;
7623 wxPy_BEGIN_ALLOW_THREADS
;
7624 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7626 wxPy_END_ALLOW_THREADS
;
7627 } Py_INCREF(Py_None
);
7628 _resultobj
= Py_None
;
7632 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7633 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
* _resultobj
;
7638 int _arg3
= (int ) 0;
7639 int _arg4
= (int ) 0;
7640 PyObject
* _argo0
= 0;
7641 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7654 wxPy_BEGIN_ALLOW_THREADS
;
7655 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7657 wxPy_END_ALLOW_THREADS
;
7658 } Py_INCREF(Py_None
);
7659 _resultobj
= Py_None
;
7663 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7664 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7669 int _arg3
= (int ) 0;
7670 int _arg4
= (int ) 0;
7671 PyObject
* _argo0
= 0;
7672 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7685 wxPy_BEGIN_ALLOW_THREADS
;
7686 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7688 wxPy_END_ALLOW_THREADS
;
7689 } Py_INCREF(Py_None
);
7690 _resultobj
= Py_None
;
7694 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7695 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
* _resultobj
;
7701 int _arg4
= (int ) 0;
7702 int _arg5
= (int ) 0;
7703 PyObject
* _argo0
= 0;
7705 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7717 _arg1
= (bool ) tempbool1
;
7719 wxPy_BEGIN_ALLOW_THREADS
;
7720 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7722 wxPy_END_ALLOW_THREADS
;
7723 } Py_INCREF(Py_None
);
7724 _resultobj
= Py_None
;
7728 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7729 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
* _resultobj
;
7734 int _arg3
= (int ) 0;
7735 int _arg4
= (int ) 0;
7736 PyObject
* _argo0
= 0;
7737 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7750 wxPy_BEGIN_ALLOW_THREADS
;
7751 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7753 wxPy_END_ALLOW_THREADS
;
7754 } Py_INCREF(Py_None
);
7755 _resultobj
= Py_None
;
7759 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7760 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
* _resultobj
;
7765 int _arg3
= (int ) 0;
7766 int _arg4
= (int ) 0;
7767 PyObject
* _argo0
= 0;
7768 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7781 wxPy_BEGIN_ALLOW_THREADS
;
7782 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7784 wxPy_END_ALLOW_THREADS
;
7785 } Py_INCREF(Py_None
);
7786 _resultobj
= Py_None
;
7790 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7791 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
* _resultobj
;
7799 PyObject
* _argo0
= 0;
7800 PyObject
* _argo1
= 0;
7801 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7821 wxPy_BEGIN_ALLOW_THREADS
;
7822 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7824 wxPy_END_ALLOW_THREADS
;
7825 } Py_INCREF(Py_None
);
7826 _resultobj
= Py_None
;
7830 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7831 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
* _resultobj
;
7835 PyObject
* _argo0
= 0;
7836 PyObject
* _argo1
= 0;
7837 char *_kwnames
[] = { "self","dc", NULL
};
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7857 wxPy_BEGIN_ALLOW_THREADS
;
7858 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7860 wxPy_END_ALLOW_THREADS
;
7861 } Py_INCREF(Py_None
);
7862 _resultobj
= Py_None
;
7866 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7867 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
* _resultobj
;
7871 PyObject
* _argo0
= 0;
7872 PyObject
* _argo1
= 0;
7873 char *_kwnames
[] = { "self","dc", NULL
};
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7893 wxPy_BEGIN_ALLOW_THREADS
;
7894 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7896 wxPy_END_ALLOW_THREADS
;
7897 } Py_INCREF(Py_None
);
7898 _resultobj
= Py_None
;
7902 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7903 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
* _resultobj
;
7907 bool _arg2
= (bool ) TRUE
;
7908 PyObject
* _argo0
= 0;
7909 PyObject
* _argo1
= 0;
7910 int tempbool2
= (int) TRUE
;
7911 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7930 _arg2
= (bool ) tempbool2
;
7932 wxPy_BEGIN_ALLOW_THREADS
;
7933 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7935 wxPy_END_ALLOW_THREADS
;
7936 } Py_INCREF(Py_None
);
7937 _resultobj
= Py_None
;
7941 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7942 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
* _resultobj
;
7945 wxPyControlPoint
* _arg1
;
7949 int _arg5
= (int ) 0;
7950 int _arg6
= (int ) 0;
7951 PyObject
* _argo0
= 0;
7952 PyObject
* _argo1
= 0;
7954 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7973 _arg2
= (bool ) tempbool2
;
7975 wxPy_BEGIN_ALLOW_THREADS
;
7976 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7978 wxPy_END_ALLOW_THREADS
;
7979 } Py_INCREF(Py_None
);
7980 _resultobj
= Py_None
;
7984 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7985 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
* _resultobj
;
7988 wxPyControlPoint
* _arg1
;
7991 int _arg4
= (int ) 0;
7992 int _arg5
= (int ) 0;
7993 PyObject
* _argo0
= 0;
7994 PyObject
* _argo1
= 0;
7995 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
8008 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8009 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8015 wxPy_BEGIN_ALLOW_THREADS
;
8016 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8018 wxPy_END_ALLOW_THREADS
;
8019 } Py_INCREF(Py_None
);
8020 _resultobj
= Py_None
;
8024 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8025 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
* _resultobj
;
8028 wxPyControlPoint
* _arg1
;
8031 int _arg4
= (int ) 0;
8032 int _arg5
= (int ) 0;
8033 PyObject
* _argo0
= 0;
8034 PyObject
* _argo1
= 0;
8035 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8055 wxPy_BEGIN_ALLOW_THREADS
;
8056 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8058 wxPy_END_ALLOW_THREADS
;
8059 } Py_INCREF(Py_None
);
8060 _resultobj
= Py_None
;
8064 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8065 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
* _resultobj
;
8070 PyObject
* _argo0
= 0;
8071 char *_kwnames
[] = { "self","w","h", NULL
};
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8084 wxPy_BEGIN_ALLOW_THREADS
;
8085 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8087 wxPy_END_ALLOW_THREADS
;
8088 } Py_INCREF(Py_None
);
8089 _resultobj
= Py_None
;
8093 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8094 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
* _resultobj
;
8099 PyObject
* _argo0
= 0;
8100 char *_kwnames
[] = { "self","w","h", NULL
};
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8113 wxPy_BEGIN_ALLOW_THREADS
;
8114 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8116 wxPy_END_ALLOW_THREADS
;
8117 } Py_INCREF(Py_None
);
8118 _resultobj
= Py_None
;
8122 static PyMethodDef oglbasiccMethods
[] = {
8123 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxPyShape_Destroy", (PyCFunction
) _wrap_wxPyShape_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxPyShape__setSelf", (PyCFunction
) _wrap_wxPyShape__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxPyShapeEvtHandler__setSelf", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8360 * This table is used by the pointer type-checker
8362 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8363 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8364 { "_wxEvent","_class_wxEvent",0},
8365 { "_class_wxActivateEvent","_wxActivateEvent",0},
8366 { "_signed_long","_long",0},
8367 { "_wxMenuEvent","_class_wxMenuEvent",0},
8368 { "_class_wxProcessEvent","_wxProcessEvent",0},
8369 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
8370 { "_class_wxFSFile","_wxFSFile",0},
8371 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8372 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8373 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8374 { "_wxBMPHandler","_class_wxBMPHandler",0},
8375 { "_wxImage","_class_wxImage",0},
8376 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
8377 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
8378 { "_class_wxDateTime","_wxDateTime",0},
8379 { "_wxPrintQuality","_wxCoord",0},
8380 { "_wxPrintQuality","_int",0},
8381 { "_wxPrintQuality","_signed_int",0},
8382 { "_wxPrintQuality","_unsigned_int",0},
8383 { "_wxPrintQuality","_wxWindowID",0},
8384 { "_wxPrintQuality","_uint",0},
8385 { "_wxPrintQuality","_EBool",0},
8386 { "_wxPrintQuality","_size_t",0},
8387 { "_wxPrintQuality","_time_t",0},
8388 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8389 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8390 { "_wxFontData","_class_wxFontData",0},
8391 { "_class_wxRegionIterator","_wxRegionIterator",0},
8392 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8393 { "_class_wxMenuBar","_wxMenuBar",0},
8394 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8395 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
8396 { "_class_wxEvtHandler","_wxEvtHandler",0},
8397 { "_wxPaintEvent","_class_wxPaintEvent",0},
8398 { "_wxGIFHandler","_class_wxGIFHandler",0},
8399 { "_wxPySizer","_class_wxPySizer",0},
8400 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
8401 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8402 { "_wxCursor","_class_wxCursor",0},
8403 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8404 { "_wxPyProcess","_class_wxPyProcess",0},
8405 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8406 { "_wxImageHandler","_class_wxImageHandler",0},
8407 { "_wxLog","_class_wxLog",0},
8408 { "_class_wxToolBarBase","_wxToolBarBase",0},
8409 { "_wxMask","_class_wxMask",0},
8410 { "_wxToolTip","_class_wxToolTip",0},
8411 { "_wxPNGHandler","_class_wxPNGHandler",0},
8412 { "_class_wxColourData","_wxColourData",0},
8413 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8414 { "_wxPrinter","_class_wxPrinter",0},
8415 { "_wxPen","_class_wxPen",0},
8416 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8417 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
8418 { "_byte","_unsigned_char",0},
8419 { "_wxDataObject","_class_wxDataObject",0},
8420 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
8421 { "_wxStaticBox","_class_wxStaticBox",0},
8422 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8423 { "_wxPyDropSource","_class_wxPyDropSource",0},
8424 { "_wxChoice","_class_wxChoice",0},
8425 { "_wxSlider","_class_wxSlider",0},
8426 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8427 { "_wxPyPrintout","_class_wxPyPrintout",0},
8428 { "_wxShapeRegion","_class_wxShapeRegion",0},
8429 { "_long","_unsigned_long",0},
8430 { "_long","_signed_long",0},
8431 { "_wxImageList","_class_wxImageList",0},
8432 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8433 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8434 { "_wxBitmapButton","_class_wxBitmapButton",0},
8435 { "_wxSashWindow","_class_wxSashWindow",0},
8436 { "_class_wxSizer","_wxSizer",0},
8437 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
8438 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8439 { "_wxGridSizer","_class_wxGridSizer",0},
8440 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8441 { "_class_wxClipboard","_wxClipboard",0},
8442 { "_class_wxGauge","_wxGauge",0},
8443 { "_class_wxSashEvent","_wxSashEvent",0},
8444 { "_wxDC","_class_wxDC",0},
8445 { "_wxSizerItem","_class_wxSizerItem",0},
8446 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8447 { "_wxListEvent","_class_wxListEvent",0},
8448 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8449 { "_wxProgressDialog","_class_wxProgressDialog",0},
8450 { "_class_wxBMPHandler","_wxBMPHandler",0},
8451 { "_wxPrintPreview","_class_wxPrintPreview",0},
8452 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
8453 { "_wxSpinEvent","_class_wxSpinEvent",0},
8454 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8455 { "_size_t","_wxCoord",0},
8456 { "_size_t","_wxPrintQuality",0},
8457 { "_size_t","_time_t",0},
8458 { "_size_t","_unsigned_int",0},
8459 { "_size_t","_int",0},
8460 { "_size_t","_wxWindowID",0},
8461 { "_size_t","_uint",0},
8462 { "_class_wxRealPoint","_wxRealPoint",0},
8463 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8464 { "_wxPNMHandler","_class_wxPNMHandler",0},
8465 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8466 { "_wxLogGui","_class_wxLogGui",0},
8467 { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8468 { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8469 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
8470 { "_class_wxMenuItem","_wxMenuItem",0},
8471 { "_class_wxPaintEvent","_wxPaintEvent",0},
8472 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8473 { "_class_wxStatusBar","_wxStatusBar",0},
8474 { "_class_wxGIFHandler","_wxGIFHandler",0},
8475 { "_class_wxPySizer","_wxPySizer",0},
8476 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8477 { "_wxPanel","_class_wxPanel",0},
8478 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8479 { "_wxCheckBox","_class_wxCheckBox",0},
8480 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8481 { "_wxPyEvent","_class_wxPyEvent",0},
8482 { "_wxTextCtrl","_class_wxTextCtrl",0},
8483 { "_class_wxMask","_wxMask",0},
8484 { "_wxTextDataObject","_class_wxTextDataObject",0},
8485 { "_class_wxKeyEvent","_wxKeyEvent",0},
8486 { "_class_wxToolTip","_wxToolTip",0},
8487 { "_class_wxPNGHandler","_wxPNGHandler",0},
8488 { "_wxFileConfig","_class_wxFileConfig",0},
8489 { "_wxColour","_class_wxColour",0},
8490 { "_class_wxDialog","_wxDialog",0},
8491 { "_wxBusyCursor","_class_wxBusyCursor",0},
8492 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8493 { "_class_wxPrinter","_wxPrinter",0},
8494 { "_class_wxFileDataObject","_wxFileDataObject",0},
8495 { "_wxIdleEvent","_class_wxIdleEvent",0},
8496 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8497 { "_wxToolBar","_class_wxToolBar",0},
8498 { "_class_wxDataObject","_wxDataObject",0},
8499 { "_wxCaret","_class_wxCaret",0},
8500 { "_wxStaticLine","_class_wxStaticLine",0},
8501 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8502 { "_wxBrush","_class_wxBrush",0},
8503 { "_wxMiniFrame","_class_wxMiniFrame",0},
8504 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8505 { "_class_wxPyPrintout","_wxPyPrintout",0},
8506 { "_wxDataFormat","_class_wxDataFormat",0},
8507 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8508 { "_class_wxSashWindow","_wxSashWindow",0},
8509 { "_wxShowEvent","_class_wxShowEvent",0},
8510 { "_uint","_wxCoord",0},
8511 { "_uint","_wxPrintQuality",0},
8512 { "_uint","_time_t",0},
8513 { "_uint","_size_t",0},
8514 { "_uint","_unsigned_int",0},
8515 { "_uint","_int",0},
8516 { "_uint","_wxWindowID",0},
8517 { "_wxChar","_char",0},
8518 { "_wxPyValidator","_class_wxPyValidator",0},
8519 { "_class_wxEvent","_wxEvent",0},
8520 { "_wxCheckListBox","_class_wxCheckListBox",0},
8521 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8522 { "_wxRect","_class_wxRect",0},
8523 { "_wxCommandEvent","_class_wxCommandEvent",0},
8524 { "_wxSizeEvent","_class_wxSizeEvent",0},
8525 { "_class_wxLogWindow","_wxLogWindow",0},
8526 { "_class_wxImage","_wxImage",0},
8527 { "_wxPoint","_class_wxPoint",0},
8528 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
8529 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8530 { "_class_wxButton","_wxButton",0},
8531 { "_wxRadioBox","_class_wxRadioBox",0},
8532 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8533 { "_class_wxFontData","_wxFontData",0},
8534 { "_class_wxPNMHandler","_wxPNMHandler",0},
8535 { "_wxBoxSizer","_class_wxBoxSizer",0},
8536 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
8537 { "_char","_wxChar",0},
8538 { "_wxBitmap","_class_wxBitmap",0},
8539 { "_wxPrintDialog","_class_wxPrintDialog",0},
8540 { "_wxWindowDC","_class_wxWindowDC",0},
8541 { "_wxTimerEvent","_class_wxTimerEvent",0},
8542 { "_wxPyTimer","_class_wxPyTimer",0},
8543 { "_wxScrollBar","_class_wxScrollBar",0},
8544 { "_wxSpinButton","_class_wxSpinButton",0},
8545 { "_wxColourDialog","_class_wxColourDialog",0},
8546 { "_wxPrintData","_class_wxPrintData",0},
8547 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
8548 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8549 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8550 { "_wxMessageDialog","_class_wxMessageDialog",0},
8551 { "_class_wxValidator","_wxValidator",0},
8552 { "_class_wxPyEvent","_wxPyEvent",0},
8553 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
8554 { "_wxConfig","_class_wxConfig",0},
8555 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8556 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8557 { "_class_wxFileConfig","_wxFileConfig",0},
8558 { "_class_wxBusyCursor","_wxBusyCursor",0},
8559 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
8560 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8561 { "_wxListItem","_class_wxListItem",0},
8562 { "_class_wxToolBar","_wxToolBar",0},
8563 { "_wxDropTarget","_class_wxDropTarget",0},
8564 { "_class_wxStaticLine","_wxStaticLine",0},
8565 { "_wxScrollEvent","_class_wxScrollEvent",0},
8566 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
8567 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
8568 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
8569 { "_class_wxShapeRegion","_wxShapeRegion",0},
8570 { "_EBool","_wxCoord",0},
8571 { "_EBool","_wxPrintQuality",0},
8572 { "_EBool","_signed_int",0},
8573 { "_EBool","_int",0},
8574 { "_EBool","_wxWindowID",0},
8575 { "_class_wxRegion","_wxRegion",0},
8576 { "_class_wxDataFormat","_wxDataFormat",0},
8577 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8578 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8579 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8580 { "_wxStaticText","_class_wxStaticText",0},
8581 { "_wxFont","_class_wxFont",0},
8582 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8583 { "_wxCloseEvent","_class_wxCloseEvent",0},
8584 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
8585 { "_wxProcessEvent","_class_wxProcessEvent",0},
8586 { "_wxNotebook","_class_wxNotebook",0},
8587 { "_wxFSFile","_class_wxFSFile",0},
8588 { "_unsigned_long","_long",0},
8589 { "_class_wxRect","_wxRect",0},
8590 { "_class_wxDC","_wxDC",0},
8591 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8592 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
8593 { "_class_wxProgressDialog","_wxProgressDialog",0},
8594 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8595 { "_wxPyInputStream","_class_wxPyInputStream",0},
8596 { "_wxPyApp","_class_wxPyApp",0},
8597 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8598 { "_class_wxOutputStream","_wxOutputStream",0},
8599 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
8600 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8601 { "_class_wxTreeEvent","_wxTreeEvent",0},
8602 { "_class_wxDirDialog","_wxDirDialog",0},
8603 { "_wxTimeSpan","_class_wxTimeSpan",0},
8604 { "_wxFocusEvent","_class_wxFocusEvent",0},
8605 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8606 { "_class_wxTimerEvent","_wxTimerEvent",0},
8607 { "_class_wxPyTimer","_wxPyTimer",0},
8608 { "_class_wxSpinButton","_wxSpinButton",0},
8609 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8610 { "_class_wxPanel","_wxPanel",0},
8611 { "_class_wxCheckBox","_wxCheckBox",0},
8612 { "_wxComboBox","_class_wxComboBox",0},
8613 { "_wxRadioButton","_class_wxRadioButton",0},
8614 { "_class_wxMessageDialog","_wxMessageDialog",0},
8615 { "_signed_int","_wxCoord",0},
8616 { "_signed_int","_wxPrintQuality",0},
8617 { "_signed_int","_EBool",0},
8618 { "_signed_int","_wxWindowID",0},
8619 { "_signed_int","_int",0},
8620 { "_class_wxTextCtrl","_wxTextCtrl",0},
8621 { "_class_wxListItemAttr","_wxListItemAttr",0},
8622 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8623 { "_class_wxTextDataObject","_wxTextDataObject",0},
8624 { "_wxMenu","_class_wxMenu",0},
8625 { "_class_wxMoveEvent","_wxMoveEvent",0},
8626 { "_wxListBox","_class_wxListBox",0},
8627 { "_wxScreenDC","_class_wxScreenDC",0},
8628 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
8629 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
8630 { "_WXTYPE","_wxDateTime_t",0},
8631 { "_WXTYPE","_short",0},
8632 { "_WXTYPE","_signed_short",0},
8633 { "_WXTYPE","_unsigned_short",0},
8634 { "_wxFileDialog","_class_wxFileDialog",0},
8635 { "_class_wxDropTarget","_wxDropTarget",0},
8636 { "_class_wxCaret","_wxCaret",0},
8637 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8638 { "_class_wxBrush","_wxBrush",0},
8639 { "_wxTipProvider","_class_wxTipProvider",0},
8640 { "_unsigned_short","_wxDateTime_t",0},
8641 { "_unsigned_short","_WXTYPE",0},
8642 { "_unsigned_short","_short",0},
8643 { "_class_wxWindow","_wxWindow",0},
8644 { "_class_wxLogStderr","_wxLogStderr",0},
8645 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
8646 { "_wxDateSpan","_class_wxDateSpan",0},
8647 { "_class_wxStaticText","_wxStaticText",0},
8648 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8649 { "_class_wxFont","_wxFont",0},
8650 { "_wxClipboard","_class_wxClipboard",0},
8651 { "_class_wxPyValidator","_wxPyValidator",0},
8652 { "_class_wxCloseEvent","_wxCloseEvent",0},
8653 { "_wxSashEvent","_class_wxSashEvent",0},
8654 { "_wxBusyInfo","_class_wxBusyInfo",0},
8655 { "_class_wxMenuEvent","_wxMenuEvent",0},
8656 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8657 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8658 { "_wxClientDC","_class_wxClientDC",0},
8659 { "_wxMouseEvent","_class_wxMouseEvent",0},
8660 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
8661 { "_wxListCtrl","_class_wxListCtrl",0},
8662 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8663 { "_class_wxPoint","_wxPoint",0},
8664 { "_class_wxPyInputStream","_wxPyInputStream",0},
8665 { "_wxRealPoint","_class_wxRealPoint",0},
8666 { "_class_wxRadioBox","_wxRadioBox",0},
8667 { "_class_wxBoxSizer","_wxBoxSizer",0},
8668 { "_signed_short","_WXTYPE",0},
8669 { "_signed_short","_short",0},
8670 { "_wxMemoryDC","_class_wxMemoryDC",0},
8671 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8672 { "_class_wxPrintDialog","_wxPrintDialog",0},
8673 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
8674 { "_wxPaintDC","_class_wxPaintDC",0},
8675 { "_class_wxWindowDC","_wxWindowDC",0},
8676 { "_class_wxFocusEvent","_wxFocusEvent",0},
8677 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8678 { "_wxStatusBar","_class_wxStatusBar",0},
8679 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8680 { "_class_wxCursor","_wxCursor",0},
8681 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8682 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8683 { "_class_wxPyProcess","_wxPyProcess",0},
8684 { "_class_wxImageHandler","_wxImageHandler",0},
8685 { "_wxPyShape","_class_wxPyShape",0},
8686 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8687 { "_class_wxLog","_wxLog",0},
8688 { "_wxTreeItemId","_class_wxTreeItemId",0},
8689 { "_unsigned_char","_byte",0},
8690 { "_class_wxMenu","_wxMenu",0},
8691 { "_wxControl","_class_wxControl",0},
8692 { "_class_wxListBox","_wxListBox",0},
8693 { "_unsigned_int","_wxCoord",0},
8694 { "_unsigned_int","_wxPrintQuality",0},
8695 { "_unsigned_int","_time_t",0},
8696 { "_unsigned_int","_size_t",0},
8697 { "_unsigned_int","_uint",0},
8698 { "_unsigned_int","_wxWindowID",0},
8699 { "_unsigned_int","_int",0},
8700 { "_wxIcon","_class_wxIcon",0},
8701 { "_wxDialog","_class_wxDialog",0},
8702 { "_class_wxListItem","_wxListItem",0},
8703 { "_class_wxPen","_wxPen",0},
8704 { "_class_wxFileDialog","_wxFileDialog",0},
8705 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
8706 { "_wxConfigBase","_class_wxConfigBase",0},
8707 { "_short","_wxDateTime_t",0},
8708 { "_short","_WXTYPE",0},
8709 { "_short","_unsigned_short",0},
8710 { "_short","_signed_short",0},
8711 { "_class_wxStaticBox","_wxStaticBox",0},
8712 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8713 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8714 { "_class_wxPyDropSource","_wxPyDropSource",0},
8715 { "_class_wxScrollEvent","_wxScrollEvent",0},
8716 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8717 { "_class_wxChoice","_wxChoice",0},
8718 { "_class_wxSlider","_wxSlider",0},
8719 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8720 { "_class_wxImageList","_wxImageList",0},
8721 { "_class_wxBitmapButton","_wxBitmapButton",0},
8722 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
8723 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
8724 { "_wxFrame","_class_wxFrame",0},
8725 { "_wxPCXHandler","_class_wxPCXHandler",0},
8726 { "_class_wxGridSizer","_wxGridSizer",0},
8727 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8728 { "_class_wxNotebook","_wxNotebook",0},
8729 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8730 { "_wxWindowID","_wxCoord",0},
8731 { "_wxWindowID","_wxPrintQuality",0},
8732 { "_wxWindowID","_time_t",0},
8733 { "_wxWindowID","_size_t",0},
8734 { "_wxWindowID","_EBool",0},
8735 { "_wxWindowID","_uint",0},
8736 { "_wxWindowID","_int",0},
8737 { "_wxWindowID","_signed_int",0},
8738 { "_wxWindowID","_unsigned_int",0},
8739 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8740 { "_class_wxSizerItem","_wxSizerItem",0},
8741 { "_int","_wxCoord",0},
8742 { "_int","_wxPrintQuality",0},
8743 { "_int","_time_t",0},
8744 { "_int","_size_t",0},
8745 { "_int","_EBool",0},
8746 { "_int","_uint",0},
8747 { "_int","_wxWindowID",0},
8748 { "_int","_unsigned_int",0},
8749 { "_int","_signed_int",0},
8750 { "_class_wxMouseEvent","_wxMouseEvent",0},
8751 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8752 { "_wxLogWindow","_class_wxLogWindow",0},
8753 { "_class_wxListEvent","_wxListEvent",0},
8754 { "_class_wxPrintPreview","_wxPrintPreview",0},
8755 { "_wxDateTime_t","_unsigned_short",0},
8756 { "_wxDateTime_t","_short",0},
8757 { "_wxDateTime_t","_WXTYPE",0},
8758 { "_class_wxSpinEvent","_wxSpinEvent",0},
8759 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8760 { "_wxDateTime","_class_wxDateTime",0},
8761 { "_time_t","_wxCoord",0},
8762 { "_time_t","_wxPrintQuality",0},
8763 { "_time_t","_unsigned_int",0},
8764 { "_time_t","_int",0},
8765 { "_time_t","_wxWindowID",0},
8766 { "_time_t","_uint",0},
8767 { "_time_t","_size_t",0},
8768 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8769 { "_wxLogNull","_class_wxLogNull",0},
8770 { "_wxButton","_class_wxButton",0},
8771 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
8772 { "_class_wxPyApp","_wxPyApp",0},
8773 { "_wxSize","_class_wxSize",0},
8774 { "_wxRegionIterator","_class_wxRegionIterator",0},
8775 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8776 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
8777 { "_class_wxLogGui","_wxLogGui",0},
8778 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8779 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8780 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
8781 { "_class_wxTimeSpan","_wxTimeSpan",0},
8782 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
8783 { "_class_wxPaintDC","_wxPaintDC",0},
8784 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8785 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8786 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8787 { "_class_wxComboBox","_wxComboBox",0},
8788 { "_class_wxRadioButton","_wxRadioButton",0},
8789 { "_class_wxPyShape","_wxPyShape",0},
8790 { "_wxValidator","_class_wxValidator",0},
8791 { "_wxToolBarBase","_class_wxToolBarBase",0},
8792 { "_class_wxTreeItemId","_wxTreeItemId",0},
8793 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8794 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8795 { "_class_wxControl","_wxControl",0},
8796 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8797 { "_class_wxIcon","_wxIcon",0},
8798 { "_class_wxColour","_wxColour",0},
8799 { "_class_wxScreenDC","_wxScreenDC",0},
8800 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8801 { "_wxPalette","_class_wxPalette",0},
8802 { "_class_wxIdleEvent","_wxIdleEvent",0},
8803 { "_class_wxConfigBase","_wxConfigBase",0},
8804 { "_wxCoord","_int",0},
8805 { "_wxCoord","_signed_int",0},
8806 { "_wxCoord","_unsigned_int",0},
8807 { "_wxCoord","_wxWindowID",0},
8808 { "_wxCoord","_uint",0},
8809 { "_wxCoord","_EBool",0},
8810 { "_wxCoord","_size_t",0},
8811 { "_wxCoord","_time_t",0},
8812 { "_wxCoord","_wxPrintQuality",0},
8813 { "_wxEraseEvent","_class_wxEraseEvent",0},
8814 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8815 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8816 { "_class_wxTipProvider","_wxTipProvider",0},
8817 { "_class_wxMiniFrame","_wxMiniFrame",0},
8818 { "_wxFontDialog","_class_wxFontDialog",0},
8819 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
8820 { "_wxRegion","_class_wxRegion",0},
8821 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8822 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8823 { "_wxSizer","_class_wxSizer",0},
8824 { "_class_wxDateSpan","_wxDateSpan",0},
8825 { "_wxFileSystem","_class_wxFileSystem",0},
8826 { "_class_wxShowEvent","_wxShowEvent",0},
8827 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
8828 { "_class_wxPCXHandler","_wxPCXHandler",0},
8829 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
8830 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8831 { "_wxActivateEvent","_class_wxActivateEvent",0},
8832 { "_wxGauge","_class_wxGauge",0},
8833 { "_class_wxCheckListBox","_wxCheckListBox",0},
8834 { "_class_wxBusyInfo","_wxBusyInfo",0},
8835 { "_class_wxCommandEvent","_wxCommandEvent",0},
8836 { "_class_wxClientDC","_wxClientDC",0},
8837 { "_class_wxSizeEvent","_wxSizeEvent",0},
8838 { "_class_wxListCtrl","_wxListCtrl",0},
8839 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8840 { "_class_wxLogNull","_wxLogNull",0},
8841 { "_class_wxSize","_wxSize",0},
8842 { "_class_wxBitmap","_wxBitmap",0},
8843 { "_class_wxMemoryDC","_wxMemoryDC",0},
8844 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8845 { "_wxMenuBar","_class_wxMenuBar",0},
8846 { "_wxOutputStream","_class_wxOutputStream",0},
8847 { "_wxTreeEvent","_class_wxTreeEvent",0},
8848 { "_wxDirDialog","_class_wxDirDialog",0},
8849 { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8850 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8851 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
8852 { "_wxEvtHandler","_class_wxEvtHandler",0},
8853 { "_wxMenuItem","_class_wxMenuItem",0},
8854 { "_class_wxScrollBar","_wxScrollBar",0},
8855 { "_class_wxColourDialog","_wxColourDialog",0},
8856 { "_class_wxPrintData","_wxPrintData",0},
8857 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8858 { "_wxListItemAttr","_class_wxListItemAttr",0},
8859 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
8860 { "_class_wxConfig","_wxConfig",0},
8861 { "_wxKeyEvent","_class_wxKeyEvent",0},
8862 { "_wxMoveEvent","_class_wxMoveEvent",0},
8863 { "_wxColourData","_class_wxColourData",0},
8864 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
8865 { "_class_wxPalette","_wxPalette",0},
8866 { "_wxFileDataObject","_class_wxFileDataObject",0},
8867 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
8868 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
8869 { "_class_wxEraseEvent","_wxEraseEvent",0},
8870 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
8871 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
8872 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8873 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
8874 { "_class_wxFontDialog","_wxFontDialog",0},
8875 { "_wxWindow","_class_wxWindow",0},
8876 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8877 { "_wxLogStderr","_class_wxLogStderr",0},
8878 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
8879 { "_class_wxFileSystem","_wxFileSystem",0},
8880 { "_class_wxFrame","_wxFrame",0},
8883 static PyObject
*SWIG_globals
;
8887 SWIGEXPORT(void) initoglbasicc() {
8889 SWIG_globals
= SWIG_newvarlink();
8890 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8891 d
= PyModule_GetDict(m
);
8894 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8895 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);