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 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
90 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
94 static void *SwigwxShapeRegionTowxObject(void *ptr
) {
97 src
= (wxShapeRegion
*) ptr
;
98 dest
= (wxObject
*) src
;
102 #define new_wxShapeRegion() (new wxShapeRegion())
103 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
104 PyObject
* _resultobj
;
105 wxShapeRegion
* _result
;
106 char *_kwnames
[] = { NULL
};
110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
114 _result
= (wxShapeRegion
*)new_wxShapeRegion();
116 wxPyEndAllowThreads(__tstate
);
117 if (PyErr_Occurred()) return NULL
;
119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
120 _resultobj
= Py_BuildValue("s",_ptemp
);
123 _resultobj
= Py_None
;
128 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
129 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
130 PyObject
* _resultobj
;
131 wxShapeRegion
* _arg0
;
133 PyObject
* _argo0
= 0;
134 PyObject
* _obj1
= 0;
135 char *_kwnames
[] = { "self","s", NULL
};
138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
148 _arg1
= wxString_in_helper(_obj1
);
153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
154 wxShapeRegion_SetText(_arg0
,*_arg1
);
156 wxPyEndAllowThreads(__tstate
);
157 if (PyErr_Occurred()) return NULL
;
158 } Py_INCREF(Py_None
);
159 _resultobj
= Py_None
;
167 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
168 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
170 wxShapeRegion
* _arg0
;
172 PyObject
* _argo0
= 0;
173 PyObject
* _obj1
= 0;
174 char *_kwnames
[] = { "self","f", NULL
};
177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_obj1
))
180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
189 if (_obj1
== Py_None
) { temp
= NULL
; }
190 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
191 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
196 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
200 temp
->GetUnderlined(),
202 temp
->GetEncoding());
207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
208 wxShapeRegion_SetFont(_arg0
,_arg1
);
210 wxPyEndAllowThreads(__tstate
);
211 if (PyErr_Occurred()) return NULL
;
212 } Py_INCREF(Py_None
);
213 _resultobj
= Py_None
;
217 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
218 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
219 PyObject
* _resultobj
;
220 wxShapeRegion
* _arg0
;
223 PyObject
* _argo0
= 0;
224 char *_kwnames
[] = { "self","w","h", NULL
};
227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
238 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
240 wxPyEndAllowThreads(__tstate
);
241 if (PyErr_Occurred()) return NULL
;
242 } Py_INCREF(Py_None
);
243 _resultobj
= Py_None
;
247 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
248 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
249 PyObject
* _resultobj
;
250 wxShapeRegion
* _arg0
;
253 PyObject
* _argo0
= 0;
254 char *_kwnames
[] = { "self","w","h", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
268 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
278 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
280 wxShapeRegion
* _arg0
;
283 PyObject
* _argo0
= 0;
284 char *_kwnames
[] = { "self","x","y", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
298 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
300 wxPyEndAllowThreads(__tstate
);
301 if (PyErr_Occurred()) return NULL
;
302 } Py_INCREF(Py_None
);
303 _resultobj
= Py_None
;
307 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
308 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 PyObject
* _resultobj
;
310 wxShapeRegion
* _arg0
;
313 PyObject
* _argo0
= 0;
314 char *_kwnames
[] = { "self","x","y", NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
328 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
330 wxPyEndAllowThreads(__tstate
);
331 if (PyErr_Occurred()) return NULL
;
332 } Py_INCREF(Py_None
);
333 _resultobj
= Py_None
;
337 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
338 static PyObject
*_wrap_wxShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
340 wxShapeRegion
* _arg0
;
342 PyObject
* _argo0
= 0;
343 char *_kwnames
[] = { "self","mode", NULL
};
346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetFormatMode",_kwnames
,&_argo0
,&_arg1
))
349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
361 } Py_INCREF(Py_None
);
362 _resultobj
= Py_None
;
366 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
367 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
369 wxShapeRegion
* _arg0
;
371 PyObject
* _argo0
= 0;
372 PyObject
* _obj1
= 0;
373 char *_kwnames
[] = { "self","s", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
386 _arg1
= wxString_in_helper(_obj1
);
391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
392 wxShapeRegion_SetName(_arg0
,*_arg1
);
394 wxPyEndAllowThreads(__tstate
);
395 if (PyErr_Occurred()) return NULL
;
396 } Py_INCREF(Py_None
);
397 _resultobj
= Py_None
;
405 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
406 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 PyObject
* _resultobj
;
408 wxShapeRegion
* _arg0
;
410 PyObject
* _argo0
= 0;
411 PyObject
* _obj1
= 0;
412 char *_kwnames
[] = { "self","col", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
425 _arg1
= wxString_in_helper(_obj1
);
430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
431 wxShapeRegion_SetColour(_arg0
,*_arg1
);
433 wxPyEndAllowThreads(__tstate
);
434 if (PyErr_Occurred()) return NULL
;
435 } Py_INCREF(Py_None
);
436 _resultobj
= Py_None
;
444 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
445 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
446 PyObject
* _resultobj
;
448 wxShapeRegion
* _arg0
;
449 PyObject
* _argo0
= 0;
450 char *_kwnames
[] = { "self", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
464 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
466 wxPyEndAllowThreads(__tstate
);
467 if (PyErr_Occurred()) return NULL
;
470 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
472 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
481 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
482 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
485 wxShapeRegion
* _arg0
;
486 PyObject
* _argo0
= 0;
487 char *_kwnames
[] = { "self", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
502 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
504 wxPyEndAllowThreads(__tstate
);
505 if (PyErr_Occurred()) return NULL
;
507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
508 _resultobj
= Py_BuildValue("s",_ptemp
);
511 _resultobj
= Py_None
;
516 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
517 static PyObject
*_wrap_wxShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
519 wxShapeRegion
* _arg0
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
545 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
547 wxPyEndAllowThreads(__tstate
);
548 if (PyErr_Occurred()) return NULL
;
549 } Py_INCREF(Py_None
);
550 _resultobj
= Py_None
;
553 o
= PyFloat_FromDouble((double) (*_arg1
));
554 _resultobj
= t_output_helper(_resultobj
, o
);
558 o
= PyFloat_FromDouble((double) (*_arg2
));
559 _resultobj
= t_output_helper(_resultobj
, o
);
564 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
565 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
567 wxShapeRegion
* _arg0
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetProportion",_kwnames
,&_argo0
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
593 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
595 wxPyEndAllowThreads(__tstate
);
596 if (PyErr_Occurred()) return NULL
;
597 } Py_INCREF(Py_None
);
598 _resultobj
= Py_None
;
601 o
= PyFloat_FromDouble((double) (*_arg1
));
602 _resultobj
= t_output_helper(_resultobj
, o
);
606 o
= PyFloat_FromDouble((double) (*_arg2
));
607 _resultobj
= t_output_helper(_resultobj
, o
);
612 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
613 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
615 wxShapeRegion
* _arg0
;
620 PyObject
* _argo0
= 0;
621 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetSize",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
645 } Py_INCREF(Py_None
);
646 _resultobj
= Py_None
;
649 o
= PyFloat_FromDouble((double) (*_arg1
));
650 _resultobj
= t_output_helper(_resultobj
, o
);
654 o
= PyFloat_FromDouble((double) (*_arg2
));
655 _resultobj
= t_output_helper(_resultobj
, o
);
660 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
661 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
662 PyObject
* _resultobj
;
663 wxShapeRegion
* _arg0
;
668 PyObject
* _argo0
= 0;
669 char *_kwnames
[] = { "self", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPosition",_kwnames
,&_argo0
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
689 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
691 wxPyEndAllowThreads(__tstate
);
692 if (PyErr_Occurred()) return NULL
;
693 } Py_INCREF(Py_None
);
694 _resultobj
= Py_None
;
697 o
= PyFloat_FromDouble((double) (*_arg1
));
698 _resultobj
= t_output_helper(_resultobj
, o
);
702 o
= PyFloat_FromDouble((double) (*_arg2
));
703 _resultobj
= t_output_helper(_resultobj
, o
);
708 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
709 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 PyObject
* _resultobj
;
712 wxShapeRegion
* _arg0
;
713 PyObject
* _argo0
= 0;
714 char *_kwnames
[] = { "self", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) return NULL
;
732 } _resultobj
= Py_BuildValue("i",_result
);
736 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
737 static PyObject
*_wrap_wxShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 wxShapeRegion
* _arg0
;
741 PyObject
* _argo0
= 0;
742 char *_kwnames
[] = { "self", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetName",_kwnames
,&_argo0
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) return NULL
;
762 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
764 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
773 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
774 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
777 wxShapeRegion
* _arg0
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
799 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
801 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
810 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
811 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
814 wxShapeRegion
* _arg0
;
815 PyObject
* _argo0
= 0;
816 char *_kwnames
[] = { "self", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
831 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
833 wxPyEndAllowThreads(__tstate
);
834 if (PyErr_Occurred()) return NULL
;
836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
837 _resultobj
= Py_BuildValue("s",_ptemp
);
840 _resultobj
= Py_None
;
845 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
846 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
847 PyObject
* _resultobj
;
849 wxShapeRegion
* _arg0
;
850 PyObject
* _argo0
= 0;
851 char *_kwnames
[] = { "self", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
867 _result
= (wxList
*) &_result_ref
;
869 wxPyEndAllowThreads(__tstate
);
870 if (PyErr_Occurred()) return NULL
;
872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
873 _resultobj
= Py_BuildValue("s",_ptemp
);
876 _resultobj
= Py_None
;
881 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
882 static PyObject
*_wrap_wxShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
885 wxShapeRegion
* _arg0
;
886 PyObject
* _argo0
= 0;
887 char *_kwnames
[] = { "self", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenColour",_kwnames
,&_argo0
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
901 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
903 wxPyEndAllowThreads(__tstate
);
904 if (PyErr_Occurred()) return NULL
;
907 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
909 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
918 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
919 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
922 wxShapeRegion
* _arg0
;
923 PyObject
* _argo0
= 0;
924 char *_kwnames
[] = { "self", NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
938 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) return NULL
;
942 } _resultobj
= Py_BuildValue("i",_result
);
946 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
947 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
949 wxShapeRegion
* _arg0
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self","style", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
970 } Py_INCREF(Py_None
);
971 _resultobj
= Py_None
;
975 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
976 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
978 wxShapeRegion
* _arg0
;
980 PyObject
* _argo0
= 0;
981 PyObject
* _obj1
= 0;
982 char *_kwnames
[] = { "self","col", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
995 _arg1
= wxString_in_helper(_obj1
);
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) return NULL
;
1005 } Py_INCREF(Py_None
);
1006 _resultobj
= Py_None
;
1014 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
1015 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1018 wxShapeRegion
* _arg0
;
1019 PyObject
* _argo0
= 0;
1020 char *_kwnames
[] = { "self", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
1027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) return NULL
;
1040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1041 _resultobj
= Py_BuildValue("s",_ptemp
);
1044 _resultobj
= Py_None
;
1049 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1050 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1053 wxShapeRegion
* _arg0
;
1054 PyObject
* _argo0
= 0;
1055 char *_kwnames
[] = { "self", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1073 } _resultobj
= Py_BuildValue("d",_result
);
1077 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1078 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1081 wxShapeRegion
* _arg0
;
1082 PyObject
* _argo0
= 0;
1083 char *_kwnames
[] = { "self", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1101 } _resultobj
= Py_BuildValue("d",_result
);
1105 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1106 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1108 wxShapeRegion
* _arg0
;
1109 PyObject
* _argo0
= 0;
1110 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_kwnames
,&_argo0
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 wxShapeRegion_ClearText(_arg0
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } Py_INCREF(Py_None
);
1129 _resultobj
= Py_None
;
1133 static void *SwigwxPyShapeEvtHandlerTowxObject(void *ptr
) {
1134 wxPyShapeEvtHandler
*src
;
1136 src
= (wxPyShapeEvtHandler
*) ptr
;
1137 dest
= (wxObject
*) src
;
1138 return (void *) dest
;
1141 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1142 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1144 wxPyShapeEvtHandler
* _result
;
1145 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1146 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1147 PyObject
* _argo0
= 0;
1148 PyObject
* _argo1
= 0;
1149 char *_kwnames
[] = { "prev","shape", NULL
};
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
1156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) return NULL
;
1176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1177 _resultobj
= Py_BuildValue("s",_ptemp
);
1180 _resultobj
= Py_None
;
1185 #define wxPyShapeEvtHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1186 static PyObject
*_wrap_wxPyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1188 wxPyShapeEvtHandler
* _arg0
;
1191 PyObject
* _argo0
= 0;
1192 PyObject
* _obj1
= 0;
1193 PyObject
* _obj2
= 0;
1194 char *_kwnames
[] = { "self","self","_class", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeEvtHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setCallbackInfo. Expected _wxPyShapeEvtHandler_p.");
1213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1214 wxPyShapeEvtHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1216 wxPyEndAllowThreads(__tstate
);
1217 if (PyErr_Occurred()) return NULL
;
1218 } Py_INCREF(Py_None
);
1219 _resultobj
= Py_None
;
1223 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1224 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1226 wxPyShapeEvtHandler
* _arg0
;
1227 PyObject
* _argo0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1242 wxPyShapeEvtHandler_Destroy(_arg0
);
1244 wxPyEndAllowThreads(__tstate
);
1245 if (PyErr_Occurred()) return NULL
;
1246 } Py_INCREF(Py_None
);
1247 _resultobj
= Py_None
;
1251 static void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
* _self
) {
1252 self
->SetClientObject(new wxPyOORClientData(_self
));
1254 static PyObject
*_wrap_wxPyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1256 wxPyShapeEvtHandler
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 PyObject
* _obj1
= 0;
1260 char *_kwnames
[] = { "self","_self", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setOORInfo. Expected _wxPyShapeEvtHandler_p.");
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 wxPyShapeEvtHandler__setOORInfo(_arg0
,_arg1
);
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) return NULL
;
1281 } Py_INCREF(Py_None
);
1282 _resultobj
= Py_None
;
1286 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1287 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1289 wxPyShapeEvtHandler
* _arg0
;
1291 PyObject
* _argo0
= 0;
1292 PyObject
* _argo1
= 0;
1293 char *_kwnames
[] = { "self","sh", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1314 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) return NULL
;
1318 } Py_INCREF(Py_None
);
1319 _resultobj
= Py_None
;
1323 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1324 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1326 wxPyShape
* _result
;
1327 wxPyShapeEvtHandler
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1351 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1352 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1354 wxPyShapeEvtHandler
* _arg0
;
1355 wxPyShapeEvtHandler
* _arg1
;
1356 PyObject
* _argo0
= 0;
1357 PyObject
* _argo1
= 0;
1358 char *_kwnames
[] = { "self","handler", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) return NULL
;
1383 } Py_INCREF(Py_None
);
1384 _resultobj
= Py_None
;
1388 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1389 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1391 wxPyShapeEvtHandler
* _result
;
1392 wxPyShapeEvtHandler
* _arg0
;
1393 PyObject
* _argo0
= 0;
1394 char *_kwnames
[] = { "self", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1408 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1410 wxPyEndAllowThreads(__tstate
);
1411 if (PyErr_Occurred()) return NULL
;
1412 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1416 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1417 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1419 wxPyShapeEvtHandler
* _result
;
1420 wxPyShapeEvtHandler
* _arg0
;
1421 PyObject
* _argo0
= 0;
1422 char *_kwnames
[] = { "self", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) return NULL
;
1440 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1444 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1445 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1447 wxPyShapeEvtHandler
* _arg0
;
1448 PyObject
* _argo0
= 0;
1449 char *_kwnames
[] = { "self", NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) return NULL
;
1467 } Py_INCREF(Py_None
);
1468 _resultobj
= Py_None
;
1472 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1473 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1475 wxPyShapeEvtHandler
* _arg0
;
1477 PyObject
* _argo0
= 0;
1478 PyObject
* _argo1
= 0;
1479 char *_kwnames
[] = { "self","dc", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) return NULL
;
1504 } Py_INCREF(Py_None
);
1505 _resultobj
= Py_None
;
1509 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1510 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
* _resultobj
;
1512 wxPyShapeEvtHandler
* _arg0
;
1514 PyObject
* _argo0
= 0;
1515 PyObject
* _argo1
= 0;
1516 char *_kwnames
[] = { "self","dc", NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1547 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1549 wxPyShapeEvtHandler
* _arg0
;
1551 bool _arg2
= (bool ) FALSE
;
1552 PyObject
* _argo0
= 0;
1553 PyObject
* _argo1
= 0;
1554 int tempbool2
= (int) FALSE
;
1555 char *_kwnames
[] = { "self","dc","erase", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1574 _arg2
= (bool ) tempbool2
;
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) return NULL
;
1581 } Py_INCREF(Py_None
);
1582 _resultobj
= Py_None
;
1586 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1587 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1589 wxPyShapeEvtHandler
* _arg0
;
1591 PyObject
* _argo0
= 0;
1592 PyObject
* _argo1
= 0;
1593 char *_kwnames
[] = { "self","dc", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) return NULL
;
1618 } Py_INCREF(Py_None
);
1619 _resultobj
= Py_None
;
1623 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1624 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
* _resultobj
;
1626 wxPyShapeEvtHandler
* _arg0
;
1628 PyObject
* _argo0
= 0;
1629 PyObject
* _argo1
= 0;
1630 char *_kwnames
[] = { "self","dc", NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) return NULL
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1660 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1661 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1663 wxPyShapeEvtHandler
* _arg0
;
1665 PyObject
* _argo0
= 0;
1666 PyObject
* _argo1
= 0;
1667 char *_kwnames
[] = { "self","dc", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) return NULL
;
1692 } Py_INCREF(Py_None
);
1693 _resultobj
= Py_None
;
1697 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1698 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
* _resultobj
;
1700 wxPyShapeEvtHandler
* _arg0
;
1702 PyObject
* _argo0
= 0;
1703 PyObject
* _argo1
= 0;
1704 char *_kwnames
[] = { "self","dc", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) return NULL
;
1729 } Py_INCREF(Py_None
);
1730 _resultobj
= Py_None
;
1734 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1735 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxPyShapeEvtHandler
* _arg0
;
1740 int _arg3
= (int ) 0;
1741 int _arg4
= (int ) 0;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) return NULL
;
1761 } Py_INCREF(Py_None
);
1762 _resultobj
= Py_None
;
1766 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1767 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1769 wxPyShapeEvtHandler
* _arg0
;
1772 int _arg3
= (int ) 0;
1773 int _arg4
= (int ) 0;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1799 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1801 wxPyShapeEvtHandler
* _arg0
;
1804 int _arg3
= (int ) 0;
1805 int _arg4
= (int ) 0;
1806 PyObject
* _argo0
= 0;
1807 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) return NULL
;
1825 } Py_INCREF(Py_None
);
1826 _resultobj
= Py_None
;
1830 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1831 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1833 wxPyShapeEvtHandler
* _arg0
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self","x","y", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) return NULL
;
1855 } Py_INCREF(Py_None
);
1856 _resultobj
= Py_None
;
1860 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1861 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1864 wxPyShapeEvtHandler
* _arg0
;
1870 bool _arg6
= (bool ) TRUE
;
1871 PyObject
* _argo0
= 0;
1872 PyObject
* _argo1
= 0;
1873 int tempbool6
= (int) TRUE
;
1874 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1887 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1893 _arg6
= (bool ) tempbool6
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1900 } _resultobj
= Py_BuildValue("i",_result
);
1904 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1905 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1907 wxPyShapeEvtHandler
* _arg0
;
1913 bool _arg6
= (bool ) TRUE
;
1914 PyObject
* _argo0
= 0;
1915 PyObject
* _argo1
= 0;
1916 int tempbool6
= (int) TRUE
;
1917 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1936 _arg6
= (bool ) tempbool6
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) return NULL
;
1943 } Py_INCREF(Py_None
);
1944 _resultobj
= Py_None
;
1948 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1949 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1951 wxPyShapeEvtHandler
* _arg0
;
1955 int _arg4
= (int ) 0;
1956 int _arg5
= (int ) 0;
1957 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
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_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1971 _arg1
= (bool ) tempbool1
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) return NULL
;
1978 } Py_INCREF(Py_None
);
1979 _resultobj
= Py_None
;
1983 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1984 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1986 wxPyShapeEvtHandler
* _arg0
;
1989 int _arg3
= (int ) 0;
1990 int _arg4
= (int ) 0;
1991 PyObject
* _argo0
= 0;
1992 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2016 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2018 wxPyShapeEvtHandler
* _arg0
;
2021 int _arg3
= (int ) 0;
2022 int _arg4
= (int ) 0;
2023 PyObject
* _argo0
= 0;
2024 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) return NULL
;
2042 } Py_INCREF(Py_None
);
2043 _resultobj
= Py_None
;
2047 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2048 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2050 wxPyShapeEvtHandler
* _arg0
;
2054 int _arg4
= (int ) 0;
2055 int _arg5
= (int ) 0;
2056 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
2070 _arg1
= (bool ) tempbool1
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2082 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2083 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2085 wxPyShapeEvtHandler
* _arg0
;
2088 int _arg3
= (int ) 0;
2089 int _arg4
= (int ) 0;
2090 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) return NULL
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2115 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2117 wxPyShapeEvtHandler
* _arg0
;
2120 int _arg3
= (int ) 0;
2121 int _arg4
= (int ) 0;
2122 PyObject
* _argo0
= 0;
2123 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) return NULL
;
2141 } Py_INCREF(Py_None
);
2142 _resultobj
= Py_None
;
2146 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2147 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2149 wxPyShapeEvtHandler
* _arg0
;
2155 PyObject
* _argo0
= 0;
2156 PyObject
* _argo1
= 0;
2157 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) return NULL
;
2182 } Py_INCREF(Py_None
);
2183 _resultobj
= Py_None
;
2187 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2188 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2190 wxPyShapeEvtHandler
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 PyObject
* _argo1
= 0;
2194 char *_kwnames
[] = { "self","dc", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2207 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) return NULL
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2224 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2225 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2227 wxPyShapeEvtHandler
* _arg0
;
2229 PyObject
* _argo0
= 0;
2230 PyObject
* _argo1
= 0;
2231 char *_kwnames
[] = { "self","dc", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2261 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2262 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2264 wxPyShapeEvtHandler
* _arg0
;
2266 bool _arg2
= (bool ) TRUE
;
2267 PyObject
* _argo0
= 0;
2268 PyObject
* _argo1
= 0;
2269 int tempbool2
= (int) TRUE
;
2270 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2289 _arg2
= (bool ) tempbool2
;
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) return NULL
;
2296 } Py_INCREF(Py_None
);
2297 _resultobj
= Py_None
;
2301 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2302 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2304 wxPyShapeEvtHandler
* _arg0
;
2305 wxPyControlPoint
* _arg1
;
2309 int _arg5
= (int ) 0;
2310 int _arg6
= (int ) 0;
2311 PyObject
* _argo0
= 0;
2312 PyObject
* _argo1
= 0;
2314 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2327 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2333 _arg2
= (bool ) tempbool2
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) return NULL
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2345 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2346 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2348 wxPyShapeEvtHandler
* _arg0
;
2349 wxPyControlPoint
* _arg1
;
2352 int _arg4
= (int ) 0;
2353 int _arg5
= (int ) 0;
2354 PyObject
* _argo0
= 0;
2355 PyObject
* _argo1
= 0;
2356 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
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_OnSizingBeginDragLeft. 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_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) return NULL
;
2381 } Py_INCREF(Py_None
);
2382 _resultobj
= Py_None
;
2386 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2387 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2389 wxPyShapeEvtHandler
* _arg0
;
2390 wxPyControlPoint
* _arg1
;
2393 int _arg4
= (int ) 0;
2394 int _arg5
= (int ) 0;
2395 PyObject
* _argo0
= 0;
2396 PyObject
* _argo1
= 0;
2397 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) return NULL
;
2422 } Py_INCREF(Py_None
);
2423 _resultobj
= Py_None
;
2427 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2428 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2430 wxPyShapeEvtHandler
* _arg0
;
2433 PyObject
* _argo0
= 0;
2434 char *_kwnames
[] = { "self","w","h", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) return NULL
;
2452 } Py_INCREF(Py_None
);
2453 _resultobj
= Py_None
;
2457 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2458 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2460 wxPyShapeEvtHandler
* _arg0
;
2463 PyObject
* _argo0
= 0;
2464 char *_kwnames
[] = { "self","w","h", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) return NULL
;
2482 } Py_INCREF(Py_None
);
2483 _resultobj
= Py_None
;
2487 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2489 wxPyShapeEvtHandler
*dest
;
2490 src
= (wxPyShape
*) ptr
;
2491 dest
= (wxPyShapeEvtHandler
*) src
;
2492 return (void *) dest
;
2495 static void *SwigwxPyShapeTowxObject(void *ptr
) {
2498 src
= (wxPyShape
*) ptr
;
2499 dest
= (wxObject
*) src
;
2500 return (void *) dest
;
2503 #define wxPyShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2504 static PyObject
*_wrap_wxPyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
* _resultobj
;
2509 PyObject
* _argo0
= 0;
2510 PyObject
* _obj1
= 0;
2511 PyObject
* _obj2
= 0;
2512 char *_kwnames
[] = { "self","self","_class", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setCallbackInfo. Expected _wxPyShape_p.");
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 wxPyShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) return NULL
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2542 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) return NULL
;
2574 } Py_INCREF(Py_None
);
2575 _resultobj
= Py_None
;
2578 o
= PyFloat_FromDouble((double) (*_arg1
));
2579 _resultobj
= t_output_helper(_resultobj
, o
);
2583 o
= PyFloat_FromDouble((double) (*_arg2
));
2584 _resultobj
= t_output_helper(_resultobj
, o
);
2589 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2590 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2597 PyObject
* _argo0
= 0;
2598 char *_kwnames
[] = { "self", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) return NULL
;
2622 } Py_INCREF(Py_None
);
2623 _resultobj
= Py_None
;
2626 o
= PyFloat_FromDouble((double) (*_arg1
));
2627 _resultobj
= t_output_helper(_resultobj
, o
);
2631 o
= PyFloat_FromDouble((double) (*_arg2
));
2632 _resultobj
= t_output_helper(_resultobj
, o
);
2637 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2638 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) return NULL
;
2675 } _resultobj
= Py_BuildValue("i",_result
);
2678 o
= PyFloat_FromDouble((double) (*_arg5
));
2679 _resultobj
= t_output_helper(_resultobj
, o
);
2683 o
= PyFloat_FromDouble((double) (*_arg6
));
2684 _resultobj
= t_output_helper(_resultobj
, o
);
2689 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2690 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2692 wxPyShapeCanvas
* _result
;
2694 PyObject
* _argo0
= 0;
2695 char *_kwnames
[] = { "self", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) return NULL
;
2713 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2717 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2718 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2721 wxPyShapeCanvas
* _arg1
;
2722 PyObject
* _argo0
= 0;
2723 PyObject
* _argo1
= 0;
2724 char *_kwnames
[] = { "self","the_canvas", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 wxPyShape_SetCanvas(_arg0
,_arg1
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) return NULL
;
2749 } Py_INCREF(Py_None
);
2750 _resultobj
= Py_None
;
2754 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2755 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
* _resultobj
;
2758 wxPyShapeCanvas
* _arg1
;
2759 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2760 PyObject
* _argo0
= 0;
2761 PyObject
* _argo1
= 0;
2762 PyObject
* _argo2
= 0;
2763 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2783 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) return NULL
;
2795 } Py_INCREF(Py_None
);
2796 _resultobj
= Py_None
;
2800 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2801 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2804 wxPyShapeCanvas
* _arg1
;
2805 PyObject
* _argo0
= 0;
2806 PyObject
* _argo1
= 0;
2807 char *_kwnames
[] = { "self","the_canvas", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) return NULL
;
2832 } Py_INCREF(Py_None
);
2833 _resultobj
= Py_None
;
2837 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2838 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2841 wxPyShapeCanvas
* _arg1
;
2842 PyObject
* _argo0
= 0;
2843 PyObject
* _argo1
= 0;
2844 char *_kwnames
[] = { "self","the_canvas", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) return NULL
;
2869 } Py_INCREF(Py_None
);
2870 _resultobj
= Py_None
;
2874 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2875 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2879 PyObject
* _argo0
= 0;
2880 char *_kwnames
[] = { "self", NULL
};
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 _result
= (double )wxPyShape_GetX(_arg0
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) return NULL
;
2898 } _resultobj
= Py_BuildValue("d",_result
);
2902 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2903 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2907 PyObject
* _argo0
= 0;
2908 char *_kwnames
[] = { "self", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 _result
= (double )wxPyShape_GetY(_arg0
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) return NULL
;
2926 } _resultobj
= Py_BuildValue("d",_result
);
2930 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2931 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self","x", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 wxPyShape_SetX(_arg0
,_arg1
);
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) return NULL
;
2954 } Py_INCREF(Py_None
);
2955 _resultobj
= Py_None
;
2959 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2960 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
* _resultobj
;
2964 PyObject
* _argo0
= 0;
2965 char *_kwnames
[] = { "self","y", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 wxPyShape_SetY(_arg0
,_arg1
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) return NULL
;
2983 } Py_INCREF(Py_None
);
2984 _resultobj
= Py_None
;
2988 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2989 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2991 wxPyShape
* _result
;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "self", NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
3000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) return NULL
;
3012 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3016 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
3017 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3021 PyObject
* _argo0
= 0;
3022 PyObject
* _argo1
= 0;
3023 char *_kwnames
[] = { "self","p", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 wxPyShape_SetParent(_arg0
,_arg1
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) return NULL
;
3048 } Py_INCREF(Py_None
);
3049 _resultobj
= Py_None
;
3053 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
3054 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3056 wxPyShape
* _result
;
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) return NULL
;
3077 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3081 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3082 wxList
& list
= self
->GetChildren();
3083 return wxPy_ConvertList(&list
, "wxPyShape");
3085 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3109 _resultobj
= _result
;
3114 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3115 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 wxPyShape_Unlink(_arg0
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) return NULL
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3143 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3147 PyObject
* _argo0
= 0;
3149 char *_kwnames
[] = { "self","drawH", NULL
};
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3161 _arg1
= (bool ) tempbool1
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) return NULL
;
3168 } Py_INCREF(Py_None
);
3169 _resultobj
= Py_None
;
3173 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3174 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
* _resultobj
;
3178 PyObject
* _argo0
= 0;
3179 char *_kwnames
[] = { "self", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) return NULL
;
3197 } _resultobj
= Py_BuildValue("i",_result
);
3201 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3202 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 wxPyShape_MakeControlPoints(_arg0
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3224 } Py_INCREF(Py_None
);
3225 _resultobj
= Py_None
;
3229 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3230 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3233 wxDC
* _arg1
= (wxDC
*) NULL
;
3234 PyObject
* _argo0
= 0;
3235 PyObject
* _argo1
= 0;
3236 char *_kwnames
[] = { "self","dc", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) return NULL
;
3261 } Py_INCREF(Py_None
);
3262 _resultobj
= Py_None
;
3266 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3267 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 wxPyShape_ResetControlPoints(_arg0
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) return NULL
;
3289 } Py_INCREF(Py_None
);
3290 _resultobj
= Py_None
;
3294 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3295 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3297 wxPyShapeEvtHandler
* _result
;
3299 PyObject
* _argo0
= 0;
3300 char *_kwnames
[] = { "self", NULL
};
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) return NULL
;
3318 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3322 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3323 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3326 wxPyShapeEvtHandler
* _arg1
;
3327 PyObject
* _argo0
= 0;
3328 PyObject
* _argo1
= 0;
3329 char *_kwnames
[] = { "self","handler", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3342 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3360 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3363 PyObject
* _argo0
= 0;
3364 char *_kwnames
[] = { "self", NULL
};
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) return NULL
;
3382 } Py_INCREF(Py_None
);
3383 _resultobj
= Py_None
;
3387 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3388 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3391 PyObject
* _argo0
= 0;
3392 char *_kwnames
[] = { "self", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) return NULL
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3416 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 _result
= (bool )wxPyShape_Recompute(_arg0
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3439 } _resultobj
= Py_BuildValue("i",_result
);
3443 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3444 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 wxPyShape_CalculateSize(_arg0
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3466 } Py_INCREF(Py_None
);
3467 _resultobj
= Py_None
;
3471 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3472 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3475 bool _arg1
= (bool ) TRUE
;
3476 wxDC
* _arg2
= (wxDC
*) NULL
;
3477 PyObject
* _argo0
= 0;
3478 int tempbool1
= (int) TRUE
;
3479 PyObject
* _argo2
= 0;
3480 char *_kwnames
[] = { "self","select","dc", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3492 _arg1
= (bool ) tempbool1
;
3494 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) return NULL
;
3506 } Py_INCREF(Py_None
);
3507 _resultobj
= Py_None
;
3511 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3512 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3515 bool _arg1
= (bool ) TRUE
;
3516 bool _arg2
= (bool ) FALSE
;
3517 PyObject
* _argo0
= 0;
3518 int tempbool1
= (int) TRUE
;
3519 int tempbool2
= (int) FALSE
;
3520 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3532 _arg1
= (bool ) tempbool1
;
3533 _arg2
= (bool ) tempbool2
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) return NULL
;
3540 } Py_INCREF(Py_None
);
3541 _resultobj
= Py_None
;
3545 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3546 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) return NULL
;
3569 } _resultobj
= Py_BuildValue("i",_result
);
3573 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3574 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 _result
= (bool )wxPyShape_Selected(_arg0
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) return NULL
;
3597 } _resultobj
= Py_BuildValue("i",_result
);
3601 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3602 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3606 PyObject
* _argo0
= 0;
3607 char *_kwnames
[] = { "self", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3625 } _resultobj
= Py_BuildValue("i",_result
);
3629 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3630 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3633 int _arg1
= (int ) OP_ALL
;
3634 bool _arg2
= (bool ) FALSE
;
3635 PyObject
* _argo0
= 0;
3636 int tempbool2
= (int) FALSE
;
3637 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3649 _arg2
= (bool ) tempbool2
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) return NULL
;
3656 } Py_INCREF(Py_None
);
3657 _resultobj
= Py_None
;
3661 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3662 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3666 PyObject
* _argo0
= 0;
3667 char *_kwnames
[] = { "self", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) return NULL
;
3685 } _resultobj
= Py_BuildValue("i",_result
);
3689 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3690 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3694 bool _arg2
= (bool ) FALSE
;
3695 PyObject
* _argo0
= 0;
3697 int tempbool2
= (int) FALSE
;
3698 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3710 _arg1
= (bool ) tempbool1
;
3711 _arg2
= (bool ) tempbool2
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) return NULL
;
3718 } Py_INCREF(Py_None
);
3719 _resultobj
= Py_None
;
3723 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3724 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3729 PyObject
* _argo0
= 0;
3732 char *_kwnames
[] = { "self","x","y", NULL
};
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3744 _arg1
= (bool ) tempbool1
;
3745 _arg2
= (bool ) tempbool2
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) return NULL
;
3752 } Py_INCREF(Py_None
);
3753 _resultobj
= Py_None
;
3757 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3758 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3765 PyObject
* _argo0
= 0;
3766 char *_kwnames
[] = { "self", NULL
};
3770 _arg1
= (bool*)&temp
;
3773 _arg2
= (bool*)&temp0
;
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedSize",_kwnames
,&_argo0
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) return NULL
;
3790 } Py_INCREF(Py_None
);
3791 _resultobj
= Py_None
;
3794 o
= PyInt_FromLong((long) (*_arg1
));
3795 _resultobj
= t_output_helper(_resultobj
, o
);
3799 o
= PyInt_FromLong((long) (*_arg2
));
3800 _resultobj
= t_output_helper(_resultobj
, o
);
3805 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3806 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3810 PyObject
* _argo0
= 0;
3811 char *_kwnames
[] = { "self", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) return NULL
;
3829 } _resultobj
= Py_BuildValue("i",_result
);
3833 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3834 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3838 PyObject
* _argo0
= 0;
3839 char *_kwnames
[] = { "self", NULL
};
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) return NULL
;
3857 } _resultobj
= Py_BuildValue("i",_result
);
3861 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3862 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3866 PyObject
* _argo0
= 0;
3868 char *_kwnames
[] = { "self","sp", NULL
};
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3880 _arg1
= (bool ) tempbool1
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) return NULL
;
3887 } Py_INCREF(Py_None
);
3888 _resultobj
= Py_None
;
3892 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3893 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
* _resultobj
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) return NULL
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3921 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3925 bool _arg2
= (bool ) FALSE
;
3926 PyObject
* _argo0
= 0;
3927 int tempbool2
= (int) FALSE
;
3928 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3940 _arg2
= (bool ) tempbool2
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) return NULL
;
3947 } Py_INCREF(Py_None
);
3948 _resultobj
= Py_None
;
3952 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3953 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3957 PyObject
* _argo0
= 0;
3958 char *_kwnames
[] = { "self", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) return NULL
;
3976 } _resultobj
= Py_BuildValue("i",_result
);
3980 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3981 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3991 PyObject
* _argo0
= 0;
3992 char *_kwnames
[] = { "self","x","y", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) return NULL
;
4016 } _resultobj
= Py_BuildValue("i",_result
);
4019 o
= PyInt_FromLong((long) (*_arg3
));
4020 _resultobj
= t_output_helper(_resultobj
, o
);
4024 o
= PyFloat_FromDouble((double) (*_arg4
));
4025 _resultobj
= t_output_helper(_resultobj
, o
);
4030 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
4031 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
* _resultobj
;
4035 PyObject
* _argo0
= 0;
4037 char *_kwnames
[] = { "self","cr", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
4049 _arg1
= (bool ) tempbool1
;
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 wxPyShape_SetCentreResize(_arg0
,_arg1
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) return NULL
;
4056 } Py_INCREF(Py_None
);
4057 _resultobj
= Py_None
;
4061 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
4062 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } _resultobj
= Py_BuildValue("i",_result
);
4089 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4090 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4094 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "self","ar", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4108 _arg1
= (bool ) tempbool1
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4120 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4121 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4125 PyObject
* _argo0
= 0;
4126 char *_kwnames
[] = { "self", NULL
};
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) return NULL
;
4144 } _resultobj
= Py_BuildValue("i",_result
);
4148 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4149 wxList
& list
= self
->GetLines();
4150 return wxPy_ConvertList(&list
, "wxPyLineShape");
4152 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4157 char *_kwnames
[] = { "self", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) return NULL
;
4176 _resultobj
= _result
;
4181 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4182 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4186 PyObject
* _argo0
= 0;
4188 char *_kwnames
[] = { "self","flag", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4200 _arg1
= (bool ) tempbool1
;
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) return NULL
;
4207 } Py_INCREF(Py_None
);
4208 _resultobj
= Py_None
;
4212 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4213 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4217 PyObject
* _argo0
= 0;
4218 char *_kwnames
[] = { "self", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) return NULL
;
4236 } _resultobj
= Py_BuildValue("i",_result
);
4240 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4241 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
* _resultobj
;
4245 PyObject
* _argo0
= 0;
4246 char *_kwnames
[] = { "self","mode", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) return NULL
;
4264 } Py_INCREF(Py_None
);
4265 _resultobj
= Py_None
;
4269 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4270 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4274 PyObject
* _argo0
= 0;
4275 char *_kwnames
[] = { "self", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) return NULL
;
4293 } _resultobj
= Py_BuildValue("i",_result
);
4297 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4298 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self","i", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 wxPyShape_SetId(_arg0
,_arg1
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) return NULL
;
4321 } Py_INCREF(Py_None
);
4322 _resultobj
= Py_None
;
4326 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4327 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4331 PyObject
* _argo0
= 0;
4332 char *_kwnames
[] = { "self", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 _result
= (long )wxPyShape_GetId(_arg0
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) return NULL
;
4350 } _resultobj
= Py_BuildValue("l",_result
);
4354 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4355 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4359 PyObject
* _argo0
= 0;
4360 PyObject
* _obj1
= 0;
4361 char *_kwnames
[] = { "self","pen", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_obj1
))
4367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4376 if (_obj1
== Py_None
) { temp
= NULL
; }
4377 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxPen_p")) {
4378 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxPen_p.");
4383 _arg1
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxPyShape_SetPen(_arg0
,_arg1
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) return NULL
;
4395 } Py_INCREF(Py_None
);
4396 _resultobj
= Py_None
;
4400 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4401 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4405 PyObject
* _argo0
= 0;
4406 PyObject
* _obj1
= 0;
4407 char *_kwnames
[] = { "self","brush", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_obj1
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4422 if (_obj1
== Py_None
) { temp
= NULL
; }
4423 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxBrush_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxBrush_p.");
4429 _arg1
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxPyShape_SetBrush(_arg0
,_arg1
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) return NULL
;
4439 } Py_INCREF(Py_None
);
4440 _resultobj
= Py_None
;
4444 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4445 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4449 PyObject
* _argo0
= 0;
4451 char *_kwnames
[] = { "self","show", NULL
};
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4463 _arg1
= (bool ) tempbool1
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxPyShape_Show(_arg0
,_arg1
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) return NULL
;
4470 } Py_INCREF(Py_None
);
4471 _resultobj
= Py_None
;
4475 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4476 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4480 PyObject
* _argo0
= 0;
4481 char *_kwnames
[] = { "self", NULL
};
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 _result
= (bool )wxPyShape_IsShown(_arg0
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) return NULL
;
4499 } _resultobj
= Py_BuildValue("i",_result
);
4503 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4504 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4510 bool _arg4
= (bool ) TRUE
;
4511 PyObject
* _argo0
= 0;
4512 PyObject
* _argo1
= 0;
4513 int tempbool4
= (int) TRUE
;
4514 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4533 _arg4
= (bool ) tempbool4
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) return NULL
;
4540 } Py_INCREF(Py_None
);
4541 _resultobj
= Py_None
;
4545 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4546 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
* _resultobj
;
4550 PyObject
* _argo0
= 0;
4551 PyObject
* _argo1
= 0;
4552 char *_kwnames
[] = { "self","dc", NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 wxPyShape_Erase(_arg0
,*_arg1
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) return NULL
;
4577 } Py_INCREF(Py_None
);
4578 _resultobj
= Py_None
;
4582 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4583 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4587 PyObject
* _argo0
= 0;
4588 PyObject
* _argo1
= 0;
4589 char *_kwnames
[] = { "self","dc", NULL
};
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 wxPyShape_EraseContents(_arg0
,*_arg1
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) return NULL
;
4614 } Py_INCREF(Py_None
);
4615 _resultobj
= Py_None
;
4619 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4620 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4624 PyObject
* _argo0
= 0;
4625 PyObject
* _argo1
= 0;
4626 char *_kwnames
[] = { "self","dc", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 wxPyShape_Draw(_arg0
,*_arg1
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) return NULL
;
4651 } Py_INCREF(Py_None
);
4652 _resultobj
= Py_None
;
4656 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4657 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4660 PyObject
* _argo0
= 0;
4661 char *_kwnames
[] = { "self", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 wxPyShape_Flash(_arg0
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) return NULL
;
4679 } Py_INCREF(Py_None
);
4680 _resultobj
= Py_None
;
4684 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4685 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
* _resultobj
;
4689 PyObject
* _argo0
= 0;
4690 PyObject
* _argo1
= 0;
4691 char *_kwnames
[] = { "self","dc", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) return NULL
;
4716 } Py_INCREF(Py_None
);
4717 _resultobj
= Py_None
;
4721 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4722 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4726 PyObject
* _argo0
= 0;
4727 PyObject
* _argo1
= 0;
4728 char *_kwnames
[] = { "self","dc", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4741 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4742 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxPyShape_DrawContents(_arg0
,*_arg1
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) return NULL
;
4753 } Py_INCREF(Py_None
);
4754 _resultobj
= Py_None
;
4758 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4759 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
* _resultobj
;
4764 bool _arg3
= (bool ) TRUE
;
4765 PyObject
* _argo0
= 0;
4766 int tempbool3
= (int) TRUE
;
4767 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4779 _arg3
= (bool ) tempbool3
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) return NULL
;
4786 } Py_INCREF(Py_None
);
4787 _resultobj
= Py_None
;
4791 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4792 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4797 PyObject
* _argo0
= 0;
4798 char *_kwnames
[] = { "self","x","y", NULL
};
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) return NULL
;
4816 } Py_INCREF(Py_None
);
4817 _resultobj
= Py_None
;
4821 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4822 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4825 wxPyShapeCanvas
* _arg1
;
4826 PyObject
* _argo0
= 0;
4827 PyObject
* _argo1
= 0;
4828 char *_kwnames
[] = { "self","can", NULL
};
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4841 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 wxPyShape_Attach(_arg0
,_arg1
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) return NULL
;
4853 } Py_INCREF(Py_None
);
4854 _resultobj
= Py_None
;
4858 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4859 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4862 PyObject
* _argo0
= 0;
4863 char *_kwnames
[] = { "self", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 wxPyShape_Detach(_arg0
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) return NULL
;
4881 } Py_INCREF(Py_None
);
4882 _resultobj
= Py_None
;
4886 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4887 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
* _resultobj
;
4891 PyObject
* _argo0
= 0;
4892 char *_kwnames
[] = { "self", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 _result
= (bool )wxPyShape_Constrain(_arg0
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) return NULL
;
4910 } _resultobj
= Py_BuildValue("i",_result
);
4914 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4915 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4918 wxPyLineShape
* _arg1
;
4920 int _arg3
= (int ) 0;
4921 int _arg4
= (int ) 0;
4922 int _arg5
= (int ) -1;
4923 int _arg6
= (int ) -1;
4924 PyObject
* _argo0
= 0;
4925 PyObject
* _argo1
= 0;
4926 PyObject
* _argo2
= 0;
4927 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4947 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4948 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) return NULL
;
4959 } Py_INCREF(Py_None
);
4960 _resultobj
= Py_None
;
4964 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4965 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4969 wxPyLineShape
* _arg1
;
4970 PyObject
* _argo0
= 0;
4971 PyObject
* _argo1
= 0;
4972 char *_kwnames
[] = { "self","line", NULL
};
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) return NULL
;
4997 } _resultobj
= Py_BuildValue("i",_result
);
5001 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
5002 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
* _resultobj
;
5006 PyObject
* _argo0
= 0;
5007 PyObject
* _obj1
= 0;
5008 char *_kwnames
[] = { "self","string", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
5021 _arg1
= wxString_in_helper(_obj1
);
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 wxPyShape_AddText(_arg0
,*_arg1
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) return NULL
;
5031 } Py_INCREF(Py_None
);
5032 _resultobj
= Py_None
;
5040 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5041 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
* _resultobj
;
5045 PyObject
* _argo0
= 0;
5046 char *_kwnames
[] = { "self", NULL
};
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
5053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) return NULL
;
5066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5067 _resultobj
= Py_BuildValue("s",_ptemp
);
5070 _resultobj
= Py_None
;
5075 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5076 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5080 PyObject
* _argo0
= 0;
5081 char *_kwnames
[] = { "self", NULL
};
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) return NULL
;
5101 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5102 _resultobj
= Py_BuildValue("s",_ptemp
);
5105 _resultobj
= Py_None
;
5110 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5111 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5114 PyObject
* _argo0
= 0;
5115 char *_kwnames
[] = { "self", NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 wxPyShape_SetDefaultRegionSize(_arg0
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5133 } Py_INCREF(Py_None
);
5134 _resultobj
= Py_None
;
5138 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5139 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5144 int _arg3
= (int ) 0;
5145 PyObject
* _argo0
= 0;
5146 PyObject
* _argo1
= 0;
5147 PyObject
* _obj2
= 0;
5148 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5161 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5162 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5168 _arg2
= wxString_in_helper(_obj2
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) return NULL
;
5178 } Py_INCREF(Py_None
);
5179 _resultobj
= Py_None
;
5187 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5188 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5192 int _arg2
= (int ) 0;
5193 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) return NULL
;
5212 } Py_INCREF(Py_None
);
5213 _resultobj
= Py_None
;
5217 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5218 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
* _resultobj
;
5222 int _arg1
= (int ) 0;
5223 PyObject
* _argo0
= 0;
5224 char *_kwnames
[] = { "self","regionId", NULL
};
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) return NULL
;
5242 } _resultobj
= Py_BuildValue("i",_result
);
5246 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5247 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
* _resultobj
;
5251 int _arg2
= (int ) 0;
5252 PyObject
* _argo0
= 0;
5253 PyObject
* _obj1
= 0;
5254 char *_kwnames
[] = { "self","font","regionId", NULL
};
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5269 if (_obj1
== Py_None
) { temp
= NULL
; }
5270 else if (SWIG_GetPtrObj(_obj1
, (void **) &temp
,"_wxFont_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error, expected _wxFont_p.");
5276 _arg1
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5280 temp
->GetUnderlined(),
5281 temp
->GetFaceName(),
5282 temp
->GetEncoding());
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) return NULL
;
5292 } Py_INCREF(Py_None
);
5293 _resultobj
= Py_None
;
5297 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5298 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
* _resultobj
;
5302 int _arg1
= (int ) 0;
5303 PyObject
* _argo0
= 0;
5304 char *_kwnames
[] = { "self","regionId", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) return NULL
;
5324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5325 _resultobj
= Py_BuildValue("s",_ptemp
);
5328 _resultobj
= Py_None
;
5333 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5334 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
* _resultobj
;
5338 int _arg2
= (int ) 0;
5339 PyObject
* _argo0
= 0;
5340 PyObject
* _obj1
= 0;
5341 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5354 _arg1
= wxString_in_helper(_obj1
);
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) return NULL
;
5364 } Py_INCREF(Py_None
);
5365 _resultobj
= Py_None
;
5373 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5374 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5378 int _arg1
= (int ) 0;
5379 PyObject
* _argo0
= 0;
5380 char *_kwnames
[] = { "self","regionId", NULL
};
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) return NULL
;
5400 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5402 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5411 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5412 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5416 PyObject
* _argo0
= 0;
5417 char *_kwnames
[] = { "self", NULL
};
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) return NULL
;
5435 } _resultobj
= Py_BuildValue("i",_result
);
5439 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5440 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
* _resultobj
;
5444 int _arg2
= (int ) 0;
5445 PyObject
* _argo0
= 0;
5446 PyObject
* _obj1
= 0;
5447 char *_kwnames
[] = { "self","name","regionId", NULL
};
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5460 _arg1
= wxString_in_helper(_obj1
);
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) return NULL
;
5470 } Py_INCREF(Py_None
);
5471 _resultobj
= Py_None
;
5479 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5480 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
* _resultobj
;
5485 PyObject
* _argo0
= 0;
5486 char *_kwnames
[] = { "self","regionId", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) return NULL
;
5506 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5508 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5517 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5518 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5523 PyObject
* _argo0
= 0;
5524 PyObject
* _obj1
= 0;
5525 char *_kwnames
[] = { "self","name", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5538 _arg1
= wxString_in_helper(_obj1
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) return NULL
;
5548 } _resultobj
= Py_BuildValue("i",_result
);
5556 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5557 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
* _resultobj
;
5560 wxString
* _arg1
= (wxString
*) &"";
5561 PyObject
* _argo0
= 0;
5562 PyObject
* _obj1
= 0;
5563 char *_kwnames
[] = { "self","parentName", NULL
};
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5577 _arg1
= wxString_in_helper(_obj1
);
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 wxPyShape_NameRegions(_arg0
,*_arg1
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) return NULL
;
5587 } Py_INCREF(Py_None
);
5588 _resultobj
= Py_None
;
5596 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5597 wxList
& list
= self
->GetRegions();
5598 return wxPy_ConvertList(&list
, "wxShapeRegion");
5600 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5604 PyObject
* _argo0
= 0;
5605 char *_kwnames
[] = { "self", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) return NULL
;
5624 _resultobj
= _result
;
5629 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5630 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
* _resultobj
;
5633 wxShapeRegion
* _arg1
;
5634 PyObject
* _argo0
= 0;
5635 PyObject
* _argo1
= 0;
5636 char *_kwnames
[] = { "self","region", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxPyShape_AddRegion(_arg0
,_arg1
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) return NULL
;
5661 } Py_INCREF(Py_None
);
5662 _resultobj
= Py_None
;
5666 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5667 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5670 PyObject
* _argo0
= 0;
5671 char *_kwnames
[] = { "self", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 wxPyShape_ClearRegions(_arg0
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) return NULL
;
5689 } Py_INCREF(Py_None
);
5690 _resultobj
= Py_None
;
5694 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5695 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 wxPyShape_AssignNewIds(_arg0
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) return NULL
;
5717 } Py_INCREF(Py_None
);
5718 _resultobj
= Py_None
;
5722 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5723 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5725 wxPyShape
* _result
;
5730 PyObject
* _argo0
= 0;
5731 PyObject
* _obj1
= 0;
5732 char *_kwnames
[] = { "self","regionName", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
))
5741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5748 _arg1
= wxString_in_helper(_obj1
);
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) return NULL
;
5758 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
5761 o
= PyInt_FromLong((long) (*_arg2
));
5762 _resultobj
= t_output_helper(_resultobj
, o
);
5771 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5772 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5775 wxStringList
* _arg1
;
5776 PyObject
* _argo0
= 0;
5777 PyObject
* _argo1
= 0;
5778 char *_kwnames
[] = { "self","list", NULL
};
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5791 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5792 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) return NULL
;
5803 } Py_INCREF(Py_None
);
5804 _resultobj
= Py_None
;
5808 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5809 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5812 int _arg1
= (int ) 0;
5813 PyObject
* _argo0
= 0;
5814 char *_kwnames
[] = { "self","regionId", NULL
};
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 wxPyShape_ClearText(_arg0
,_arg1
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) return NULL
;
5832 } Py_INCREF(Py_None
);
5833 _resultobj
= Py_None
;
5837 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5838 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
* _resultobj
;
5841 wxPyLineShape
* _arg1
;
5842 PyObject
* _argo0
= 0;
5843 PyObject
* _argo1
= 0;
5844 char *_kwnames
[] = { "self","line", NULL
};
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 wxPyShape_RemoveLine(_arg0
,_arg1
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) return NULL
;
5869 } Py_INCREF(Py_None
);
5870 _resultobj
= Py_None
;
5874 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5875 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5884 int _arg4
= (int ) 0;
5885 int _arg5
= (int ) 1;
5886 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5887 PyObject
* _argo0
= 0;
5888 PyObject
* _argo6
= 0;
5889 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
5901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5908 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5920 } _resultobj
= Py_BuildValue("i",_result
);
5923 o
= PyFloat_FromDouble((double) (*_arg2
));
5924 _resultobj
= t_output_helper(_resultobj
, o
);
5928 o
= PyFloat_FromDouble((double) (*_arg3
));
5929 _resultobj
= t_output_helper(_resultobj
, o
);
5934 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5935 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5939 PyObject
* _argo0
= 0;
5940 char *_kwnames
[] = { "self", NULL
};
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) return NULL
;
5958 } _resultobj
= Py_BuildValue("i",_result
);
5962 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5963 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
* _resultobj
;
5968 PyObject
* _argo0
= 0;
5969 char *_kwnames
[] = { "self","attachment", NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
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_AttachmentIsValid. Expected _wxPyShape_p.");
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) return NULL
;
5987 } _resultobj
= Py_BuildValue("i",_result
);
5991 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5992 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
* _resultobj
;
6001 int _arg4
= (int ) 0;
6002 int _arg5
= (int ) 1;
6003 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
6004 PyObject
* _argo0
= 0;
6005 PyObject
* _argo6
= 0;
6006 char *_kwnames
[] = { "self","attachment","nth","no_arcs","line", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_arg4
,&_arg5
,&_argo6
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6025 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) return NULL
;
6037 } _resultobj
= Py_BuildValue("i",_result
);
6040 o
= PyFloat_FromDouble((double) (*_arg2
));
6041 _resultobj
= t_output_helper(_resultobj
, o
);
6045 o
= PyFloat_FromDouble((double) (*_arg3
));
6046 _resultobj
= t_output_helper(_resultobj
, o
);
6051 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6052 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6054 wxRealPoint
* _result
;
6056 wxRealPoint
* _arg1
;
6057 wxRealPoint
* _arg2
;
6060 wxPyLineShape
* _arg5
;
6061 PyObject
* _argo0
= 0;
6063 PyObject
* _obj1
= 0;
6065 PyObject
* _obj2
= 0;
6066 PyObject
* _argo5
= 0;
6067 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6082 if (! wxRealPoint_helper(_obj1
, &_arg1
))
6087 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6091 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6092 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
6093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) return NULL
;
6103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6104 _resultobj
= Py_BuildValue("s",_ptemp
);
6108 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6109 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
* _resultobj
;
6114 wxRealPoint
* _arg2
;
6115 wxRealPoint
* _arg3
;
6116 PyObject
* _argo0
= 0;
6118 PyObject
* _obj2
= 0;
6120 PyObject
* _obj3
= 0;
6121 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6135 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6140 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6149 } _resultobj
= Py_BuildValue("i",_result
);
6153 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6154 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6158 int _arg2
= (int ) -1;
6159 bool _arg3
= (bool ) FALSE
;
6160 PyObject
* _argo0
= 0;
6161 PyObject
* _argo1
= 0;
6162 int tempbool3
= (int) FALSE
;
6163 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6182 _arg3
= (bool ) tempbool3
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) return NULL
;
6189 } Py_INCREF(Py_None
);
6190 _resultobj
= Py_None
;
6194 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6195 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6199 int _arg2
= (int ) -1;
6200 bool _arg3
= (bool ) FALSE
;
6201 PyObject
* _argo0
= 0;
6202 PyObject
* _argo1
= 0;
6203 int tempbool3
= (int) FALSE
;
6204 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6223 _arg3
= (bool ) tempbool3
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) return NULL
;
6230 } Py_INCREF(Py_None
);
6231 _resultobj
= Py_None
;
6235 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6236 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6241 wxPyLineShape
* _arg2
;
6244 PyObject
* _argo0
= 0;
6245 PyObject
* _argo1
= 0;
6246 PyObject
* _argo2
= 0;
6247 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6267 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) return NULL
;
6279 } _resultobj
= Py_BuildValue("i",_result
);
6283 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6284 wxList
* list
= wxPy_wxListHelper(linesToSort
, "_wxPyLineShape_p");
6285 self
->ApplyAttachmentOrdering(*list
);
6288 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
* _resultobj
;
6292 PyObject
* _argo0
= 0;
6293 PyObject
* _obj1
= 0;
6294 char *_kwnames
[] = { "self","linesToSort", NULL
};
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) return NULL
;
6315 } Py_INCREF(Py_None
);
6316 _resultobj
= Py_None
;
6320 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6321 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxRealPoint
* _result
;
6326 PyObject
* _argo0
= 0;
6327 char *_kwnames
[] = { "self","attachment", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) return NULL
;
6346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6347 _resultobj
= Py_BuildValue("s",_ptemp
);
6351 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6352 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
* _resultobj
;
6357 wxRealPoint
* _arg2
;
6358 wxRealPoint
* _arg3
;
6359 wxRealPoint
* _arg4
;
6360 wxRealPoint
* _arg5
;
6361 PyObject
* _argo0
= 0;
6363 PyObject
* _obj2
= 0;
6365 PyObject
* _obj3
= 0;
6367 PyObject
* _obj4
= 0;
6369 PyObject
* _obj5
= 0;
6370 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6384 if (! wxRealPoint_helper(_obj2
, &_arg2
))
6389 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6394 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6399 if (! wxRealPoint_helper(_obj5
, &_arg5
))
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) return NULL
;
6408 } _resultobj
= Py_BuildValue("i",_result
);
6412 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6413 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6419 wxRealPoint
* _arg3
;
6420 wxRealPoint
* _arg4
;
6421 PyObject
* _argo0
= 0;
6423 PyObject
* _obj3
= 0;
6425 PyObject
* _obj4
= 0;
6426 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6440 if (! wxRealPoint_helper(_obj3
, &_arg3
))
6445 if (! wxRealPoint_helper(_obj4
, &_arg4
))
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) return NULL
;
6454 } _resultobj
= Py_BuildValue("i",_result
);
6458 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6459 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6464 PyObject
* _argo0
= 0;
6465 char *_kwnames
[] = { "self","attachment", NULL
};
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) return NULL
;
6483 } _resultobj
= Py_BuildValue("i",_result
);
6487 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6488 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6492 PyObject
* _argo0
= 0;
6493 char *_kwnames
[] = { "self","len", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) return NULL
;
6511 } Py_INCREF(Py_None
);
6512 _resultobj
= Py_None
;
6516 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6517 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6521 PyObject
* _argo0
= 0;
6522 char *_kwnames
[] = { "self", NULL
};
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) return NULL
;
6540 } _resultobj
= Py_BuildValue("i",_result
);
6544 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6545 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6549 PyObject
* _argo0
= 0;
6550 char *_kwnames
[] = { "self","len", NULL
};
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) return NULL
;
6568 } Py_INCREF(Py_None
);
6569 _resultobj
= Py_None
;
6573 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6574 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6578 PyObject
* _argo0
= 0;
6579 char *_kwnames
[] = { "self", NULL
};
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) return NULL
;
6597 } _resultobj
= Py_BuildValue("i",_result
);
6601 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6602 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6606 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self","len", NULL
};
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) return NULL
;
6625 } Py_INCREF(Py_None
);
6626 _resultobj
= Py_None
;
6630 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6631 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
* _resultobj
;
6635 PyObject
* _argo0
= 0;
6636 char *_kwnames
[] = { "self", NULL
};
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) return NULL
;
6654 } _resultobj
= Py_BuildValue("i",_result
);
6658 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6659 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
* _resultobj
;
6663 PyObject
* _argo0
= 0;
6664 char *_kwnames
[] = { "self","style", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) return NULL
;
6682 } Py_INCREF(Py_None
);
6683 _resultobj
= Py_None
;
6687 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6688 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
* _resultobj
;
6692 PyObject
* _argo0
= 0;
6693 char *_kwnames
[] = { "self", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) return NULL
;
6711 } _resultobj
= Py_BuildValue("l",_result
);
6715 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6716 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6721 PyObject
* _argo0
= 0;
6722 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) return NULL
;
6740 } _resultobj
= Py_BuildValue("i",_result
);
6744 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6745 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6750 PyObject
* _argo0
= 0;
6751 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) return NULL
;
6769 } _resultobj
= Py_BuildValue("i",_result
);
6773 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6774 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
* _resultobj
;
6778 PyObject
* _argo0
= 0;
6779 char *_kwnames
[] = { "self", NULL
};
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 _result
= (bool )wxPyShape_Draggable(_arg0
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) return NULL
;
6797 } _resultobj
= Py_BuildValue("i",_result
);
6801 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6802 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
* _resultobj
;
6807 PyObject
* _argo0
= 0;
6808 PyObject
* _argo1
= 0;
6809 char *_kwnames
[] = { "self","image", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) return NULL
;
6834 } _resultobj
= Py_BuildValue("i",_result
);
6838 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6839 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6841 wxPyShape
* _result
;
6843 bool _arg1
= (bool ) TRUE
;
6844 bool _arg2
= (bool ) TRUE
;
6845 PyObject
* _argo0
= 0;
6846 int tempbool1
= (int) TRUE
;
6847 int tempbool2
= (int) TRUE
;
6848 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6860 _arg1
= (bool ) tempbool1
;
6861 _arg2
= (bool ) tempbool2
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) return NULL
;
6868 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
6872 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6873 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
* _resultobj
;
6877 PyObject
* _argo0
= 0;
6878 PyObject
* _argo1
= 0;
6879 char *_kwnames
[] = { "self","copy", NULL
};
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 wxPyShape_Copy(_arg0
,*_arg1
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) return NULL
;
6904 } Py_INCREF(Py_None
);
6905 _resultobj
= Py_None
;
6909 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6910 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6914 PyObject
* _argo0
= 0;
6915 PyObject
* _argo1
= 0;
6916 char *_kwnames
[] = { "self","copy", NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) return NULL
;
6941 } Py_INCREF(Py_None
);
6942 _resultobj
= Py_None
;
6946 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6947 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
* _resultobj
;
6953 PyObject
* _argo0
= 0;
6954 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) return NULL
;
6972 } Py_INCREF(Py_None
);
6973 _resultobj
= Py_None
;
6977 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6978 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
* _resultobj
;
6982 PyObject
* _argo0
= 0;
6983 char *_kwnames
[] = { "self", NULL
};
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 _result
= (double )wxPyShape_GetRotation(_arg0
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) return NULL
;
7001 } _resultobj
= Py_BuildValue("d",_result
);
7005 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7006 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
* _resultobj
;
7009 PyObject
* _argo0
= 0;
7010 char *_kwnames
[] = { "self", NULL
};
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
7016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxPyShape_ClearAttachments(_arg0
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) return NULL
;
7028 } Py_INCREF(Py_None
);
7029 _resultobj
= Py_None
;
7033 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7034 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 PyObject
* _argo1
= 0;
7040 char *_kwnames
[] = { "self","dc", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_kwnames
,&_argo0
,&_argo1
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 wxPyShape_Recentre(_arg0
,*_arg1
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) return NULL
;
7065 } Py_INCREF(Py_None
);
7066 _resultobj
= Py_None
;
7070 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7071 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
* _resultobj
;
7075 PyObject
* _argo0
= 0;
7076 PyObject
* _argo1
= 0;
7077 char *_kwnames
[] = { "self","list", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
7092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 wxPyShape_ClearPointList(_arg0
,*_arg1
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) return NULL
;
7102 } Py_INCREF(Py_None
);
7103 _resultobj
= Py_None
;
7107 #define wxPyShape_GetBackgroundPen(_swigobj) (_swigobj->GetBackgroundPen())
7108 static PyObject
*_wrap_wxPyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self", NULL
};
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundPen",_kwnames
,&_argo0
))
7120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundPen. Expected _wxPyShape_p.");
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 _result
= new wxPen (wxPyShape_GetBackgroundPen(_arg0
));
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) return NULL
;
7132 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7133 _resultobj
= Py_BuildValue("s",_ptemp
);
7137 #define wxPyShape_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
7138 static PyObject
*_wrap_wxPyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
* _resultobj
;
7142 PyObject
* _argo0
= 0;
7143 char *_kwnames
[] = { "self", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBackgroundBrush",_kwnames
,&_argo0
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBackgroundBrush. Expected _wxPyShape_p.");
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 _result
= new wxBrush (wxPyShape_GetBackgroundBrush(_arg0
));
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) return NULL
;
7162 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7163 _resultobj
= Py_BuildValue("s",_ptemp
);
7167 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7168 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
* _resultobj
;
7171 PyObject
* _argo0
= 0;
7172 char *_kwnames
[] = { "self", NULL
};
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
7178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 wxPyShape_base_OnDelete(_arg0
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) return NULL
;
7190 } Py_INCREF(Py_None
);
7191 _resultobj
= Py_None
;
7195 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7196 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
* _resultobj
;
7200 PyObject
* _argo0
= 0;
7201 PyObject
* _argo1
= 0;
7202 char *_kwnames
[] = { "self","dc", NULL
};
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_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_base_OnDraw. Expected _wxPyShape_p.");
7215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) return NULL
;
7227 } Py_INCREF(Py_None
);
7228 _resultobj
= Py_None
;
7232 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7233 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7237 PyObject
* _argo0
= 0;
7238 PyObject
* _argo1
= 0;
7239 char *_kwnames
[] = { "self","dc", NULL
};
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
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_base_OnDrawContents. Expected _wxPyShape_p.");
7252 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7253 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) return NULL
;
7264 } Py_INCREF(Py_None
);
7265 _resultobj
= Py_None
;
7269 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7270 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7274 bool _arg2
= (bool ) FALSE
;
7275 PyObject
* _argo0
= 0;
7276 PyObject
* _argo1
= 0;
7277 int tempbool2
= (int) FALSE
;
7278 char *_kwnames
[] = { "self","dc","erase", NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7297 _arg2
= (bool ) tempbool2
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) return NULL
;
7304 } Py_INCREF(Py_None
);
7305 _resultobj
= Py_None
;
7309 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7310 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
* _resultobj
;
7314 PyObject
* _argo0
= 0;
7315 PyObject
* _argo1
= 0;
7316 char *_kwnames
[] = { "self","dc", NULL
};
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) return NULL
;
7341 } Py_INCREF(Py_None
);
7342 _resultobj
= Py_None
;
7346 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7347 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
* _resultobj
;
7351 PyObject
* _argo0
= 0;
7352 PyObject
* _argo1
= 0;
7353 char *_kwnames
[] = { "self","dc", NULL
};
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } Py_INCREF(Py_None
);
7379 _resultobj
= Py_None
;
7383 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7384 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7388 PyObject
* _argo0
= 0;
7389 PyObject
* _argo1
= 0;
7390 char *_kwnames
[] = { "self","dc", NULL
};
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) return NULL
;
7415 } Py_INCREF(Py_None
);
7416 _resultobj
= Py_None
;
7420 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7421 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
* _resultobj
;
7425 PyObject
* _argo0
= 0;
7426 PyObject
* _argo1
= 0;
7427 char *_kwnames
[] = { "self","dc", NULL
};
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) return NULL
;
7452 } Py_INCREF(Py_None
);
7453 _resultobj
= Py_None
;
7457 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7458 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
* _resultobj
;
7463 int _arg3
= (int ) 0;
7464 int _arg4
= (int ) 0;
7465 PyObject
* _argo0
= 0;
7466 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) return NULL
;
7484 } Py_INCREF(Py_None
);
7485 _resultobj
= Py_None
;
7489 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7490 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
* _resultobj
;
7495 int _arg3
= (int ) 0;
7496 int _arg4
= (int ) 0;
7497 PyObject
* _argo0
= 0;
7498 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) return NULL
;
7516 } Py_INCREF(Py_None
);
7517 _resultobj
= Py_None
;
7521 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7522 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
* _resultobj
;
7527 int _arg3
= (int ) 0;
7528 int _arg4
= (int ) 0;
7529 PyObject
* _argo0
= 0;
7530 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) return NULL
;
7548 } Py_INCREF(Py_None
);
7549 _resultobj
= Py_None
;
7553 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7554 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
* _resultobj
;
7559 PyObject
* _argo0
= 0;
7560 char *_kwnames
[] = { "self","x","y", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) return NULL
;
7578 } Py_INCREF(Py_None
);
7579 _resultobj
= Py_None
;
7583 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7584 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7593 bool _arg6
= (bool ) TRUE
;
7594 PyObject
* _argo0
= 0;
7595 PyObject
* _argo1
= 0;
7596 int tempbool6
= (int) TRUE
;
7597 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7616 _arg6
= (bool ) tempbool6
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) return NULL
;
7623 } _resultobj
= Py_BuildValue("i",_result
);
7627 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7628 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
* _resultobj
;
7636 bool _arg6
= (bool ) TRUE
;
7637 PyObject
* _argo0
= 0;
7638 PyObject
* _argo1
= 0;
7639 int tempbool6
= (int) TRUE
;
7640 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7659 _arg6
= (bool ) tempbool6
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } Py_INCREF(Py_None
);
7667 _resultobj
= Py_None
;
7671 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7672 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7678 int _arg4
= (int ) 0;
7679 int _arg5
= (int ) 0;
7680 PyObject
* _argo0
= 0;
7682 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7694 _arg1
= (bool ) tempbool1
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) return NULL
;
7701 } Py_INCREF(Py_None
);
7702 _resultobj
= Py_None
;
7706 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7707 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
* _resultobj
;
7712 int _arg3
= (int ) 0;
7713 int _arg4
= (int ) 0;
7714 PyObject
* _argo0
= 0;
7715 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) return NULL
;
7733 } Py_INCREF(Py_None
);
7734 _resultobj
= Py_None
;
7738 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7739 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
* _resultobj
;
7744 int _arg3
= (int ) 0;
7745 int _arg4
= (int ) 0;
7746 PyObject
* _argo0
= 0;
7747 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) return NULL
;
7765 } Py_INCREF(Py_None
);
7766 _resultobj
= Py_None
;
7770 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7771 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
* _resultobj
;
7777 int _arg4
= (int ) 0;
7778 int _arg5
= (int ) 0;
7779 PyObject
* _argo0
= 0;
7781 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7793 _arg1
= (bool ) tempbool1
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) return NULL
;
7800 } Py_INCREF(Py_None
);
7801 _resultobj
= Py_None
;
7805 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7806 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
* _resultobj
;
7811 int _arg3
= (int ) 0;
7812 int _arg4
= (int ) 0;
7813 PyObject
* _argo0
= 0;
7814 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) return NULL
;
7832 } Py_INCREF(Py_None
);
7833 _resultobj
= Py_None
;
7837 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7838 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
* _resultobj
;
7843 int _arg3
= (int ) 0;
7844 int _arg4
= (int ) 0;
7845 PyObject
* _argo0
= 0;
7846 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) return NULL
;
7864 } Py_INCREF(Py_None
);
7865 _resultobj
= Py_None
;
7869 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7870 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7878 PyObject
* _argo0
= 0;
7879 PyObject
* _argo1
= 0;
7880 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) return NULL
;
7905 } Py_INCREF(Py_None
);
7906 _resultobj
= Py_None
;
7910 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7911 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
* _resultobj
;
7915 PyObject
* _argo0
= 0;
7916 PyObject
* _argo1
= 0;
7917 char *_kwnames
[] = { "self","dc", NULL
};
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) return NULL
;
7942 } Py_INCREF(Py_None
);
7943 _resultobj
= Py_None
;
7947 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7948 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
* _resultobj
;
7952 PyObject
* _argo0
= 0;
7953 PyObject
* _argo1
= 0;
7954 char *_kwnames
[] = { "self","dc", NULL
};
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) return NULL
;
7979 } Py_INCREF(Py_None
);
7980 _resultobj
= Py_None
;
7984 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7985 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
* _resultobj
;
7989 bool _arg2
= (bool ) TRUE
;
7990 PyObject
* _argo0
= 0;
7991 PyObject
* _argo1
= 0;
7992 int tempbool2
= (int) TRUE
;
7993 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
8006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
8012 _arg2
= (bool ) tempbool2
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) return NULL
;
8019 } Py_INCREF(Py_None
);
8020 _resultobj
= Py_None
;
8024 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8025 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
* _resultobj
;
8028 wxPyControlPoint
* _arg1
;
8032 int _arg5
= (int ) 0;
8033 int _arg6
= (int ) 0;
8034 PyObject
* _argo0
= 0;
8035 PyObject
* _argo1
= 0;
8037 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
8043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
8050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
8056 _arg2
= (bool ) tempbool2
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) return NULL
;
8063 } Py_INCREF(Py_None
);
8064 _resultobj
= Py_None
;
8068 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8069 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
* _resultobj
;
8072 wxPyControlPoint
* _arg1
;
8075 int _arg4
= (int ) 0;
8076 int _arg5
= (int ) 0;
8077 PyObject
* _argo0
= 0;
8078 PyObject
* _argo1
= 0;
8079 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
8092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) return NULL
;
8104 } Py_INCREF(Py_None
);
8105 _resultobj
= Py_None
;
8109 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8110 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8113 wxPyControlPoint
* _arg1
;
8116 int _arg4
= (int ) 0;
8117 int _arg5
= (int ) 0;
8118 PyObject
* _argo0
= 0;
8119 PyObject
* _argo1
= 0;
8120 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8133 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8134 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
8135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) return NULL
;
8145 } Py_INCREF(Py_None
);
8146 _resultobj
= Py_None
;
8150 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8151 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
* _resultobj
;
8156 PyObject
* _argo0
= 0;
8157 char *_kwnames
[] = { "self","w","h", NULL
};
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) return NULL
;
8175 } Py_INCREF(Py_None
);
8176 _resultobj
= Py_None
;
8180 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8181 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
* _resultobj
;
8186 PyObject
* _argo0
= 0;
8187 char *_kwnames
[] = { "self","w","h", NULL
};
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
8195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) return NULL
;
8205 } Py_INCREF(Py_None
);
8206 _resultobj
= Py_None
;
8210 static PyMethodDef oglbasiccMethods
[] = {
8211 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxPyShape_GetBackgroundBrush", (PyCFunction
) _wrap_wxPyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxPyShape_GetBackgroundPen", (PyCFunction
) _wrap_wxPyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxPyShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxPyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxPyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8448 * This table is used by the pointer type-checker
8450 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8451 { "_signed_long","_long",0},
8452 { "_wxPrintQuality","_wxCoord",0},
8453 { "_wxPrintQuality","_int",0},
8454 { "_wxPrintQuality","_signed_int",0},
8455 { "_wxPrintQuality","_unsigned_int",0},
8456 { "_wxPrintQuality","_wxWindowID",0},
8457 { "_wxPrintQuality","_uint",0},
8458 { "_wxPrintQuality","_EBool",0},
8459 { "_wxPrintQuality","_size_t",0},
8460 { "_wxPrintQuality","_time_t",0},
8461 { "_byte","_unsigned_char",0},
8462 { "_long","_unsigned_long",0},
8463 { "_long","_signed_long",0},
8464 { "_size_t","_wxCoord",0},
8465 { "_size_t","_wxPrintQuality",0},
8466 { "_size_t","_time_t",0},
8467 { "_size_t","_unsigned_int",0},
8468 { "_size_t","_int",0},
8469 { "_size_t","_wxWindowID",0},
8470 { "_size_t","_uint",0},
8471 { "_uint","_wxCoord",0},
8472 { "_uint","_wxPrintQuality",0},
8473 { "_uint","_time_t",0},
8474 { "_uint","_size_t",0},
8475 { "_uint","_unsigned_int",0},
8476 { "_uint","_int",0},
8477 { "_uint","_wxWindowID",0},
8478 { "_wxChar","_char",0},
8479 { "_char","_wxChar",0},
8480 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8481 { "_EBool","_wxCoord",0},
8482 { "_EBool","_wxPrintQuality",0},
8483 { "_EBool","_signed_int",0},
8484 { "_EBool","_int",0},
8485 { "_EBool","_wxWindowID",0},
8486 { "_unsigned_long","_long",0},
8487 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8488 { "_signed_int","_wxCoord",0},
8489 { "_signed_int","_wxPrintQuality",0},
8490 { "_signed_int","_EBool",0},
8491 { "_signed_int","_wxWindowID",0},
8492 { "_signed_int","_int",0},
8493 { "_WXTYPE","_wxDateTime_t",0},
8494 { "_WXTYPE","_short",0},
8495 { "_WXTYPE","_signed_short",0},
8496 { "_WXTYPE","_unsigned_short",0},
8497 { "_unsigned_short","_wxDateTime_t",0},
8498 { "_unsigned_short","_WXTYPE",0},
8499 { "_unsigned_short","_short",0},
8500 { "_wxObject","_wxPyShape",SwigwxPyShapeTowxObject
},
8501 { "_wxObject","_wxPyShapeEvtHandler",SwigwxPyShapeEvtHandlerTowxObject
},
8502 { "_wxObject","_wxShapeRegion",SwigwxShapeRegionTowxObject
},
8503 { "_signed_short","_WXTYPE",0},
8504 { "_signed_short","_short",0},
8505 { "_unsigned_char","_byte",0},
8506 { "_unsigned_int","_wxCoord",0},
8507 { "_unsigned_int","_wxPrintQuality",0},
8508 { "_unsigned_int","_time_t",0},
8509 { "_unsigned_int","_size_t",0},
8510 { "_unsigned_int","_uint",0},
8511 { "_unsigned_int","_wxWindowID",0},
8512 { "_unsigned_int","_int",0},
8513 { "_short","_wxDateTime_t",0},
8514 { "_short","_WXTYPE",0},
8515 { "_short","_unsigned_short",0},
8516 { "_short","_signed_short",0},
8517 { "_wxWindowID","_wxCoord",0},
8518 { "_wxWindowID","_wxPrintQuality",0},
8519 { "_wxWindowID","_time_t",0},
8520 { "_wxWindowID","_size_t",0},
8521 { "_wxWindowID","_EBool",0},
8522 { "_wxWindowID","_uint",0},
8523 { "_wxWindowID","_int",0},
8524 { "_wxWindowID","_signed_int",0},
8525 { "_wxWindowID","_unsigned_int",0},
8526 { "_int","_wxCoord",0},
8527 { "_int","_wxPrintQuality",0},
8528 { "_int","_time_t",0},
8529 { "_int","_size_t",0},
8530 { "_int","_EBool",0},
8531 { "_int","_uint",0},
8532 { "_int","_wxWindowID",0},
8533 { "_int","_unsigned_int",0},
8534 { "_int","_signed_int",0},
8535 { "_wxDateTime_t","_unsigned_short",0},
8536 { "_wxDateTime_t","_short",0},
8537 { "_wxDateTime_t","_WXTYPE",0},
8538 { "_time_t","_wxCoord",0},
8539 { "_time_t","_wxPrintQuality",0},
8540 { "_time_t","_unsigned_int",0},
8541 { "_time_t","_int",0},
8542 { "_time_t","_wxWindowID",0},
8543 { "_time_t","_uint",0},
8544 { "_time_t","_size_t",0},
8545 { "_wxCoord","_int",0},
8546 { "_wxCoord","_signed_int",0},
8547 { "_wxCoord","_unsigned_int",0},
8548 { "_wxCoord","_wxWindowID",0},
8549 { "_wxCoord","_uint",0},
8550 { "_wxCoord","_EBool",0},
8551 { "_wxCoord","_size_t",0},
8552 { "_wxCoord","_time_t",0},
8553 { "_wxCoord","_wxPrintQuality",0},
8554 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8557 static PyObject
*SWIG_globals
;
8561 SWIGEXPORT(void) initoglbasicc() {
8563 SWIG_globals
= SWIG_newvarlink();
8564 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8565 d
= PyModule_GetDict(m
);
8568 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8569 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);