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
;
3807 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self", NULL
};
3812 _arg1
= (bool*)&temp
;
3815 _arg2
= (bool*)&temp0
;
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedSize",_kwnames
,&_argo0
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) return NULL
;
3832 } Py_INCREF(Py_None
);
3833 _resultobj
= Py_None
;
3836 o
= PyInt_FromLong((long) (*_arg1
));
3837 _resultobj
= t_output_helper(_resultobj
, o
);
3841 o
= PyInt_FromLong((long) (*_arg2
));
3842 _resultobj
= t_output_helper(_resultobj
, o
);
3847 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3848 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) return NULL
;
3871 } _resultobj
= Py_BuildValue("i",_result
);
3875 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3876 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3880 PyObject
* _argo0
= 0;
3881 char *_kwnames
[] = { "self", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) return NULL
;
3899 } _resultobj
= Py_BuildValue("i",_result
);
3903 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3904 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3908 PyObject
* _argo0
= 0;
3910 char *_kwnames
[] = { "self","sp", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3922 _arg1
= (bool ) tempbool1
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) return NULL
;
3929 } Py_INCREF(Py_None
);
3930 _resultobj
= Py_None
;
3934 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3935 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
* _resultobj
;
3939 PyObject
* _argo0
= 0;
3940 char *_kwnames
[] = { "self", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) return NULL
;
3958 } _resultobj
= Py_BuildValue("i",_result
);
3962 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3963 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3967 bool _arg2
= (bool ) FALSE
;
3968 PyObject
* _argo0
= 0;
3969 int tempbool2
= (int) FALSE
;
3970 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3982 _arg2
= (bool ) tempbool2
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) return NULL
;
3989 } Py_INCREF(Py_None
);
3990 _resultobj
= Py_None
;
3994 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3995 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
* _resultobj
;
3999 PyObject
* _argo0
= 0;
4000 char *_kwnames
[] = { "self", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
4006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) return NULL
;
4018 } _resultobj
= Py_BuildValue("i",_result
);
4022 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4023 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4033 PyObject
* _argo0
= 0;
4034 char *_kwnames
[] = { "self","x","y", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) return NULL
;
4058 } _resultobj
= Py_BuildValue("i",_result
);
4061 o
= PyInt_FromLong((long) (*_arg3
));
4062 _resultobj
= t_output_helper(_resultobj
, o
);
4066 o
= PyFloat_FromDouble((double) (*_arg4
));
4067 _resultobj
= t_output_helper(_resultobj
, o
);
4072 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
4073 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4077 PyObject
* _argo0
= 0;
4079 char *_kwnames
[] = { "self","cr", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
4085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
4091 _arg1
= (bool ) tempbool1
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 wxPyShape_SetCentreResize(_arg0
,_arg1
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) return NULL
;
4098 } Py_INCREF(Py_None
);
4099 _resultobj
= Py_None
;
4103 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
4104 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } _resultobj
= Py_BuildValue("i",_result
);
4131 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4132 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4138 char *_kwnames
[] = { "self","ar", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4150 _arg1
= (bool ) tempbool1
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) return NULL
;
4157 } Py_INCREF(Py_None
);
4158 _resultobj
= Py_None
;
4162 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4163 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4167 PyObject
* _argo0
= 0;
4168 char *_kwnames
[] = { "self", NULL
};
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) return NULL
;
4186 } _resultobj
= Py_BuildValue("i",_result
);
4190 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4191 wxList
& list
= self
->GetLines();
4192 return wxPy_ConvertList(&list
, "wxPyLineShape");
4194 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4218 _resultobj
= _result
;
4223 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4224 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4228 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self","flag", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4242 _arg1
= (bool ) tempbool1
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) return NULL
;
4249 } Py_INCREF(Py_None
);
4250 _resultobj
= Py_None
;
4254 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4255 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4259 PyObject
* _argo0
= 0;
4260 char *_kwnames
[] = { "self", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) return NULL
;
4278 } _resultobj
= Py_BuildValue("i",_result
);
4282 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4283 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
* _resultobj
;
4287 PyObject
* _argo0
= 0;
4288 char *_kwnames
[] = { "self","mode", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) return NULL
;
4306 } Py_INCREF(Py_None
);
4307 _resultobj
= Py_None
;
4311 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4312 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) return NULL
;
4335 } _resultobj
= Py_BuildValue("i",_result
);
4339 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4340 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4344 PyObject
* _argo0
= 0;
4345 char *_kwnames
[] = { "self","i", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 wxPyShape_SetId(_arg0
,_arg1
);
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) return NULL
;
4363 } Py_INCREF(Py_None
);
4364 _resultobj
= Py_None
;
4368 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4369 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 _result
= (long )wxPyShape_GetId(_arg0
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) return NULL
;
4392 } _resultobj
= Py_BuildValue("l",_result
);
4396 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4397 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4401 PyObject
* _argo0
= 0;
4402 PyObject
* _obj1
= 0;
4403 char *_kwnames
[] = { "self","pen", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_obj1
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4418 if (_obj1
== Py_None
) { temp
= NULL
; }
4419 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxPen_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxPen_p.");
4425 _arg1
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 wxPyShape_SetPen(_arg0
,_arg1
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) return NULL
;
4437 } Py_INCREF(Py_None
);
4438 _resultobj
= Py_None
;
4442 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4443 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4447 PyObject
* _argo0
= 0;
4448 PyObject
* _obj1
= 0;
4449 char *_kwnames
[] = { "self","brush", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_obj1
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4464 if (_obj1
== Py_None
) { temp
= NULL
; }
4465 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxBrush_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxBrush_p.");
4471 _arg1
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 wxPyShape_SetBrush(_arg0
,_arg1
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4487 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self","show", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4505 _arg1
= (bool ) tempbool1
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 wxPyShape_Show(_arg0
,_arg1
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) return NULL
;
4512 } Py_INCREF(Py_None
);
4513 _resultobj
= Py_None
;
4517 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4518 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
* _resultobj
;
4522 PyObject
* _argo0
= 0;
4523 char *_kwnames
[] = { "self", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 _result
= (bool )wxPyShape_IsShown(_arg0
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) return NULL
;
4541 } _resultobj
= Py_BuildValue("i",_result
);
4545 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4546 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
* _resultobj
;
4552 bool _arg4
= (bool ) TRUE
;
4553 PyObject
* _argo0
= 0;
4554 PyObject
* _argo1
= 0;
4555 int tempbool4
= (int) TRUE
;
4556 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4575 _arg4
= (bool ) tempbool4
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) return NULL
;
4582 } Py_INCREF(Py_None
);
4583 _resultobj
= Py_None
;
4587 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4588 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4592 PyObject
* _argo0
= 0;
4593 PyObject
* _argo1
= 0;
4594 char *_kwnames
[] = { "self","dc", NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 wxPyShape_Erase(_arg0
,*_arg1
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4624 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4625 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4629 PyObject
* _argo0
= 0;
4630 PyObject
* _argo1
= 0;
4631 char *_kwnames
[] = { "self","dc", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 wxPyShape_EraseContents(_arg0
,*_arg1
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) return NULL
;
4656 } Py_INCREF(Py_None
);
4657 _resultobj
= Py_None
;
4661 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4662 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4666 PyObject
* _argo0
= 0;
4667 PyObject
* _argo1
= 0;
4668 char *_kwnames
[] = { "self","dc", NULL
};
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 wxPyShape_Draw(_arg0
,*_arg1
);
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) return NULL
;
4693 } Py_INCREF(Py_None
);
4694 _resultobj
= Py_None
;
4698 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4699 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
* _resultobj
;
4702 PyObject
* _argo0
= 0;
4703 char *_kwnames
[] = { "self", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 wxPyShape_Flash(_arg0
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) return NULL
;
4721 } Py_INCREF(Py_None
);
4722 _resultobj
= Py_None
;
4726 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4727 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4731 PyObject
* _argo0
= 0;
4732 PyObject
* _argo1
= 0;
4733 char *_kwnames
[] = { "self","dc", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4746 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) return NULL
;
4758 } Py_INCREF(Py_None
);
4759 _resultobj
= Py_None
;
4763 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4764 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4768 PyObject
* _argo0
= 0;
4769 PyObject
* _argo1
= 0;
4770 char *_kwnames
[] = { "self","dc", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxPyShape_DrawContents(_arg0
,*_arg1
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4795 } Py_INCREF(Py_None
);
4796 _resultobj
= Py_None
;
4800 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4801 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4806 bool _arg3
= (bool ) TRUE
;
4807 PyObject
* _argo0
= 0;
4808 int tempbool3
= (int) TRUE
;
4809 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4821 _arg3
= (bool ) tempbool3
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) return NULL
;
4828 } Py_INCREF(Py_None
);
4829 _resultobj
= Py_None
;
4833 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4834 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4839 PyObject
* _argo0
= 0;
4840 char *_kwnames
[] = { "self","x","y", NULL
};
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) return NULL
;
4858 } Py_INCREF(Py_None
);
4859 _resultobj
= Py_None
;
4863 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4864 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4867 wxPyShapeCanvas
* _arg1
;
4868 PyObject
* _argo0
= 0;
4869 PyObject
* _argo1
= 0;
4870 char *_kwnames
[] = { "self","can", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 wxPyShape_Attach(_arg0
,_arg1
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) return NULL
;
4895 } Py_INCREF(Py_None
);
4896 _resultobj
= Py_None
;
4900 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4901 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
* _resultobj
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 wxPyShape_Detach(_arg0
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) return NULL
;
4923 } Py_INCREF(Py_None
);
4924 _resultobj
= Py_None
;
4928 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4929 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
* _resultobj
;
4933 PyObject
* _argo0
= 0;
4934 char *_kwnames
[] = { "self", NULL
};
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 _result
= (bool )wxPyShape_Constrain(_arg0
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) return NULL
;
4952 } _resultobj
= Py_BuildValue("i",_result
);
4956 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4957 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
* _resultobj
;
4960 wxPyLineShape
* _arg1
;
4962 int _arg3
= (int ) 0;
4963 int _arg4
= (int ) 0;
4964 int _arg5
= (int ) -1;
4965 int _arg6
= (int ) -1;
4966 PyObject
* _argo0
= 0;
4967 PyObject
* _argo1
= 0;
4968 PyObject
* _argo2
= 0;
4969 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4989 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4990 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) return NULL
;
5001 } Py_INCREF(Py_None
);
5002 _resultobj
= Py_None
;
5006 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
5007 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5011 wxPyLineShape
* _arg1
;
5012 PyObject
* _argo0
= 0;
5013 PyObject
* _argo1
= 0;
5014 char *_kwnames
[] = { "self","line", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
5027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5039 } _resultobj
= Py_BuildValue("i",_result
);
5043 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
5044 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5048 PyObject
* _argo0
= 0;
5049 PyObject
* _obj1
= 0;
5050 char *_kwnames
[] = { "self","string", NULL
};
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
5056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
5063 #if PYTHON_API_VERSION >= 1009
5064 char* tmpPtr
; int tmpSize
;
5065 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5066 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5069 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5071 _arg1
= new wxString(tmpPtr
, tmpSize
);
5073 if (!PyString_Check(_obj1
)) {
5074 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5077 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxPyShape_AddText(_arg0
,*_arg1
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) return NULL
;
5086 } Py_INCREF(Py_None
);
5087 _resultobj
= Py_None
;
5095 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5096 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5100 PyObject
* _argo0
= 0;
5101 char *_kwnames
[] = { "self", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) return NULL
;
5121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5122 _resultobj
= Py_BuildValue("s",_ptemp
);
5125 _resultobj
= Py_None
;
5130 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5131 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5135 PyObject
* _argo0
= 0;
5136 char *_kwnames
[] = { "self", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) return NULL
;
5156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5157 _resultobj
= Py_BuildValue("s",_ptemp
);
5160 _resultobj
= Py_None
;
5165 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5166 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
* _resultobj
;
5169 PyObject
* _argo0
= 0;
5170 char *_kwnames
[] = { "self", NULL
};
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 wxPyShape_SetDefaultRegionSize(_arg0
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) return NULL
;
5188 } Py_INCREF(Py_None
);
5189 _resultobj
= Py_None
;
5193 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5194 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5199 int _arg3
= (int ) 0;
5200 PyObject
* _argo0
= 0;
5201 PyObject
* _argo1
= 0;
5202 PyObject
* _obj2
= 0;
5203 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5223 #if PYTHON_API_VERSION >= 1009
5224 char* tmpPtr
; int tmpSize
;
5225 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5229 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5231 _arg2
= new wxString(tmpPtr
, tmpSize
);
5233 if (!PyString_Check(_obj2
)) {
5234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5237 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) return NULL
;
5246 } Py_INCREF(Py_None
);
5247 _resultobj
= Py_None
;
5255 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5256 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5260 int _arg2
= (int ) 0;
5261 PyObject
* _argo0
= 0;
5262 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) return NULL
;
5280 } Py_INCREF(Py_None
);
5281 _resultobj
= Py_None
;
5285 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5286 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5290 int _arg1
= (int ) 0;
5291 PyObject
* _argo0
= 0;
5292 char *_kwnames
[] = { "self","regionId", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) return NULL
;
5310 } _resultobj
= Py_BuildValue("i",_result
);
5314 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5315 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5319 int _arg2
= (int ) 0;
5320 PyObject
* _argo0
= 0;
5321 PyObject
* _obj1
= 0;
5322 char *_kwnames
[] = { "self","font","regionId", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5337 if (_obj1
== Py_None
) { temp
= NULL
; }
5338 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
5344 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5348 temp
->GetUnderlined(),
5349 temp
->GetFaceName(),
5350 temp
->GetEncoding());
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) return NULL
;
5360 } Py_INCREF(Py_None
);
5361 _resultobj
= Py_None
;
5365 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5366 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5370 int _arg1
= (int ) 0;
5371 PyObject
* _argo0
= 0;
5372 char *_kwnames
[] = { "self","regionId", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) return NULL
;
5392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5393 _resultobj
= Py_BuildValue("s",_ptemp
);
5396 _resultobj
= Py_None
;
5401 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5402 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5406 int _arg2
= (int ) 0;
5407 PyObject
* _argo0
= 0;
5408 PyObject
* _obj1
= 0;
5409 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5422 #if PYTHON_API_VERSION >= 1009
5423 char* tmpPtr
; int tmpSize
;
5424 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5428 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5430 _arg1
= new wxString(tmpPtr
, tmpSize
);
5432 if (!PyString_Check(_obj1
)) {
5433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5436 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) return NULL
;
5445 } Py_INCREF(Py_None
);
5446 _resultobj
= Py_None
;
5454 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5455 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
* _resultobj
;
5459 int _arg1
= (int ) 0;
5460 PyObject
* _argo0
= 0;
5461 char *_kwnames
[] = { "self","regionId", NULL
};
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) return NULL
;
5480 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5488 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5489 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5493 PyObject
* _argo0
= 0;
5494 char *_kwnames
[] = { "self", NULL
};
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) return NULL
;
5512 } _resultobj
= Py_BuildValue("i",_result
);
5516 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5517 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
* _resultobj
;
5521 int _arg2
= (int ) 0;
5522 PyObject
* _argo0
= 0;
5523 PyObject
* _obj1
= 0;
5524 char *_kwnames
[] = { "self","name","regionId", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5537 #if PYTHON_API_VERSION >= 1009
5538 char* tmpPtr
; int tmpSize
;
5539 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5543 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5545 _arg1
= new wxString(tmpPtr
, tmpSize
);
5547 if (!PyString_Check(_obj1
)) {
5548 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5551 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) return NULL
;
5560 } Py_INCREF(Py_None
);
5561 _resultobj
= Py_None
;
5569 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5570 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5575 PyObject
* _argo0
= 0;
5576 char *_kwnames
[] = { "self","regionId", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5595 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5603 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5604 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
* _resultobj
;
5609 PyObject
* _argo0
= 0;
5610 PyObject
* _obj1
= 0;
5611 char *_kwnames
[] = { "self","name", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5624 #if PYTHON_API_VERSION >= 1009
5625 char* tmpPtr
; int tmpSize
;
5626 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5630 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5632 _arg1
= new wxString(tmpPtr
, tmpSize
);
5634 if (!PyString_Check(_obj1
)) {
5635 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5638 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) return NULL
;
5647 } _resultobj
= Py_BuildValue("i",_result
);
5655 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5656 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5659 wxString
* _arg1
= (wxString
*) &"";
5660 PyObject
* _argo0
= 0;
5661 PyObject
* _obj1
= 0;
5662 char *_kwnames
[] = { "self","parentName", NULL
};
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5676 #if PYTHON_API_VERSION >= 1009
5677 char* tmpPtr
; int tmpSize
;
5678 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5682 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5684 _arg1
= new wxString(tmpPtr
, tmpSize
);
5686 if (!PyString_Check(_obj1
)) {
5687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5690 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxPyShape_NameRegions(_arg0
,*_arg1
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) return NULL
;
5699 } Py_INCREF(Py_None
);
5700 _resultobj
= Py_None
;
5708 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5709 wxList
& list
= self
->GetRegions();
5710 return wxPy_ConvertList(&list
, "wxShapeRegion");
5712 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5716 PyObject
* _argo0
= 0;
5717 char *_kwnames
[] = { "self", NULL
};
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) return NULL
;
5736 _resultobj
= _result
;
5741 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5742 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
* _resultobj
;
5745 wxShapeRegion
* _arg1
;
5746 PyObject
* _argo0
= 0;
5747 PyObject
* _argo1
= 0;
5748 char *_kwnames
[] = { "self","region", NULL
};
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 wxPyShape_AddRegion(_arg0
,_arg1
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) return NULL
;
5773 } Py_INCREF(Py_None
);
5774 _resultobj
= Py_None
;
5778 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5779 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5782 PyObject
* _argo0
= 0;
5783 char *_kwnames
[] = { "self", NULL
};
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 wxPyShape_ClearRegions(_arg0
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) return NULL
;
5801 } Py_INCREF(Py_None
);
5802 _resultobj
= Py_None
;
5806 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5807 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5810 PyObject
* _argo0
= 0;
5811 char *_kwnames
[] = { "self", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 wxPyShape_AssignNewIds(_arg0
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) return NULL
;
5829 } Py_INCREF(Py_None
);
5830 _resultobj
= Py_None
;
5834 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5835 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
* _resultobj
;
5837 wxPyShape
* _result
;
5842 PyObject
* _argo0
= 0;
5843 PyObject
* _obj1
= 0;
5844 char *_kwnames
[] = { "self","regionName", NULL
};
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5860 #if PYTHON_API_VERSION >= 1009
5861 char* tmpPtr
; int tmpSize
;
5862 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5863 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5866 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5868 _arg1
= new wxString(tmpPtr
, tmpSize
);
5870 if (!PyString_Check(_obj1
)) {
5871 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5874 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) return NULL
;
5883 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
5886 o
= PyInt_FromLong((long) (*_arg2
));
5887 _resultobj
= t_output_helper(_resultobj
, o
);
5896 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5897 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5900 wxStringList
* _arg1
;
5901 PyObject
* _argo0
= 0;
5902 PyObject
* _argo1
= 0;
5903 char *_kwnames
[] = { "self","list", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) return NULL
;
5928 } Py_INCREF(Py_None
);
5929 _resultobj
= Py_None
;
5933 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5934 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
* _resultobj
;
5937 int _arg1
= (int ) 0;
5938 PyObject
* _argo0
= 0;
5939 char *_kwnames
[] = { "self","regionId", NULL
};
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 wxPyShape_ClearText(_arg0
,_arg1
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) return NULL
;
5957 } Py_INCREF(Py_None
);
5958 _resultobj
= Py_None
;
5962 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5963 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
* _resultobj
;
5966 wxPyLineShape
* _arg1
;
5967 PyObject
* _argo0
= 0;
5968 PyObject
* _argo1
= 0;
5969 char *_kwnames
[] = { "self","line", NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 wxPyShape_RemoveLine(_arg0
,_arg1
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) return NULL
;
5994 } Py_INCREF(Py_None
);
5995 _resultobj
= Py_None
;
5999 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6000 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6009 int _arg4
= (int ) 0;
6010 int _arg5
= (int ) 1;
6011 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6012 PyObject
* _argo0
= 0;
6013 PyObject
* _argo6
= 0;
6014 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
6033 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6034 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) return NULL
;
6045 } _resultobj
= Py_BuildValue("i",_result
);
6048 o
= PyFloat_FromDouble((double) (*_arg2
));
6049 _resultobj
= t_output_helper(_resultobj
, o
);
6053 o
= PyFloat_FromDouble((double) (*_arg3
));
6054 _resultobj
= t_output_helper(_resultobj
, o
);
6059 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
6060 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
* _resultobj
;
6064 PyObject
* _argo0
= 0;
6065 char *_kwnames
[] = { "self", NULL
};
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
6071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) return NULL
;
6083 } _resultobj
= Py_BuildValue("i",_result
);
6087 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
6088 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6093 PyObject
* _argo0
= 0;
6094 char *_kwnames
[] = { "self","attachment", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6112 } _resultobj
= Py_BuildValue("i",_result
);
6116 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6117 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6126 int _arg4
= (int ) 0;
6127 int _arg5
= (int ) 1;
6128 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6129 PyObject
* _argo0
= 0;
6130 PyObject
* _argo6
= 0;
6131 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6150 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) return NULL
;
6162 } _resultobj
= Py_BuildValue("i",_result
);
6165 o
= PyFloat_FromDouble((double) (*_arg2
));
6166 _resultobj
= t_output_helper(_resultobj
, o
);
6170 o
= PyFloat_FromDouble((double) (*_arg3
));
6171 _resultobj
= t_output_helper(_resultobj
, o
);
6176 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6177 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6179 wxRealPoint
* _result
;
6181 wxRealPoint
* _arg1
;
6182 wxRealPoint
* _arg2
;
6185 wxPyLineShape
* _arg5
;
6186 PyObject
* _argo0
= 0;
6188 PyObject
* _obj1
= 0;
6190 PyObject
* _obj2
= 0;
6191 PyObject
* _argo5
= 0;
6192 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6207 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6212 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6216 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6217 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) return NULL
;
6228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6229 _resultobj
= Py_BuildValue("s",_ptemp
);
6233 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6234 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
* _resultobj
;
6239 wxRealPoint
* _arg2
;
6240 wxRealPoint
* _arg3
;
6241 PyObject
* _argo0
= 0;
6243 PyObject
* _obj2
= 0;
6245 PyObject
* _obj3
= 0;
6246 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6260 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6265 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) return NULL
;
6274 } _resultobj
= Py_BuildValue("i",_result
);
6278 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6279 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6283 int _arg2
= (int ) -1;
6284 bool _arg3
= (bool ) FALSE
;
6285 PyObject
* _argo0
= 0;
6286 PyObject
* _argo1
= 0;
6287 int tempbool3
= (int) FALSE
;
6288 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6307 _arg3
= (bool ) tempbool3
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) return NULL
;
6314 } Py_INCREF(Py_None
);
6315 _resultobj
= Py_None
;
6319 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6320 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
* _resultobj
;
6324 int _arg2
= (int ) -1;
6325 bool _arg3
= (bool ) FALSE
;
6326 PyObject
* _argo0
= 0;
6327 PyObject
* _argo1
= 0;
6328 int tempbool3
= (int) FALSE
;
6329 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6342 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6343 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6348 _arg3
= (bool ) tempbool3
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) return NULL
;
6355 } Py_INCREF(Py_None
);
6356 _resultobj
= Py_None
;
6360 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6361 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
* _resultobj
;
6366 wxPyLineShape
* _arg2
;
6369 PyObject
* _argo0
= 0;
6370 PyObject
* _argo1
= 0;
6371 PyObject
* _argo2
= 0;
6372 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6392 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) return NULL
;
6404 } _resultobj
= Py_BuildValue("i",_result
);
6408 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6409 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6410 self
->ApplyAttachmentOrdering(*list
);
6413 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6417 PyObject
* _argo0
= 0;
6418 PyObject
* _obj1
= 0;
6419 char *_kwnames
[] = { "self","linesToSort", NULL
};
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) return NULL
;
6440 } Py_INCREF(Py_None
);
6441 _resultobj
= Py_None
;
6445 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6446 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6448 wxRealPoint
* _result
;
6451 PyObject
* _argo0
= 0;
6452 char *_kwnames
[] = { "self","attachment", NULL
};
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) return NULL
;
6471 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6472 _resultobj
= Py_BuildValue("s",_ptemp
);
6476 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6477 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
* _resultobj
;
6482 wxRealPoint
* _arg2
;
6483 wxRealPoint
* _arg3
;
6484 wxRealPoint
* _arg4
;
6485 wxRealPoint
* _arg5
;
6486 PyObject
* _argo0
= 0;
6488 PyObject
* _obj2
= 0;
6490 PyObject
* _obj3
= 0;
6492 PyObject
* _obj4
= 0;
6494 PyObject
* _obj5
= 0;
6495 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6509 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6514 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6519 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6524 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) return NULL
;
6533 } _resultobj
= Py_BuildValue("i",_result
);
6537 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6538 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6544 wxRealPoint
* _arg3
;
6545 wxRealPoint
* _arg4
;
6546 PyObject
* _argo0
= 0;
6548 PyObject
* _obj3
= 0;
6550 PyObject
* _obj4
= 0;
6551 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6565 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6570 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) return NULL
;
6579 } _resultobj
= Py_BuildValue("i",_result
);
6583 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6584 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
* _resultobj
;
6589 PyObject
* _argo0
= 0;
6590 char *_kwnames
[] = { "self","attachment", NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) return NULL
;
6608 } _resultobj
= Py_BuildValue("i",_result
);
6612 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6613 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6617 PyObject
* _argo0
= 0;
6618 char *_kwnames
[] = { "self","len", NULL
};
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) return NULL
;
6636 } Py_INCREF(Py_None
);
6637 _resultobj
= Py_None
;
6641 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6642 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) return NULL
;
6665 } _resultobj
= Py_BuildValue("i",_result
);
6669 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6670 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
* _resultobj
;
6674 PyObject
* _argo0
= 0;
6675 char *_kwnames
[] = { "self","len", NULL
};
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) return NULL
;
6693 } Py_INCREF(Py_None
);
6694 _resultobj
= Py_None
;
6698 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6699 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6703 PyObject
* _argo0
= 0;
6704 char *_kwnames
[] = { "self", NULL
};
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) return NULL
;
6722 } _resultobj
= Py_BuildValue("i",_result
);
6726 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6727 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6731 PyObject
* _argo0
= 0;
6732 char *_kwnames
[] = { "self","len", NULL
};
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) return NULL
;
6750 } Py_INCREF(Py_None
);
6751 _resultobj
= Py_None
;
6755 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6756 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) return NULL
;
6779 } _resultobj
= Py_BuildValue("i",_result
);
6783 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6784 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
* _resultobj
;
6788 PyObject
* _argo0
= 0;
6789 char *_kwnames
[] = { "self","style", NULL
};
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6807 } Py_INCREF(Py_None
);
6808 _resultobj
= Py_None
;
6812 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6813 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 char *_kwnames
[] = { "self", NULL
};
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) return NULL
;
6836 } _resultobj
= Py_BuildValue("l",_result
);
6840 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6841 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) return NULL
;
6865 } _resultobj
= Py_BuildValue("i",_result
);
6869 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6870 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
* _resultobj
;
6875 PyObject
* _argo0
= 0;
6876 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) return NULL
;
6894 } _resultobj
= Py_BuildValue("i",_result
);
6898 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6899 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6903 PyObject
* _argo0
= 0;
6904 char *_kwnames
[] = { "self", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 _result
= (bool )wxPyShape_Draggable(_arg0
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) return NULL
;
6922 } _resultobj
= Py_BuildValue("i",_result
);
6926 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6927 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6932 PyObject
* _argo0
= 0;
6933 PyObject
* _argo1
= 0;
6934 char *_kwnames
[] = { "self","image", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) return NULL
;
6959 } _resultobj
= Py_BuildValue("i",_result
);
6963 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6964 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6966 wxPyShape
* _result
;
6968 bool _arg1
= (bool ) TRUE
;
6969 bool _arg2
= (bool ) TRUE
;
6970 PyObject
* _argo0
= 0;
6971 int tempbool1
= (int) TRUE
;
6972 int tempbool2
= (int) TRUE
;
6973 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6985 _arg1
= (bool ) tempbool1
;
6986 _arg2
= (bool ) tempbool2
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) return NULL
;
6993 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
6997 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6998 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
* _resultobj
;
7002 PyObject
* _argo0
= 0;
7003 PyObject
* _argo1
= 0;
7004 char *_kwnames
[] = { "self","copy", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
7017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 wxPyShape_Copy(_arg0
,*_arg1
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) return NULL
;
7029 } Py_INCREF(Py_None
);
7030 _resultobj
= Py_None
;
7034 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
7035 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7039 PyObject
* _argo0
= 0;
7040 PyObject
* _argo1
= 0;
7041 char *_kwnames
[] = { "self","copy", NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
7047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
7054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) return NULL
;
7066 } Py_INCREF(Py_None
);
7067 _resultobj
= Py_None
;
7071 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
7072 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self","x","y","theta", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) return NULL
;
7097 } Py_INCREF(Py_None
);
7098 _resultobj
= Py_None
;
7102 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
7103 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
* _resultobj
;
7107 PyObject
* _argo0
= 0;
7108 char *_kwnames
[] = { "self", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 _result
= (double )wxPyShape_GetRotation(_arg0
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) return NULL
;
7126 } _resultobj
= Py_BuildValue("d",_result
);
7130 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7131 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7134 PyObject
* _argo0
= 0;
7135 char *_kwnames
[] = { "self", NULL
};
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
7141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 wxPyShape_ClearAttachments(_arg0
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } Py_INCREF(Py_None
);
7154 _resultobj
= Py_None
;
7158 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7159 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
* _resultobj
;
7163 PyObject
* _argo0
= 0;
7164 PyObject
* _argo1
= 0;
7165 char *_kwnames
[] = { "self","dc", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 wxPyShape_Recentre(_arg0
,*_arg1
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) return NULL
;
7190 } Py_INCREF(Py_None
);
7191 _resultobj
= Py_None
;
7195 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7196 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
* _resultobj
;
7200 PyObject
* _argo0
= 0;
7201 PyObject
* _argo1
= 0;
7202 char *_kwnames
[] = { "self","list", NULL
};
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) return NULL
;
7227 } Py_INCREF(Py_None
);
7228 _resultobj
= Py_None
;
7232 #define wxPyShape_GetBackgroundPen(_swigobj) (_swigobj->GetBackgroundPen())
7233 static PyObject
*_wrap_wxPyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7237 PyObject
* _argo0
= 0;
7238 char *_kwnames
[] = { "self", NULL
};
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundPen",_kwnames
,&_argo0
))
7245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundPen. Expected _wxPyShape_p.");
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 _result
= new wxPen (wxPyShape_GetBackgroundPen(_arg0
));
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) return NULL
;
7257 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7258 _resultobj
= Py_BuildValue("s",_ptemp
);
7262 #define wxPyShape_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
7263 static PyObject
*_wrap_wxPyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7267 PyObject
* _argo0
= 0;
7268 char *_kwnames
[] = { "self", NULL
};
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundBrush",_kwnames
,&_argo0
))
7275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundBrush. Expected _wxPyShape_p.");
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 _result
= new wxBrush (wxPyShape_GetBackgroundBrush(_arg0
));
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) return NULL
;
7287 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7288 _resultobj
= Py_BuildValue("s",_ptemp
);
7292 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7293 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7296 PyObject
* _argo0
= 0;
7297 char *_kwnames
[] = { "self", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 wxPyShape_base_OnDelete(_arg0
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) return NULL
;
7315 } Py_INCREF(Py_None
);
7316 _resultobj
= Py_None
;
7320 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7321 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7325 PyObject
* _argo0
= 0;
7326 PyObject
* _argo1
= 0;
7327 char *_kwnames
[] = { "self","dc", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) return NULL
;
7352 } Py_INCREF(Py_None
);
7353 _resultobj
= Py_None
;
7357 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7358 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
* _resultobj
;
7362 PyObject
* _argo0
= 0;
7363 PyObject
* _argo1
= 0;
7364 char *_kwnames
[] = { "self","dc", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) return NULL
;
7389 } Py_INCREF(Py_None
);
7390 _resultobj
= Py_None
;
7394 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7395 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
* _resultobj
;
7399 bool _arg2
= (bool ) FALSE
;
7400 PyObject
* _argo0
= 0;
7401 PyObject
* _argo1
= 0;
7402 int tempbool2
= (int) FALSE
;
7403 char *_kwnames
[] = { "self","dc","erase", NULL
};
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7422 _arg2
= (bool ) tempbool2
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) return NULL
;
7429 } Py_INCREF(Py_None
);
7430 _resultobj
= Py_None
;
7434 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7435 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7439 PyObject
* _argo0
= 0;
7440 PyObject
* _argo1
= 0;
7441 char *_kwnames
[] = { "self","dc", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) return NULL
;
7466 } Py_INCREF(Py_None
);
7467 _resultobj
= Py_None
;
7471 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7472 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7476 PyObject
* _argo0
= 0;
7477 PyObject
* _argo1
= 0;
7478 char *_kwnames
[] = { "self","dc", NULL
};
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7503 } Py_INCREF(Py_None
);
7504 _resultobj
= Py_None
;
7508 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7509 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
* _resultobj
;
7513 PyObject
* _argo0
= 0;
7514 PyObject
* _argo1
= 0;
7515 char *_kwnames
[] = { "self","dc", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) return NULL
;
7540 } Py_INCREF(Py_None
);
7541 _resultobj
= Py_None
;
7545 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7546 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7550 PyObject
* _argo0
= 0;
7551 PyObject
* _argo1
= 0;
7552 char *_kwnames
[] = { "self","dc", NULL
};
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) return NULL
;
7577 } Py_INCREF(Py_None
);
7578 _resultobj
= Py_None
;
7582 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7583 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
* _resultobj
;
7588 int _arg3
= (int ) 0;
7589 int _arg4
= (int ) 0;
7590 PyObject
* _argo0
= 0;
7591 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) return NULL
;
7609 } Py_INCREF(Py_None
);
7610 _resultobj
= Py_None
;
7614 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7615 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7620 int _arg3
= (int ) 0;
7621 int _arg4
= (int ) 0;
7622 PyObject
* _argo0
= 0;
7623 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) return NULL
;
7641 } Py_INCREF(Py_None
);
7642 _resultobj
= Py_None
;
7646 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7647 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7652 int _arg3
= (int ) 0;
7653 int _arg4
= (int ) 0;
7654 PyObject
* _argo0
= 0;
7655 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) return NULL
;
7673 } Py_INCREF(Py_None
);
7674 _resultobj
= Py_None
;
7678 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7679 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
* _resultobj
;
7684 PyObject
* _argo0
= 0;
7685 char *_kwnames
[] = { "self","x","y", NULL
};
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) return NULL
;
7703 } Py_INCREF(Py_None
);
7704 _resultobj
= Py_None
;
7708 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7709 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
* _resultobj
;
7718 bool _arg6
= (bool ) TRUE
;
7719 PyObject
* _argo0
= 0;
7720 PyObject
* _argo1
= 0;
7721 int tempbool6
= (int) TRUE
;
7722 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7741 _arg6
= (bool ) tempbool6
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) return NULL
;
7748 } _resultobj
= Py_BuildValue("i",_result
);
7752 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7753 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
* _resultobj
;
7761 bool _arg6
= (bool ) TRUE
;
7762 PyObject
* _argo0
= 0;
7763 PyObject
* _argo1
= 0;
7764 int tempbool6
= (int) TRUE
;
7765 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7784 _arg6
= (bool ) tempbool6
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) return NULL
;
7791 } Py_INCREF(Py_None
);
7792 _resultobj
= Py_None
;
7796 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7797 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
* _resultobj
;
7803 int _arg4
= (int ) 0;
7804 int _arg5
= (int ) 0;
7805 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7819 _arg1
= (bool ) tempbool1
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) return NULL
;
7826 } Py_INCREF(Py_None
);
7827 _resultobj
= Py_None
;
7831 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7832 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
* _resultobj
;
7837 int _arg3
= (int ) 0;
7838 int _arg4
= (int ) 0;
7839 PyObject
* _argo0
= 0;
7840 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) return NULL
;
7858 } Py_INCREF(Py_None
);
7859 _resultobj
= Py_None
;
7863 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7864 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7869 int _arg3
= (int ) 0;
7870 int _arg4
= (int ) 0;
7871 PyObject
* _argo0
= 0;
7872 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) return NULL
;
7890 } Py_INCREF(Py_None
);
7891 _resultobj
= Py_None
;
7895 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7896 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
* _resultobj
;
7902 int _arg4
= (int ) 0;
7903 int _arg5
= (int ) 0;
7904 PyObject
* _argo0
= 0;
7906 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7918 _arg1
= (bool ) tempbool1
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) return NULL
;
7925 } Py_INCREF(Py_None
);
7926 _resultobj
= Py_None
;
7930 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7931 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
* _resultobj
;
7936 int _arg3
= (int ) 0;
7937 int _arg4
= (int ) 0;
7938 PyObject
* _argo0
= 0;
7939 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) return NULL
;
7957 } Py_INCREF(Py_None
);
7958 _resultobj
= Py_None
;
7962 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7963 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
* _resultobj
;
7968 int _arg3
= (int ) 0;
7969 int _arg4
= (int ) 0;
7970 PyObject
* _argo0
= 0;
7971 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) return NULL
;
7989 } Py_INCREF(Py_None
);
7990 _resultobj
= Py_None
;
7994 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7995 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
* _resultobj
;
8003 PyObject
* _argo0
= 0;
8004 PyObject
* _argo1
= 0;
8005 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
8018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) return NULL
;
8030 } Py_INCREF(Py_None
);
8031 _resultobj
= Py_None
;
8035 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
8036 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
* _resultobj
;
8040 PyObject
* _argo0
= 0;
8041 PyObject
* _argo1
= 0;
8042 char *_kwnames
[] = { "self","dc", NULL
};
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
8048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
8055 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8056 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) return NULL
;
8067 } Py_INCREF(Py_None
);
8068 _resultobj
= Py_None
;
8072 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
8073 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
* _resultobj
;
8077 PyObject
* _argo0
= 0;
8078 PyObject
* _argo1
= 0;
8079 char *_kwnames
[] = { "self","dc", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
8092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) return NULL
;
8104 } Py_INCREF(Py_None
);
8105 _resultobj
= Py_None
;
8109 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
8110 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8114 bool _arg2
= (bool ) TRUE
;
8115 PyObject
* _argo0
= 0;
8116 PyObject
* _argo1
= 0;
8117 int tempbool2
= (int) TRUE
;
8118 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
8131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
8137 _arg2
= (bool ) tempbool2
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) return NULL
;
8144 } Py_INCREF(Py_None
);
8145 _resultobj
= Py_None
;
8149 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8150 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
* _resultobj
;
8153 wxPyControlPoint
* _arg1
;
8157 int _arg5
= (int ) 0;
8158 int _arg6
= (int ) 0;
8159 PyObject
* _argo0
= 0;
8160 PyObject
* _argo1
= 0;
8162 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
8168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
8175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
8181 _arg2
= (bool ) tempbool2
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) return NULL
;
8188 } Py_INCREF(Py_None
);
8189 _resultobj
= Py_None
;
8193 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8194 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
* _resultobj
;
8197 wxPyControlPoint
* _arg1
;
8200 int _arg4
= (int ) 0;
8201 int _arg5
= (int ) 0;
8202 PyObject
* _argo0
= 0;
8203 PyObject
* _argo1
= 0;
8204 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
8217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) return NULL
;
8229 } Py_INCREF(Py_None
);
8230 _resultobj
= Py_None
;
8234 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8235 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
* _resultobj
;
8238 wxPyControlPoint
* _arg1
;
8241 int _arg4
= (int ) 0;
8242 int _arg5
= (int ) 0;
8243 PyObject
* _argo0
= 0;
8244 PyObject
* _argo1
= 0;
8245 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) return NULL
;
8270 } Py_INCREF(Py_None
);
8271 _resultobj
= Py_None
;
8275 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8276 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
* _resultobj
;
8281 PyObject
* _argo0
= 0;
8282 char *_kwnames
[] = { "self","w","h", NULL
};
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) return NULL
;
8300 } Py_INCREF(Py_None
);
8301 _resultobj
= Py_None
;
8305 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8306 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
* _resultobj
;
8311 PyObject
* _argo0
= 0;
8312 char *_kwnames
[] = { "self","w","h", NULL
};
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) return NULL
;
8330 } Py_INCREF(Py_None
);
8331 _resultobj
= Py_None
;
8335 static PyMethodDef oglbasiccMethods
[] = {
8336 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxPyShape_GetBackgroundBrush", (PyCFunction
) _wrap_wxPyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxPyShape_GetBackgroundPen", (PyCFunction
) _wrap_wxPyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxPyShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxPyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxPyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8540 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8541 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8542 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8543 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8544 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8545 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8546 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8547 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8548 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8549 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8550 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8551 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8552 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8553 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8554 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8555 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8556 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8557 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8558 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8559 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8560 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8561 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8562 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8565 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8566 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8573 * This table is used by the pointer type-checker
8575 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8576 { "_signed_long","_long",0},
8577 { "_wxPrintQuality","_wxCoord",0},
8578 { "_wxPrintQuality","_int",0},
8579 { "_wxPrintQuality","_signed_int",0},
8580 { "_wxPrintQuality","_unsigned_int",0},
8581 { "_wxPrintQuality","_wxWindowID",0},
8582 { "_wxPrintQuality","_uint",0},
8583 { "_wxPrintQuality","_EBool",0},
8584 { "_wxPrintQuality","_size_t",0},
8585 { "_wxPrintQuality","_time_t",0},
8586 { "_byte","_unsigned_char",0},
8587 { "_long","_unsigned_long",0},
8588 { "_long","_signed_long",0},
8589 { "_size_t","_wxCoord",0},
8590 { "_size_t","_wxPrintQuality",0},
8591 { "_size_t","_time_t",0},
8592 { "_size_t","_unsigned_int",0},
8593 { "_size_t","_int",0},
8594 { "_size_t","_wxWindowID",0},
8595 { "_size_t","_uint",0},
8596 { "_uint","_wxCoord",0},
8597 { "_uint","_wxPrintQuality",0},
8598 { "_uint","_time_t",0},
8599 { "_uint","_size_t",0},
8600 { "_uint","_unsigned_int",0},
8601 { "_uint","_int",0},
8602 { "_uint","_wxWindowID",0},
8603 { "_wxChar","_char",0},
8604 { "_char","_wxChar",0},
8605 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8606 { "_EBool","_wxCoord",0},
8607 { "_EBool","_wxPrintQuality",0},
8608 { "_EBool","_signed_int",0},
8609 { "_EBool","_int",0},
8610 { "_EBool","_wxWindowID",0},
8611 { "_unsigned_long","_long",0},
8612 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8613 { "_signed_int","_wxCoord",0},
8614 { "_signed_int","_wxPrintQuality",0},
8615 { "_signed_int","_EBool",0},
8616 { "_signed_int","_wxWindowID",0},
8617 { "_signed_int","_int",0},
8618 { "_WXTYPE","_wxDateTime_t",0},
8619 { "_WXTYPE","_short",0},
8620 { "_WXTYPE","_signed_short",0},
8621 { "_WXTYPE","_unsigned_short",0},
8622 { "_unsigned_short","_wxDateTime_t",0},
8623 { "_unsigned_short","_WXTYPE",0},
8624 { "_unsigned_short","_short",0},
8625 { "_wxObject","_wxPyShape",SwigwxPyShapeTowxObject
},
8626 { "_wxObject","_wxPyShapeEvtHandler",SwigwxPyShapeEvtHandlerTowxObject
},
8627 { "_wxObject","_wxShapeRegion",SwigwxShapeRegionTowxObject
},
8628 { "_signed_short","_WXTYPE",0},
8629 { "_signed_short","_short",0},
8630 { "_unsigned_char","_byte",0},
8631 { "_unsigned_int","_wxCoord",0},
8632 { "_unsigned_int","_wxPrintQuality",0},
8633 { "_unsigned_int","_time_t",0},
8634 { "_unsigned_int","_size_t",0},
8635 { "_unsigned_int","_uint",0},
8636 { "_unsigned_int","_wxWindowID",0},
8637 { "_unsigned_int","_int",0},
8638 { "_short","_wxDateTime_t",0},
8639 { "_short","_WXTYPE",0},
8640 { "_short","_unsigned_short",0},
8641 { "_short","_signed_short",0},
8642 { "_wxWindowID","_wxCoord",0},
8643 { "_wxWindowID","_wxPrintQuality",0},
8644 { "_wxWindowID","_time_t",0},
8645 { "_wxWindowID","_size_t",0},
8646 { "_wxWindowID","_EBool",0},
8647 { "_wxWindowID","_uint",0},
8648 { "_wxWindowID","_int",0},
8649 { "_wxWindowID","_signed_int",0},
8650 { "_wxWindowID","_unsigned_int",0},
8651 { "_int","_wxCoord",0},
8652 { "_int","_wxPrintQuality",0},
8653 { "_int","_time_t",0},
8654 { "_int","_size_t",0},
8655 { "_int","_EBool",0},
8656 { "_int","_uint",0},
8657 { "_int","_wxWindowID",0},
8658 { "_int","_unsigned_int",0},
8659 { "_int","_signed_int",0},
8660 { "_wxDateTime_t","_unsigned_short",0},
8661 { "_wxDateTime_t","_short",0},
8662 { "_wxDateTime_t","_WXTYPE",0},
8663 { "_time_t","_wxCoord",0},
8664 { "_time_t","_wxPrintQuality",0},
8665 { "_time_t","_unsigned_int",0},
8666 { "_time_t","_int",0},
8667 { "_time_t","_wxWindowID",0},
8668 { "_time_t","_uint",0},
8669 { "_time_t","_size_t",0},
8670 { "_wxCoord","_int",0},
8671 { "_wxCoord","_signed_int",0},
8672 { "_wxCoord","_unsigned_int",0},
8673 { "_wxCoord","_wxWindowID",0},
8674 { "_wxCoord","_uint",0},
8675 { "_wxCoord","_EBool",0},
8676 { "_wxCoord","_size_t",0},
8677 { "_wxCoord","_time_t",0},
8678 { "_wxCoord","_wxPrintQuality",0},
8679 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8682 static PyObject
*SWIG_globals
;
8686 SWIGEXPORT(void) initoglbasicc() {
8688 SWIG_globals
= SWIG_newvarlink();
8689 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8690 d
= PyModule_GetDict(m
);
8693 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8694 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);