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"
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "String type required";
94 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
96 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
100 static void *SwigwxShapeRegionTowxObject(void *ptr
) {
103 src
= (wxShapeRegion
*) ptr
;
104 dest
= (wxObject
*) src
;
105 return (void *) dest
;
108 #define new_wxShapeRegion() (new wxShapeRegion())
109 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
110 PyObject
* _resultobj
;
111 wxShapeRegion
* _result
;
112 char *_kwnames
[] = { NULL
};
116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
120 _result
= (wxShapeRegion
*)new_wxShapeRegion();
122 wxPyEndAllowThreads(__tstate
);
123 if (PyErr_Occurred()) return NULL
;
125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
126 _resultobj
= Py_BuildValue("s",_ptemp
);
129 _resultobj
= Py_None
;
134 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
135 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
136 PyObject
* _resultobj
;
137 wxShapeRegion
* _arg0
;
139 PyObject
* _argo0
= 0;
140 PyObject
* _obj1
= 0;
141 char *_kwnames
[] = { "self","s", NULL
};
144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
154 #if PYTHON_API_VERSION >= 1009
155 char* tmpPtr
; int tmpSize
;
156 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
160 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
162 _arg1
= new wxString(tmpPtr
, tmpSize
);
164 if (!PyString_Check(_obj1
)) {
165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
168 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
173 wxShapeRegion_SetText(_arg0
,*_arg1
);
175 wxPyEndAllowThreads(__tstate
);
176 if (PyErr_Occurred()) return NULL
;
177 } Py_INCREF(Py_None
);
178 _resultobj
= Py_None
;
186 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
187 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
188 PyObject
* _resultobj
;
189 wxShapeRegion
* _arg0
;
191 PyObject
* _argo0
= 0;
192 PyObject
* _obj1
= 0;
193 char *_kwnames
[] = { "self","f", NULL
};
196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_obj1
))
199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
208 if (_obj1
== Py_None
) { temp
= NULL
; }
209 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
215 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
219 temp
->GetUnderlined(),
221 temp
->GetEncoding());
226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
227 wxShapeRegion_SetFont(_arg0
,_arg1
);
229 wxPyEndAllowThreads(__tstate
);
230 if (PyErr_Occurred()) return NULL
;
231 } Py_INCREF(Py_None
);
232 _resultobj
= Py_None
;
236 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
237 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
239 wxShapeRegion
* _arg0
;
242 PyObject
* _argo0
= 0;
243 char *_kwnames
[] = { "self","w","h", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
257 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
259 wxPyEndAllowThreads(__tstate
);
260 if (PyErr_Occurred()) return NULL
;
261 } Py_INCREF(Py_None
);
262 _resultobj
= Py_None
;
266 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
267 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
268 PyObject
* _resultobj
;
269 wxShapeRegion
* _arg0
;
272 PyObject
* _argo0
= 0;
273 char *_kwnames
[] = { "self","w","h", NULL
};
276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
287 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
289 wxPyEndAllowThreads(__tstate
);
290 if (PyErr_Occurred()) return NULL
;
291 } Py_INCREF(Py_None
);
292 _resultobj
= Py_None
;
296 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
297 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
298 PyObject
* _resultobj
;
299 wxShapeRegion
* _arg0
;
302 PyObject
* _argo0
= 0;
303 char *_kwnames
[] = { "self","x","y", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
317 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
319 wxPyEndAllowThreads(__tstate
);
320 if (PyErr_Occurred()) return NULL
;
321 } Py_INCREF(Py_None
);
322 _resultobj
= Py_None
;
326 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
327 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
329 wxShapeRegion
* _arg0
;
332 PyObject
* _argo0
= 0;
333 char *_kwnames
[] = { "self","x","y", NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
347 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
349 wxPyEndAllowThreads(__tstate
);
350 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
376 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
378 wxPyEndAllowThreads(__tstate
);
379 if (PyErr_Occurred()) return NULL
;
380 } Py_INCREF(Py_None
);
381 _resultobj
= Py_None
;
385 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
386 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
387 PyObject
* _resultobj
;
388 wxShapeRegion
* _arg0
;
390 PyObject
* _argo0
= 0;
391 PyObject
* _obj1
= 0;
392 char *_kwnames
[] = { "self","s", NULL
};
395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
405 #if PYTHON_API_VERSION >= 1009
406 char* tmpPtr
; int tmpSize
;
407 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
411 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
413 _arg1
= new wxString(tmpPtr
, tmpSize
);
415 if (!PyString_Check(_obj1
)) {
416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
419 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
424 wxShapeRegion_SetName(_arg0
,*_arg1
);
426 wxPyEndAllowThreads(__tstate
);
427 if (PyErr_Occurred()) return NULL
;
428 } Py_INCREF(Py_None
);
429 _resultobj
= Py_None
;
437 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
438 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
440 wxShapeRegion
* _arg0
;
442 PyObject
* _argo0
= 0;
443 PyObject
* _obj1
= 0;
444 char *_kwnames
[] = { "self","col", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
457 #if PYTHON_API_VERSION >= 1009
458 char* tmpPtr
; int tmpSize
;
459 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
460 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
463 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
465 _arg1
= new wxString(tmpPtr
, tmpSize
);
467 if (!PyString_Check(_obj1
)) {
468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
471 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 wxShapeRegion_SetColour(_arg0
,*_arg1
);
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
480 } Py_INCREF(Py_None
);
481 _resultobj
= Py_None
;
489 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
490 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
493 wxShapeRegion
* _arg0
;
494 PyObject
* _argo0
= 0;
495 char *_kwnames
[] = { "self", NULL
};
498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
509 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
511 wxPyEndAllowThreads(__tstate
);
512 if (PyErr_Occurred()) return NULL
;
514 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
522 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
523 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
526 wxShapeRegion
* _arg0
;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
545 wxPyEndAllowThreads(__tstate
);
546 if (PyErr_Occurred()) return NULL
;
548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
549 _resultobj
= Py_BuildValue("s",_ptemp
);
552 _resultobj
= Py_None
;
557 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
558 static PyObject
*_wrap_wxShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
560 wxShapeRegion
* _arg0
;
565 PyObject
* _argo0
= 0;
566 char *_kwnames
[] = { "self", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
))
578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
586 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
588 wxPyEndAllowThreads(__tstate
);
589 if (PyErr_Occurred()) return NULL
;
590 } Py_INCREF(Py_None
);
591 _resultobj
= Py_None
;
594 o
= PyFloat_FromDouble((double) (*_arg1
));
595 _resultobj
= t_output_helper(_resultobj
, o
);
599 o
= PyFloat_FromDouble((double) (*_arg2
));
600 _resultobj
= t_output_helper(_resultobj
, o
);
605 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
606 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
608 wxShapeRegion
* _arg0
;
613 PyObject
* _argo0
= 0;
614 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetProportion",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
634 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
636 wxPyEndAllowThreads(__tstate
);
637 if (PyErr_Occurred()) return NULL
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
642 o
= PyFloat_FromDouble((double) (*_arg1
));
643 _resultobj
= t_output_helper(_resultobj
, o
);
647 o
= PyFloat_FromDouble((double) (*_arg2
));
648 _resultobj
= t_output_helper(_resultobj
, o
);
653 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
654 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
656 wxShapeRegion
* _arg0
;
661 PyObject
* _argo0
= 0;
662 char *_kwnames
[] = { "self", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetSize",_kwnames
,&_argo0
))
674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
682 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
684 wxPyEndAllowThreads(__tstate
);
685 if (PyErr_Occurred()) return NULL
;
686 } Py_INCREF(Py_None
);
687 _resultobj
= Py_None
;
690 o
= PyFloat_FromDouble((double) (*_arg1
));
691 _resultobj
= t_output_helper(_resultobj
, o
);
695 o
= PyFloat_FromDouble((double) (*_arg2
));
696 _resultobj
= t_output_helper(_resultobj
, o
);
701 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
702 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
704 wxShapeRegion
* _arg0
;
709 PyObject
* _argo0
= 0;
710 char *_kwnames
[] = { "self", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPosition",_kwnames
,&_argo0
))
722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
730 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
732 wxPyEndAllowThreads(__tstate
);
733 if (PyErr_Occurred()) return NULL
;
734 } Py_INCREF(Py_None
);
735 _resultobj
= Py_None
;
738 o
= PyFloat_FromDouble((double) (*_arg1
));
739 _resultobj
= t_output_helper(_resultobj
, o
);
743 o
= PyFloat_FromDouble((double) (*_arg2
));
744 _resultobj
= t_output_helper(_resultobj
, o
);
749 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
750 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
751 PyObject
* _resultobj
;
753 wxShapeRegion
* _arg0
;
754 PyObject
* _argo0
= 0;
755 char *_kwnames
[] = { "self", NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
769 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
771 wxPyEndAllowThreads(__tstate
);
772 if (PyErr_Occurred()) return NULL
;
773 } _resultobj
= Py_BuildValue("i",_result
);
777 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
778 static PyObject
*_wrap_wxShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
781 wxShapeRegion
* _arg0
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetName",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
797 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
799 wxPyEndAllowThreads(__tstate
);
800 if (PyErr_Occurred()) return NULL
;
802 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
810 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
811 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
814 wxShapeRegion
* _arg0
;
815 PyObject
* _argo0
= 0;
816 char *_kwnames
[] = { "self", NULL
};
819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
830 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
832 wxPyEndAllowThreads(__tstate
);
833 if (PyErr_Occurred()) return NULL
;
835 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
843 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
844 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
847 wxShapeRegion
* _arg0
;
848 PyObject
* _argo0
= 0;
849 char *_kwnames
[] = { "self", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
864 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
866 wxPyEndAllowThreads(__tstate
);
867 if (PyErr_Occurred()) return NULL
;
869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
870 _resultobj
= Py_BuildValue("s",_ptemp
);
873 _resultobj
= Py_None
;
878 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
879 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
882 wxShapeRegion
* _arg0
;
883 PyObject
* _argo0
= 0;
884 char *_kwnames
[] = { "self", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
899 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
900 _result
= (wxList
*) &_result_ref
;
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) return NULL
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
915 static PyObject
*_wrap_wxShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
918 wxShapeRegion
* _arg0
;
919 PyObject
* _argo0
= 0;
920 char *_kwnames
[] = { "self", NULL
};
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenColour",_kwnames
,&_argo0
))
926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
934 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
936 wxPyEndAllowThreads(__tstate
);
937 if (PyErr_Occurred()) return NULL
;
939 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
947 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
948 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
951 wxShapeRegion
* _arg0
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
971 } _resultobj
= Py_BuildValue("i",_result
);
975 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
976 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
978 wxShapeRegion
* _arg0
;
980 PyObject
* _argo0
= 0;
981 char *_kwnames
[] = { "self","style", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) return NULL
;
999 } Py_INCREF(Py_None
);
1000 _resultobj
= Py_None
;
1004 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
1005 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1007 wxShapeRegion
* _arg0
;
1009 PyObject
* _argo0
= 0;
1010 PyObject
* _obj1
= 0;
1011 char *_kwnames
[] = { "self","col", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
1017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
1024 #if PYTHON_API_VERSION >= 1009
1025 char* tmpPtr
; int tmpSize
;
1026 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1030 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1032 _arg1
= new wxString(tmpPtr
, tmpSize
);
1034 if (!PyString_Check(_obj1
)) {
1035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1038 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) return NULL
;
1047 } Py_INCREF(Py_None
);
1048 _resultobj
= Py_None
;
1056 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
1057 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 wxShapeRegion
* _arg0
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
1069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1077 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
1079 wxPyEndAllowThreads(__tstate
);
1080 if (PyErr_Occurred()) return NULL
;
1082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1083 _resultobj
= Py_BuildValue("s",_ptemp
);
1086 _resultobj
= Py_None
;
1091 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1092 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
* _resultobj
;
1095 wxShapeRegion
* _arg0
;
1096 PyObject
* _argo0
= 0;
1097 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) return NULL
;
1115 } _resultobj
= Py_BuildValue("d",_result
);
1119 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1120 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1123 wxShapeRegion
* _arg0
;
1124 PyObject
* _argo0
= 0;
1125 char *_kwnames
[] = { "self", NULL
};
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) return NULL
;
1143 } _resultobj
= Py_BuildValue("d",_result
);
1147 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1148 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1150 wxShapeRegion
* _arg0
;
1151 PyObject
* _argo0
= 0;
1152 char *_kwnames
[] = { "self", NULL
};
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_kwnames
,&_argo0
))
1158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 wxShapeRegion_ClearText(_arg0
);
1168 wxPyEndAllowThreads(__tstate
);
1169 if (PyErr_Occurred()) return NULL
;
1170 } Py_INCREF(Py_None
);
1171 _resultobj
= Py_None
;
1175 static void *SwigwxPyShapeEvtHandlerTowxObject(void *ptr
) {
1176 wxPyShapeEvtHandler
*src
;
1178 src
= (wxPyShapeEvtHandler
*) ptr
;
1179 dest
= (wxObject
*) src
;
1180 return (void *) dest
;
1183 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1184 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1186 wxPyShapeEvtHandler
* _result
;
1187 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1188 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1189 PyObject
* _argo0
= 0;
1190 PyObject
* _argo1
= 0;
1191 char *_kwnames
[] = { "prev","shape", NULL
};
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
1198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1213 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1215 wxPyEndAllowThreads(__tstate
);
1216 if (PyErr_Occurred()) return NULL
;
1218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1219 _resultobj
= Py_BuildValue("s",_ptemp
);
1222 _resultobj
= Py_None
;
1227 #define wxPyShapeEvtHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1228 static PyObject
*_wrap_wxPyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1230 wxPyShapeEvtHandler
* _arg0
;
1233 PyObject
* _argo0
= 0;
1234 PyObject
* _obj1
= 0;
1235 PyObject
* _obj2
= 0;
1236 char *_kwnames
[] = { "self","self","_class", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeEvtHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setCallbackInfo. Expected _wxPyShapeEvtHandler_p.");
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 wxPyShapeEvtHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) return NULL
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1265 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1266 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1268 wxPyShapeEvtHandler
* _arg0
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1284 wxPyShapeEvtHandler_Destroy(_arg0
);
1286 wxPyEndAllowThreads(__tstate
);
1287 if (PyErr_Occurred()) return NULL
;
1288 } Py_INCREF(Py_None
);
1289 _resultobj
= Py_None
;
1293 static void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
* _self
) {
1294 self
->SetClientObject(new wxPyClientData(_self
));
1296 static PyObject
*_wrap_wxPyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1298 wxPyShapeEvtHandler
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 PyObject
* _obj1
= 0;
1302 char *_kwnames
[] = { "self","_self", NULL
};
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
1308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setOORInfo. Expected _wxPyShapeEvtHandler_p.");
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 wxPyShapeEvtHandler__setOORInfo(_arg0
,_arg1
);
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) return NULL
;
1323 } Py_INCREF(Py_None
);
1324 _resultobj
= Py_None
;
1328 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1329 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1331 wxPyShapeEvtHandler
* _arg0
;
1333 PyObject
* _argo0
= 0;
1334 PyObject
* _argo1
= 0;
1335 char *_kwnames
[] = { "self","sh", NULL
};
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1366 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1368 wxPyShape
* _result
;
1369 wxPyShapeEvtHandler
* _arg0
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1389 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1393 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1394 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1396 wxPyShapeEvtHandler
* _arg0
;
1397 wxPyShapeEvtHandler
* _arg1
;
1398 PyObject
* _argo0
= 0;
1399 PyObject
* _argo1
= 0;
1400 char *_kwnames
[] = { "self","handler", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1413 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1430 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1431 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1433 wxPyShapeEvtHandler
* _result
;
1434 wxPyShapeEvtHandler
* _arg0
;
1435 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1450 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1452 wxPyEndAllowThreads(__tstate
);
1453 if (PyErr_Occurred()) return NULL
;
1454 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1458 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1459 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1461 wxPyShapeEvtHandler
* _result
;
1462 wxPyShapeEvtHandler
* _arg0
;
1463 PyObject
* _argo0
= 0;
1464 char *_kwnames
[] = { "self", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) return NULL
;
1482 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1486 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1487 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1489 wxPyShapeEvtHandler
* _arg0
;
1490 PyObject
* _argo0
= 0;
1491 char *_kwnames
[] = { "self", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) return NULL
;
1509 } Py_INCREF(Py_None
);
1510 _resultobj
= Py_None
;
1514 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1515 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1517 wxPyShapeEvtHandler
* _arg0
;
1519 PyObject
* _argo0
= 0;
1520 PyObject
* _argo1
= 0;
1521 char *_kwnames
[] = { "self","dc", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) return NULL
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1551 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1552 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxPyShapeEvtHandler
* _arg0
;
1556 PyObject
* _argo0
= 0;
1557 PyObject
* _argo1
= 0;
1558 char *_kwnames
[] = { "self","dc", NULL
};
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } Py_INCREF(Py_None
);
1584 _resultobj
= Py_None
;
1588 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1589 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1591 wxPyShapeEvtHandler
* _arg0
;
1593 bool _arg2
= (bool ) FALSE
;
1594 PyObject
* _argo0
= 0;
1595 PyObject
* _argo1
= 0;
1596 int tempbool2
= (int) FALSE
;
1597 char *_kwnames
[] = { "self","dc","erase", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1616 _arg2
= (bool ) tempbool2
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) return NULL
;
1623 } Py_INCREF(Py_None
);
1624 _resultobj
= Py_None
;
1628 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1629 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxPyShapeEvtHandler
* _arg0
;
1633 PyObject
* _argo0
= 0;
1634 PyObject
* _argo1
= 0;
1635 char *_kwnames
[] = { "self","dc", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) return NULL
;
1660 } Py_INCREF(Py_None
);
1661 _resultobj
= Py_None
;
1665 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1666 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 wxPyShapeEvtHandler
* _arg0
;
1670 PyObject
* _argo0
= 0;
1671 PyObject
* _argo1
= 0;
1672 char *_kwnames
[] = { "self","dc", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) return NULL
;
1697 } Py_INCREF(Py_None
);
1698 _resultobj
= Py_None
;
1702 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1703 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1705 wxPyShapeEvtHandler
* _arg0
;
1707 PyObject
* _argo0
= 0;
1708 PyObject
* _argo1
= 0;
1709 char *_kwnames
[] = { "self","dc", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1734 } Py_INCREF(Py_None
);
1735 _resultobj
= Py_None
;
1739 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1740 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1742 wxPyShapeEvtHandler
* _arg0
;
1744 PyObject
* _argo0
= 0;
1745 PyObject
* _argo1
= 0;
1746 char *_kwnames
[] = { "self","dc", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) return NULL
;
1771 } Py_INCREF(Py_None
);
1772 _resultobj
= Py_None
;
1776 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1777 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1779 wxPyShapeEvtHandler
* _arg0
;
1782 int _arg3
= (int ) 0;
1783 int _arg4
= (int ) 0;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1803 } Py_INCREF(Py_None
);
1804 _resultobj
= Py_None
;
1808 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1809 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1811 wxPyShapeEvtHandler
* _arg0
;
1814 int _arg3
= (int ) 0;
1815 int _arg4
= (int ) 0;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) return NULL
;
1835 } Py_INCREF(Py_None
);
1836 _resultobj
= Py_None
;
1840 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1841 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1843 wxPyShapeEvtHandler
* _arg0
;
1846 int _arg3
= (int ) 0;
1847 int _arg4
= (int ) 0;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } Py_INCREF(Py_None
);
1868 _resultobj
= Py_None
;
1872 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1873 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1875 wxPyShapeEvtHandler
* _arg0
;
1878 PyObject
* _argo0
= 0;
1879 char *_kwnames
[] = { "self","x","y", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1897 } Py_INCREF(Py_None
);
1898 _resultobj
= Py_None
;
1902 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1903 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
* _resultobj
;
1906 wxPyShapeEvtHandler
* _arg0
;
1912 bool _arg6
= (bool ) TRUE
;
1913 PyObject
* _argo0
= 0;
1914 PyObject
* _argo1
= 0;
1915 int tempbool6
= (int) TRUE
;
1916 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1935 _arg6
= (bool ) tempbool6
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) return NULL
;
1942 } _resultobj
= Py_BuildValue("i",_result
);
1946 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1947 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1949 wxPyShapeEvtHandler
* _arg0
;
1955 bool _arg6
= (bool ) TRUE
;
1956 PyObject
* _argo0
= 0;
1957 PyObject
* _argo1
= 0;
1958 int tempbool6
= (int) TRUE
;
1959 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1972 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1973 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1978 _arg6
= (bool ) tempbool6
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) return NULL
;
1985 } Py_INCREF(Py_None
);
1986 _resultobj
= Py_None
;
1990 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1991 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1993 wxPyShapeEvtHandler
* _arg0
;
1997 int _arg4
= (int ) 0;
1998 int _arg5
= (int ) 0;
1999 PyObject
* _argo0
= 0;
2001 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
2013 _arg1
= (bool ) tempbool1
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2025 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2026 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2028 wxPyShapeEvtHandler
* _arg0
;
2031 int _arg3
= (int ) 0;
2032 int _arg4
= (int ) 0;
2033 PyObject
* _argo0
= 0;
2034 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) return NULL
;
2052 } Py_INCREF(Py_None
);
2053 _resultobj
= Py_None
;
2057 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2058 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2060 wxPyShapeEvtHandler
* _arg0
;
2063 int _arg3
= (int ) 0;
2064 int _arg4
= (int ) 0;
2065 PyObject
* _argo0
= 0;
2066 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) return NULL
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2089 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2090 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2092 wxPyShapeEvtHandler
* _arg0
;
2096 int _arg4
= (int ) 0;
2097 int _arg5
= (int ) 0;
2098 PyObject
* _argo0
= 0;
2100 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
2112 _arg1
= (bool ) tempbool1
;
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2124 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2125 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2127 wxPyShapeEvtHandler
* _arg0
;
2130 int _arg3
= (int ) 0;
2131 int _arg4
= (int ) 0;
2132 PyObject
* _argo0
= 0;
2133 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) return NULL
;
2151 } Py_INCREF(Py_None
);
2152 _resultobj
= Py_None
;
2156 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2157 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2159 wxPyShapeEvtHandler
* _arg0
;
2162 int _arg3
= (int ) 0;
2163 int _arg4
= (int ) 0;
2164 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2183 } Py_INCREF(Py_None
);
2184 _resultobj
= Py_None
;
2188 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2189 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
* _resultobj
;
2191 wxPyShapeEvtHandler
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 PyObject
* _argo1
= 0;
2199 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
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_OnDrawOutline. 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_OnDrawOutline. Expected _wxDC_p.");
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) return NULL
;
2224 } Py_INCREF(Py_None
);
2225 _resultobj
= Py_None
;
2229 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2230 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2232 wxPyShapeEvtHandler
* _arg0
;
2234 PyObject
* _argo0
= 0;
2235 PyObject
* _argo1
= 0;
2236 char *_kwnames
[] = { "self","dc", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) return NULL
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2266 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2267 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2269 wxPyShapeEvtHandler
* _arg0
;
2271 PyObject
* _argo0
= 0;
2272 PyObject
* _argo1
= 0;
2273 char *_kwnames
[] = { "self","dc", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) return NULL
;
2298 } Py_INCREF(Py_None
);
2299 _resultobj
= Py_None
;
2303 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2304 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2306 wxPyShapeEvtHandler
* _arg0
;
2308 bool _arg2
= (bool ) TRUE
;
2309 PyObject
* _argo0
= 0;
2310 PyObject
* _argo1
= 0;
2311 int tempbool2
= (int) TRUE
;
2312 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2331 _arg2
= (bool ) tempbool2
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) return NULL
;
2338 } Py_INCREF(Py_None
);
2339 _resultobj
= Py_None
;
2343 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2344 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2346 wxPyShapeEvtHandler
* _arg0
;
2347 wxPyControlPoint
* _arg1
;
2351 int _arg5
= (int ) 0;
2352 int _arg6
= (int ) 0;
2353 PyObject
* _argo0
= 0;
2354 PyObject
* _argo1
= 0;
2356 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2375 _arg2
= (bool ) tempbool2
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) return NULL
;
2382 } Py_INCREF(Py_None
);
2383 _resultobj
= Py_None
;
2387 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2388 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2390 wxPyShapeEvtHandler
* _arg0
;
2391 wxPyControlPoint
* _arg1
;
2394 int _arg4
= (int ) 0;
2395 int _arg5
= (int ) 0;
2396 PyObject
* _argo0
= 0;
2397 PyObject
* _argo1
= 0;
2398 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) return NULL
;
2423 } Py_INCREF(Py_None
);
2424 _resultobj
= Py_None
;
2428 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2429 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
* _resultobj
;
2431 wxPyShapeEvtHandler
* _arg0
;
2432 wxPyControlPoint
* _arg1
;
2435 int _arg4
= (int ) 0;
2436 int _arg5
= (int ) 0;
2437 PyObject
* _argo0
= 0;
2438 PyObject
* _argo1
= 0;
2439 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2469 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2470 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2472 wxPyShapeEvtHandler
* _arg0
;
2475 PyObject
* _argo0
= 0;
2476 char *_kwnames
[] = { "self","w","h", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) return NULL
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2499 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2500 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2502 wxPyShapeEvtHandler
* _arg0
;
2505 PyObject
* _argo0
= 0;
2506 char *_kwnames
[] = { "self","w","h", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) return NULL
;
2524 } Py_INCREF(Py_None
);
2525 _resultobj
= Py_None
;
2529 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2531 wxPyShapeEvtHandler
*dest
;
2532 src
= (wxPyShape
*) ptr
;
2533 dest
= (wxPyShapeEvtHandler
*) src
;
2534 return (void *) dest
;
2537 static void *SwigwxPyShapeTowxObject(void *ptr
) {
2540 src
= (wxPyShape
*) ptr
;
2541 dest
= (wxObject
*) src
;
2542 return (void *) dest
;
2545 #define wxPyShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2546 static PyObject
*_wrap_wxPyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _obj1
= 0;
2553 PyObject
* _obj2
= 0;
2554 char *_kwnames
[] = { "self","self","_class", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setCallbackInfo. Expected _wxPyShape_p.");
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 wxPyShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2584 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2591 PyObject
* _argo0
= 0;
2592 char *_kwnames
[] = { "self", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) return NULL
;
2616 } Py_INCREF(Py_None
);
2617 _resultobj
= Py_None
;
2620 o
= PyFloat_FromDouble((double) (*_arg1
));
2621 _resultobj
= t_output_helper(_resultobj
, o
);
2625 o
= PyFloat_FromDouble((double) (*_arg2
));
2626 _resultobj
= t_output_helper(_resultobj
, o
);
2631 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2632 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) return NULL
;
2664 } Py_INCREF(Py_None
);
2665 _resultobj
= Py_None
;
2668 o
= PyFloat_FromDouble((double) (*_arg1
));
2669 _resultobj
= t_output_helper(_resultobj
, o
);
2673 o
= PyFloat_FromDouble((double) (*_arg2
));
2674 _resultobj
= t_output_helper(_resultobj
, o
);
2679 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2680 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2692 PyObject
* _argo0
= 0;
2693 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) return NULL
;
2717 } _resultobj
= Py_BuildValue("i",_result
);
2720 o
= PyFloat_FromDouble((double) (*_arg5
));
2721 _resultobj
= t_output_helper(_resultobj
, o
);
2725 o
= PyFloat_FromDouble((double) (*_arg6
));
2726 _resultobj
= t_output_helper(_resultobj
, o
);
2731 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2732 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2734 wxPyShapeCanvas
* _result
;
2736 PyObject
* _argo0
= 0;
2737 char *_kwnames
[] = { "self", NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) return NULL
;
2755 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2759 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2760 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2763 wxPyShapeCanvas
* _arg1
;
2764 PyObject
* _argo0
= 0;
2765 PyObject
* _argo1
= 0;
2766 char *_kwnames
[] = { "self","the_canvas", NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2779 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 wxPyShape_SetCanvas(_arg0
,_arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } Py_INCREF(Py_None
);
2792 _resultobj
= Py_None
;
2796 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2797 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2800 wxPyShapeCanvas
* _arg1
;
2801 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2802 PyObject
* _argo0
= 0;
2803 PyObject
* _argo1
= 0;
2804 PyObject
* _argo2
= 0;
2805 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2825 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) return NULL
;
2837 } Py_INCREF(Py_None
);
2838 _resultobj
= Py_None
;
2842 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2843 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2846 wxPyShapeCanvas
* _arg1
;
2847 PyObject
* _argo0
= 0;
2848 PyObject
* _argo1
= 0;
2849 char *_kwnames
[] = { "self","the_canvas", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) return NULL
;
2874 } Py_INCREF(Py_None
);
2875 _resultobj
= Py_None
;
2879 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2880 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2883 wxPyShapeCanvas
* _arg1
;
2884 PyObject
* _argo0
= 0;
2885 PyObject
* _argo1
= 0;
2886 char *_kwnames
[] = { "self","the_canvas", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) return NULL
;
2911 } Py_INCREF(Py_None
);
2912 _resultobj
= Py_None
;
2916 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2917 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 _result
= (double )wxPyShape_GetX(_arg0
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) return NULL
;
2940 } _resultobj
= Py_BuildValue("d",_result
);
2944 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2945 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 _result
= (double )wxPyShape_GetY(_arg0
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) return NULL
;
2968 } _resultobj
= Py_BuildValue("d",_result
);
2972 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2973 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self","x", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 wxPyShape_SetX(_arg0
,_arg1
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) return NULL
;
2996 } Py_INCREF(Py_None
);
2997 _resultobj
= Py_None
;
3001 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
3002 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self","y", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 wxPyShape_SetY(_arg0
,_arg1
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) return NULL
;
3025 } Py_INCREF(Py_None
);
3026 _resultobj
= Py_None
;
3030 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
3031 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3033 wxPyShape
* _result
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) return NULL
;
3054 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3058 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
3059 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3063 PyObject
* _argo0
= 0;
3064 PyObject
* _argo1
= 0;
3065 char *_kwnames
[] = { "self","p", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 wxPyShape_SetParent(_arg0
,_arg1
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3090 } Py_INCREF(Py_None
);
3091 _resultobj
= Py_None
;
3095 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
3096 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3098 wxPyShape
* _result
;
3100 PyObject
* _argo0
= 0;
3101 char *_kwnames
[] = { "self", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3119 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3123 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3124 wxList
& list
= self
->GetChildren();
3125 return wxPy_ConvertList(&list
, "wxPyShape");
3127 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
* _resultobj
;
3131 PyObject
* _argo0
= 0;
3132 char *_kwnames
[] = { "self", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
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_GetChildren. Expected _wxPyShape_p.");
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) return NULL
;
3151 _resultobj
= _result
;
3156 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3157 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
* _resultobj
;
3160 PyObject
* _argo0
= 0;
3161 char *_kwnames
[] = { "self", NULL
};
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_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_Unlink. Expected _wxPyShape_p.");
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 wxPyShape_Unlink(_arg0
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) return NULL
;
3179 } Py_INCREF(Py_None
);
3180 _resultobj
= Py_None
;
3184 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3185 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3189 PyObject
* _argo0
= 0;
3191 char *_kwnames
[] = { "self","drawH", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3203 _arg1
= (bool ) tempbool1
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3216 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3220 PyObject
* _argo0
= 0;
3221 char *_kwnames
[] = { "self", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) return NULL
;
3239 } _resultobj
= Py_BuildValue("i",_result
);
3243 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3244 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
* _resultobj
;
3247 PyObject
* _argo0
= 0;
3248 char *_kwnames
[] = { "self", NULL
};
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 wxPyShape_MakeControlPoints(_arg0
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) return NULL
;
3266 } Py_INCREF(Py_None
);
3267 _resultobj
= Py_None
;
3271 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3272 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
* _resultobj
;
3275 wxDC
* _arg1
= (wxDC
*) NULL
;
3276 PyObject
* _argo0
= 0;
3277 PyObject
* _argo1
= 0;
3278 char *_kwnames
[] = { "self","dc", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) return NULL
;
3303 } Py_INCREF(Py_None
);
3304 _resultobj
= Py_None
;
3308 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3309 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3312 PyObject
* _argo0
= 0;
3313 char *_kwnames
[] = { "self", NULL
};
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
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_ResetControlPoints. Expected _wxPyShape_p.");
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 wxPyShape_ResetControlPoints(_arg0
);
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) return NULL
;
3331 } Py_INCREF(Py_None
);
3332 _resultobj
= Py_None
;
3336 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3337 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3339 wxPyShapeEvtHandler
* _result
;
3341 PyObject
* _argo0
= 0;
3342 char *_kwnames
[] = { "self", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) return NULL
;
3360 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3364 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3365 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
* _resultobj
;
3368 wxPyShapeEvtHandler
* _arg1
;
3369 PyObject
* _argo0
= 0;
3370 PyObject
* _argo1
= 0;
3371 char *_kwnames
[] = { "self","handler", NULL
};
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) return NULL
;
3396 } Py_INCREF(Py_None
);
3397 _resultobj
= Py_None
;
3401 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3402 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3405 PyObject
* _argo0
= 0;
3406 char *_kwnames
[] = { "self", NULL
};
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) return NULL
;
3424 } Py_INCREF(Py_None
);
3425 _resultobj
= Py_None
;
3429 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3430 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
* _resultobj
;
3433 PyObject
* _argo0
= 0;
3434 char *_kwnames
[] = { "self", NULL
};
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) return NULL
;
3452 } Py_INCREF(Py_None
);
3453 _resultobj
= Py_None
;
3457 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3458 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3462 PyObject
* _argo0
= 0;
3463 char *_kwnames
[] = { "self", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 _result
= (bool )wxPyShape_Recompute(_arg0
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) return NULL
;
3481 } _resultobj
= Py_BuildValue("i",_result
);
3485 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3486 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3489 PyObject
* _argo0
= 0;
3490 char *_kwnames
[] = { "self", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 wxPyShape_CalculateSize(_arg0
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) return NULL
;
3508 } Py_INCREF(Py_None
);
3509 _resultobj
= Py_None
;
3513 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3514 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3517 bool _arg1
= (bool ) TRUE
;
3518 wxDC
* _arg2
= (wxDC
*) NULL
;
3519 PyObject
* _argo0
= 0;
3520 int tempbool1
= (int) TRUE
;
3521 PyObject
* _argo2
= 0;
3522 char *_kwnames
[] = { "self","select","dc", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3534 _arg1
= (bool ) tempbool1
;
3536 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) return NULL
;
3548 } Py_INCREF(Py_None
);
3549 _resultobj
= Py_None
;
3553 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3554 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
* _resultobj
;
3557 bool _arg1
= (bool ) TRUE
;
3558 bool _arg2
= (bool ) FALSE
;
3559 PyObject
* _argo0
= 0;
3560 int tempbool1
= (int) TRUE
;
3561 int tempbool2
= (int) FALSE
;
3562 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3574 _arg1
= (bool ) tempbool1
;
3575 _arg2
= (bool ) tempbool2
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) return NULL
;
3582 } Py_INCREF(Py_None
);
3583 _resultobj
= Py_None
;
3587 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3588 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3592 PyObject
* _argo0
= 0;
3593 char *_kwnames
[] = { "self", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) return NULL
;
3611 } _resultobj
= Py_BuildValue("i",_result
);
3615 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3616 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3620 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 _result
= (bool )wxPyShape_Selected(_arg0
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) return NULL
;
3639 } _resultobj
= Py_BuildValue("i",_result
);
3643 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3644 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3648 PyObject
* _argo0
= 0;
3649 char *_kwnames
[] = { "self", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) return NULL
;
3667 } _resultobj
= Py_BuildValue("i",_result
);
3671 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3672 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3675 int _arg1
= (int ) OP_ALL
;
3676 bool _arg2
= (bool ) FALSE
;
3677 PyObject
* _argo0
= 0;
3678 int tempbool2
= (int) FALSE
;
3679 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3691 _arg2
= (bool ) tempbool2
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) return NULL
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3703 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3704 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3708 PyObject
* _argo0
= 0;
3709 char *_kwnames
[] = { "self", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3727 } _resultobj
= Py_BuildValue("i",_result
);
3731 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3732 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3736 bool _arg2
= (bool ) FALSE
;
3737 PyObject
* _argo0
= 0;
3739 int tempbool2
= (int) FALSE
;
3740 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3752 _arg1
= (bool ) tempbool1
;
3753 _arg2
= (bool ) tempbool2
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) return NULL
;
3760 } Py_INCREF(Py_None
);
3761 _resultobj
= Py_None
;
3765 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3766 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3771 PyObject
* _argo0
= 0;
3774 char *_kwnames
[] = { "self","x","y", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3786 _arg1
= (bool ) tempbool1
;
3787 _arg2
= (bool ) tempbool2
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) return NULL
;
3794 } Py_INCREF(Py_None
);
3795 _resultobj
= Py_None
;
3799 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3800 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3805 PyObject
* _argo0
= 0;
3806 PyObject
* _argo1
= 0;
3807 PyObject
* _argo2
= 0;
3808 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3828 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) return NULL
;
3840 } Py_INCREF(Py_None
);
3841 _resultobj
= Py_None
;
3845 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3846 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3850 PyObject
* _argo0
= 0;
3851 char *_kwnames
[] = { "self", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) return NULL
;
3869 } _resultobj
= Py_BuildValue("i",_result
);
3873 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3874 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3878 PyObject
* _argo0
= 0;
3879 char *_kwnames
[] = { "self", NULL
};
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) return NULL
;
3897 } _resultobj
= Py_BuildValue("i",_result
);
3901 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3902 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3906 PyObject
* _argo0
= 0;
3908 char *_kwnames
[] = { "self","sp", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3920 _arg1
= (bool ) tempbool1
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) return NULL
;
3927 } Py_INCREF(Py_None
);
3928 _resultobj
= Py_None
;
3932 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3933 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
* _resultobj
;
3937 PyObject
* _argo0
= 0;
3938 char *_kwnames
[] = { "self", NULL
};
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) return NULL
;
3956 } _resultobj
= Py_BuildValue("i",_result
);
3960 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3961 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
* _resultobj
;
3965 bool _arg2
= (bool ) FALSE
;
3966 PyObject
* _argo0
= 0;
3967 int tempbool2
= (int) FALSE
;
3968 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3980 _arg2
= (bool ) tempbool2
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) return NULL
;
3987 } Py_INCREF(Py_None
);
3988 _resultobj
= Py_None
;
3992 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3993 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3997 PyObject
* _argo0
= 0;
3998 char *_kwnames
[] = { "self", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) return NULL
;
4016 } _resultobj
= Py_BuildValue("i",_result
);
4020 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4021 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4031 PyObject
* _argo0
= 0;
4032 char *_kwnames
[] = { "self","x","y", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) return NULL
;
4056 } _resultobj
= Py_BuildValue("i",_result
);
4059 o
= PyInt_FromLong((long) (*_arg3
));
4060 _resultobj
= t_output_helper(_resultobj
, o
);
4064 o
= PyFloat_FromDouble((double) (*_arg4
));
4065 _resultobj
= t_output_helper(_resultobj
, o
);
4070 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
4071 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
* _resultobj
;
4075 PyObject
* _argo0
= 0;
4077 char *_kwnames
[] = { "self","cr", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
4089 _arg1
= (bool ) tempbool1
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 wxPyShape_SetCentreResize(_arg0
,_arg1
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4096 } Py_INCREF(Py_None
);
4097 _resultobj
= Py_None
;
4101 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
4102 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4107 char *_kwnames
[] = { "self", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4125 } _resultobj
= Py_BuildValue("i",_result
);
4129 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4130 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4134 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self","ar", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4148 _arg1
= (bool ) tempbool1
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4161 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4165 PyObject
* _argo0
= 0;
4166 char *_kwnames
[] = { "self", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) return NULL
;
4184 } _resultobj
= Py_BuildValue("i",_result
);
4188 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4189 wxList
& list
= self
->GetLines();
4190 return wxPy_ConvertList(&list
, "wxPyLineShape");
4192 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4196 PyObject
* _argo0
= 0;
4197 char *_kwnames
[] = { "self", NULL
};
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) return NULL
;
4216 _resultobj
= _result
;
4221 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4222 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4226 PyObject
* _argo0
= 0;
4228 char *_kwnames
[] = { "self","flag", NULL
};
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4240 _arg1
= (bool ) tempbool1
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) return NULL
;
4247 } Py_INCREF(Py_None
);
4248 _resultobj
= Py_None
;
4252 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4253 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4257 PyObject
* _argo0
= 0;
4258 char *_kwnames
[] = { "self", NULL
};
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) return NULL
;
4276 } _resultobj
= Py_BuildValue("i",_result
);
4280 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4281 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4285 PyObject
* _argo0
= 0;
4286 char *_kwnames
[] = { "self","mode", NULL
};
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) return NULL
;
4304 } Py_INCREF(Py_None
);
4305 _resultobj
= Py_None
;
4309 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4310 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4314 PyObject
* _argo0
= 0;
4315 char *_kwnames
[] = { "self", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) return NULL
;
4333 } _resultobj
= Py_BuildValue("i",_result
);
4337 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4338 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4342 PyObject
* _argo0
= 0;
4343 char *_kwnames
[] = { "self","i", NULL
};
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 wxPyShape_SetId(_arg0
,_arg1
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) return NULL
;
4361 } Py_INCREF(Py_None
);
4362 _resultobj
= Py_None
;
4366 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4367 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4371 PyObject
* _argo0
= 0;
4372 char *_kwnames
[] = { "self", NULL
};
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 _result
= (long )wxPyShape_GetId(_arg0
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) return NULL
;
4390 } _resultobj
= Py_BuildValue("l",_result
);
4394 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4395 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4399 PyObject
* _argo0
= 0;
4400 PyObject
* _obj1
= 0;
4401 char *_kwnames
[] = { "self","pen", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_obj1
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4416 if (_obj1
== Py_None
) { temp
= NULL
; }
4417 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxPen_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxPen_p.");
4423 _arg1
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 wxPyShape_SetPen(_arg0
,_arg1
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) return NULL
;
4435 } Py_INCREF(Py_None
);
4436 _resultobj
= Py_None
;
4440 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4441 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4445 PyObject
* _argo0
= 0;
4446 PyObject
* _obj1
= 0;
4447 char *_kwnames
[] = { "self","brush", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_obj1
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4462 if (_obj1
== Py_None
) { temp
= NULL
; }
4463 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxBrush_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxBrush_p.");
4469 _arg1
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 wxPyShape_SetBrush(_arg0
,_arg1
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) return NULL
;
4479 } Py_INCREF(Py_None
);
4480 _resultobj
= Py_None
;
4484 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4485 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4489 PyObject
* _argo0
= 0;
4491 char *_kwnames
[] = { "self","show", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4503 _arg1
= (bool ) tempbool1
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxPyShape_Show(_arg0
,_arg1
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4510 } Py_INCREF(Py_None
);
4511 _resultobj
= Py_None
;
4515 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4516 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4520 PyObject
* _argo0
= 0;
4521 char *_kwnames
[] = { "self", NULL
};
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 _result
= (bool )wxPyShape_IsShown(_arg0
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) return NULL
;
4539 } _resultobj
= Py_BuildValue("i",_result
);
4543 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4544 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4550 bool _arg4
= (bool ) TRUE
;
4551 PyObject
* _argo0
= 0;
4552 PyObject
* _argo1
= 0;
4553 int tempbool4
= (int) TRUE
;
4554 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4573 _arg4
= (bool ) tempbool4
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) return NULL
;
4580 } Py_INCREF(Py_None
);
4581 _resultobj
= Py_None
;
4585 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4586 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
* _resultobj
;
4590 PyObject
* _argo0
= 0;
4591 PyObject
* _argo1
= 0;
4592 char *_kwnames
[] = { "self","dc", NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 wxPyShape_Erase(_arg0
,*_arg1
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) return NULL
;
4617 } Py_INCREF(Py_None
);
4618 _resultobj
= Py_None
;
4622 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4623 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4627 PyObject
* _argo0
= 0;
4628 PyObject
* _argo1
= 0;
4629 char *_kwnames
[] = { "self","dc", NULL
};
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 wxPyShape_EraseContents(_arg0
,*_arg1
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) return NULL
;
4654 } Py_INCREF(Py_None
);
4655 _resultobj
= Py_None
;
4659 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4660 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4664 PyObject
* _argo0
= 0;
4665 PyObject
* _argo1
= 0;
4666 char *_kwnames
[] = { "self","dc", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxPyShape_Draw(_arg0
,*_arg1
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) return NULL
;
4691 } Py_INCREF(Py_None
);
4692 _resultobj
= Py_None
;
4696 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4697 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4700 PyObject
* _argo0
= 0;
4701 char *_kwnames
[] = { "self", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 wxPyShape_Flash(_arg0
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) return NULL
;
4719 } Py_INCREF(Py_None
);
4720 _resultobj
= Py_None
;
4724 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4725 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 PyObject
* _argo1
= 0;
4731 char *_kwnames
[] = { "self","dc", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) return NULL
;
4756 } Py_INCREF(Py_None
);
4757 _resultobj
= Py_None
;
4761 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4762 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4766 PyObject
* _argo0
= 0;
4767 PyObject
* _argo1
= 0;
4768 char *_kwnames
[] = { "self","dc", NULL
};
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 wxPyShape_DrawContents(_arg0
,*_arg1
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) return NULL
;
4793 } Py_INCREF(Py_None
);
4794 _resultobj
= Py_None
;
4798 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4799 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4804 bool _arg3
= (bool ) TRUE
;
4805 PyObject
* _argo0
= 0;
4806 int tempbool3
= (int) TRUE
;
4807 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4819 _arg3
= (bool ) tempbool3
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) return NULL
;
4826 } Py_INCREF(Py_None
);
4827 _resultobj
= Py_None
;
4831 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4832 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4837 PyObject
* _argo0
= 0;
4838 char *_kwnames
[] = { "self","x","y", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) return NULL
;
4856 } Py_INCREF(Py_None
);
4857 _resultobj
= Py_None
;
4861 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4862 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
* _resultobj
;
4865 wxPyShapeCanvas
* _arg1
;
4866 PyObject
* _argo0
= 0;
4867 PyObject
* _argo1
= 0;
4868 char *_kwnames
[] = { "self","can", NULL
};
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 wxPyShape_Attach(_arg0
,_arg1
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) return NULL
;
4893 } Py_INCREF(Py_None
);
4894 _resultobj
= Py_None
;
4898 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4899 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4902 PyObject
* _argo0
= 0;
4903 char *_kwnames
[] = { "self", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 wxPyShape_Detach(_arg0
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) return NULL
;
4921 } Py_INCREF(Py_None
);
4922 _resultobj
= Py_None
;
4926 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4927 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 _result
= (bool )wxPyShape_Constrain(_arg0
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 } _resultobj
= Py_BuildValue("i",_result
);
4954 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4955 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4958 wxPyLineShape
* _arg1
;
4960 int _arg3
= (int ) 0;
4961 int _arg4
= (int ) 0;
4962 int _arg5
= (int ) -1;
4963 int _arg6
= (int ) -1;
4964 PyObject
* _argo0
= 0;
4965 PyObject
* _argo1
= 0;
4966 PyObject
* _argo2
= 0;
4967 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4980 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4981 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4987 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) return NULL
;
4999 } Py_INCREF(Py_None
);
5000 _resultobj
= Py_None
;
5004 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
5005 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
* _resultobj
;
5009 wxPyLineShape
* _arg1
;
5010 PyObject
* _argo0
= 0;
5011 PyObject
* _argo1
= 0;
5012 char *_kwnames
[] = { "self","line", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
5025 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) return NULL
;
5037 } _resultobj
= Py_BuildValue("i",_result
);
5041 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
5042 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5046 PyObject
* _argo0
= 0;
5047 PyObject
* _obj1
= 0;
5048 char *_kwnames
[] = { "self","string", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
5054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
5061 #if PYTHON_API_VERSION >= 1009
5062 char* tmpPtr
; int tmpSize
;
5063 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5067 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5069 _arg1
= new wxString(tmpPtr
, tmpSize
);
5071 if (!PyString_Check(_obj1
)) {
5072 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5075 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 wxPyShape_AddText(_arg0
,*_arg1
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } Py_INCREF(Py_None
);
5085 _resultobj
= Py_None
;
5093 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5094 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5098 PyObject
* _argo0
= 0;
5099 char *_kwnames
[] = { "self", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) return NULL
;
5119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5120 _resultobj
= Py_BuildValue("s",_ptemp
);
5123 _resultobj
= Py_None
;
5128 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5129 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
* _resultobj
;
5133 PyObject
* _argo0
= 0;
5134 char *_kwnames
[] = { "self", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) return NULL
;
5154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5155 _resultobj
= Py_BuildValue("s",_ptemp
);
5158 _resultobj
= Py_None
;
5163 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5164 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5167 PyObject
* _argo0
= 0;
5168 char *_kwnames
[] = { "self", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 wxPyShape_SetDefaultRegionSize(_arg0
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) return NULL
;
5186 } Py_INCREF(Py_None
);
5187 _resultobj
= Py_None
;
5191 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5192 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
* _resultobj
;
5197 int _arg3
= (int ) 0;
5198 PyObject
* _argo0
= 0;
5199 PyObject
* _argo1
= 0;
5200 PyObject
* _obj2
= 0;
5201 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5221 #if PYTHON_API_VERSION >= 1009
5222 char* tmpPtr
; int tmpSize
;
5223 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5224 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5227 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5229 _arg2
= new wxString(tmpPtr
, tmpSize
);
5231 if (!PyString_Check(_obj2
)) {
5232 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5235 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) return NULL
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5253 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5254 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
* _resultobj
;
5258 int _arg2
= (int ) 0;
5259 PyObject
* _argo0
= 0;
5260 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) return NULL
;
5278 } Py_INCREF(Py_None
);
5279 _resultobj
= Py_None
;
5283 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5284 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
* _resultobj
;
5288 int _arg1
= (int ) 0;
5289 PyObject
* _argo0
= 0;
5290 char *_kwnames
[] = { "self","regionId", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) return NULL
;
5308 } _resultobj
= Py_BuildValue("i",_result
);
5312 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5313 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5317 int _arg2
= (int ) 0;
5318 PyObject
* _argo0
= 0;
5319 PyObject
* _obj1
= 0;
5320 char *_kwnames
[] = { "self","font","regionId", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5335 if (_obj1
== Py_None
) { temp
= NULL
; }
5336 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
5342 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5346 temp
->GetUnderlined(),
5347 temp
->GetFaceName(),
5348 temp
->GetEncoding());
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) return NULL
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5364 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5368 int _arg1
= (int ) 0;
5369 PyObject
* _argo0
= 0;
5370 char *_kwnames
[] = { "self","regionId", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) return NULL
;
5390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5391 _resultobj
= Py_BuildValue("s",_ptemp
);
5394 _resultobj
= Py_None
;
5399 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5400 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5404 int _arg2
= (int ) 0;
5405 PyObject
* _argo0
= 0;
5406 PyObject
* _obj1
= 0;
5407 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5420 #if PYTHON_API_VERSION >= 1009
5421 char* tmpPtr
; int tmpSize
;
5422 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5426 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5428 _arg1
= new wxString(tmpPtr
, tmpSize
);
5430 if (!PyString_Check(_obj1
)) {
5431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5434 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) return NULL
;
5443 } Py_INCREF(Py_None
);
5444 _resultobj
= Py_None
;
5452 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5453 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
* _resultobj
;
5457 int _arg1
= (int ) 0;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self","regionId", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5478 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5486 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5487 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
* _resultobj
;
5491 PyObject
* _argo0
= 0;
5492 char *_kwnames
[] = { "self", NULL
};
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5510 } _resultobj
= Py_BuildValue("i",_result
);
5514 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5515 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
* _resultobj
;
5519 int _arg2
= (int ) 0;
5520 PyObject
* _argo0
= 0;
5521 PyObject
* _obj1
= 0;
5522 char *_kwnames
[] = { "self","name","regionId", NULL
};
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5535 #if PYTHON_API_VERSION >= 1009
5536 char* tmpPtr
; int tmpSize
;
5537 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5538 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5541 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5543 _arg1
= new wxString(tmpPtr
, tmpSize
);
5545 if (!PyString_Check(_obj1
)) {
5546 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5549 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) return NULL
;
5558 } Py_INCREF(Py_None
);
5559 _resultobj
= Py_None
;
5567 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5568 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5573 PyObject
* _argo0
= 0;
5574 char *_kwnames
[] = { "self","regionId", NULL
};
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) return NULL
;
5593 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5601 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5602 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5607 PyObject
* _argo0
= 0;
5608 PyObject
* _obj1
= 0;
5609 char *_kwnames
[] = { "self","name", NULL
};
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5622 #if PYTHON_API_VERSION >= 1009
5623 char* tmpPtr
; int tmpSize
;
5624 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5628 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5630 _arg1
= new wxString(tmpPtr
, tmpSize
);
5632 if (!PyString_Check(_obj1
)) {
5633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5636 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) return NULL
;
5645 } _resultobj
= Py_BuildValue("i",_result
);
5653 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5654 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
* _resultobj
;
5657 wxString
* _arg1
= (wxString
*) &"";
5658 PyObject
* _argo0
= 0;
5659 PyObject
* _obj1
= 0;
5660 char *_kwnames
[] = { "self","parentName", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5674 #if PYTHON_API_VERSION >= 1009
5675 char* tmpPtr
; int tmpSize
;
5676 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5680 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5682 _arg1
= new wxString(tmpPtr
, tmpSize
);
5684 if (!PyString_Check(_obj1
)) {
5685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5688 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 wxPyShape_NameRegions(_arg0
,*_arg1
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) return NULL
;
5697 } Py_INCREF(Py_None
);
5698 _resultobj
= Py_None
;
5706 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5707 wxList
& list
= self
->GetRegions();
5708 return wxPy_ConvertList(&list
, "wxShapeRegion");
5710 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
* _resultobj
;
5714 PyObject
* _argo0
= 0;
5715 char *_kwnames
[] = { "self", NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) return NULL
;
5734 _resultobj
= _result
;
5739 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5740 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
* _resultobj
;
5743 wxShapeRegion
* _arg1
;
5744 PyObject
* _argo0
= 0;
5745 PyObject
* _argo1
= 0;
5746 char *_kwnames
[] = { "self","region", NULL
};
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 wxPyShape_AddRegion(_arg0
,_arg1
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) return NULL
;
5771 } Py_INCREF(Py_None
);
5772 _resultobj
= Py_None
;
5776 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5777 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
* _resultobj
;
5780 PyObject
* _argo0
= 0;
5781 char *_kwnames
[] = { "self", NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 wxPyShape_ClearRegions(_arg0
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) return NULL
;
5799 } Py_INCREF(Py_None
);
5800 _resultobj
= Py_None
;
5804 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5805 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
* _resultobj
;
5808 PyObject
* _argo0
= 0;
5809 char *_kwnames
[] = { "self", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 wxPyShape_AssignNewIds(_arg0
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) return NULL
;
5827 } Py_INCREF(Py_None
);
5828 _resultobj
= Py_None
;
5832 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5833 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
* _resultobj
;
5835 wxPyShape
* _result
;
5840 PyObject
* _argo0
= 0;
5841 PyObject
* _obj1
= 0;
5842 char *_kwnames
[] = { "self","regionName", NULL
};
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5858 #if PYTHON_API_VERSION >= 1009
5859 char* tmpPtr
; int tmpSize
;
5860 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5864 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5866 _arg1
= new wxString(tmpPtr
, tmpSize
);
5868 if (!PyString_Check(_obj1
)) {
5869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5872 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) return NULL
;
5881 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
5884 o
= PyInt_FromLong((long) (*_arg2
));
5885 _resultobj
= t_output_helper(_resultobj
, o
);
5894 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5895 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5898 wxStringList
* _arg1
;
5899 PyObject
* _argo0
= 0;
5900 PyObject
* _argo1
= 0;
5901 char *_kwnames
[] = { "self","list", NULL
};
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) return NULL
;
5926 } Py_INCREF(Py_None
);
5927 _resultobj
= Py_None
;
5931 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5932 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5935 int _arg1
= (int ) 0;
5936 PyObject
* _argo0
= 0;
5937 char *_kwnames
[] = { "self","regionId", NULL
};
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 wxPyShape_ClearText(_arg0
,_arg1
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) return NULL
;
5955 } Py_INCREF(Py_None
);
5956 _resultobj
= Py_None
;
5960 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5961 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
* _resultobj
;
5964 wxPyLineShape
* _arg1
;
5965 PyObject
* _argo0
= 0;
5966 PyObject
* _argo1
= 0;
5967 char *_kwnames
[] = { "self","line", NULL
};
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
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_RemoveLine. Expected _wxPyShape_p.");
5980 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 wxPyShape_RemoveLine(_arg0
,_arg1
);
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) return NULL
;
5992 } Py_INCREF(Py_None
);
5993 _resultobj
= Py_None
;
5997 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5998 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
* _resultobj
;
6007 int _arg4
= (int ) 0;
6008 int _arg5
= (int ) 1;
6009 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6010 PyObject
* _argo0
= 0;
6011 PyObject
* _argo6
= 0;
6012 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
6031 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6043 } _resultobj
= Py_BuildValue("i",_result
);
6046 o
= PyFloat_FromDouble((double) (*_arg2
));
6047 _resultobj
= t_output_helper(_resultobj
, o
);
6051 o
= PyFloat_FromDouble((double) (*_arg3
));
6052 _resultobj
= t_output_helper(_resultobj
, o
);
6057 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
6058 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
* _resultobj
;
6062 PyObject
* _argo0
= 0;
6063 char *_kwnames
[] = { "self", NULL
};
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
6069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) return NULL
;
6081 } _resultobj
= Py_BuildValue("i",_result
);
6085 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
6086 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
* _resultobj
;
6091 PyObject
* _argo0
= 0;
6092 char *_kwnames
[] = { "self","attachment", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) return NULL
;
6110 } _resultobj
= Py_BuildValue("i",_result
);
6114 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6115 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
* _resultobj
;
6124 int _arg4
= (int ) 0;
6125 int _arg5
= (int ) 1;
6126 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6127 PyObject
* _argo0
= 0;
6128 PyObject
* _argo6
= 0;
6129 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6148 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6149 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) return NULL
;
6160 } _resultobj
= Py_BuildValue("i",_result
);
6163 o
= PyFloat_FromDouble((double) (*_arg2
));
6164 _resultobj
= t_output_helper(_resultobj
, o
);
6168 o
= PyFloat_FromDouble((double) (*_arg3
));
6169 _resultobj
= t_output_helper(_resultobj
, o
);
6174 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6175 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
* _resultobj
;
6177 wxRealPoint
* _result
;
6179 wxRealPoint
* _arg1
;
6180 wxRealPoint
* _arg2
;
6183 wxPyLineShape
* _arg5
;
6184 PyObject
* _argo0
= 0;
6186 PyObject
* _obj1
= 0;
6188 PyObject
* _obj2
= 0;
6189 PyObject
* _argo5
= 0;
6190 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6205 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6210 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6214 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6215 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) return NULL
;
6226 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6227 _resultobj
= Py_BuildValue("s",_ptemp
);
6231 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6232 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
* _resultobj
;
6237 wxRealPoint
* _arg2
;
6238 wxRealPoint
* _arg3
;
6239 PyObject
* _argo0
= 0;
6241 PyObject
* _obj2
= 0;
6243 PyObject
* _obj3
= 0;
6244 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6258 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6263 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) return NULL
;
6272 } _resultobj
= Py_BuildValue("i",_result
);
6276 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6277 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
* _resultobj
;
6281 int _arg2
= (int ) -1;
6282 bool _arg3
= (bool ) FALSE
;
6283 PyObject
* _argo0
= 0;
6284 PyObject
* _argo1
= 0;
6285 int tempbool3
= (int) FALSE
;
6286 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6305 _arg3
= (bool ) tempbool3
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) return NULL
;
6312 } Py_INCREF(Py_None
);
6313 _resultobj
= Py_None
;
6317 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6318 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
* _resultobj
;
6322 int _arg2
= (int ) -1;
6323 bool _arg3
= (bool ) FALSE
;
6324 PyObject
* _argo0
= 0;
6325 PyObject
* _argo1
= 0;
6326 int tempbool3
= (int) FALSE
;
6327 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6346 _arg3
= (bool ) tempbool3
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) return NULL
;
6353 } Py_INCREF(Py_None
);
6354 _resultobj
= Py_None
;
6358 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6359 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6364 wxPyLineShape
* _arg2
;
6367 PyObject
* _argo0
= 0;
6368 PyObject
* _argo1
= 0;
6369 PyObject
* _argo2
= 0;
6370 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6390 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6391 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) return NULL
;
6402 } _resultobj
= Py_BuildValue("i",_result
);
6406 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6407 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6408 self
->ApplyAttachmentOrdering(*list
);
6411 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6415 PyObject
* _argo0
= 0;
6416 PyObject
* _obj1
= 0;
6417 char *_kwnames
[] = { "self","linesToSort", NULL
};
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) return NULL
;
6438 } Py_INCREF(Py_None
);
6439 _resultobj
= Py_None
;
6443 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6444 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
* _resultobj
;
6446 wxRealPoint
* _result
;
6449 PyObject
* _argo0
= 0;
6450 char *_kwnames
[] = { "self","attachment", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) return NULL
;
6469 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6470 _resultobj
= Py_BuildValue("s",_ptemp
);
6474 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6475 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
* _resultobj
;
6480 wxRealPoint
* _arg2
;
6481 wxRealPoint
* _arg3
;
6482 wxRealPoint
* _arg4
;
6483 wxRealPoint
* _arg5
;
6484 PyObject
* _argo0
= 0;
6486 PyObject
* _obj2
= 0;
6488 PyObject
* _obj3
= 0;
6490 PyObject
* _obj4
= 0;
6492 PyObject
* _obj5
= 0;
6493 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6507 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6512 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6517 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6522 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) return NULL
;
6531 } _resultobj
= Py_BuildValue("i",_result
);
6535 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6536 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6542 wxRealPoint
* _arg3
;
6543 wxRealPoint
* _arg4
;
6544 PyObject
* _argo0
= 0;
6546 PyObject
* _obj3
= 0;
6548 PyObject
* _obj4
= 0;
6549 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6563 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6568 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } _resultobj
= Py_BuildValue("i",_result
);
6581 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6582 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6587 PyObject
* _argo0
= 0;
6588 char *_kwnames
[] = { "self","attachment", NULL
};
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) return NULL
;
6606 } _resultobj
= Py_BuildValue("i",_result
);
6610 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6611 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self","len", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) return NULL
;
6634 } Py_INCREF(Py_None
);
6635 _resultobj
= Py_None
;
6639 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6640 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
* _resultobj
;
6644 PyObject
* _argo0
= 0;
6645 char *_kwnames
[] = { "self", NULL
};
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) return NULL
;
6663 } _resultobj
= Py_BuildValue("i",_result
);
6667 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6668 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
* _resultobj
;
6672 PyObject
* _argo0
= 0;
6673 char *_kwnames
[] = { "self","len", NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) return NULL
;
6691 } Py_INCREF(Py_None
);
6692 _resultobj
= Py_None
;
6696 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6697 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) return NULL
;
6720 } _resultobj
= Py_BuildValue("i",_result
);
6724 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6725 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
* _resultobj
;
6729 PyObject
* _argo0
= 0;
6730 char *_kwnames
[] = { "self","len", NULL
};
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) return NULL
;
6748 } Py_INCREF(Py_None
);
6749 _resultobj
= Py_None
;
6753 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6754 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6758 PyObject
* _argo0
= 0;
6759 char *_kwnames
[] = { "self", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) return NULL
;
6777 } _resultobj
= Py_BuildValue("i",_result
);
6781 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6782 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6786 PyObject
* _argo0
= 0;
6787 char *_kwnames
[] = { "self","style", NULL
};
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) return NULL
;
6805 } Py_INCREF(Py_None
);
6806 _resultobj
= Py_None
;
6810 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6811 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
* _resultobj
;
6815 PyObject
* _argo0
= 0;
6816 char *_kwnames
[] = { "self", NULL
};
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) return NULL
;
6834 } _resultobj
= Py_BuildValue("l",_result
);
6838 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6839 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6844 PyObject
* _argo0
= 0;
6845 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) return NULL
;
6863 } _resultobj
= Py_BuildValue("i",_result
);
6867 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6868 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
* _resultobj
;
6873 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) return NULL
;
6892 } _resultobj
= Py_BuildValue("i",_result
);
6896 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6897 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
* _resultobj
;
6901 PyObject
* _argo0
= 0;
6902 char *_kwnames
[] = { "self", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 _result
= (bool )wxPyShape_Draggable(_arg0
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) return NULL
;
6920 } _resultobj
= Py_BuildValue("i",_result
);
6924 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6925 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
* _resultobj
;
6930 PyObject
* _argo0
= 0;
6931 PyObject
* _argo1
= 0;
6932 char *_kwnames
[] = { "self","image", NULL
};
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) return NULL
;
6957 } _resultobj
= Py_BuildValue("i",_result
);
6961 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6962 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
* _resultobj
;
6964 wxPyShape
* _result
;
6966 bool _arg1
= (bool ) TRUE
;
6967 bool _arg2
= (bool ) TRUE
;
6968 PyObject
* _argo0
= 0;
6969 int tempbool1
= (int) TRUE
;
6970 int tempbool2
= (int) TRUE
;
6971 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6983 _arg1
= (bool ) tempbool1
;
6984 _arg2
= (bool ) tempbool2
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) return NULL
;
6991 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
6995 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6996 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
* _resultobj
;
7000 PyObject
* _argo0
= 0;
7001 PyObject
* _argo1
= 0;
7002 char *_kwnames
[] = { "self","copy", NULL
};
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
7008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
7015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
7017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 wxPyShape_Copy(_arg0
,*_arg1
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) return NULL
;
7027 } Py_INCREF(Py_None
);
7028 _resultobj
= Py_None
;
7032 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
7033 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
* _resultobj
;
7037 PyObject
* _argo0
= 0;
7038 PyObject
* _argo1
= 0;
7039 char *_kwnames
[] = { "self","copy", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
7052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) return NULL
;
7064 } Py_INCREF(Py_None
);
7065 _resultobj
= Py_None
;
7069 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
7070 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7076 PyObject
* _argo0
= 0;
7077 char *_kwnames
[] = { "self","x","y","theta", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) return NULL
;
7095 } Py_INCREF(Py_None
);
7096 _resultobj
= Py_None
;
7100 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
7101 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
* _resultobj
;
7105 PyObject
* _argo0
= 0;
7106 char *_kwnames
[] = { "self", NULL
};
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
7112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 _result
= (double )wxPyShape_GetRotation(_arg0
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) return NULL
;
7124 } _resultobj
= Py_BuildValue("d",_result
);
7128 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7129 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
* _resultobj
;
7132 PyObject
* _argo0
= 0;
7133 char *_kwnames
[] = { "self", NULL
};
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
7139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 wxPyShape_ClearAttachments(_arg0
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) return NULL
;
7151 } Py_INCREF(Py_None
);
7152 _resultobj
= Py_None
;
7156 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7157 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
* _resultobj
;
7161 PyObject
* _argo0
= 0;
7162 PyObject
* _argo1
= 0;
7163 char *_kwnames
[] = { "self","dc", NULL
};
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
7169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 wxPyShape_Recentre(_arg0
,*_arg1
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) return NULL
;
7188 } Py_INCREF(Py_None
);
7189 _resultobj
= Py_None
;
7193 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7194 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
* _resultobj
;
7198 PyObject
* _argo0
= 0;
7199 PyObject
* _argo1
= 0;
7200 char *_kwnames
[] = { "self","list", NULL
};
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) return NULL
;
7225 } Py_INCREF(Py_None
);
7226 _resultobj
= Py_None
;
7230 #define wxPyShape_GetBackgroundPen(_swigobj) (_swigobj->GetBackgroundPen())
7231 static PyObject
*_wrap_wxPyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
* _resultobj
;
7235 PyObject
* _argo0
= 0;
7236 char *_kwnames
[] = { "self", NULL
};
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundPen",_kwnames
,&_argo0
))
7243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundPen. Expected _wxPyShape_p.");
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 _result
= new wxPen (wxPyShape_GetBackgroundPen(_arg0
));
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) return NULL
;
7255 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7256 _resultobj
= Py_BuildValue("s",_ptemp
);
7260 #define wxPyShape_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
7261 static PyObject
*_wrap_wxPyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
* _resultobj
;
7265 PyObject
* _argo0
= 0;
7266 char *_kwnames
[] = { "self", NULL
};
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundBrush",_kwnames
,&_argo0
))
7273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundBrush. Expected _wxPyShape_p.");
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 _result
= new wxBrush (wxPyShape_GetBackgroundBrush(_arg0
));
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) return NULL
;
7285 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7286 _resultobj
= Py_BuildValue("s",_ptemp
);
7290 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7291 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
* _resultobj
;
7294 PyObject
* _argo0
= 0;
7295 char *_kwnames
[] = { "self", NULL
};
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 wxPyShape_base_OnDelete(_arg0
);
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) return NULL
;
7313 } Py_INCREF(Py_None
);
7314 _resultobj
= Py_None
;
7318 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7319 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
* _resultobj
;
7323 PyObject
* _argo0
= 0;
7324 PyObject
* _argo1
= 0;
7325 char *_kwnames
[] = { "self","dc", NULL
};
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } Py_INCREF(Py_None
);
7351 _resultobj
= Py_None
;
7355 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7356 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
* _resultobj
;
7360 PyObject
* _argo0
= 0;
7361 PyObject
* _argo1
= 0;
7362 char *_kwnames
[] = { "self","dc", NULL
};
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7375 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) return NULL
;
7387 } Py_INCREF(Py_None
);
7388 _resultobj
= Py_None
;
7392 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7393 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
* _resultobj
;
7397 bool _arg2
= (bool ) FALSE
;
7398 PyObject
* _argo0
= 0;
7399 PyObject
* _argo1
= 0;
7400 int tempbool2
= (int) FALSE
;
7401 char *_kwnames
[] = { "self","dc","erase", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7420 _arg2
= (bool ) tempbool2
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) return NULL
;
7427 } Py_INCREF(Py_None
);
7428 _resultobj
= Py_None
;
7432 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7433 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
* _resultobj
;
7437 PyObject
* _argo0
= 0;
7438 PyObject
* _argo1
= 0;
7439 char *_kwnames
[] = { "self","dc", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) return NULL
;
7464 } Py_INCREF(Py_None
);
7465 _resultobj
= Py_None
;
7469 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7470 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
* _resultobj
;
7474 PyObject
* _argo0
= 0;
7475 PyObject
* _argo1
= 0;
7476 char *_kwnames
[] = { "self","dc", NULL
};
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) return NULL
;
7501 } Py_INCREF(Py_None
);
7502 _resultobj
= Py_None
;
7506 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7507 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
* _resultobj
;
7511 PyObject
* _argo0
= 0;
7512 PyObject
* _argo1
= 0;
7513 char *_kwnames
[] = { "self","dc", NULL
};
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) return NULL
;
7538 } Py_INCREF(Py_None
);
7539 _resultobj
= Py_None
;
7543 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7544 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7548 PyObject
* _argo0
= 0;
7549 PyObject
* _argo1
= 0;
7550 char *_kwnames
[] = { "self","dc", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) return NULL
;
7575 } Py_INCREF(Py_None
);
7576 _resultobj
= Py_None
;
7580 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7581 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
* _resultobj
;
7586 int _arg3
= (int ) 0;
7587 int _arg4
= (int ) 0;
7588 PyObject
* _argo0
= 0;
7589 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) return NULL
;
7607 } Py_INCREF(Py_None
);
7608 _resultobj
= Py_None
;
7612 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7613 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
* _resultobj
;
7618 int _arg3
= (int ) 0;
7619 int _arg4
= (int ) 0;
7620 PyObject
* _argo0
= 0;
7621 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) return NULL
;
7639 } Py_INCREF(Py_None
);
7640 _resultobj
= Py_None
;
7644 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7645 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
* _resultobj
;
7650 int _arg3
= (int ) 0;
7651 int _arg4
= (int ) 0;
7652 PyObject
* _argo0
= 0;
7653 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_OnRightClick. Expected _wxPyShape_p.");
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) return NULL
;
7671 } Py_INCREF(Py_None
);
7672 _resultobj
= Py_None
;
7676 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7677 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
* _resultobj
;
7682 PyObject
* _argo0
= 0;
7683 char *_kwnames
[] = { "self","x","y", NULL
};
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) return NULL
;
7701 } Py_INCREF(Py_None
);
7702 _resultobj
= Py_None
;
7706 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7707 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
* _resultobj
;
7716 bool _arg6
= (bool ) TRUE
;
7717 PyObject
* _argo0
= 0;
7718 PyObject
* _argo1
= 0;
7719 int tempbool6
= (int) TRUE
;
7720 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7739 _arg6
= (bool ) tempbool6
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 } _resultobj
= Py_BuildValue("i",_result
);
7750 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7751 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7759 bool _arg6
= (bool ) TRUE
;
7760 PyObject
* _argo0
= 0;
7761 PyObject
* _argo1
= 0;
7762 int tempbool6
= (int) TRUE
;
7763 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7782 _arg6
= (bool ) tempbool6
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) return NULL
;
7789 } Py_INCREF(Py_None
);
7790 _resultobj
= Py_None
;
7794 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7795 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
* _resultobj
;
7801 int _arg4
= (int ) 0;
7802 int _arg5
= (int ) 0;
7803 PyObject
* _argo0
= 0;
7805 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7817 _arg1
= (bool ) tempbool1
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) return NULL
;
7824 } Py_INCREF(Py_None
);
7825 _resultobj
= Py_None
;
7829 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7830 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
* _resultobj
;
7835 int _arg3
= (int ) 0;
7836 int _arg4
= (int ) 0;
7837 PyObject
* _argo0
= 0;
7838 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) return NULL
;
7856 } Py_INCREF(Py_None
);
7857 _resultobj
= Py_None
;
7861 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7862 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7867 int _arg3
= (int ) 0;
7868 int _arg4
= (int ) 0;
7869 PyObject
* _argo0
= 0;
7870 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) return NULL
;
7888 } Py_INCREF(Py_None
);
7889 _resultobj
= Py_None
;
7893 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7894 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
* _resultobj
;
7900 int _arg4
= (int ) 0;
7901 int _arg5
= (int ) 0;
7902 PyObject
* _argo0
= 0;
7904 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7916 _arg1
= (bool ) tempbool1
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) return NULL
;
7923 } Py_INCREF(Py_None
);
7924 _resultobj
= Py_None
;
7928 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7929 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
* _resultobj
;
7934 int _arg3
= (int ) 0;
7935 int _arg4
= (int ) 0;
7936 PyObject
* _argo0
= 0;
7937 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) return NULL
;
7955 } Py_INCREF(Py_None
);
7956 _resultobj
= Py_None
;
7960 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7961 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
* _resultobj
;
7966 int _arg3
= (int ) 0;
7967 int _arg4
= (int ) 0;
7968 PyObject
* _argo0
= 0;
7969 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) return NULL
;
7987 } Py_INCREF(Py_None
);
7988 _resultobj
= Py_None
;
7992 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7993 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
* _resultobj
;
8001 PyObject
* _argo0
= 0;
8002 PyObject
* _argo1
= 0;
8003 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
8016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) return NULL
;
8028 } Py_INCREF(Py_None
);
8029 _resultobj
= Py_None
;
8033 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
8034 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
* _resultobj
;
8038 PyObject
* _argo0
= 0;
8039 PyObject
* _argo1
= 0;
8040 char *_kwnames
[] = { "self","dc", NULL
};
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
8046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
8053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) return NULL
;
8065 } Py_INCREF(Py_None
);
8066 _resultobj
= Py_None
;
8070 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
8071 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
* _resultobj
;
8075 PyObject
* _argo0
= 0;
8076 PyObject
* _argo1
= 0;
8077 char *_kwnames
[] = { "self","dc", NULL
};
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
8083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
8090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) return NULL
;
8102 } Py_INCREF(Py_None
);
8103 _resultobj
= Py_None
;
8107 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
8108 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
* _resultobj
;
8112 bool _arg2
= (bool ) TRUE
;
8113 PyObject
* _argo0
= 0;
8114 PyObject
* _argo1
= 0;
8115 int tempbool2
= (int) TRUE
;
8116 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
8122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
8129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
8135 _arg2
= (bool ) tempbool2
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) return NULL
;
8142 } Py_INCREF(Py_None
);
8143 _resultobj
= Py_None
;
8147 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8148 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
* _resultobj
;
8151 wxPyControlPoint
* _arg1
;
8155 int _arg5
= (int ) 0;
8156 int _arg6
= (int ) 0;
8157 PyObject
* _argo0
= 0;
8158 PyObject
* _argo1
= 0;
8160 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
8166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
8173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
8179 _arg2
= (bool ) tempbool2
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) return NULL
;
8186 } Py_INCREF(Py_None
);
8187 _resultobj
= Py_None
;
8191 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8192 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8195 wxPyControlPoint
* _arg1
;
8198 int _arg4
= (int ) 0;
8199 int _arg5
= (int ) 0;
8200 PyObject
* _argo0
= 0;
8201 PyObject
* _argo1
= 0;
8202 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
8215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) return NULL
;
8227 } Py_INCREF(Py_None
);
8228 _resultobj
= Py_None
;
8232 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8233 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
* _resultobj
;
8236 wxPyControlPoint
* _arg1
;
8239 int _arg4
= (int ) 0;
8240 int _arg5
= (int ) 0;
8241 PyObject
* _argo0
= 0;
8242 PyObject
* _argo1
= 0;
8243 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) return NULL
;
8268 } Py_INCREF(Py_None
);
8269 _resultobj
= Py_None
;
8273 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8274 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
* _resultobj
;
8279 PyObject
* _argo0
= 0;
8280 char *_kwnames
[] = { "self","w","h", NULL
};
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) return NULL
;
8298 } Py_INCREF(Py_None
);
8299 _resultobj
= Py_None
;
8303 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8304 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
* _resultobj
;
8309 PyObject
* _argo0
= 0;
8310 char *_kwnames
[] = { "self","w","h", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) return NULL
;
8328 } Py_INCREF(Py_None
);
8329 _resultobj
= Py_None
;
8333 static PyMethodDef oglbasiccMethods
[] = {
8334 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxPyShape_GetBackgroundBrush", (PyCFunction
) _wrap_wxPyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxPyShape_GetBackgroundPen", (PyCFunction
) _wrap_wxPyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxPyShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxPyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxPyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8540 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8541 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8542 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8543 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8544 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8545 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8546 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8547 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8548 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8549 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8550 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8551 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8552 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8553 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8554 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8555 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8556 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8557 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8558 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8559 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8560 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8561 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8562 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8571 * This table is used by the pointer type-checker
8573 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8574 { "_signed_long","_long",0},
8575 { "_wxPrintQuality","_wxCoord",0},
8576 { "_wxPrintQuality","_int",0},
8577 { "_wxPrintQuality","_signed_int",0},
8578 { "_wxPrintQuality","_unsigned_int",0},
8579 { "_wxPrintQuality","_wxWindowID",0},
8580 { "_wxPrintQuality","_uint",0},
8581 { "_wxPrintQuality","_EBool",0},
8582 { "_wxPrintQuality","_size_t",0},
8583 { "_wxPrintQuality","_time_t",0},
8584 { "_byte","_unsigned_char",0},
8585 { "_long","_unsigned_long",0},
8586 { "_long","_signed_long",0},
8587 { "_size_t","_wxCoord",0},
8588 { "_size_t","_wxPrintQuality",0},
8589 { "_size_t","_time_t",0},
8590 { "_size_t","_unsigned_int",0},
8591 { "_size_t","_int",0},
8592 { "_size_t","_wxWindowID",0},
8593 { "_size_t","_uint",0},
8594 { "_uint","_wxCoord",0},
8595 { "_uint","_wxPrintQuality",0},
8596 { "_uint","_time_t",0},
8597 { "_uint","_size_t",0},
8598 { "_uint","_unsigned_int",0},
8599 { "_uint","_int",0},
8600 { "_uint","_wxWindowID",0},
8601 { "_wxChar","_char",0},
8602 { "_char","_wxChar",0},
8603 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8604 { "_EBool","_wxCoord",0},
8605 { "_EBool","_wxPrintQuality",0},
8606 { "_EBool","_signed_int",0},
8607 { "_EBool","_int",0},
8608 { "_EBool","_wxWindowID",0},
8609 { "_unsigned_long","_long",0},
8610 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8611 { "_signed_int","_wxCoord",0},
8612 { "_signed_int","_wxPrintQuality",0},
8613 { "_signed_int","_EBool",0},
8614 { "_signed_int","_wxWindowID",0},
8615 { "_signed_int","_int",0},
8616 { "_WXTYPE","_wxDateTime_t",0},
8617 { "_WXTYPE","_short",0},
8618 { "_WXTYPE","_signed_short",0},
8619 { "_WXTYPE","_unsigned_short",0},
8620 { "_unsigned_short","_wxDateTime_t",0},
8621 { "_unsigned_short","_WXTYPE",0},
8622 { "_unsigned_short","_short",0},
8623 { "_wxObject","_wxPyShape",SwigwxPyShapeTowxObject
},
8624 { "_wxObject","_wxPyShapeEvtHandler",SwigwxPyShapeEvtHandlerTowxObject
},
8625 { "_wxObject","_wxShapeRegion",SwigwxShapeRegionTowxObject
},
8626 { "_signed_short","_WXTYPE",0},
8627 { "_signed_short","_short",0},
8628 { "_unsigned_char","_byte",0},
8629 { "_unsigned_int","_wxCoord",0},
8630 { "_unsigned_int","_wxPrintQuality",0},
8631 { "_unsigned_int","_time_t",0},
8632 { "_unsigned_int","_size_t",0},
8633 { "_unsigned_int","_uint",0},
8634 { "_unsigned_int","_wxWindowID",0},
8635 { "_unsigned_int","_int",0},
8636 { "_short","_wxDateTime_t",0},
8637 { "_short","_WXTYPE",0},
8638 { "_short","_unsigned_short",0},
8639 { "_short","_signed_short",0},
8640 { "_wxWindowID","_wxCoord",0},
8641 { "_wxWindowID","_wxPrintQuality",0},
8642 { "_wxWindowID","_time_t",0},
8643 { "_wxWindowID","_size_t",0},
8644 { "_wxWindowID","_EBool",0},
8645 { "_wxWindowID","_uint",0},
8646 { "_wxWindowID","_int",0},
8647 { "_wxWindowID","_signed_int",0},
8648 { "_wxWindowID","_unsigned_int",0},
8649 { "_int","_wxCoord",0},
8650 { "_int","_wxPrintQuality",0},
8651 { "_int","_time_t",0},
8652 { "_int","_size_t",0},
8653 { "_int","_EBool",0},
8654 { "_int","_uint",0},
8655 { "_int","_wxWindowID",0},
8656 { "_int","_unsigned_int",0},
8657 { "_int","_signed_int",0},
8658 { "_wxDateTime_t","_unsigned_short",0},
8659 { "_wxDateTime_t","_short",0},
8660 { "_wxDateTime_t","_WXTYPE",0},
8661 { "_time_t","_wxCoord",0},
8662 { "_time_t","_wxPrintQuality",0},
8663 { "_time_t","_unsigned_int",0},
8664 { "_time_t","_int",0},
8665 { "_time_t","_wxWindowID",0},
8666 { "_time_t","_uint",0},
8667 { "_time_t","_size_t",0},
8668 { "_wxCoord","_int",0},
8669 { "_wxCoord","_signed_int",0},
8670 { "_wxCoord","_unsigned_int",0},
8671 { "_wxCoord","_wxWindowID",0},
8672 { "_wxCoord","_uint",0},
8673 { "_wxCoord","_EBool",0},
8674 { "_wxCoord","_size_t",0},
8675 { "_wxCoord","_time_t",0},
8676 { "_wxCoord","_wxPrintQuality",0},
8677 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8680 static PyObject
*SWIG_globals
;
8684 SWIGEXPORT(void) initoglbasicc() {
8686 SWIG_globals
= SWIG_newvarlink();
8687 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8688 d
= PyModule_GetDict(m
);
8691 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8692 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);