2 * FILE : contrib/ogl/oglbasic.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initoglbasicc
56 #define SWIG_name "oglbasicc"
59 #include "oglhelpers.h"
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
111 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
115 #define new_wxShapeRegion() (new wxShapeRegion())
116 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
118 wxShapeRegion
* _result
;
119 char *_kwnames
[] = { NULL
};
123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
126 wxPy_BEGIN_ALLOW_THREADS
;
127 _result
= (wxShapeRegion
*)new_wxShapeRegion();
129 wxPy_END_ALLOW_THREADS
;
131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
132 _resultobj
= Py_BuildValue("s",_ptemp
);
135 _resultobj
= Py_None
;
140 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
141 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
143 wxShapeRegion
* _arg0
;
145 PyObject
* _argo0
= 0;
146 PyObject
* _obj1
= 0;
147 char *_kwnames
[] = { "self","s", NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
160 #if PYTHON_API_VERSION >= 1009
161 char* tmpPtr
; int tmpSize
;
162 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
163 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
166 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
168 _arg1
= new wxString(tmpPtr
, tmpSize
);
170 if (!PyString_Check(_obj1
)) {
171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
174 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
178 wxPy_BEGIN_ALLOW_THREADS
;
179 wxShapeRegion_SetText(_arg0
,*_arg1
);
181 wxPy_END_ALLOW_THREADS
;
182 } Py_INCREF(Py_None
);
183 _resultobj
= Py_None
;
191 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
192 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
193 PyObject
* _resultobj
;
194 wxShapeRegion
* _arg0
;
196 PyObject
* _argo0
= 0;
197 PyObject
* _obj1
= 0;
198 char *_kwnames
[] = { "self","f", NULL
};
201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_obj1
))
204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
213 if (_obj1
== Py_None
) { temp
= NULL
; }
214 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
220 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
224 temp
->GetUnderlined(),
226 temp
->GetEncoding());
231 wxPy_BEGIN_ALLOW_THREADS
;
232 wxShapeRegion_SetFont(_arg0
,_arg1
);
234 wxPy_END_ALLOW_THREADS
;
235 } Py_INCREF(Py_None
);
236 _resultobj
= Py_None
;
240 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
241 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
243 wxShapeRegion
* _arg0
;
246 PyObject
* _argo0
= 0;
247 char *_kwnames
[] = { "self","w","h", NULL
};
250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
260 wxPy_BEGIN_ALLOW_THREADS
;
261 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
263 wxPy_END_ALLOW_THREADS
;
264 } Py_INCREF(Py_None
);
265 _resultobj
= Py_None
;
269 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
270 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
271 PyObject
* _resultobj
;
272 wxShapeRegion
* _arg0
;
275 PyObject
* _argo0
= 0;
276 char *_kwnames
[] = { "self","w","h", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
289 wxPy_BEGIN_ALLOW_THREADS
;
290 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
292 wxPy_END_ALLOW_THREADS
;
293 } Py_INCREF(Py_None
);
294 _resultobj
= Py_None
;
298 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
299 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
301 wxShapeRegion
* _arg0
;
304 PyObject
* _argo0
= 0;
305 char *_kwnames
[] = { "self","x","y", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
318 wxPy_BEGIN_ALLOW_THREADS
;
319 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
321 wxPy_END_ALLOW_THREADS
;
322 } Py_INCREF(Py_None
);
323 _resultobj
= Py_None
;
327 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
328 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
330 wxShapeRegion
* _arg0
;
333 PyObject
* _argo0
= 0;
334 char *_kwnames
[] = { "self","x","y", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
347 wxPy_BEGIN_ALLOW_THREADS
;
348 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
350 wxPy_END_ALLOW_THREADS
;
351 } Py_INCREF(Py_None
);
352 _resultobj
= Py_None
;
356 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
357 static PyObject
*_wrap_wxShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
359 wxShapeRegion
* _arg0
;
361 PyObject
* _argo0
= 0;
362 char *_kwnames
[] = { "self","mode", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetFormatMode",_kwnames
,&_argo0
,&_arg1
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
378 wxPy_END_ALLOW_THREADS
;
379 } Py_INCREF(Py_None
);
380 _resultobj
= Py_None
;
384 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
385 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
387 wxShapeRegion
* _arg0
;
389 PyObject
* _argo0
= 0;
390 PyObject
* _obj1
= 0;
391 char *_kwnames
[] = { "self","s", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
404 #if PYTHON_API_VERSION >= 1009
405 char* tmpPtr
; int tmpSize
;
406 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
407 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
410 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
412 _arg1
= new wxString(tmpPtr
, tmpSize
);
414 if (!PyString_Check(_obj1
)) {
415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
418 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
422 wxPy_BEGIN_ALLOW_THREADS
;
423 wxShapeRegion_SetName(_arg0
,*_arg1
);
425 wxPy_END_ALLOW_THREADS
;
426 } Py_INCREF(Py_None
);
427 _resultobj
= Py_None
;
435 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
436 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
437 PyObject
* _resultobj
;
438 wxShapeRegion
* _arg0
;
440 PyObject
* _argo0
= 0;
441 PyObject
* _obj1
= 0;
442 char *_kwnames
[] = { "self","col", NULL
};
445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
455 #if PYTHON_API_VERSION >= 1009
456 char* tmpPtr
; int tmpSize
;
457 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
458 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
461 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
463 _arg1
= new wxString(tmpPtr
, tmpSize
);
465 if (!PyString_Check(_obj1
)) {
466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
469 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
473 wxPy_BEGIN_ALLOW_THREADS
;
474 wxShapeRegion_SetColour(_arg0
,*_arg1
);
476 wxPy_END_ALLOW_THREADS
;
477 } Py_INCREF(Py_None
);
478 _resultobj
= Py_None
;
486 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
487 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
488 PyObject
* _resultobj
;
490 wxShapeRegion
* _arg0
;
491 PyObject
* _argo0
= 0;
492 char *_kwnames
[] = { "self", NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
505 wxPy_BEGIN_ALLOW_THREADS
;
506 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
508 wxPy_END_ALLOW_THREADS
;
510 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
518 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
519 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 wxShapeRegion
* _arg0
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
541 wxPy_END_ALLOW_THREADS
;
543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
544 _resultobj
= Py_BuildValue("s",_ptemp
);
547 _resultobj
= Py_None
;
552 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
553 static PyObject
*_wrap_wxShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
555 wxShapeRegion
* _arg0
;
560 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "self", NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
))
573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
580 wxPy_BEGIN_ALLOW_THREADS
;
581 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
583 wxPy_END_ALLOW_THREADS
;
584 } Py_INCREF(Py_None
);
585 _resultobj
= Py_None
;
588 o
= PyFloat_FromDouble((double) (*_arg1
));
589 _resultobj
= t_output_helper(_resultobj
, o
);
593 o
= PyFloat_FromDouble((double) (*_arg2
));
594 _resultobj
= t_output_helper(_resultobj
, o
);
599 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
600 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
601 PyObject
* _resultobj
;
602 wxShapeRegion
* _arg0
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetProportion",_kwnames
,&_argo0
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
627 wxPy_BEGIN_ALLOW_THREADS
;
628 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
630 wxPy_END_ALLOW_THREADS
;
631 } Py_INCREF(Py_None
);
632 _resultobj
= Py_None
;
635 o
= PyFloat_FromDouble((double) (*_arg1
));
636 _resultobj
= t_output_helper(_resultobj
, o
);
640 o
= PyFloat_FromDouble((double) (*_arg2
));
641 _resultobj
= t_output_helper(_resultobj
, o
);
646 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
647 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
649 wxShapeRegion
* _arg0
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self", NULL
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetSize",_kwnames
,&_argo0
))
667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
674 wxPy_BEGIN_ALLOW_THREADS
;
675 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
677 wxPy_END_ALLOW_THREADS
;
678 } Py_INCREF(Py_None
);
679 _resultobj
= Py_None
;
682 o
= PyFloat_FromDouble((double) (*_arg1
));
683 _resultobj
= t_output_helper(_resultobj
, o
);
687 o
= PyFloat_FromDouble((double) (*_arg2
));
688 _resultobj
= t_output_helper(_resultobj
, o
);
693 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
694 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
696 wxShapeRegion
* _arg0
;
701 PyObject
* _argo0
= 0;
702 char *_kwnames
[] = { "self", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPosition",_kwnames
,&_argo0
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
721 wxPy_BEGIN_ALLOW_THREADS
;
722 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
724 wxPy_END_ALLOW_THREADS
;
725 } Py_INCREF(Py_None
);
726 _resultobj
= Py_None
;
729 o
= PyFloat_FromDouble((double) (*_arg1
));
730 _resultobj
= t_output_helper(_resultobj
, o
);
734 o
= PyFloat_FromDouble((double) (*_arg2
));
735 _resultobj
= t_output_helper(_resultobj
, o
);
740 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
741 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
744 wxShapeRegion
* _arg0
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
759 wxPy_BEGIN_ALLOW_THREADS
;
760 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
762 wxPy_END_ALLOW_THREADS
;
763 } _resultobj
= Py_BuildValue("i",_result
);
767 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
768 static PyObject
*_wrap_wxShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
769 PyObject
* _resultobj
;
771 wxShapeRegion
* _arg0
;
772 PyObject
* _argo0
= 0;
773 char *_kwnames
[] = { "self", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetName",_kwnames
,&_argo0
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
786 wxPy_BEGIN_ALLOW_THREADS
;
787 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
789 wxPy_END_ALLOW_THREADS
;
791 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
799 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
800 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
801 PyObject
* _resultobj
;
803 wxShapeRegion
* _arg0
;
804 PyObject
* _argo0
= 0;
805 char *_kwnames
[] = { "self", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
818 wxPy_BEGIN_ALLOW_THREADS
;
819 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
821 wxPy_END_ALLOW_THREADS
;
823 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
831 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
832 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
835 wxShapeRegion
* _arg0
;
836 PyObject
* _argo0
= 0;
837 char *_kwnames
[] = { "self", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
851 wxPy_BEGIN_ALLOW_THREADS
;
852 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
854 wxPy_END_ALLOW_THREADS
;
856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
857 _resultobj
= Py_BuildValue("s",_ptemp
);
860 _resultobj
= Py_None
;
865 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
866 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
869 wxShapeRegion
* _arg0
;
870 PyObject
* _argo0
= 0;
871 char *_kwnames
[] = { "self", NULL
};
875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
885 wxPy_BEGIN_ALLOW_THREADS
;
886 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
887 _result
= (wxList
*) &_result_ref
;
889 wxPy_END_ALLOW_THREADS
;
891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
892 _resultobj
= Py_BuildValue("s",_ptemp
);
895 _resultobj
= Py_None
;
900 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
901 static PyObject
*_wrap_wxShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 PyObject
* _resultobj
;
904 wxShapeRegion
* _arg0
;
905 PyObject
* _argo0
= 0;
906 char *_kwnames
[] = { "self", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenColour",_kwnames
,&_argo0
))
912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
919 wxPy_BEGIN_ALLOW_THREADS
;
920 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
922 wxPy_END_ALLOW_THREADS
;
924 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
932 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
933 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
936 wxShapeRegion
* _arg0
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
951 wxPy_BEGIN_ALLOW_THREADS
;
952 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
954 wxPy_END_ALLOW_THREADS
;
955 } _resultobj
= Py_BuildValue("i",_result
);
959 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
960 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
962 wxShapeRegion
* _arg0
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self","style", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
978 wxPy_BEGIN_ALLOW_THREADS
;
979 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
981 wxPy_END_ALLOW_THREADS
;
982 } Py_INCREF(Py_None
);
983 _resultobj
= Py_None
;
987 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
988 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
990 wxShapeRegion
* _arg0
;
992 PyObject
* _argo0
= 0;
993 PyObject
* _obj1
= 0;
994 char *_kwnames
[] = { "self","col", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
1007 #if PYTHON_API_VERSION >= 1009
1008 char* tmpPtr
; int tmpSize
;
1009 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1010 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1013 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1015 _arg1
= new wxString(tmpPtr
, tmpSize
);
1017 if (!PyString_Check(_obj1
)) {
1018 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1021 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } Py_INCREF(Py_None
);
1030 _resultobj
= Py_None
;
1038 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
1039 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
* _resultobj
;
1042 wxShapeRegion
* _arg0
;
1043 PyObject
* _argo0
= 0;
1044 char *_kwnames
[] = { "self", NULL
};
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
1051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1058 wxPy_BEGIN_ALLOW_THREADS
;
1059 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
1061 wxPy_END_ALLOW_THREADS
;
1063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1064 _resultobj
= Py_BuildValue("s",_ptemp
);
1067 _resultobj
= Py_None
;
1072 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1073 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1076 wxShapeRegion
* _arg0
;
1077 PyObject
* _argo0
= 0;
1078 char *_kwnames
[] = { "self", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1091 wxPy_BEGIN_ALLOW_THREADS
;
1092 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1094 wxPy_END_ALLOW_THREADS
;
1095 } _resultobj
= Py_BuildValue("d",_result
);
1099 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1100 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 wxShapeRegion
* _arg0
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1122 } _resultobj
= Py_BuildValue("d",_result
);
1126 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1127 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1129 wxShapeRegion
* _arg0
;
1130 PyObject
* _argo0
= 0;
1131 char *_kwnames
[] = { "self", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_kwnames
,&_argo0
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 wxShapeRegion_ClearText(_arg0
);
1147 wxPy_END_ALLOW_THREADS
;
1148 } Py_INCREF(Py_None
);
1149 _resultobj
= Py_None
;
1153 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1154 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1156 wxPyShapeEvtHandler
* _result
;
1157 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1158 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1159 PyObject
* _argo0
= 0;
1160 PyObject
* _argo1
= 0;
1161 char *_kwnames
[] = { "prev","shape", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
1168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1185 wxPy_END_ALLOW_THREADS
;
1187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1188 _resultobj
= Py_BuildValue("s",_ptemp
);
1191 _resultobj
= Py_None
;
1196 #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1197 static PyObject
*_wrap_wxPyShapeEvtHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1199 wxPyShapeEvtHandler
* _arg0
;
1202 PyObject
* _argo0
= 0;
1203 PyObject
* _obj1
= 0;
1204 PyObject
* _obj2
= 0;
1205 char *_kwnames
[] = { "self","self","_class", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeEvtHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 wxPyShapeEvtHandler__setSelf(_arg0
,_arg1
,_arg2
);
1227 wxPy_END_ALLOW_THREADS
;
1228 } Py_INCREF(Py_None
);
1229 _resultobj
= Py_None
;
1233 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1234 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 wxPyShapeEvtHandler
* _arg0
;
1237 PyObject
* _argo0
= 0;
1238 char *_kwnames
[] = { "self", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 wxPyShapeEvtHandler_Destroy(_arg0
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } Py_INCREF(Py_None
);
1256 _resultobj
= Py_None
;
1260 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1261 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1263 wxPyShapeEvtHandler
* _arg0
;
1265 PyObject
* _argo0
= 0;
1266 PyObject
* _argo1
= 0;
1267 char *_kwnames
[] = { "self","sh", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1287 wxPy_BEGIN_ALLOW_THREADS
;
1288 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1290 wxPy_END_ALLOW_THREADS
;
1291 } Py_INCREF(Py_None
);
1292 _resultobj
= Py_None
;
1296 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1297 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1299 wxPyShape
* _result
;
1300 wxPyShapeEvtHandler
* _arg0
;
1301 PyObject
* _argo0
= 0;
1302 char *_kwnames
[] = { "self", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1316 wxPy_BEGIN_ALLOW_THREADS
;
1317 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1319 wxPy_END_ALLOW_THREADS
;
1321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1322 _resultobj
= Py_BuildValue("s",_ptemp
);
1325 _resultobj
= Py_None
;
1330 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1331 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1333 wxPyShapeEvtHandler
* _arg0
;
1334 wxPyShapeEvtHandler
* _arg1
;
1335 PyObject
* _argo0
= 0;
1336 PyObject
* _argo1
= 0;
1337 char *_kwnames
[] = { "self","handler", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1357 wxPy_BEGIN_ALLOW_THREADS
;
1358 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1360 wxPy_END_ALLOW_THREADS
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1367 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1369 wxPyShapeEvtHandler
* _result
;
1370 wxPyShapeEvtHandler
* _arg0
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1389 wxPy_END_ALLOW_THREADS
;
1391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1395 _resultobj
= Py_None
;
1400 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1401 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1403 wxPyShapeEvtHandler
* _result
;
1404 wxPyShapeEvtHandler
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1423 wxPy_END_ALLOW_THREADS
;
1425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1426 _resultobj
= Py_BuildValue("s",_ptemp
);
1429 _resultobj
= Py_None
;
1434 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1435 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxPyShapeEvtHandler
* _arg0
;
1438 PyObject
* _argo0
= 0;
1439 char *_kwnames
[] = { "self", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } Py_INCREF(Py_None
);
1457 _resultobj
= Py_None
;
1461 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1462 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1464 wxPyShapeEvtHandler
* _arg0
;
1466 PyObject
* _argo0
= 0;
1467 PyObject
* _argo1
= 0;
1468 char *_kwnames
[] = { "self","dc", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1491 wxPy_END_ALLOW_THREADS
;
1492 } Py_INCREF(Py_None
);
1493 _resultobj
= Py_None
;
1497 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1498 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1500 wxPyShapeEvtHandler
* _arg0
;
1502 PyObject
* _argo0
= 0;
1503 PyObject
* _argo1
= 0;
1504 char *_kwnames
[] = { "self","dc", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1517 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1527 wxPy_END_ALLOW_THREADS
;
1528 } Py_INCREF(Py_None
);
1529 _resultobj
= Py_None
;
1533 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1534 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1536 wxPyShapeEvtHandler
* _arg0
;
1538 bool _arg2
= (bool ) FALSE
;
1539 PyObject
* _argo0
= 0;
1540 PyObject
* _argo1
= 0;
1541 int tempbool2
= (int) FALSE
;
1542 char *_kwnames
[] = { "self","dc","erase", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1561 _arg2
= (bool ) tempbool2
;
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1566 wxPy_END_ALLOW_THREADS
;
1567 } Py_INCREF(Py_None
);
1568 _resultobj
= Py_None
;
1572 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1573 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1575 wxPyShapeEvtHandler
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 PyObject
* _argo1
= 0;
1579 char *_kwnames
[] = { "self","dc", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1602 wxPy_END_ALLOW_THREADS
;
1603 } Py_INCREF(Py_None
);
1604 _resultobj
= Py_None
;
1608 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1609 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1611 wxPyShapeEvtHandler
* _arg0
;
1613 PyObject
* _argo0
= 0;
1614 PyObject
* _argo1
= 0;
1615 char *_kwnames
[] = { "self","dc", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1638 wxPy_END_ALLOW_THREADS
;
1639 } Py_INCREF(Py_None
);
1640 _resultobj
= Py_None
;
1644 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1645 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1647 wxPyShapeEvtHandler
* _arg0
;
1649 PyObject
* _argo0
= 0;
1650 PyObject
* _argo1
= 0;
1651 char *_kwnames
[] = { "self","dc", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1664 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1665 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1671 wxPy_BEGIN_ALLOW_THREADS
;
1672 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1674 wxPy_END_ALLOW_THREADS
;
1675 } Py_INCREF(Py_None
);
1676 _resultobj
= Py_None
;
1680 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1681 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1683 wxPyShapeEvtHandler
* _arg0
;
1685 PyObject
* _argo0
= 0;
1686 PyObject
* _argo1
= 0;
1687 char *_kwnames
[] = { "self","dc", NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1700 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } Py_INCREF(Py_None
);
1712 _resultobj
= Py_None
;
1716 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1717 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1719 wxPyShapeEvtHandler
* _arg0
;
1722 int _arg3
= (int ) 0;
1723 int _arg4
= (int ) 0;
1724 PyObject
* _argo0
= 0;
1725 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } Py_INCREF(Py_None
);
1743 _resultobj
= Py_None
;
1747 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1748 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1750 wxPyShapeEvtHandler
* _arg0
;
1753 int _arg3
= (int ) 0;
1754 int _arg4
= (int ) 0;
1755 PyObject
* _argo0
= 0;
1756 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1769 wxPy_BEGIN_ALLOW_THREADS
;
1770 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1772 wxPy_END_ALLOW_THREADS
;
1773 } Py_INCREF(Py_None
);
1774 _resultobj
= Py_None
;
1778 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1779 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1781 wxPyShapeEvtHandler
* _arg0
;
1784 int _arg3
= (int ) 0;
1785 int _arg4
= (int ) 0;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1803 wxPy_END_ALLOW_THREADS
;
1804 } Py_INCREF(Py_None
);
1805 _resultobj
= Py_None
;
1809 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1810 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1812 wxPyShapeEvtHandler
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self","x","y", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1832 wxPy_END_ALLOW_THREADS
;
1833 } Py_INCREF(Py_None
);
1834 _resultobj
= Py_None
;
1838 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1839 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1842 wxPyShapeEvtHandler
* _arg0
;
1848 bool _arg6
= (bool ) TRUE
;
1849 PyObject
* _argo0
= 0;
1850 PyObject
* _argo1
= 0;
1851 int tempbool6
= (int) TRUE
;
1852 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1865 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1871 _arg6
= (bool ) tempbool6
;
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1876 wxPy_END_ALLOW_THREADS
;
1877 } _resultobj
= Py_BuildValue("i",_result
);
1881 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1882 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1884 wxPyShapeEvtHandler
* _arg0
;
1890 bool _arg6
= (bool ) TRUE
;
1891 PyObject
* _argo0
= 0;
1892 PyObject
* _argo1
= 0;
1893 int tempbool6
= (int) TRUE
;
1894 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1907 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1913 _arg6
= (bool ) tempbool6
;
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1918 wxPy_END_ALLOW_THREADS
;
1919 } Py_INCREF(Py_None
);
1920 _resultobj
= Py_None
;
1924 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1925 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1927 wxPyShapeEvtHandler
* _arg0
;
1931 int _arg4
= (int ) 0;
1932 int _arg5
= (int ) 0;
1933 PyObject
* _argo0
= 0;
1935 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1947 _arg1
= (bool ) tempbool1
;
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1952 wxPy_END_ALLOW_THREADS
;
1953 } Py_INCREF(Py_None
);
1954 _resultobj
= Py_None
;
1958 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1959 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1961 wxPyShapeEvtHandler
* _arg0
;
1964 int _arg3
= (int ) 0;
1965 int _arg4
= (int ) 0;
1966 PyObject
* _argo0
= 0;
1967 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1980 wxPy_BEGIN_ALLOW_THREADS
;
1981 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1983 wxPy_END_ALLOW_THREADS
;
1984 } Py_INCREF(Py_None
);
1985 _resultobj
= Py_None
;
1989 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1990 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1992 wxPyShapeEvtHandler
* _arg0
;
1995 int _arg3
= (int ) 0;
1996 int _arg4
= (int ) 0;
1997 PyObject
* _argo0
= 0;
1998 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2011 wxPy_BEGIN_ALLOW_THREADS
;
2012 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2014 wxPy_END_ALLOW_THREADS
;
2015 } Py_INCREF(Py_None
);
2016 _resultobj
= Py_None
;
2020 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2021 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2023 wxPyShapeEvtHandler
* _arg0
;
2027 int _arg4
= (int ) 0;
2028 int _arg5
= (int ) 0;
2029 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
2043 _arg1
= (bool ) tempbool1
;
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2054 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2055 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxPyShapeEvtHandler
* _arg0
;
2060 int _arg3
= (int ) 0;
2061 int _arg4
= (int ) 0;
2062 PyObject
* _argo0
= 0;
2063 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2079 wxPy_END_ALLOW_THREADS
;
2080 } Py_INCREF(Py_None
);
2081 _resultobj
= Py_None
;
2085 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2086 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2088 wxPyShapeEvtHandler
* _arg0
;
2091 int _arg3
= (int ) 0;
2092 int _arg4
= (int ) 0;
2093 PyObject
* _argo0
= 0;
2094 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2107 wxPy_BEGIN_ALLOW_THREADS
;
2108 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2110 wxPy_END_ALLOW_THREADS
;
2111 } Py_INCREF(Py_None
);
2112 _resultobj
= Py_None
;
2116 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2117 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2119 wxPyShapeEvtHandler
* _arg0
;
2125 PyObject
* _argo0
= 0;
2126 PyObject
* _argo1
= 0;
2127 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2150 wxPy_END_ALLOW_THREADS
;
2151 } Py_INCREF(Py_None
);
2152 _resultobj
= Py_None
;
2156 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2157 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2159 wxPyShapeEvtHandler
* _arg0
;
2161 PyObject
* _argo0
= 0;
2162 PyObject
* _argo1
= 0;
2163 char *_kwnames
[] = { "self","dc", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2186 wxPy_END_ALLOW_THREADS
;
2187 } Py_INCREF(Py_None
);
2188 _resultobj
= Py_None
;
2192 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2193 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2195 wxPyShapeEvtHandler
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 PyObject
* _argo1
= 0;
2199 char *_kwnames
[] = { "self","dc", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2219 wxPy_BEGIN_ALLOW_THREADS
;
2220 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2222 wxPy_END_ALLOW_THREADS
;
2223 } Py_INCREF(Py_None
);
2224 _resultobj
= Py_None
;
2228 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2229 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2231 wxPyShapeEvtHandler
* _arg0
;
2233 bool _arg2
= (bool ) TRUE
;
2234 PyObject
* _argo0
= 0;
2235 PyObject
* _argo1
= 0;
2236 int tempbool2
= (int) TRUE
;
2237 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2256 _arg2
= (bool ) tempbool2
;
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } Py_INCREF(Py_None
);
2263 _resultobj
= Py_None
;
2267 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2268 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2270 wxPyShapeEvtHandler
* _arg0
;
2271 wxPyControlPoint
* _arg1
;
2275 int _arg5
= (int ) 0;
2276 int _arg6
= (int ) 0;
2277 PyObject
* _argo0
= 0;
2278 PyObject
* _argo1
= 0;
2280 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2299 _arg2
= (bool ) tempbool2
;
2301 wxPy_BEGIN_ALLOW_THREADS
;
2302 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2304 wxPy_END_ALLOW_THREADS
;
2305 } Py_INCREF(Py_None
);
2306 _resultobj
= Py_None
;
2310 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2311 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2313 wxPyShapeEvtHandler
* _arg0
;
2314 wxPyControlPoint
* _arg1
;
2317 int _arg4
= (int ) 0;
2318 int _arg5
= (int ) 0;
2319 PyObject
* _argo0
= 0;
2320 PyObject
* _argo1
= 0;
2321 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2344 wxPy_END_ALLOW_THREADS
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2350 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2351 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2353 wxPyShapeEvtHandler
* _arg0
;
2354 wxPyControlPoint
* _arg1
;
2357 int _arg4
= (int ) 0;
2358 int _arg5
= (int ) 0;
2359 PyObject
* _argo0
= 0;
2360 PyObject
* _argo1
= 0;
2361 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2390 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2391 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2393 wxPyShapeEvtHandler
* _arg0
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self","w","h", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2413 wxPy_END_ALLOW_THREADS
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2420 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2422 wxPyShapeEvtHandler
* _arg0
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self","w","h", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2439 wxPy_BEGIN_ALLOW_THREADS
;
2440 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2442 wxPy_END_ALLOW_THREADS
;
2443 } Py_INCREF(Py_None
);
2444 _resultobj
= Py_None
;
2448 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2450 wxPyShapeEvtHandler
*dest
;
2451 src
= (wxPyShape
*) ptr
;
2452 dest
= (wxPyShapeEvtHandler
*) src
;
2453 return (void *) dest
;
2456 #define wxPyShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2457 static PyObject
*_wrap_wxPyShape__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2462 PyObject
* _argo0
= 0;
2463 PyObject
* _obj1
= 0;
2464 PyObject
* _obj2
= 0;
2465 char *_kwnames
[] = { "self","self","_class", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p.");
2484 wxPy_BEGIN_ALLOW_THREADS
;
2485 wxPyShape__setSelf(_arg0
,_arg1
,_arg2
);
2487 wxPy_END_ALLOW_THREADS
;
2488 } Py_INCREF(Py_None
);
2489 _resultobj
= Py_None
;
2493 static void wxPyShape_Destroy(wxPyShape
*self
) { delete self
; }
2494 static PyObject
*_wrap_wxPyShape_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2497 PyObject
* _argo0
= 0;
2498 char *_kwnames
[] = { "self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Destroy",_kwnames
,&_argo0
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p.");
2511 wxPy_BEGIN_ALLOW_THREADS
;
2512 wxPyShape_Destroy(_arg0
);
2514 wxPy_END_ALLOW_THREADS
;
2515 } Py_INCREF(Py_None
);
2516 _resultobj
= Py_None
;
2520 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2521 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2528 PyObject
* _argo0
= 0;
2529 char *_kwnames
[] = { "self", NULL
};
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2548 wxPy_BEGIN_ALLOW_THREADS
;
2549 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2551 wxPy_END_ALLOW_THREADS
;
2552 } Py_INCREF(Py_None
);
2553 _resultobj
= Py_None
;
2556 o
= PyFloat_FromDouble((double) (*_arg1
));
2557 _resultobj
= t_output_helper(_resultobj
, o
);
2561 o
= PyFloat_FromDouble((double) (*_arg2
));
2562 _resultobj
= t_output_helper(_resultobj
, o
);
2567 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2568 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2575 PyObject
* _argo0
= 0;
2576 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2598 wxPy_END_ALLOW_THREADS
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2603 o
= PyFloat_FromDouble((double) (*_arg1
));
2604 _resultobj
= t_output_helper(_resultobj
, o
);
2608 o
= PyFloat_FromDouble((double) (*_arg2
));
2609 _resultobj
= t_output_helper(_resultobj
, o
);
2614 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2615 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2627 PyObject
* _argo0
= 0;
2628 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2647 wxPy_BEGIN_ALLOW_THREADS
;
2648 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2650 wxPy_END_ALLOW_THREADS
;
2651 } _resultobj
= Py_BuildValue("i",_result
);
2654 o
= PyFloat_FromDouble((double) (*_arg5
));
2655 _resultobj
= t_output_helper(_resultobj
, o
);
2659 o
= PyFloat_FromDouble((double) (*_arg6
));
2660 _resultobj
= t_output_helper(_resultobj
, o
);
2665 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2666 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2668 wxPyShapeCanvas
* _result
;
2670 PyObject
* _argo0
= 0;
2671 char *_kwnames
[] = { "self", NULL
};
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2688 wxPy_END_ALLOW_THREADS
;
2690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
2691 _resultobj
= Py_BuildValue("s",_ptemp
);
2694 _resultobj
= Py_None
;
2699 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2700 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2703 wxPyShapeCanvas
* _arg1
;
2704 PyObject
* _argo0
= 0;
2705 PyObject
* _argo1
= 0;
2706 char *_kwnames
[] = { "self","the_canvas", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 wxPyShape_SetCanvas(_arg0
,_arg1
);
2729 wxPy_END_ALLOW_THREADS
;
2730 } Py_INCREF(Py_None
);
2731 _resultobj
= Py_None
;
2735 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2736 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2739 wxPyShapeCanvas
* _arg1
;
2740 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2741 PyObject
* _argo0
= 0;
2742 PyObject
* _argo1
= 0;
2743 PyObject
* _argo2
= 0;
2744 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2764 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2774 wxPy_END_ALLOW_THREADS
;
2775 } Py_INCREF(Py_None
);
2776 _resultobj
= Py_None
;
2780 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2781 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2784 wxPyShapeCanvas
* _arg1
;
2785 PyObject
* _argo0
= 0;
2786 PyObject
* _argo1
= 0;
2787 char *_kwnames
[] = { "self","the_canvas", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2800 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } Py_INCREF(Py_None
);
2812 _resultobj
= Py_None
;
2816 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2817 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2820 wxPyShapeCanvas
* _arg1
;
2821 PyObject
* _argo0
= 0;
2822 PyObject
* _argo1
= 0;
2823 char *_kwnames
[] = { "self","the_canvas", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2843 wxPy_BEGIN_ALLOW_THREADS
;
2844 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2846 wxPy_END_ALLOW_THREADS
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2852 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2853 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2857 PyObject
* _argo0
= 0;
2858 char *_kwnames
[] = { "self", NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2871 wxPy_BEGIN_ALLOW_THREADS
;
2872 _result
= (double )wxPyShape_GetX(_arg0
);
2874 wxPy_END_ALLOW_THREADS
;
2875 } _resultobj
= Py_BuildValue("d",_result
);
2879 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2880 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2884 PyObject
* _argo0
= 0;
2885 char *_kwnames
[] = { "self", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2898 wxPy_BEGIN_ALLOW_THREADS
;
2899 _result
= (double )wxPyShape_GetY(_arg0
);
2901 wxPy_END_ALLOW_THREADS
;
2902 } _resultobj
= Py_BuildValue("d",_result
);
2906 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2907 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2911 PyObject
* _argo0
= 0;
2912 char *_kwnames
[] = { "self","x", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2925 wxPy_BEGIN_ALLOW_THREADS
;
2926 wxPyShape_SetX(_arg0
,_arg1
);
2928 wxPy_END_ALLOW_THREADS
;
2929 } Py_INCREF(Py_None
);
2930 _resultobj
= Py_None
;
2934 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2935 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2939 PyObject
* _argo0
= 0;
2940 char *_kwnames
[] = { "self","y", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2953 wxPy_BEGIN_ALLOW_THREADS
;
2954 wxPyShape_SetY(_arg0
,_arg1
);
2956 wxPy_END_ALLOW_THREADS
;
2957 } Py_INCREF(Py_None
);
2958 _resultobj
= Py_None
;
2962 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2963 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
* _resultobj
;
2965 wxPyShape
* _result
;
2967 PyObject
* _argo0
= 0;
2968 char *_kwnames
[] = { "self", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
2985 wxPy_END_ALLOW_THREADS
;
2987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
2988 _resultobj
= Py_BuildValue("s",_ptemp
);
2991 _resultobj
= Py_None
;
2996 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2997 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3001 PyObject
* _argo0
= 0;
3002 PyObject
* _argo1
= 0;
3003 char *_kwnames
[] = { "self","p", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3023 wxPy_BEGIN_ALLOW_THREADS
;
3024 wxPyShape_SetParent(_arg0
,_arg1
);
3026 wxPy_END_ALLOW_THREADS
;
3027 } Py_INCREF(Py_None
);
3028 _resultobj
= Py_None
;
3032 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
3033 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3035 wxPyShape
* _result
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self", NULL
};
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
3045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
3052 wxPy_BEGIN_ALLOW_THREADS
;
3053 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
3055 wxPy_END_ALLOW_THREADS
;
3057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
3058 _resultobj
= Py_BuildValue("s",_ptemp
);
3061 _resultobj
= Py_None
;
3066 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3067 wxList
& list
= self
->GetChildren();
3068 return wxPy_ConvertList(&list
, "wxPyShape");
3070 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3074 PyObject
* _argo0
= 0;
3075 char *_kwnames
[] = { "self", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3088 wxPy_BEGIN_ALLOW_THREADS
;
3089 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3091 wxPy_END_ALLOW_THREADS
;
3093 _resultobj
= _result
;
3098 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3099 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3102 PyObject
* _argo0
= 0;
3103 char *_kwnames
[] = { "self", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 wxPyShape_Unlink(_arg0
);
3119 wxPy_END_ALLOW_THREADS
;
3120 } Py_INCREF(Py_None
);
3121 _resultobj
= Py_None
;
3125 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3126 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3130 PyObject
* _argo0
= 0;
3132 char *_kwnames
[] = { "self","drawH", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3144 _arg1
= (bool ) tempbool1
;
3146 wxPy_BEGIN_ALLOW_THREADS
;
3147 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3149 wxPy_END_ALLOW_THREADS
;
3150 } Py_INCREF(Py_None
);
3151 _resultobj
= Py_None
;
3155 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3156 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
* _resultobj
;
3160 PyObject
* _argo0
= 0;
3161 char *_kwnames
[] = { "self", NULL
};
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3174 wxPy_BEGIN_ALLOW_THREADS
;
3175 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3177 wxPy_END_ALLOW_THREADS
;
3178 } _resultobj
= Py_BuildValue("i",_result
);
3182 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3183 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3186 PyObject
* _argo0
= 0;
3187 char *_kwnames
[] = { "self", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 wxPyShape_MakeControlPoints(_arg0
);
3203 wxPy_END_ALLOW_THREADS
;
3204 } Py_INCREF(Py_None
);
3205 _resultobj
= Py_None
;
3209 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3210 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3213 wxDC
* _arg1
= (wxDC
*) NULL
;
3214 PyObject
* _argo0
= 0;
3215 PyObject
* _argo1
= 0;
3216 char *_kwnames
[] = { "self","dc", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3236 wxPy_BEGIN_ALLOW_THREADS
;
3237 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3239 wxPy_END_ALLOW_THREADS
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3246 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3249 PyObject
* _argo0
= 0;
3250 char *_kwnames
[] = { "self", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 wxPyShape_ResetControlPoints(_arg0
);
3266 wxPy_END_ALLOW_THREADS
;
3267 } Py_INCREF(Py_None
);
3268 _resultobj
= Py_None
;
3272 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3273 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
* _resultobj
;
3275 wxPyShapeEvtHandler
* _result
;
3277 PyObject
* _argo0
= 0;
3278 char *_kwnames
[] = { "self", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3292 wxPy_BEGIN_ALLOW_THREADS
;
3293 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3295 wxPy_END_ALLOW_THREADS
;
3297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
3298 _resultobj
= Py_BuildValue("s",_ptemp
);
3301 _resultobj
= Py_None
;
3306 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3307 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 wxPyShapeEvtHandler
* _arg1
;
3311 PyObject
* _argo0
= 0;
3312 PyObject
* _argo1
= 0;
3313 char *_kwnames
[] = { "self","handler", NULL
};
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3336 wxPy_END_ALLOW_THREADS
;
3337 } Py_INCREF(Py_None
);
3338 _resultobj
= Py_None
;
3342 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3343 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3346 PyObject
* _argo0
= 0;
3347 char *_kwnames
[] = { "self", NULL
};
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3360 wxPy_BEGIN_ALLOW_THREADS
;
3361 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3363 wxPy_END_ALLOW_THREADS
;
3364 } Py_INCREF(Py_None
);
3365 _resultobj
= Py_None
;
3369 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3370 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3390 wxPy_END_ALLOW_THREADS
;
3391 } Py_INCREF(Py_None
);
3392 _resultobj
= Py_None
;
3396 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3397 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3401 PyObject
* _argo0
= 0;
3402 char *_kwnames
[] = { "self", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 _result
= (bool )wxPyShape_Recompute(_arg0
);
3418 wxPy_END_ALLOW_THREADS
;
3419 } _resultobj
= Py_BuildValue("i",_result
);
3423 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3424 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 wxPyShape_CalculateSize(_arg0
);
3444 wxPy_END_ALLOW_THREADS
;
3445 } Py_INCREF(Py_None
);
3446 _resultobj
= Py_None
;
3450 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3451 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3454 bool _arg1
= (bool ) TRUE
;
3455 wxDC
* _arg2
= (wxDC
*) NULL
;
3456 PyObject
* _argo0
= 0;
3457 int tempbool1
= (int) TRUE
;
3458 PyObject
* _argo2
= 0;
3459 char *_kwnames
[] = { "self","select","dc", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3471 _arg1
= (bool ) tempbool1
;
3473 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3483 wxPy_END_ALLOW_THREADS
;
3484 } Py_INCREF(Py_None
);
3485 _resultobj
= Py_None
;
3489 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3490 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3493 bool _arg1
= (bool ) TRUE
;
3494 bool _arg2
= (bool ) FALSE
;
3495 PyObject
* _argo0
= 0;
3496 int tempbool1
= (int) TRUE
;
3497 int tempbool2
= (int) FALSE
;
3498 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3510 _arg1
= (bool ) tempbool1
;
3511 _arg2
= (bool ) tempbool2
;
3513 wxPy_BEGIN_ALLOW_THREADS
;
3514 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3516 wxPy_END_ALLOW_THREADS
;
3517 } Py_INCREF(Py_None
);
3518 _resultobj
= Py_None
;
3522 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3523 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3527 PyObject
* _argo0
= 0;
3528 char *_kwnames
[] = { "self", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3544 wxPy_END_ALLOW_THREADS
;
3545 } _resultobj
= Py_BuildValue("i",_result
);
3549 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3550 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
* _resultobj
;
3554 PyObject
* _argo0
= 0;
3555 char *_kwnames
[] = { "self", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= (bool )wxPyShape_Selected(_arg0
);
3571 wxPy_END_ALLOW_THREADS
;
3572 } _resultobj
= Py_BuildValue("i",_result
);
3576 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3577 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
* _resultobj
;
3581 PyObject
* _argo0
= 0;
3582 char *_kwnames
[] = { "self", NULL
};
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } _resultobj
= Py_BuildValue("i",_result
);
3603 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3604 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3607 int _arg1
= (int ) OP_ALL
;
3608 bool _arg2
= (bool ) FALSE
;
3609 PyObject
* _argo0
= 0;
3610 int tempbool2
= (int) FALSE
;
3611 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3623 _arg2
= (bool ) tempbool2
;
3625 wxPy_BEGIN_ALLOW_THREADS
;
3626 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3628 wxPy_END_ALLOW_THREADS
;
3629 } Py_INCREF(Py_None
);
3630 _resultobj
= Py_None
;
3634 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3635 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
* _resultobj
;
3639 PyObject
* _argo0
= 0;
3640 char *_kwnames
[] = { "self", NULL
};
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3656 wxPy_END_ALLOW_THREADS
;
3657 } _resultobj
= Py_BuildValue("i",_result
);
3661 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3662 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3666 bool _arg2
= (bool ) FALSE
;
3667 PyObject
* _argo0
= 0;
3669 int tempbool2
= (int) FALSE
;
3670 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3682 _arg1
= (bool ) tempbool1
;
3683 _arg2
= (bool ) tempbool2
;
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3688 wxPy_END_ALLOW_THREADS
;
3689 } Py_INCREF(Py_None
);
3690 _resultobj
= Py_None
;
3694 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3695 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3700 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self","x","y", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3715 _arg1
= (bool ) tempbool1
;
3716 _arg2
= (bool ) tempbool2
;
3718 wxPy_BEGIN_ALLOW_THREADS
;
3719 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3721 wxPy_END_ALLOW_THREADS
;
3722 } Py_INCREF(Py_None
);
3723 _resultobj
= Py_None
;
3727 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3728 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
* _resultobj
;
3733 PyObject
* _argo0
= 0;
3734 PyObject
* _argo1
= 0;
3735 PyObject
* _argo2
= 0;
3736 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3756 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3763 wxPy_BEGIN_ALLOW_THREADS
;
3764 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3766 wxPy_END_ALLOW_THREADS
;
3767 } Py_INCREF(Py_None
);
3768 _resultobj
= Py_None
;
3772 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3773 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3777 PyObject
* _argo0
= 0;
3778 char *_kwnames
[] = { "self", NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3791 wxPy_BEGIN_ALLOW_THREADS
;
3792 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3794 wxPy_END_ALLOW_THREADS
;
3795 } _resultobj
= Py_BuildValue("i",_result
);
3799 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3800 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3804 PyObject
* _argo0
= 0;
3805 char *_kwnames
[] = { "self", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3818 wxPy_BEGIN_ALLOW_THREADS
;
3819 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3821 wxPy_END_ALLOW_THREADS
;
3822 } _resultobj
= Py_BuildValue("i",_result
);
3826 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3827 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
* _resultobj
;
3831 PyObject
* _argo0
= 0;
3833 char *_kwnames
[] = { "self","sp", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3845 _arg1
= (bool ) tempbool1
;
3847 wxPy_BEGIN_ALLOW_THREADS
;
3848 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3850 wxPy_END_ALLOW_THREADS
;
3851 } Py_INCREF(Py_None
);
3852 _resultobj
= Py_None
;
3856 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3857 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
* _resultobj
;
3861 PyObject
* _argo0
= 0;
3862 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3875 wxPy_BEGIN_ALLOW_THREADS
;
3876 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3878 wxPy_END_ALLOW_THREADS
;
3879 } _resultobj
= Py_BuildValue("i",_result
);
3883 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3884 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
* _resultobj
;
3888 bool _arg2
= (bool ) FALSE
;
3889 PyObject
* _argo0
= 0;
3890 int tempbool2
= (int) FALSE
;
3891 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3903 _arg2
= (bool ) tempbool2
;
3905 wxPy_BEGIN_ALLOW_THREADS
;
3906 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3908 wxPy_END_ALLOW_THREADS
;
3909 } Py_INCREF(Py_None
);
3910 _resultobj
= Py_None
;
3914 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3915 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3919 PyObject
* _argo0
= 0;
3920 char *_kwnames
[] = { "self", NULL
};
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3933 wxPy_BEGIN_ALLOW_THREADS
;
3934 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3936 wxPy_END_ALLOW_THREADS
;
3937 } _resultobj
= Py_BuildValue("i",_result
);
3941 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3942 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3952 PyObject
* _argo0
= 0;
3953 char *_kwnames
[] = { "self","x","y", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3972 wxPy_BEGIN_ALLOW_THREADS
;
3973 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3975 wxPy_END_ALLOW_THREADS
;
3976 } _resultobj
= Py_BuildValue("i",_result
);
3979 o
= PyInt_FromLong((long) (*_arg3
));
3980 _resultobj
= t_output_helper(_resultobj
, o
);
3984 o
= PyFloat_FromDouble((double) (*_arg4
));
3985 _resultobj
= t_output_helper(_resultobj
, o
);
3990 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3991 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3995 PyObject
* _argo0
= 0;
3997 char *_kwnames
[] = { "self","cr", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
4003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
4009 _arg1
= (bool ) tempbool1
;
4011 wxPy_BEGIN_ALLOW_THREADS
;
4012 wxPyShape_SetCentreResize(_arg0
,_arg1
);
4014 wxPy_END_ALLOW_THREADS
;
4015 } Py_INCREF(Py_None
);
4016 _resultobj
= Py_None
;
4020 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
4021 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4025 PyObject
* _argo0
= 0;
4026 char *_kwnames
[] = { "self", NULL
};
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
4032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
4039 wxPy_BEGIN_ALLOW_THREADS
;
4040 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
4042 wxPy_END_ALLOW_THREADS
;
4043 } _resultobj
= Py_BuildValue("i",_result
);
4047 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4048 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4052 PyObject
* _argo0
= 0;
4054 char *_kwnames
[] = { "self","ar", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4066 _arg1
= (bool ) tempbool1
;
4068 wxPy_BEGIN_ALLOW_THREADS
;
4069 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4071 wxPy_END_ALLOW_THREADS
;
4072 } Py_INCREF(Py_None
);
4073 _resultobj
= Py_None
;
4077 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4078 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4082 PyObject
* _argo0
= 0;
4083 char *_kwnames
[] = { "self", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4096 wxPy_BEGIN_ALLOW_THREADS
;
4097 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4099 wxPy_END_ALLOW_THREADS
;
4100 } _resultobj
= Py_BuildValue("i",_result
);
4104 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4105 wxList
& list
= self
->GetLines();
4106 return wxPy_ConvertList(&list
, "wxPyLineShape");
4108 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4112 PyObject
* _argo0
= 0;
4113 char *_kwnames
[] = { "self", NULL
};
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4126 wxPy_BEGIN_ALLOW_THREADS
;
4127 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4129 wxPy_END_ALLOW_THREADS
;
4131 _resultobj
= _result
;
4136 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4137 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4141 PyObject
* _argo0
= 0;
4143 char *_kwnames
[] = { "self","flag", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4155 _arg1
= (bool ) tempbool1
;
4157 wxPy_BEGIN_ALLOW_THREADS
;
4158 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4160 wxPy_END_ALLOW_THREADS
;
4161 } Py_INCREF(Py_None
);
4162 _resultobj
= Py_None
;
4166 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4167 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4171 PyObject
* _argo0
= 0;
4172 char *_kwnames
[] = { "self", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } _resultobj
= Py_BuildValue("i",_result
);
4193 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4194 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self","mode", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4212 wxPy_BEGIN_ALLOW_THREADS
;
4213 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4215 wxPy_END_ALLOW_THREADS
;
4216 } Py_INCREF(Py_None
);
4217 _resultobj
= Py_None
;
4221 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4222 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4226 PyObject
* _argo0
= 0;
4227 char *_kwnames
[] = { "self", NULL
};
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4240 wxPy_BEGIN_ALLOW_THREADS
;
4241 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4243 wxPy_END_ALLOW_THREADS
;
4244 } _resultobj
= Py_BuildValue("i",_result
);
4248 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4249 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4253 PyObject
* _argo0
= 0;
4254 char *_kwnames
[] = { "self","i", NULL
};
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4267 wxPy_BEGIN_ALLOW_THREADS
;
4268 wxPyShape_SetId(_arg0
,_arg1
);
4270 wxPy_END_ALLOW_THREADS
;
4271 } Py_INCREF(Py_None
);
4272 _resultobj
= Py_None
;
4276 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4277 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4295 wxPy_BEGIN_ALLOW_THREADS
;
4296 _result
= (long )wxPyShape_GetId(_arg0
);
4298 wxPy_END_ALLOW_THREADS
;
4299 } _resultobj
= Py_BuildValue("l",_result
);
4303 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4304 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
* _resultobj
;
4308 PyObject
* _argo0
= 0;
4309 PyObject
* _obj1
= 0;
4310 char *_kwnames
[] = { "self","pen", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_obj1
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4325 if (_obj1
== Py_None
) { temp
= NULL
; }
4326 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxPen_p")) {
4327 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxPen_p.");
4332 _arg1
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4339 wxPy_BEGIN_ALLOW_THREADS
;
4340 wxPyShape_SetPen(_arg0
,_arg1
);
4342 wxPy_END_ALLOW_THREADS
;
4343 } Py_INCREF(Py_None
);
4344 _resultobj
= Py_None
;
4348 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4349 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
* _resultobj
;
4353 PyObject
* _argo0
= 0;
4354 PyObject
* _obj1
= 0;
4355 char *_kwnames
[] = { "self","brush", NULL
};
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_obj1
))
4361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4370 if (_obj1
== Py_None
) { temp
= NULL
; }
4371 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxBrush_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxBrush_p.");
4377 _arg1
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4382 wxPy_BEGIN_ALLOW_THREADS
;
4383 wxPyShape_SetBrush(_arg0
,_arg1
);
4385 wxPy_END_ALLOW_THREADS
;
4386 } Py_INCREF(Py_None
);
4387 _resultobj
= Py_None
;
4391 static void wxPyShape_SetClientData(wxPyShape
*self
,PyObject
* userData
) {
4392 wxPyUserData
* data
= NULL
;
4394 data
= new wxPyUserData(userData
);
4395 self
->SetClientData(data
);
4397 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4401 PyObject
* _argo0
= 0;
4402 PyObject
* _obj1
= 0;
4403 char *_kwnames
[] = { "self","userData", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_obj1
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4419 wxPy_BEGIN_ALLOW_THREADS
;
4420 wxPyShape_SetClientData(_arg0
,_arg1
);
4422 wxPy_END_ALLOW_THREADS
;
4423 } Py_INCREF(Py_None
);
4424 _resultobj
= Py_None
;
4428 static PyObject
* wxPyShape_GetClientData(wxPyShape
*self
) {
4429 wxPyUserData
* data
= (wxPyUserData
*)self
->GetClientData();
4431 Py_INCREF(data
->m_obj
);
4438 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4442 PyObject
* _argo0
= 0;
4443 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 _result
= (PyObject
*)wxPyShape_GetClientData(_arg0
);
4459 wxPy_END_ALLOW_THREADS
;
4461 _resultobj
= _result
;
4466 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4467 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4471 PyObject
* _argo0
= 0;
4473 char *_kwnames
[] = { "self","show", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4485 _arg1
= (bool ) tempbool1
;
4487 wxPy_BEGIN_ALLOW_THREADS
;
4488 wxPyShape_Show(_arg0
,_arg1
);
4490 wxPy_END_ALLOW_THREADS
;
4491 } Py_INCREF(Py_None
);
4492 _resultobj
= Py_None
;
4496 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4497 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4501 PyObject
* _argo0
= 0;
4502 char *_kwnames
[] = { "self", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4515 wxPy_BEGIN_ALLOW_THREADS
;
4516 _result
= (bool )wxPyShape_IsShown(_arg0
);
4518 wxPy_END_ALLOW_THREADS
;
4519 } _resultobj
= Py_BuildValue("i",_result
);
4523 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4524 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4530 bool _arg4
= (bool ) TRUE
;
4531 PyObject
* _argo0
= 0;
4532 PyObject
* _argo1
= 0;
4533 int tempbool4
= (int) TRUE
;
4534 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4553 _arg4
= (bool ) tempbool4
;
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4558 wxPy_END_ALLOW_THREADS
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4564 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4565 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4569 PyObject
* _argo0
= 0;
4570 PyObject
* _argo1
= 0;
4571 char *_kwnames
[] = { "self","dc", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4591 wxPy_BEGIN_ALLOW_THREADS
;
4592 wxPyShape_Erase(_arg0
,*_arg1
);
4594 wxPy_END_ALLOW_THREADS
;
4595 } Py_INCREF(Py_None
);
4596 _resultobj
= Py_None
;
4600 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4601 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4605 PyObject
* _argo0
= 0;
4606 PyObject
* _argo1
= 0;
4607 char *_kwnames
[] = { "self","dc", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4627 wxPy_BEGIN_ALLOW_THREADS
;
4628 wxPyShape_EraseContents(_arg0
,*_arg1
);
4630 wxPy_END_ALLOW_THREADS
;
4631 } Py_INCREF(Py_None
);
4632 _resultobj
= Py_None
;
4636 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4637 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4641 PyObject
* _argo0
= 0;
4642 PyObject
* _argo1
= 0;
4643 char *_kwnames
[] = { "self","dc", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4663 wxPy_BEGIN_ALLOW_THREADS
;
4664 wxPyShape_Draw(_arg0
,*_arg1
);
4666 wxPy_END_ALLOW_THREADS
;
4667 } Py_INCREF(Py_None
);
4668 _resultobj
= Py_None
;
4672 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4673 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
* _resultobj
;
4676 PyObject
* _argo0
= 0;
4677 char *_kwnames
[] = { "self", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 wxPyShape_Flash(_arg0
);
4693 wxPy_END_ALLOW_THREADS
;
4694 } Py_INCREF(Py_None
);
4695 _resultobj
= Py_None
;
4699 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4700 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
* _resultobj
;
4704 PyObject
* _argo0
= 0;
4705 PyObject
* _argo1
= 0;
4706 char *_kwnames
[] = { "self","dc", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4726 wxPy_BEGIN_ALLOW_THREADS
;
4727 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4729 wxPy_END_ALLOW_THREADS
;
4730 } Py_INCREF(Py_None
);
4731 _resultobj
= Py_None
;
4735 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4736 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4740 PyObject
* _argo0
= 0;
4741 PyObject
* _argo1
= 0;
4742 char *_kwnames
[] = { "self","dc", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4762 wxPy_BEGIN_ALLOW_THREADS
;
4763 wxPyShape_DrawContents(_arg0
,*_arg1
);
4765 wxPy_END_ALLOW_THREADS
;
4766 } Py_INCREF(Py_None
);
4767 _resultobj
= Py_None
;
4771 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4772 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4777 bool _arg3
= (bool ) TRUE
;
4778 PyObject
* _argo0
= 0;
4779 int tempbool3
= (int) TRUE
;
4780 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4792 _arg3
= (bool ) tempbool3
;
4794 wxPy_BEGIN_ALLOW_THREADS
;
4795 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4797 wxPy_END_ALLOW_THREADS
;
4798 } Py_INCREF(Py_None
);
4799 _resultobj
= Py_None
;
4803 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4804 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4809 PyObject
* _argo0
= 0;
4810 char *_kwnames
[] = { "self","x","y", NULL
};
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4823 wxPy_BEGIN_ALLOW_THREADS
;
4824 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4826 wxPy_END_ALLOW_THREADS
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4833 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4836 wxPyShapeCanvas
* _arg1
;
4837 PyObject
* _argo0
= 0;
4838 PyObject
* _argo1
= 0;
4839 char *_kwnames
[] = { "self","can", NULL
};
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4859 wxPy_BEGIN_ALLOW_THREADS
;
4860 wxPyShape_Attach(_arg0
,_arg1
);
4862 wxPy_END_ALLOW_THREADS
;
4863 } Py_INCREF(Py_None
);
4864 _resultobj
= Py_None
;
4868 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4869 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4872 PyObject
* _argo0
= 0;
4873 char *_kwnames
[] = { "self", NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4886 wxPy_BEGIN_ALLOW_THREADS
;
4887 wxPyShape_Detach(_arg0
);
4889 wxPy_END_ALLOW_THREADS
;
4890 } Py_INCREF(Py_None
);
4891 _resultobj
= Py_None
;
4895 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4896 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
* _resultobj
;
4900 PyObject
* _argo0
= 0;
4901 char *_kwnames
[] = { "self", NULL
};
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4914 wxPy_BEGIN_ALLOW_THREADS
;
4915 _result
= (bool )wxPyShape_Constrain(_arg0
);
4917 wxPy_END_ALLOW_THREADS
;
4918 } _resultobj
= Py_BuildValue("i",_result
);
4922 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4923 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
* _resultobj
;
4926 wxPyLineShape
* _arg1
;
4928 int _arg3
= (int ) 0;
4929 int _arg4
= (int ) 0;
4930 int _arg5
= (int ) -1;
4931 int _arg6
= (int ) -1;
4932 PyObject
* _argo0
= 0;
4933 PyObject
* _argo1
= 0;
4934 PyObject
* _argo2
= 0;
4935 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4955 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4956 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4962 wxPy_BEGIN_ALLOW_THREADS
;
4963 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4965 wxPy_END_ALLOW_THREADS
;
4966 } Py_INCREF(Py_None
);
4967 _resultobj
= Py_None
;
4971 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4972 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4976 wxPyLineShape
* _arg1
;
4977 PyObject
* _argo0
= 0;
4978 PyObject
* _argo1
= 0;
4979 char *_kwnames
[] = { "self","line", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
5002 wxPy_END_ALLOW_THREADS
;
5003 } _resultobj
= Py_BuildValue("i",_result
);
5007 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
5008 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5012 PyObject
* _argo0
= 0;
5013 PyObject
* _obj1
= 0;
5014 char *_kwnames
[] = { "self","string", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
5027 #if PYTHON_API_VERSION >= 1009
5028 char* tmpPtr
; int tmpSize
;
5029 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5030 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5033 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5035 _arg1
= new wxString(tmpPtr
, tmpSize
);
5037 if (!PyString_Check(_obj1
)) {
5038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5041 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5045 wxPy_BEGIN_ALLOW_THREADS
;
5046 wxPyShape_AddText(_arg0
,*_arg1
);
5048 wxPy_END_ALLOW_THREADS
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5058 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5059 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5063 PyObject
* _argo0
= 0;
5064 char *_kwnames
[] = { "self", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5078 wxPy_BEGIN_ALLOW_THREADS
;
5079 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
5081 wxPy_END_ALLOW_THREADS
;
5083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5084 _resultobj
= Py_BuildValue("s",_ptemp
);
5087 _resultobj
= Py_None
;
5092 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5093 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
* _resultobj
;
5097 PyObject
* _argo0
= 0;
5098 char *_kwnames
[] = { "self", NULL
};
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5112 wxPy_BEGIN_ALLOW_THREADS
;
5113 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5115 wxPy_END_ALLOW_THREADS
;
5117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5118 _resultobj
= Py_BuildValue("s",_ptemp
);
5121 _resultobj
= Py_None
;
5126 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5127 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5130 PyObject
* _argo0
= 0;
5131 char *_kwnames
[] = { "self", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 wxPyShape_SetDefaultRegionSize(_arg0
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5153 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5154 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5159 int _arg3
= (int ) 0;
5160 PyObject
* _argo0
= 0;
5161 PyObject
* _argo1
= 0;
5162 PyObject
* _obj2
= 0;
5163 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5183 #if PYTHON_API_VERSION >= 1009
5184 char* tmpPtr
; int tmpSize
;
5185 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5186 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5189 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5191 _arg2
= new wxString(tmpPtr
, tmpSize
);
5193 if (!PyString_Check(_obj2
)) {
5194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5197 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5201 wxPy_BEGIN_ALLOW_THREADS
;
5202 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5204 wxPy_END_ALLOW_THREADS
;
5205 } Py_INCREF(Py_None
);
5206 _resultobj
= Py_None
;
5214 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5215 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5219 int _arg2
= (int ) 0;
5220 PyObject
* _argo0
= 0;
5221 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5237 wxPy_END_ALLOW_THREADS
;
5238 } Py_INCREF(Py_None
);
5239 _resultobj
= Py_None
;
5243 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5244 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
* _resultobj
;
5248 int _arg1
= (int ) 0;
5249 PyObject
* _argo0
= 0;
5250 char *_kwnames
[] = { "self","regionId", NULL
};
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5263 wxPy_BEGIN_ALLOW_THREADS
;
5264 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5266 wxPy_END_ALLOW_THREADS
;
5267 } _resultobj
= Py_BuildValue("i",_result
);
5271 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5272 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
* _resultobj
;
5276 int _arg2
= (int ) 0;
5277 PyObject
* _argo0
= 0;
5278 PyObject
* _obj1
= 0;
5279 char *_kwnames
[] = { "self","font","regionId", NULL
};
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5294 if (_obj1
== Py_None
) { temp
= NULL
; }
5295 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
5296 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
5301 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5305 temp
->GetUnderlined(),
5306 temp
->GetFaceName(),
5307 temp
->GetEncoding());
5312 wxPy_BEGIN_ALLOW_THREADS
;
5313 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5315 wxPy_END_ALLOW_THREADS
;
5316 } Py_INCREF(Py_None
);
5317 _resultobj
= Py_None
;
5321 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5322 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
* _resultobj
;
5326 int _arg1
= (int ) 0;
5327 PyObject
* _argo0
= 0;
5328 char *_kwnames
[] = { "self","regionId", NULL
};
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5342 wxPy_BEGIN_ALLOW_THREADS
;
5343 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5345 wxPy_END_ALLOW_THREADS
;
5347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5348 _resultobj
= Py_BuildValue("s",_ptemp
);
5351 _resultobj
= Py_None
;
5356 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5357 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
* _resultobj
;
5361 int _arg2
= (int ) 0;
5362 PyObject
* _argo0
= 0;
5363 PyObject
* _obj1
= 0;
5364 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5377 #if PYTHON_API_VERSION >= 1009
5378 char* tmpPtr
; int tmpSize
;
5379 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5380 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5383 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5385 _arg1
= new wxString(tmpPtr
, tmpSize
);
5387 if (!PyString_Check(_obj1
)) {
5388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5391 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5395 wxPy_BEGIN_ALLOW_THREADS
;
5396 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5398 wxPy_END_ALLOW_THREADS
;
5399 } Py_INCREF(Py_None
);
5400 _resultobj
= Py_None
;
5408 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5409 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5413 int _arg1
= (int ) 0;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self","regionId", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5431 wxPy_END_ALLOW_THREADS
;
5433 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5441 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5442 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
* _resultobj
;
5446 PyObject
* _argo0
= 0;
5447 char *_kwnames
[] = { "self", NULL
};
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5460 wxPy_BEGIN_ALLOW_THREADS
;
5461 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5463 wxPy_END_ALLOW_THREADS
;
5464 } _resultobj
= Py_BuildValue("i",_result
);
5468 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5469 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5473 int _arg2
= (int ) 0;
5474 PyObject
* _argo0
= 0;
5475 PyObject
* _obj1
= 0;
5476 char *_kwnames
[] = { "self","name","regionId", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5489 #if PYTHON_API_VERSION >= 1009
5490 char* tmpPtr
; int tmpSize
;
5491 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5492 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5495 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5497 _arg1
= new wxString(tmpPtr
, tmpSize
);
5499 if (!PyString_Check(_obj1
)) {
5500 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5503 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5507 wxPy_BEGIN_ALLOW_THREADS
;
5508 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5510 wxPy_END_ALLOW_THREADS
;
5511 } Py_INCREF(Py_None
);
5512 _resultobj
= Py_None
;
5520 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5521 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5526 PyObject
* _argo0
= 0;
5527 char *_kwnames
[] = { "self","regionId", NULL
};
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5540 wxPy_BEGIN_ALLOW_THREADS
;
5541 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5543 wxPy_END_ALLOW_THREADS
;
5545 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5553 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5554 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
* _resultobj
;
5559 PyObject
* _argo0
= 0;
5560 PyObject
* _obj1
= 0;
5561 char *_kwnames
[] = { "self","name", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5574 #if PYTHON_API_VERSION >= 1009
5575 char* tmpPtr
; int tmpSize
;
5576 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5577 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5580 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5582 _arg1
= new wxString(tmpPtr
, tmpSize
);
5584 if (!PyString_Check(_obj1
)) {
5585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5588 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5592 wxPy_BEGIN_ALLOW_THREADS
;
5593 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5595 wxPy_END_ALLOW_THREADS
;
5596 } _resultobj
= Py_BuildValue("i",_result
);
5604 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5605 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
* _resultobj
;
5608 wxString
* _arg1
= (wxString
*) &"";
5609 PyObject
* _argo0
= 0;
5610 PyObject
* _obj1
= 0;
5611 char *_kwnames
[] = { "self","parentName", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5625 #if PYTHON_API_VERSION >= 1009
5626 char* tmpPtr
; int tmpSize
;
5627 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5628 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5631 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5633 _arg1
= new wxString(tmpPtr
, tmpSize
);
5635 if (!PyString_Check(_obj1
)) {
5636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5639 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5643 wxPy_BEGIN_ALLOW_THREADS
;
5644 wxPyShape_NameRegions(_arg0
,*_arg1
);
5646 wxPy_END_ALLOW_THREADS
;
5647 } Py_INCREF(Py_None
);
5648 _resultobj
= Py_None
;
5656 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5657 wxList
& list
= self
->GetRegions();
5658 return wxPy_ConvertList(&list
, "wxShapeRegion");
5660 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5664 PyObject
* _argo0
= 0;
5665 char *_kwnames
[] = { "self", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5678 wxPy_BEGIN_ALLOW_THREADS
;
5679 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5681 wxPy_END_ALLOW_THREADS
;
5683 _resultobj
= _result
;
5688 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5689 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
* _resultobj
;
5692 wxShapeRegion
* _arg1
;
5693 PyObject
* _argo0
= 0;
5694 PyObject
* _argo1
= 0;
5695 char *_kwnames
[] = { "self","region", NULL
};
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5715 wxPy_BEGIN_ALLOW_THREADS
;
5716 wxPyShape_AddRegion(_arg0
,_arg1
);
5718 wxPy_END_ALLOW_THREADS
;
5719 } Py_INCREF(Py_None
);
5720 _resultobj
= Py_None
;
5724 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5725 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
* _resultobj
;
5728 PyObject
* _argo0
= 0;
5729 char *_kwnames
[] = { "self", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5742 wxPy_BEGIN_ALLOW_THREADS
;
5743 wxPyShape_ClearRegions(_arg0
);
5745 wxPy_END_ALLOW_THREADS
;
5746 } Py_INCREF(Py_None
);
5747 _resultobj
= Py_None
;
5751 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5752 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
* _resultobj
;
5755 PyObject
* _argo0
= 0;
5756 char *_kwnames
[] = { "self", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5769 wxPy_BEGIN_ALLOW_THREADS
;
5770 wxPyShape_AssignNewIds(_arg0
);
5772 wxPy_END_ALLOW_THREADS
;
5773 } Py_INCREF(Py_None
);
5774 _resultobj
= Py_None
;
5778 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5779 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5781 wxPyShape
* _result
;
5786 PyObject
* _argo0
= 0;
5787 PyObject
* _obj1
= 0;
5788 char *_kwnames
[] = { "self","regionName", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5805 #if PYTHON_API_VERSION >= 1009
5806 char* tmpPtr
; int tmpSize
;
5807 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5808 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5811 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5813 _arg1
= new wxString(tmpPtr
, tmpSize
);
5815 if (!PyString_Check(_obj1
)) {
5816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5819 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5823 wxPy_BEGIN_ALLOW_THREADS
;
5824 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5826 wxPy_END_ALLOW_THREADS
;
5828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
5829 _resultobj
= Py_BuildValue("s",_ptemp
);
5832 _resultobj
= Py_None
;
5836 o
= PyInt_FromLong((long) (*_arg2
));
5837 _resultobj
= t_output_helper(_resultobj
, o
);
5846 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5847 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5850 wxStringList
* _arg1
;
5851 PyObject
* _argo0
= 0;
5852 PyObject
* _argo1
= 0;
5853 char *_kwnames
[] = { "self","list", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5866 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5873 wxPy_BEGIN_ALLOW_THREADS
;
5874 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5876 wxPy_END_ALLOW_THREADS
;
5877 } Py_INCREF(Py_None
);
5878 _resultobj
= Py_None
;
5882 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5883 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
* _resultobj
;
5886 int _arg1
= (int ) 0;
5887 PyObject
* _argo0
= 0;
5888 char *_kwnames
[] = { "self","regionId", NULL
};
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5901 wxPy_BEGIN_ALLOW_THREADS
;
5902 wxPyShape_ClearText(_arg0
,_arg1
);
5904 wxPy_END_ALLOW_THREADS
;
5905 } Py_INCREF(Py_None
);
5906 _resultobj
= Py_None
;
5910 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5911 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5914 wxPyLineShape
* _arg1
;
5915 PyObject
* _argo0
= 0;
5916 PyObject
* _argo1
= 0;
5917 char *_kwnames
[] = { "self","line", NULL
};
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5937 wxPy_BEGIN_ALLOW_THREADS
;
5938 wxPyShape_RemoveLine(_arg0
,_arg1
);
5940 wxPy_END_ALLOW_THREADS
;
5941 } Py_INCREF(Py_None
);
5942 _resultobj
= Py_None
;
5946 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5947 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5956 int _arg4
= (int ) 0;
5957 int _arg5
= (int ) 1;
5958 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5959 PyObject
* _argo0
= 0;
5960 PyObject
* _argo6
= 0;
5961 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
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_GetAttachmentPosition. Expected _wxPyShape_p.");
5980 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5987 wxPy_BEGIN_ALLOW_THREADS
;
5988 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5990 wxPy_END_ALLOW_THREADS
;
5991 } _resultobj
= Py_BuildValue("i",_result
);
5994 o
= PyFloat_FromDouble((double) (*_arg2
));
5995 _resultobj
= t_output_helper(_resultobj
, o
);
5999 o
= PyFloat_FromDouble((double) (*_arg3
));
6000 _resultobj
= t_output_helper(_resultobj
, o
);
6005 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
6006 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6010 PyObject
* _argo0
= 0;
6011 char *_kwnames
[] = { "self", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
6024 wxPy_BEGIN_ALLOW_THREADS
;
6025 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
6027 wxPy_END_ALLOW_THREADS
;
6028 } _resultobj
= Py_BuildValue("i",_result
);
6032 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
6033 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
* _resultobj
;
6038 PyObject
* _argo0
= 0;
6039 char *_kwnames
[] = { "self","attachment", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
6052 wxPy_BEGIN_ALLOW_THREADS
;
6053 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
6055 wxPy_END_ALLOW_THREADS
;
6056 } _resultobj
= Py_BuildValue("i",_result
);
6060 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6061 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
* _resultobj
;
6070 int _arg4
= (int ) 0;
6071 int _arg5
= (int ) 1;
6072 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6073 PyObject
* _argo0
= 0;
6074 PyObject
* _argo6
= 0;
6075 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6094 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6104 wxPy_END_ALLOW_THREADS
;
6105 } _resultobj
= Py_BuildValue("i",_result
);
6108 o
= PyFloat_FromDouble((double) (*_arg2
));
6109 _resultobj
= t_output_helper(_resultobj
, o
);
6113 o
= PyFloat_FromDouble((double) (*_arg3
));
6114 _resultobj
= t_output_helper(_resultobj
, o
);
6119 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6120 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
* _resultobj
;
6122 wxRealPoint
* _result
;
6124 wxRealPoint
* _arg1
;
6125 wxRealPoint
* _arg2
;
6128 wxPyLineShape
* _arg5
;
6129 PyObject
* _argo0
= 0;
6131 PyObject
* _obj1
= 0;
6133 PyObject
* _obj2
= 0;
6134 PyObject
* _argo5
= 0;
6135 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6150 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6155 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6159 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6166 wxPy_BEGIN_ALLOW_THREADS
;
6167 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6169 wxPy_END_ALLOW_THREADS
;
6170 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6171 _resultobj
= Py_BuildValue("s",_ptemp
);
6175 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6176 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
* _resultobj
;
6181 wxRealPoint
* _arg2
;
6182 wxRealPoint
* _arg3
;
6183 PyObject
* _argo0
= 0;
6185 PyObject
* _obj2
= 0;
6187 PyObject
* _obj3
= 0;
6188 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6202 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6207 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6211 wxPy_BEGIN_ALLOW_THREADS
;
6212 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6214 wxPy_END_ALLOW_THREADS
;
6215 } _resultobj
= Py_BuildValue("i",_result
);
6219 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6220 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6224 int _arg2
= (int ) -1;
6225 bool _arg3
= (bool ) FALSE
;
6226 PyObject
* _argo0
= 0;
6227 PyObject
* _argo1
= 0;
6228 int tempbool3
= (int) FALSE
;
6229 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6248 _arg3
= (bool ) tempbool3
;
6250 wxPy_BEGIN_ALLOW_THREADS
;
6251 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6253 wxPy_END_ALLOW_THREADS
;
6254 } Py_INCREF(Py_None
);
6255 _resultobj
= Py_None
;
6259 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6260 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6264 int _arg2
= (int ) -1;
6265 bool _arg3
= (bool ) FALSE
;
6266 PyObject
* _argo0
= 0;
6267 PyObject
* _argo1
= 0;
6268 int tempbool3
= (int) FALSE
;
6269 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6288 _arg3
= (bool ) tempbool3
;
6290 wxPy_BEGIN_ALLOW_THREADS
;
6291 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6293 wxPy_END_ALLOW_THREADS
;
6294 } Py_INCREF(Py_None
);
6295 _resultobj
= Py_None
;
6299 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6300 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6305 wxPyLineShape
* _arg2
;
6308 PyObject
* _argo0
= 0;
6309 PyObject
* _argo1
= 0;
6310 PyObject
* _argo2
= 0;
6311 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6331 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6332 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6338 wxPy_BEGIN_ALLOW_THREADS
;
6339 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6341 wxPy_END_ALLOW_THREADS
;
6342 } _resultobj
= Py_BuildValue("i",_result
);
6346 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6347 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6348 self
->ApplyAttachmentOrdering(*list
);
6351 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
* _resultobj
;
6355 PyObject
* _argo0
= 0;
6356 PyObject
* _obj1
= 0;
6357 char *_kwnames
[] = { "self","linesToSort", NULL
};
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6373 wxPy_BEGIN_ALLOW_THREADS
;
6374 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6376 wxPy_END_ALLOW_THREADS
;
6377 } Py_INCREF(Py_None
);
6378 _resultobj
= Py_None
;
6382 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6383 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6385 wxRealPoint
* _result
;
6388 PyObject
* _argo0
= 0;
6389 char *_kwnames
[] = { "self","attachment", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6403 wxPy_BEGIN_ALLOW_THREADS
;
6404 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6406 wxPy_END_ALLOW_THREADS
;
6407 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6408 _resultobj
= Py_BuildValue("s",_ptemp
);
6412 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6413 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6418 wxRealPoint
* _arg2
;
6419 wxRealPoint
* _arg3
;
6420 wxRealPoint
* _arg4
;
6421 wxRealPoint
* _arg5
;
6422 PyObject
* _argo0
= 0;
6424 PyObject
* _obj2
= 0;
6426 PyObject
* _obj3
= 0;
6428 PyObject
* _obj4
= 0;
6430 PyObject
* _obj5
= 0;
6431 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6445 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6450 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6455 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6460 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6464 wxPy_BEGIN_ALLOW_THREADS
;
6465 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6467 wxPy_END_ALLOW_THREADS
;
6468 } _resultobj
= Py_BuildValue("i",_result
);
6472 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6473 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6479 wxRealPoint
* _arg3
;
6480 wxRealPoint
* _arg4
;
6481 PyObject
* _argo0
= 0;
6483 PyObject
* _obj3
= 0;
6485 PyObject
* _obj4
= 0;
6486 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6500 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6505 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6509 wxPy_BEGIN_ALLOW_THREADS
;
6510 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6512 wxPy_END_ALLOW_THREADS
;
6513 } _resultobj
= Py_BuildValue("i",_result
);
6517 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6518 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
* _resultobj
;
6523 PyObject
* _argo0
= 0;
6524 char *_kwnames
[] = { "self","attachment", NULL
};
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6537 wxPy_BEGIN_ALLOW_THREADS
;
6538 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6540 wxPy_END_ALLOW_THREADS
;
6541 } _resultobj
= Py_BuildValue("i",_result
);
6545 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6546 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
* _resultobj
;
6550 PyObject
* _argo0
= 0;
6551 char *_kwnames
[] = { "self","len", NULL
};
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6564 wxPy_BEGIN_ALLOW_THREADS
;
6565 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6567 wxPy_END_ALLOW_THREADS
;
6568 } Py_INCREF(Py_None
);
6569 _resultobj
= Py_None
;
6573 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6574 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6578 PyObject
* _argo0
= 0;
6579 char *_kwnames
[] = { "self", NULL
};
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6592 wxPy_BEGIN_ALLOW_THREADS
;
6593 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6595 wxPy_END_ALLOW_THREADS
;
6596 } _resultobj
= Py_BuildValue("i",_result
);
6600 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6601 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6605 PyObject
* _argo0
= 0;
6606 char *_kwnames
[] = { "self","len", NULL
};
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6619 wxPy_BEGIN_ALLOW_THREADS
;
6620 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6622 wxPy_END_ALLOW_THREADS
;
6623 } Py_INCREF(Py_None
);
6624 _resultobj
= Py_None
;
6628 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6629 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
* _resultobj
;
6633 PyObject
* _argo0
= 0;
6634 char *_kwnames
[] = { "self", NULL
};
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6647 wxPy_BEGIN_ALLOW_THREADS
;
6648 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6650 wxPy_END_ALLOW_THREADS
;
6651 } _resultobj
= Py_BuildValue("i",_result
);
6655 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6656 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
* _resultobj
;
6660 PyObject
* _argo0
= 0;
6661 char *_kwnames
[] = { "self","len", NULL
};
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6674 wxPy_BEGIN_ALLOW_THREADS
;
6675 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6677 wxPy_END_ALLOW_THREADS
;
6678 } Py_INCREF(Py_None
);
6679 _resultobj
= Py_None
;
6683 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6684 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6688 PyObject
* _argo0
= 0;
6689 char *_kwnames
[] = { "self", NULL
};
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6702 wxPy_BEGIN_ALLOW_THREADS
;
6703 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6705 wxPy_END_ALLOW_THREADS
;
6706 } _resultobj
= Py_BuildValue("i",_result
);
6710 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6711 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
* _resultobj
;
6715 PyObject
* _argo0
= 0;
6716 char *_kwnames
[] = { "self","style", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6729 wxPy_BEGIN_ALLOW_THREADS
;
6730 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6732 wxPy_END_ALLOW_THREADS
;
6733 } Py_INCREF(Py_None
);
6734 _resultobj
= Py_None
;
6738 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6739 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
* _resultobj
;
6743 PyObject
* _argo0
= 0;
6744 char *_kwnames
[] = { "self", NULL
};
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6757 wxPy_BEGIN_ALLOW_THREADS
;
6758 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6760 wxPy_END_ALLOW_THREADS
;
6761 } _resultobj
= Py_BuildValue("l",_result
);
6765 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6766 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
* _resultobj
;
6771 PyObject
* _argo0
= 0;
6772 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6785 wxPy_BEGIN_ALLOW_THREADS
;
6786 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6788 wxPy_END_ALLOW_THREADS
;
6789 } _resultobj
= Py_BuildValue("i",_result
);
6793 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6794 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
* _resultobj
;
6799 PyObject
* _argo0
= 0;
6800 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6813 wxPy_BEGIN_ALLOW_THREADS
;
6814 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6816 wxPy_END_ALLOW_THREADS
;
6817 } _resultobj
= Py_BuildValue("i",_result
);
6821 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6822 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
* _resultobj
;
6826 PyObject
* _argo0
= 0;
6827 char *_kwnames
[] = { "self", NULL
};
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6840 wxPy_BEGIN_ALLOW_THREADS
;
6841 _result
= (bool )wxPyShape_Draggable(_arg0
);
6843 wxPy_END_ALLOW_THREADS
;
6844 } _resultobj
= Py_BuildValue("i",_result
);
6848 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6849 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
* _resultobj
;
6854 PyObject
* _argo0
= 0;
6855 PyObject
* _argo1
= 0;
6856 char *_kwnames
[] = { "self","image", NULL
};
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6876 wxPy_BEGIN_ALLOW_THREADS
;
6877 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6879 wxPy_END_ALLOW_THREADS
;
6880 } _resultobj
= Py_BuildValue("i",_result
);
6884 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6885 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
* _resultobj
;
6887 wxPyShape
* _result
;
6889 bool _arg1
= (bool ) TRUE
;
6890 bool _arg2
= (bool ) TRUE
;
6891 PyObject
* _argo0
= 0;
6892 int tempbool1
= (int) TRUE
;
6893 int tempbool2
= (int) TRUE
;
6894 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6907 _arg1
= (bool ) tempbool1
;
6908 _arg2
= (bool ) tempbool2
;
6910 wxPy_BEGIN_ALLOW_THREADS
;
6911 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6913 wxPy_END_ALLOW_THREADS
;
6915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
6916 _resultobj
= Py_BuildValue("s",_ptemp
);
6919 _resultobj
= Py_None
;
6924 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6925 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
* _resultobj
;
6929 PyObject
* _argo0
= 0;
6930 PyObject
* _argo1
= 0;
6931 char *_kwnames
[] = { "self","copy", NULL
};
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6951 wxPy_BEGIN_ALLOW_THREADS
;
6952 wxPyShape_Copy(_arg0
,*_arg1
);
6954 wxPy_END_ALLOW_THREADS
;
6955 } Py_INCREF(Py_None
);
6956 _resultobj
= Py_None
;
6960 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6961 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
* _resultobj
;
6965 PyObject
* _argo0
= 0;
6966 PyObject
* _argo1
= 0;
6967 char *_kwnames
[] = { "self","copy", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6980 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6981 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6987 wxPy_BEGIN_ALLOW_THREADS
;
6988 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6990 wxPy_END_ALLOW_THREADS
;
6991 } Py_INCREF(Py_None
);
6992 _resultobj
= Py_None
;
6996 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6997 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
7003 PyObject
* _argo0
= 0;
7004 char *_kwnames
[] = { "self","x","y","theta", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
7017 wxPy_BEGIN_ALLOW_THREADS
;
7018 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
7020 wxPy_END_ALLOW_THREADS
;
7021 } Py_INCREF(Py_None
);
7022 _resultobj
= Py_None
;
7026 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
7027 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
* _resultobj
;
7031 PyObject
* _argo0
= 0;
7032 char *_kwnames
[] = { "self", NULL
};
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
7038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
7045 wxPy_BEGIN_ALLOW_THREADS
;
7046 _result
= (double )wxPyShape_GetRotation(_arg0
);
7048 wxPy_END_ALLOW_THREADS
;
7049 } _resultobj
= Py_BuildValue("d",_result
);
7053 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7054 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7057 PyObject
* _argo0
= 0;
7058 char *_kwnames
[] = { "self", NULL
};
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
7064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7071 wxPy_BEGIN_ALLOW_THREADS
;
7072 wxPyShape_ClearAttachments(_arg0
);
7074 wxPy_END_ALLOW_THREADS
;
7075 } Py_INCREF(Py_None
);
7076 _resultobj
= Py_None
;
7080 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7081 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
* _resultobj
;
7085 PyObject
* _argo0
= 0;
7086 PyObject
* _argo1
= 0;
7087 char *_kwnames
[] = { "self","dc", NULL
};
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
7093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7100 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 wxPyShape_Recentre(_arg0
,*_arg1
);
7110 wxPy_END_ALLOW_THREADS
;
7111 } Py_INCREF(Py_None
);
7112 _resultobj
= Py_None
;
7116 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7117 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7121 PyObject
* _argo0
= 0;
7122 PyObject
* _argo1
= 0;
7123 char *_kwnames
[] = { "self","list", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7143 wxPy_BEGIN_ALLOW_THREADS
;
7144 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7146 wxPy_END_ALLOW_THREADS
;
7147 } Py_INCREF(Py_None
);
7148 _resultobj
= Py_None
;
7152 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7153 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7156 PyObject
* _argo0
= 0;
7157 char *_kwnames
[] = { "self", NULL
};
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7170 wxPy_BEGIN_ALLOW_THREADS
;
7171 wxPyShape_base_OnDelete(_arg0
);
7173 wxPy_END_ALLOW_THREADS
;
7174 } Py_INCREF(Py_None
);
7175 _resultobj
= Py_None
;
7179 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7180 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
* _resultobj
;
7184 PyObject
* _argo0
= 0;
7185 PyObject
* _argo1
= 0;
7186 char *_kwnames
[] = { "self","dc", NULL
};
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7206 wxPy_BEGIN_ALLOW_THREADS
;
7207 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7209 wxPy_END_ALLOW_THREADS
;
7210 } Py_INCREF(Py_None
);
7211 _resultobj
= Py_None
;
7215 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7216 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
* _resultobj
;
7220 PyObject
* _argo0
= 0;
7221 PyObject
* _argo1
= 0;
7222 char *_kwnames
[] = { "self","dc", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7245 wxPy_END_ALLOW_THREADS
;
7246 } Py_INCREF(Py_None
);
7247 _resultobj
= Py_None
;
7251 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7252 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7256 bool _arg2
= (bool ) FALSE
;
7257 PyObject
* _argo0
= 0;
7258 PyObject
* _argo1
= 0;
7259 int tempbool2
= (int) FALSE
;
7260 char *_kwnames
[] = { "self","dc","erase", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7279 _arg2
= (bool ) tempbool2
;
7281 wxPy_BEGIN_ALLOW_THREADS
;
7282 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7284 wxPy_END_ALLOW_THREADS
;
7285 } Py_INCREF(Py_None
);
7286 _resultobj
= Py_None
;
7290 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7291 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
* _resultobj
;
7295 PyObject
* _argo0
= 0;
7296 PyObject
* _argo1
= 0;
7297 char *_kwnames
[] = { "self","dc", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7317 wxPy_BEGIN_ALLOW_THREADS
;
7318 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7320 wxPy_END_ALLOW_THREADS
;
7321 } Py_INCREF(Py_None
);
7322 _resultobj
= Py_None
;
7326 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7327 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 PyObject
* _argo1
= 0;
7333 char *_kwnames
[] = { "self","dc", NULL
};
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7353 wxPy_BEGIN_ALLOW_THREADS
;
7354 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7356 wxPy_END_ALLOW_THREADS
;
7357 } Py_INCREF(Py_None
);
7358 _resultobj
= Py_None
;
7362 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7363 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7367 PyObject
* _argo0
= 0;
7368 PyObject
* _argo1
= 0;
7369 char *_kwnames
[] = { "self","dc", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7389 wxPy_BEGIN_ALLOW_THREADS
;
7390 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7392 wxPy_END_ALLOW_THREADS
;
7393 } Py_INCREF(Py_None
);
7394 _resultobj
= Py_None
;
7398 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7399 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
* _resultobj
;
7403 PyObject
* _argo0
= 0;
7404 PyObject
* _argo1
= 0;
7405 char *_kwnames
[] = { "self","dc", NULL
};
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7425 wxPy_BEGIN_ALLOW_THREADS
;
7426 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7428 wxPy_END_ALLOW_THREADS
;
7429 } Py_INCREF(Py_None
);
7430 _resultobj
= Py_None
;
7434 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7435 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7440 int _arg3
= (int ) 0;
7441 int _arg4
= (int ) 0;
7442 PyObject
* _argo0
= 0;
7443 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7456 wxPy_BEGIN_ALLOW_THREADS
;
7457 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7459 wxPy_END_ALLOW_THREADS
;
7460 } Py_INCREF(Py_None
);
7461 _resultobj
= Py_None
;
7465 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7466 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
* _resultobj
;
7471 int _arg3
= (int ) 0;
7472 int _arg4
= (int ) 0;
7473 PyObject
* _argo0
= 0;
7474 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7487 wxPy_BEGIN_ALLOW_THREADS
;
7488 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7490 wxPy_END_ALLOW_THREADS
;
7491 } Py_INCREF(Py_None
);
7492 _resultobj
= Py_None
;
7496 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7497 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
* _resultobj
;
7502 int _arg3
= (int ) 0;
7503 int _arg4
= (int ) 0;
7504 PyObject
* _argo0
= 0;
7505 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7518 wxPy_BEGIN_ALLOW_THREADS
;
7519 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7521 wxPy_END_ALLOW_THREADS
;
7522 } Py_INCREF(Py_None
);
7523 _resultobj
= Py_None
;
7527 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7528 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
* _resultobj
;
7533 PyObject
* _argo0
= 0;
7534 char *_kwnames
[] = { "self","x","y", NULL
};
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7547 wxPy_BEGIN_ALLOW_THREADS
;
7548 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7550 wxPy_END_ALLOW_THREADS
;
7551 } Py_INCREF(Py_None
);
7552 _resultobj
= Py_None
;
7556 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7557 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7566 bool _arg6
= (bool ) TRUE
;
7567 PyObject
* _argo0
= 0;
7568 PyObject
* _argo1
= 0;
7569 int tempbool6
= (int) TRUE
;
7570 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7589 _arg6
= (bool ) tempbool6
;
7591 wxPy_BEGIN_ALLOW_THREADS
;
7592 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7594 wxPy_END_ALLOW_THREADS
;
7595 } _resultobj
= Py_BuildValue("i",_result
);
7599 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7600 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
* _resultobj
;
7608 bool _arg6
= (bool ) TRUE
;
7609 PyObject
* _argo0
= 0;
7610 PyObject
* _argo1
= 0;
7611 int tempbool6
= (int) TRUE
;
7612 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7625 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7626 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7631 _arg6
= (bool ) tempbool6
;
7633 wxPy_BEGIN_ALLOW_THREADS
;
7634 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7636 wxPy_END_ALLOW_THREADS
;
7637 } Py_INCREF(Py_None
);
7638 _resultobj
= Py_None
;
7642 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7643 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
* _resultobj
;
7649 int _arg4
= (int ) 0;
7650 int _arg5
= (int ) 0;
7651 PyObject
* _argo0
= 0;
7653 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7665 _arg1
= (bool ) tempbool1
;
7667 wxPy_BEGIN_ALLOW_THREADS
;
7668 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7670 wxPy_END_ALLOW_THREADS
;
7671 } Py_INCREF(Py_None
);
7672 _resultobj
= Py_None
;
7676 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7677 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
* _resultobj
;
7682 int _arg3
= (int ) 0;
7683 int _arg4
= (int ) 0;
7684 PyObject
* _argo0
= 0;
7685 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7698 wxPy_BEGIN_ALLOW_THREADS
;
7699 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7701 wxPy_END_ALLOW_THREADS
;
7702 } Py_INCREF(Py_None
);
7703 _resultobj
= Py_None
;
7707 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7708 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
* _resultobj
;
7713 int _arg3
= (int ) 0;
7714 int _arg4
= (int ) 0;
7715 PyObject
* _argo0
= 0;
7716 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7729 wxPy_BEGIN_ALLOW_THREADS
;
7730 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7732 wxPy_END_ALLOW_THREADS
;
7733 } Py_INCREF(Py_None
);
7734 _resultobj
= Py_None
;
7738 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7739 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
* _resultobj
;
7745 int _arg4
= (int ) 0;
7746 int _arg5
= (int ) 0;
7747 PyObject
* _argo0
= 0;
7749 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7761 _arg1
= (bool ) tempbool1
;
7763 wxPy_BEGIN_ALLOW_THREADS
;
7764 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7766 wxPy_END_ALLOW_THREADS
;
7767 } Py_INCREF(Py_None
);
7768 _resultobj
= Py_None
;
7772 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7773 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
* _resultobj
;
7778 int _arg3
= (int ) 0;
7779 int _arg4
= (int ) 0;
7780 PyObject
* _argo0
= 0;
7781 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7794 wxPy_BEGIN_ALLOW_THREADS
;
7795 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7797 wxPy_END_ALLOW_THREADS
;
7798 } Py_INCREF(Py_None
);
7799 _resultobj
= Py_None
;
7803 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7804 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
* _resultobj
;
7809 int _arg3
= (int ) 0;
7810 int _arg4
= (int ) 0;
7811 PyObject
* _argo0
= 0;
7812 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7825 wxPy_BEGIN_ALLOW_THREADS
;
7826 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7828 wxPy_END_ALLOW_THREADS
;
7829 } Py_INCREF(Py_None
);
7830 _resultobj
= Py_None
;
7834 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7835 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
* _resultobj
;
7843 PyObject
* _argo0
= 0;
7844 PyObject
* _argo1
= 0;
7845 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7865 wxPy_BEGIN_ALLOW_THREADS
;
7866 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7868 wxPy_END_ALLOW_THREADS
;
7869 } Py_INCREF(Py_None
);
7870 _resultobj
= Py_None
;
7874 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7875 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
* _resultobj
;
7879 PyObject
* _argo0
= 0;
7880 PyObject
* _argo1
= 0;
7881 char *_kwnames
[] = { "self","dc", NULL
};
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7901 wxPy_BEGIN_ALLOW_THREADS
;
7902 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7904 wxPy_END_ALLOW_THREADS
;
7905 } Py_INCREF(Py_None
);
7906 _resultobj
= Py_None
;
7910 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7911 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
* _resultobj
;
7915 PyObject
* _argo0
= 0;
7916 PyObject
* _argo1
= 0;
7917 char *_kwnames
[] = { "self","dc", NULL
};
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7937 wxPy_BEGIN_ALLOW_THREADS
;
7938 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7940 wxPy_END_ALLOW_THREADS
;
7941 } Py_INCREF(Py_None
);
7942 _resultobj
= Py_None
;
7946 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7947 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
* _resultobj
;
7951 bool _arg2
= (bool ) TRUE
;
7952 PyObject
* _argo0
= 0;
7953 PyObject
* _argo1
= 0;
7954 int tempbool2
= (int) TRUE
;
7955 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7968 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7974 _arg2
= (bool ) tempbool2
;
7976 wxPy_BEGIN_ALLOW_THREADS
;
7977 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7979 wxPy_END_ALLOW_THREADS
;
7980 } Py_INCREF(Py_None
);
7981 _resultobj
= Py_None
;
7985 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7986 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
* _resultobj
;
7989 wxPyControlPoint
* _arg1
;
7993 int _arg5
= (int ) 0;
7994 int _arg6
= (int ) 0;
7995 PyObject
* _argo0
= 0;
7996 PyObject
* _argo1
= 0;
7998 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
8004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
8011 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8012 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
8017 _arg2
= (bool ) tempbool2
;
8019 wxPy_BEGIN_ALLOW_THREADS
;
8020 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8022 wxPy_END_ALLOW_THREADS
;
8023 } Py_INCREF(Py_None
);
8024 _resultobj
= Py_None
;
8028 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8029 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
* _resultobj
;
8032 wxPyControlPoint
* _arg1
;
8035 int _arg4
= (int ) 0;
8036 int _arg5
= (int ) 0;
8037 PyObject
* _argo0
= 0;
8038 PyObject
* _argo1
= 0;
8039 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
8052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8059 wxPy_BEGIN_ALLOW_THREADS
;
8060 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8062 wxPy_END_ALLOW_THREADS
;
8063 } Py_INCREF(Py_None
);
8064 _resultobj
= Py_None
;
8068 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8069 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
* _resultobj
;
8072 wxPyControlPoint
* _arg1
;
8075 int _arg4
= (int ) 0;
8076 int _arg5
= (int ) 0;
8077 PyObject
* _argo0
= 0;
8078 PyObject
* _argo1
= 0;
8079 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8099 wxPy_BEGIN_ALLOW_THREADS
;
8100 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8102 wxPy_END_ALLOW_THREADS
;
8103 } Py_INCREF(Py_None
);
8104 _resultobj
= Py_None
;
8108 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8109 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
* _resultobj
;
8114 PyObject
* _argo0
= 0;
8115 char *_kwnames
[] = { "self","w","h", NULL
};
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8128 wxPy_BEGIN_ALLOW_THREADS
;
8129 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8131 wxPy_END_ALLOW_THREADS
;
8132 } Py_INCREF(Py_None
);
8133 _resultobj
= Py_None
;
8137 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8138 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
* _resultobj
;
8143 PyObject
* _argo0
= 0;
8144 char *_kwnames
[] = { "self","w","h", NULL
};
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8157 wxPy_BEGIN_ALLOW_THREADS
;
8158 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8160 wxPy_END_ALLOW_THREADS
;
8161 } Py_INCREF(Py_None
);
8162 _resultobj
= Py_None
;
8166 static PyMethodDef oglbasiccMethods
[] = {
8167 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxPyShape_Destroy", (PyCFunction
) _wrap_wxPyShape_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxPyShape__setSelf", (PyCFunction
) _wrap_wxPyShape__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxPyShapeEvtHandler__setSelf", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8404 * This table is used by the pointer type-checker
8406 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8407 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8408 { "_wxEvent","_class_wxEvent",0},
8409 { "_class_wxActivateEvent","_wxActivateEvent",0},
8410 { "_signed_long","_long",0},
8411 { "_wxMenuEvent","_class_wxMenuEvent",0},
8412 { "_class_wxProcessEvent","_wxProcessEvent",0},
8413 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
8414 { "_class_wxFSFile","_wxFSFile",0},
8415 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8416 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8417 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8418 { "_wxBMPHandler","_class_wxBMPHandler",0},
8419 { "_wxImage","_class_wxImage",0},
8420 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
8421 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
8422 { "_class_wxDateTime","_wxDateTime",0},
8423 { "_wxPrintQuality","_wxCoord",0},
8424 { "_wxPrintQuality","_int",0},
8425 { "_wxPrintQuality","_signed_int",0},
8426 { "_wxPrintQuality","_unsigned_int",0},
8427 { "_wxPrintQuality","_wxWindowID",0},
8428 { "_wxPrintQuality","_uint",0},
8429 { "_wxPrintQuality","_EBool",0},
8430 { "_wxPrintQuality","_size_t",0},
8431 { "_wxPrintQuality","_time_t",0},
8432 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8433 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8434 { "_wxFontData","_class_wxFontData",0},
8435 { "_class_wxRegionIterator","_wxRegionIterator",0},
8436 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8437 { "_class_wxMenuBar","_wxMenuBar",0},
8438 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8439 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
8440 { "_class_wxEvtHandler","_wxEvtHandler",0},
8441 { "_wxPaintEvent","_class_wxPaintEvent",0},
8442 { "_wxGIFHandler","_class_wxGIFHandler",0},
8443 { "_wxPySizer","_class_wxPySizer",0},
8444 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
8445 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8446 { "_wxCursor","_class_wxCursor",0},
8447 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8448 { "_wxPyProcess","_class_wxPyProcess",0},
8449 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8450 { "_wxImageHandler","_class_wxImageHandler",0},
8451 { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0},
8452 { "_wxLog","_class_wxLog",0},
8453 { "_class_wxToolBarBase","_wxToolBarBase",0},
8454 { "_wxMask","_class_wxMask",0},
8455 { "_wxToolTip","_class_wxToolTip",0},
8456 { "_wxPNGHandler","_class_wxPNGHandler",0},
8457 { "_class_wxColourData","_wxColourData",0},
8458 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8459 { "_wxPrinter","_class_wxPrinter",0},
8460 { "_wxPen","_class_wxPen",0},
8461 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8462 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
8463 { "_byte","_unsigned_char",0},
8464 { "_wxDataObject","_class_wxDataObject",0},
8465 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
8466 { "_wxStaticBox","_class_wxStaticBox",0},
8467 { "_wxColourDatabase","_class_wxColourDatabase",0},
8468 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8469 { "_wxPyDropSource","_class_wxPyDropSource",0},
8470 { "_wxChoice","_class_wxChoice",0},
8471 { "_wxSlider","_class_wxSlider",0},
8472 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8473 { "_wxPyPrintout","_class_wxPyPrintout",0},
8474 { "_wxShapeRegion","_class_wxShapeRegion",0},
8475 { "_long","_unsigned_long",0},
8476 { "_long","_signed_long",0},
8477 { "_wxImageList","_class_wxImageList",0},
8478 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8479 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8480 { "_wxBitmapButton","_class_wxBitmapButton",0},
8481 { "_wxSashWindow","_class_wxSashWindow",0},
8482 { "_class_wxSizer","_wxSizer",0},
8483 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
8484 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8485 { "_wxGridSizer","_class_wxGridSizer",0},
8486 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8487 { "_class_wxClipboard","_wxClipboard",0},
8488 { "_class_wxGauge","_wxGauge",0},
8489 { "_class_wxSashEvent","_wxSashEvent",0},
8490 { "_wxDC","_class_wxDC",0},
8491 { "_wxSizerItem","_class_wxSizerItem",0},
8492 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8493 { "_wxListEvent","_class_wxListEvent",0},
8494 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8495 { "_wxProgressDialog","_class_wxProgressDialog",0},
8496 { "_class_wxBMPHandler","_wxBMPHandler",0},
8497 { "_wxPrintPreview","_class_wxPrintPreview",0},
8498 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
8499 { "_wxSpinEvent","_class_wxSpinEvent",0},
8500 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8501 { "_size_t","_wxCoord",0},
8502 { "_size_t","_wxPrintQuality",0},
8503 { "_size_t","_time_t",0},
8504 { "_size_t","_unsigned_int",0},
8505 { "_size_t","_int",0},
8506 { "_size_t","_wxWindowID",0},
8507 { "_size_t","_uint",0},
8508 { "_class_wxRealPoint","_wxRealPoint",0},
8509 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8510 { "_wxPNMHandler","_class_wxPNMHandler",0},
8511 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8512 { "_wxLogGui","_class_wxLogGui",0},
8513 { "_wxPrinterDC","_class_wxPrinterDC",0},
8514 { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8515 { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8516 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
8517 { "_class_wxMenuItem","_wxMenuItem",0},
8518 { "_class_wxPaintEvent","_wxPaintEvent",0},
8519 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8520 { "_class_wxStatusBar","_wxStatusBar",0},
8521 { "_class_wxGIFHandler","_wxGIFHandler",0},
8522 { "_class_wxPySizer","_wxPySizer",0},
8523 { "_wxPanel","_class_wxPanel",0},
8524 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8525 { "_wxCheckBox","_class_wxCheckBox",0},
8526 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8527 { "_wxPyEvent","_class_wxPyEvent",0},
8528 { "_wxTextCtrl","_class_wxTextCtrl",0},
8529 { "_class_wxMask","_wxMask",0},
8530 { "_wxTextDataObject","_class_wxTextDataObject",0},
8531 { "_class_wxKeyEvent","_wxKeyEvent",0},
8532 { "_class_wxToolTip","_wxToolTip",0},
8533 { "_class_wxPNGHandler","_wxPNGHandler",0},
8534 { "_wxFileConfig","_class_wxFileConfig",0},
8535 { "_wxColour","_class_wxColour",0},
8536 { "_class_wxDialog","_wxDialog",0},
8537 { "_wxBusyCursor","_class_wxBusyCursor",0},
8538 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8539 { "_class_wxPrinter","_wxPrinter",0},
8540 { "_class_wxFileDataObject","_wxFileDataObject",0},
8541 { "_wxIdleEvent","_class_wxIdleEvent",0},
8542 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8543 { "_wxToolBar","_class_wxToolBar",0},
8544 { "_class_wxDataObject","_wxDataObject",0},
8545 { "_wxCaret","_class_wxCaret",0},
8546 { "_wxStaticLine","_class_wxStaticLine",0},
8547 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8548 { "_wxBrush","_class_wxBrush",0},
8549 { "_wxMiniFrame","_class_wxMiniFrame",0},
8550 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8551 { "_class_wxPyPrintout","_wxPyPrintout",0},
8552 { "_wxDataFormat","_class_wxDataFormat",0},
8553 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8554 { "_class_wxSashWindow","_wxSashWindow",0},
8555 { "_wxShowEvent","_class_wxShowEvent",0},
8556 { "_uint","_wxCoord",0},
8557 { "_uint","_wxPrintQuality",0},
8558 { "_uint","_time_t",0},
8559 { "_uint","_size_t",0},
8560 { "_uint","_unsigned_int",0},
8561 { "_uint","_int",0},
8562 { "_uint","_wxWindowID",0},
8563 { "_wxChar","_char",0},
8564 { "_wxPyValidator","_class_wxPyValidator",0},
8565 { "_class_wxEvent","_wxEvent",0},
8566 { "_wxCheckListBox","_class_wxCheckListBox",0},
8567 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8568 { "_wxRect","_class_wxRect",0},
8569 { "_wxCommandEvent","_class_wxCommandEvent",0},
8570 { "_wxSizeEvent","_class_wxSizeEvent",0},
8571 { "_class_wxLogWindow","_wxLogWindow",0},
8572 { "_class_wxImage","_wxImage",0},
8573 { "_wxPoint","_class_wxPoint",0},
8574 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
8575 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8576 { "_class_wxButton","_wxButton",0},
8577 { "_wxRadioBox","_class_wxRadioBox",0},
8578 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8579 { "_class_wxFontData","_wxFontData",0},
8580 { "_class_wxPNMHandler","_wxPNMHandler",0},
8581 { "_wxBoxSizer","_class_wxBoxSizer",0},
8582 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
8583 { "_char","_wxChar",0},
8584 { "_wxBitmap","_class_wxBitmap",0},
8585 { "_wxPenList","_class_wxPenList",0},
8586 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
8587 { "_wxPrintDialog","_class_wxPrintDialog",0},
8588 { "_wxWindowDC","_class_wxWindowDC",0},
8589 { "_wxTimerEvent","_class_wxTimerEvent",0},
8590 { "_wxPyTimer","_class_wxPyTimer",0},
8591 { "_wxScrollBar","_class_wxScrollBar",0},
8592 { "_wxSpinButton","_class_wxSpinButton",0},
8593 { "_wxColourDialog","_class_wxColourDialog",0},
8594 { "_wxPrintData","_class_wxPrintData",0},
8595 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
8596 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8597 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8598 { "_wxMessageDialog","_class_wxMessageDialog",0},
8599 { "_class_wxValidator","_wxValidator",0},
8600 { "_class_wxPyEvent","_wxPyEvent",0},
8601 { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0},
8602 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
8603 { "_wxConfig","_class_wxConfig",0},
8604 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8605 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8606 { "_class_wxFileConfig","_wxFileConfig",0},
8607 { "_class_wxBusyCursor","_wxBusyCursor",0},
8608 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
8609 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8610 { "_wxListItem","_class_wxListItem",0},
8611 { "_class_wxToolBar","_wxToolBar",0},
8612 { "_wxDropTarget","_class_wxDropTarget",0},
8613 { "_class_wxStaticLine","_wxStaticLine",0},
8614 { "_class_wxColourDatabase","_wxColourDatabase",0},
8615 { "_wxScrollEvent","_class_wxScrollEvent",0},
8616 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
8617 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
8618 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
8619 { "_class_wxShapeRegion","_wxShapeRegion",0},
8620 { "_EBool","_wxCoord",0},
8621 { "_EBool","_wxPrintQuality",0},
8622 { "_EBool","_signed_int",0},
8623 { "_EBool","_int",0},
8624 { "_EBool","_wxWindowID",0},
8625 { "_class_wxRegion","_wxRegion",0},
8626 { "_class_wxDataFormat","_wxDataFormat",0},
8627 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8628 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8629 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8630 { "_wxStaticText","_class_wxStaticText",0},
8631 { "_wxFont","_class_wxFont",0},
8632 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8633 { "_wxCloseEvent","_class_wxCloseEvent",0},
8634 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
8635 { "_wxProcessEvent","_class_wxProcessEvent",0},
8636 { "_wxNotebook","_class_wxNotebook",0},
8637 { "_wxFSFile","_class_wxFSFile",0},
8638 { "_unsigned_long","_long",0},
8639 { "_class_wxRect","_wxRect",0},
8640 { "_class_wxDC","_wxDC",0},
8641 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8642 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
8643 { "_class_wxProgressDialog","_wxProgressDialog",0},
8644 { "_class_wxBrushList","_wxBrushList",0},
8645 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8646 { "_wxPyInputStream","_class_wxPyInputStream",0},
8647 { "_wxPyApp","_class_wxPyApp",0},
8648 { "_class_wxPenList","_wxPenList",0},
8649 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8650 { "_class_wxOutputStream","_wxOutputStream",0},
8651 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
8652 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8653 { "_class_wxTreeEvent","_wxTreeEvent",0},
8654 { "_class_wxDirDialog","_wxDirDialog",0},
8655 { "_wxTimeSpan","_class_wxTimeSpan",0},
8656 { "_wxFocusEvent","_class_wxFocusEvent",0},
8657 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8658 { "_class_wxTimerEvent","_wxTimerEvent",0},
8659 { "_class_wxPyTimer","_wxPyTimer",0},
8660 { "_class_wxSpinButton","_wxSpinButton",0},
8661 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8662 { "_class_wxPanel","_wxPanel",0},
8663 { "_class_wxCheckBox","_wxCheckBox",0},
8664 { "_wxComboBox","_class_wxComboBox",0},
8665 { "_wxRadioButton","_class_wxRadioButton",0},
8666 { "_class_wxMessageDialog","_wxMessageDialog",0},
8667 { "_signed_int","_wxCoord",0},
8668 { "_signed_int","_wxPrintQuality",0},
8669 { "_signed_int","_EBool",0},
8670 { "_signed_int","_wxWindowID",0},
8671 { "_signed_int","_int",0},
8672 { "_class_wxTextCtrl","_wxTextCtrl",0},
8673 { "_class_wxListItemAttr","_wxListItemAttr",0},
8674 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8675 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8676 { "_class_wxTextDataObject","_wxTextDataObject",0},
8677 { "_wxMenu","_class_wxMenu",0},
8678 { "_class_wxMoveEvent","_wxMoveEvent",0},
8679 { "_wxListBox","_class_wxListBox",0},
8680 { "_wxScreenDC","_class_wxScreenDC",0},
8681 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
8682 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
8683 { "_WXTYPE","_wxDateTime_t",0},
8684 { "_WXTYPE","_short",0},
8685 { "_WXTYPE","_signed_short",0},
8686 { "_WXTYPE","_unsigned_short",0},
8687 { "_wxFileDialog","_class_wxFileDialog",0},
8688 { "_class_wxDropTarget","_wxDropTarget",0},
8689 { "_class_wxCaret","_wxCaret",0},
8690 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8691 { "_class_wxBrush","_wxBrush",0},
8692 { "_wxTipProvider","_class_wxTipProvider",0},
8693 { "_unsigned_short","_wxDateTime_t",0},
8694 { "_unsigned_short","_WXTYPE",0},
8695 { "_unsigned_short","_short",0},
8696 { "_class_wxWindow","_wxWindow",0},
8697 { "_class_wxLogStderr","_wxLogStderr",0},
8698 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
8699 { "_wxDateSpan","_class_wxDateSpan",0},
8700 { "_class_wxStaticText","_wxStaticText",0},
8701 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8702 { "_class_wxFont","_wxFont",0},
8703 { "_wxClipboard","_class_wxClipboard",0},
8704 { "_class_wxPyValidator","_wxPyValidator",0},
8705 { "_class_wxCloseEvent","_wxCloseEvent",0},
8706 { "_wxSashEvent","_class_wxSashEvent",0},
8707 { "_wxBusyInfo","_class_wxBusyInfo",0},
8708 { "_wxFontList","_class_wxFontList",0},
8709 { "_class_wxMenuEvent","_wxMenuEvent",0},
8710 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8711 { "_wxJoystick","_class_wxJoystick",0},
8712 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8713 { "_wxClientDC","_class_wxClientDC",0},
8714 { "_wxMouseEvent","_class_wxMouseEvent",0},
8715 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
8716 { "_wxListCtrl","_class_wxListCtrl",0},
8717 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8718 { "_class_wxPoint","_wxPoint",0},
8719 { "_class_wxPyInputStream","_wxPyInputStream",0},
8720 { "_wxRealPoint","_class_wxRealPoint",0},
8721 { "_class_wxRadioBox","_wxRadioBox",0},
8722 { "_class_wxBoxSizer","_wxBoxSizer",0},
8723 { "_signed_short","_WXTYPE",0},
8724 { "_signed_short","_short",0},
8725 { "_wxMemoryDC","_class_wxMemoryDC",0},
8726 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8727 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
8728 { "_class_wxPrintDialog","_wxPrintDialog",0},
8729 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
8730 { "_wxPaintDC","_class_wxPaintDC",0},
8731 { "_class_wxWindowDC","_wxWindowDC",0},
8732 { "_class_wxFocusEvent","_wxFocusEvent",0},
8733 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8734 { "_wxStatusBar","_class_wxStatusBar",0},
8735 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8736 { "_class_wxCursor","_wxCursor",0},
8737 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8738 { "_class_wxPyProcess","_wxPyProcess",0},
8739 { "_class_wxImageHandler","_wxImageHandler",0},
8740 { "_wxPyShape","_class_wxPyShape",0},
8741 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8742 { "_class_wxLog","_wxLog",0},
8743 { "_wxTreeItemId","_class_wxTreeItemId",0},
8744 { "_unsigned_char","_byte",0},
8745 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8746 { "_class_wxMenu","_wxMenu",0},
8747 { "_wxControl","_class_wxControl",0},
8748 { "_class_wxListBox","_wxListBox",0},
8749 { "_unsigned_int","_wxCoord",0},
8750 { "_unsigned_int","_wxPrintQuality",0},
8751 { "_unsigned_int","_time_t",0},
8752 { "_unsigned_int","_size_t",0},
8753 { "_unsigned_int","_uint",0},
8754 { "_unsigned_int","_wxWindowID",0},
8755 { "_unsigned_int","_int",0},
8756 { "_wxIcon","_class_wxIcon",0},
8757 { "_wxDialog","_class_wxDialog",0},
8758 { "_class_wxListItem","_wxListItem",0},
8759 { "_class_wxPen","_wxPen",0},
8760 { "_class_wxFileDialog","_wxFileDialog",0},
8761 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
8762 { "_wxConfigBase","_class_wxConfigBase",0},
8763 { "_short","_wxDateTime_t",0},
8764 { "_short","_WXTYPE",0},
8765 { "_short","_unsigned_short",0},
8766 { "_short","_signed_short",0},
8767 { "_class_wxStaticBox","_wxStaticBox",0},
8768 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8769 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8770 { "_class_wxPyDropSource","_wxPyDropSource",0},
8771 { "_class_wxScrollEvent","_wxScrollEvent",0},
8772 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8773 { "_class_wxChoice","_wxChoice",0},
8774 { "_class_wxSlider","_wxSlider",0},
8775 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8776 { "_class_wxImageList","_wxImageList",0},
8777 { "_class_wxBitmapButton","_wxBitmapButton",0},
8778 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
8779 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
8780 { "_wxFrame","_class_wxFrame",0},
8781 { "_wxPCXHandler","_class_wxPCXHandler",0},
8782 { "_class_wxGridSizer","_wxGridSizer",0},
8783 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8784 { "_class_wxNotebook","_wxNotebook",0},
8785 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8786 { "_wxWindowID","_wxCoord",0},
8787 { "_wxWindowID","_wxPrintQuality",0},
8788 { "_wxWindowID","_time_t",0},
8789 { "_wxWindowID","_size_t",0},
8790 { "_wxWindowID","_EBool",0},
8791 { "_wxWindowID","_uint",0},
8792 { "_wxWindowID","_int",0},
8793 { "_wxWindowID","_signed_int",0},
8794 { "_wxWindowID","_unsigned_int",0},
8795 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8796 { "_class_wxSizerItem","_wxSizerItem",0},
8797 { "_int","_wxCoord",0},
8798 { "_int","_wxPrintQuality",0},
8799 { "_int","_time_t",0},
8800 { "_int","_size_t",0},
8801 { "_int","_EBool",0},
8802 { "_int","_uint",0},
8803 { "_int","_wxWindowID",0},
8804 { "_int","_unsigned_int",0},
8805 { "_int","_signed_int",0},
8806 { "_class_wxMouseEvent","_wxMouseEvent",0},
8807 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8808 { "_wxLogWindow","_class_wxLogWindow",0},
8809 { "_class_wxListEvent","_wxListEvent",0},
8810 { "_class_wxPrintPreview","_wxPrintPreview",0},
8811 { "_wxDateTime_t","_unsigned_short",0},
8812 { "_wxDateTime_t","_short",0},
8813 { "_wxDateTime_t","_WXTYPE",0},
8814 { "_class_wxSpinEvent","_wxSpinEvent",0},
8815 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8816 { "_wxDateTime","_class_wxDateTime",0},
8817 { "_time_t","_wxCoord",0},
8818 { "_time_t","_wxPrintQuality",0},
8819 { "_time_t","_unsigned_int",0},
8820 { "_time_t","_int",0},
8821 { "_time_t","_wxWindowID",0},
8822 { "_time_t","_uint",0},
8823 { "_time_t","_size_t",0},
8824 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8825 { "_wxLogNull","_class_wxLogNull",0},
8826 { "_wxButton","_class_wxButton",0},
8827 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
8828 { "_class_wxPyApp","_wxPyApp",0},
8829 { "_wxSize","_class_wxSize",0},
8830 { "_wxRegionIterator","_class_wxRegionIterator",0},
8831 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8832 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
8833 { "_class_wxLogGui","_wxLogGui",0},
8834 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8835 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8836 { "_class_wxPrinterDC","_wxPrinterDC",0},
8837 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
8838 { "_class_wxTimeSpan","_wxTimeSpan",0},
8839 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
8840 { "_class_wxPaintDC","_wxPaintDC",0},
8841 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8842 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8843 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8844 { "_class_wxComboBox","_wxComboBox",0},
8845 { "_class_wxRadioButton","_wxRadioButton",0},
8846 { "_class_wxPyShape","_wxPyShape",0},
8847 { "_wxValidator","_class_wxValidator",0},
8848 { "_wxToolBarBase","_class_wxToolBarBase",0},
8849 { "_class_wxTreeItemId","_wxTreeItemId",0},
8850 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8851 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8852 { "_class_wxControl","_wxControl",0},
8853 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8854 { "_class_wxIcon","_wxIcon",0},
8855 { "_class_wxColour","_wxColour",0},
8856 { "_class_wxScreenDC","_wxScreenDC",0},
8857 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8858 { "_wxPalette","_class_wxPalette",0},
8859 { "_class_wxIdleEvent","_wxIdleEvent",0},
8860 { "_class_wxConfigBase","_wxConfigBase",0},
8861 { "_wxCoord","_int",0},
8862 { "_wxCoord","_signed_int",0},
8863 { "_wxCoord","_unsigned_int",0},
8864 { "_wxCoord","_wxWindowID",0},
8865 { "_wxCoord","_uint",0},
8866 { "_wxCoord","_EBool",0},
8867 { "_wxCoord","_size_t",0},
8868 { "_wxCoord","_time_t",0},
8869 { "_wxCoord","_wxPrintQuality",0},
8870 { "_wxEraseEvent","_class_wxEraseEvent",0},
8871 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8872 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8873 { "_class_wxTipProvider","_wxTipProvider",0},
8874 { "_class_wxMiniFrame","_wxMiniFrame",0},
8875 { "_wxFontDialog","_class_wxFontDialog",0},
8876 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
8877 { "_wxRegion","_class_wxRegion",0},
8878 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8879 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8880 { "_wxSizer","_class_wxSizer",0},
8881 { "_class_wxDateSpan","_wxDateSpan",0},
8882 { "_wxFileSystem","_class_wxFileSystem",0},
8883 { "_class_wxShowEvent","_wxShowEvent",0},
8884 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
8885 { "_class_wxPCXHandler","_wxPCXHandler",0},
8886 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
8887 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8888 { "_wxActivateEvent","_class_wxActivateEvent",0},
8889 { "_wxGauge","_class_wxGauge",0},
8890 { "_class_wxCheckListBox","_wxCheckListBox",0},
8891 { "_class_wxBusyInfo","_wxBusyInfo",0},
8892 { "_class_wxFontList","_wxFontList",0},
8893 { "_class_wxJoystick","_wxJoystick",0},
8894 { "_class_wxCommandEvent","_wxCommandEvent",0},
8895 { "_class_wxClientDC","_wxClientDC",0},
8896 { "_class_wxSizeEvent","_wxSizeEvent",0},
8897 { "_class_wxListCtrl","_wxListCtrl",0},
8898 { "_wxBrushList","_class_wxBrushList",0},
8899 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8900 { "_class_wxLogNull","_wxLogNull",0},
8901 { "_class_wxSize","_wxSize",0},
8902 { "_class_wxBitmap","_wxBitmap",0},
8903 { "_class_wxMemoryDC","_wxMemoryDC",0},
8904 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8905 { "_wxMenuBar","_class_wxMenuBar",0},
8906 { "_wxOutputStream","_class_wxOutputStream",0},
8907 { "_wxTreeEvent","_class_wxTreeEvent",0},
8908 { "_wxDirDialog","_class_wxDirDialog",0},
8909 { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8910 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8911 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
8912 { "_wxEvtHandler","_class_wxEvtHandler",0},
8913 { "_wxMenuItem","_class_wxMenuItem",0},
8914 { "_class_wxScrollBar","_wxScrollBar",0},
8915 { "_class_wxColourDialog","_wxColourDialog",0},
8916 { "_class_wxPrintData","_wxPrintData",0},
8917 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8918 { "_wxListItemAttr","_class_wxListItemAttr",0},
8919 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
8920 { "_class_wxConfig","_wxConfig",0},
8921 { "_wxKeyEvent","_class_wxKeyEvent",0},
8922 { "_wxMoveEvent","_class_wxMoveEvent",0},
8923 { "_wxColourData","_class_wxColourData",0},
8924 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
8925 { "_class_wxPalette","_wxPalette",0},
8926 { "_wxFileDataObject","_class_wxFileDataObject",0},
8927 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
8928 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
8929 { "_class_wxEraseEvent","_wxEraseEvent",0},
8930 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
8931 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
8932 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8933 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
8934 { "_class_wxFontDialog","_wxFontDialog",0},
8935 { "_wxWindow","_class_wxWindow",0},
8936 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8937 { "_wxLogStderr","_class_wxLogStderr",0},
8938 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
8939 { "_class_wxFileSystem","_wxFileSystem",0},
8940 { "_class_wxFrame","_wxFrame",0},
8943 static PyObject
*SWIG_globals
;
8947 SWIGEXPORT(void) initoglbasicc() {
8949 SWIG_globals
= SWIG_newvarlink();
8950 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8951 d
= PyModule_GetDict(m
);
8954 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8955 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);