2 * FILE : ./oglbasic.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initoglbasicc
54 #define SWIG_name "oglbasicc"
57 #include "oglhelpers.h"
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
108 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
111 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
121 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
125 #define new_wxShapeRegion() (new wxShapeRegion())
126 static PyObject
*_wrap_new_wxShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
127 PyObject
* _resultobj
;
128 wxShapeRegion
* _result
;
129 char *_kwnames
[] = { NULL
};
133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxShapeRegion",_kwnames
))
136 wxPy_BEGIN_ALLOW_THREADS
;
137 _result
= (wxShapeRegion
*)new_wxShapeRegion();
139 wxPy_END_ALLOW_THREADS
;
141 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxShapeRegion_p");
142 _resultobj
= Py_BuildValue("s",_ptemp
);
145 _resultobj
= Py_None
;
150 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
151 static PyObject
*_wrap_wxShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
153 wxShapeRegion
* _arg0
;
155 PyObject
* _argo0
= 0;
156 PyObject
* _obj1
= 0;
157 char *_kwnames
[] = { "self","s", NULL
};
160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetText",_kwnames
,&_argo0
,&_obj1
))
163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
170 if (!PyString_Check(_obj1
)) {
171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
174 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
177 wxPy_BEGIN_ALLOW_THREADS
;
178 wxShapeRegion_SetText(_arg0
,*_arg1
);
180 wxPy_END_ALLOW_THREADS
;
181 } Py_INCREF(Py_None
);
182 _resultobj
= Py_None
;
190 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
191 static PyObject
*_wrap_wxShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
192 PyObject
* _resultobj
;
193 wxShapeRegion
* _arg0
;
195 PyObject
* _argo0
= 0;
196 PyObject
* _argo1
= 0;
197 char *_kwnames
[] = { "self","f", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetFont",_kwnames
,&_argo0
,&_argo1
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_SetFont. Expected _wxFont_p.");
217 wxPy_BEGIN_ALLOW_THREADS
;
218 wxShapeRegion_SetFont(_arg0
,_arg1
);
220 wxPy_END_ALLOW_THREADS
;
221 } Py_INCREF(Py_None
);
222 _resultobj
= Py_None
;
226 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
227 static PyObject
*_wrap_wxShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
228 PyObject
* _resultobj
;
229 wxShapeRegion
* _arg0
;
232 PyObject
* _argo0
= 0;
233 char *_kwnames
[] = { "self","w","h", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetMinSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
246 wxPy_BEGIN_ALLOW_THREADS
;
247 wxShapeRegion_SetMinSize(_arg0
,_arg1
,_arg2
);
249 wxPy_END_ALLOW_THREADS
;
250 } Py_INCREF(Py_None
);
251 _resultobj
= Py_None
;
255 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
256 static PyObject
*_wrap_wxShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
258 wxShapeRegion
* _arg0
;
261 PyObject
* _argo0
= 0;
262 char *_kwnames
[] = { "self","w","h", NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
275 wxPy_BEGIN_ALLOW_THREADS
;
276 wxShapeRegion_SetSize(_arg0
,_arg1
,_arg2
);
278 wxPy_END_ALLOW_THREADS
;
279 } Py_INCREF(Py_None
);
280 _resultobj
= Py_None
;
284 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
285 static PyObject
*_wrap_wxShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
287 wxShapeRegion
* _arg0
;
290 PyObject
* _argo0
= 0;
291 char *_kwnames
[] = { "self","x","y", NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
304 wxPy_BEGIN_ALLOW_THREADS
;
305 wxShapeRegion_SetPosition(_arg0
,_arg1
,_arg2
);
307 wxPy_END_ALLOW_THREADS
;
308 } Py_INCREF(Py_None
);
309 _resultobj
= Py_None
;
313 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
314 static PyObject
*_wrap_wxShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
315 PyObject
* _resultobj
;
316 wxShapeRegion
* _arg0
;
319 PyObject
* _argo0
= 0;
320 char *_kwnames
[] = { "self","x","y", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxShapeRegion_SetProportions",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
333 wxPy_BEGIN_ALLOW_THREADS
;
334 wxShapeRegion_SetProportions(_arg0
,_arg1
,_arg2
);
336 wxPy_END_ALLOW_THREADS
;
337 } Py_INCREF(Py_None
);
338 _resultobj
= Py_None
;
342 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
343 static PyObject
*_wrap_wxShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
344 PyObject
* _resultobj
;
345 wxShapeRegion
* _arg0
;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "self","mode", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetFormatMode",_kwnames
,&_argo0
,&_arg1
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 wxShapeRegion_SetFormatMode(_arg0
,_arg1
);
364 wxPy_END_ALLOW_THREADS
;
365 } Py_INCREF(Py_None
);
366 _resultobj
= Py_None
;
370 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
371 static PyObject
*_wrap_wxShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
373 wxShapeRegion
* _arg0
;
375 PyObject
* _argo0
= 0;
376 PyObject
* _obj1
= 0;
377 char *_kwnames
[] = { "self","s", NULL
};
380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetName",_kwnames
,&_argo0
,&_obj1
))
383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
390 if (!PyString_Check(_obj1
)) {
391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
394 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
397 wxPy_BEGIN_ALLOW_THREADS
;
398 wxShapeRegion_SetName(_arg0
,*_arg1
);
400 wxPy_END_ALLOW_THREADS
;
401 } Py_INCREF(Py_None
);
402 _resultobj
= Py_None
;
410 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
411 static PyObject
*_wrap_wxShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
413 wxShapeRegion
* _arg0
;
415 PyObject
* _argo0
= 0;
416 PyObject
* _obj1
= 0;
417 char *_kwnames
[] = { "self","col", NULL
};
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetColour",_kwnames
,&_argo0
,&_obj1
))
423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
430 if (!PyString_Check(_obj1
)) {
431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
434 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
437 wxPy_BEGIN_ALLOW_THREADS
;
438 wxShapeRegion_SetColour(_arg0
,*_arg1
);
440 wxPy_END_ALLOW_THREADS
;
441 } Py_INCREF(Py_None
);
442 _resultobj
= Py_None
;
450 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
451 static PyObject
*_wrap_wxShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
454 wxShapeRegion
* _arg0
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetText",_kwnames
,&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
469 wxPy_BEGIN_ALLOW_THREADS
;
470 _result
= new wxString (wxShapeRegion_GetText(_arg0
));
472 wxPy_END_ALLOW_THREADS
;
474 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
482 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
483 static PyObject
*_wrap_wxShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
486 wxShapeRegion
* _arg0
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFont",_kwnames
,&_argo0
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
502 wxPy_BEGIN_ALLOW_THREADS
;
503 _result
= (wxFont
*)wxShapeRegion_GetFont(_arg0
);
505 wxPy_END_ALLOW_THREADS
;
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
;
522 PyObject
* _argo0
= 0;
523 PyObject
* _argo1
= 0;
524 PyObject
* _argo2
= 0;
525 char *_kwnames
[] = { "self","x","y", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxShapeRegion_GetMinSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_GetMinSize. Expected _double_p.");
545 if (_argo2
== Py_None
) { _arg2
= NULL
; }
546 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxShapeRegion_GetMinSize. Expected _double_p.");
552 wxPy_BEGIN_ALLOW_THREADS
;
553 wxShapeRegion_GetMinSize(_arg0
,_arg1
,_arg2
);
555 wxPy_END_ALLOW_THREADS
;
556 } Py_INCREF(Py_None
);
557 _resultobj
= Py_None
;
561 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
562 static PyObject
*_wrap_wxShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
564 wxShapeRegion
* _arg0
;
567 PyObject
* _argo0
= 0;
568 PyObject
* _argo1
= 0;
569 PyObject
* _argo2
= 0;
570 char *_kwnames
[] = { "self","x","y", NULL
};
573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxShapeRegion_GetProportion",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_GetProportion. Expected _double_p.");
590 if (_argo2
== Py_None
) { _arg2
= NULL
; }
591 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxShapeRegion_GetProportion. Expected _double_p.");
597 wxPy_BEGIN_ALLOW_THREADS
;
598 wxShapeRegion_GetProportion(_arg0
,_arg1
,_arg2
);
600 wxPy_END_ALLOW_THREADS
;
601 } Py_INCREF(Py_None
);
602 _resultobj
= Py_None
;
606 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
607 static PyObject
*_wrap_wxShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
609 wxShapeRegion
* _arg0
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _argo1
= 0;
614 PyObject
* _argo2
= 0;
615 char *_kwnames
[] = { "self","x","y", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxShapeRegion_GetSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_GetSize. Expected _double_p.");
635 if (_argo2
== Py_None
) { _arg2
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxShapeRegion_GetSize. Expected _double_p.");
642 wxPy_BEGIN_ALLOW_THREADS
;
643 wxShapeRegion_GetSize(_arg0
,_arg1
,_arg2
);
645 wxPy_END_ALLOW_THREADS
;
646 } Py_INCREF(Py_None
);
647 _resultobj
= Py_None
;
651 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
652 static PyObject
*_wrap_wxShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
654 wxShapeRegion
* _arg0
;
657 PyObject
* _argo0
= 0;
658 PyObject
* _argo1
= 0;
659 PyObject
* _argo2
= 0;
660 char *_kwnames
[] = { "self","xp","yp", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxShapeRegion_GetPosition",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShapeRegion_GetPosition. Expected _double_p.");
680 if (_argo2
== Py_None
) { _arg2
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxShapeRegion_GetPosition. Expected _double_p.");
687 wxPy_BEGIN_ALLOW_THREADS
;
688 wxShapeRegion_GetPosition(_arg0
,_arg1
,_arg2
);
690 wxPy_END_ALLOW_THREADS
;
691 } Py_INCREF(Py_None
);
692 _resultobj
= Py_None
;
696 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
697 static PyObject
*_wrap_wxShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
700 wxShapeRegion
* _arg0
;
701 PyObject
* _argo0
= 0;
702 char *_kwnames
[] = { "self", NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormatMode",_kwnames
,&_argo0
))
708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
715 wxPy_BEGIN_ALLOW_THREADS
;
716 _result
= (int )wxShapeRegion_GetFormatMode(_arg0
);
718 wxPy_END_ALLOW_THREADS
;
719 } _resultobj
= Py_BuildValue("i",_result
);
723 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
724 static PyObject
*_wrap_wxShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 wxShapeRegion
* _arg0
;
728 PyObject
* _argo0
= 0;
729 char *_kwnames
[] = { "self", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetName",_kwnames
,&_argo0
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
742 wxPy_BEGIN_ALLOW_THREADS
;
743 _result
= new wxString (wxShapeRegion_GetName(_arg0
));
745 wxPy_END_ALLOW_THREADS
;
747 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
755 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
756 static PyObject
*_wrap_wxShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
759 wxShapeRegion
* _arg0
;
760 PyObject
* _argo0
= 0;
761 char *_kwnames
[] = { "self", NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetColour",_kwnames
,&_argo0
))
767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
774 wxPy_BEGIN_ALLOW_THREADS
;
775 _result
= new wxString (wxShapeRegion_GetColour(_arg0
));
777 wxPy_END_ALLOW_THREADS
;
779 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
787 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
788 static PyObject
*_wrap_wxShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
791 wxShapeRegion
* _arg0
;
792 PyObject
* _argo0
= 0;
793 char *_kwnames
[] = { "self", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualColourObject",_kwnames
,&_argo0
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 _result
= (wxColour
*)wxShapeRegion_GetActualColourObject(_arg0
);
810 wxPy_END_ALLOW_THREADS
;
812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
813 _resultobj
= Py_BuildValue("s",_ptemp
);
816 _resultobj
= Py_None
;
821 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
822 static PyObject
*_wrap_wxShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
825 wxShapeRegion
* _arg0
;
826 PyObject
* _argo0
= 0;
827 char *_kwnames
[] = { "self", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetFormattedText",_kwnames
,&_argo0
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 wxList
& _result_ref
= wxShapeRegion_GetFormattedText(_arg0
);
843 _result
= (wxList
*) &_result_ref
;
845 wxPy_END_ALLOW_THREADS
;
847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxList_p");
848 _resultobj
= Py_BuildValue("s",_ptemp
);
851 _resultobj
= Py_None
;
856 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
857 static PyObject
*_wrap_wxShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
860 wxShapeRegion
* _arg0
;
861 PyObject
* _argo0
= 0;
862 char *_kwnames
[] = { "self", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenColour",_kwnames
,&_argo0
))
868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
875 wxPy_BEGIN_ALLOW_THREADS
;
876 _result
= new wxString (wxShapeRegion_GetPenColour(_arg0
));
878 wxPy_END_ALLOW_THREADS
;
880 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
888 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
889 static PyObject
*_wrap_wxShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
892 wxShapeRegion
* _arg0
;
893 PyObject
* _argo0
= 0;
894 char *_kwnames
[] = { "self", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetPenStyle",_kwnames
,&_argo0
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= (int )wxShapeRegion_GetPenStyle(_arg0
);
910 wxPy_END_ALLOW_THREADS
;
911 } _resultobj
= Py_BuildValue("i",_result
);
915 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
916 static PyObject
*_wrap_wxShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
918 wxShapeRegion
* _arg0
;
920 PyObject
* _argo0
= 0;
921 char *_kwnames
[] = { "self","style", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxShapeRegion_SetPenStyle",_kwnames
,&_argo0
,&_arg1
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
934 wxPy_BEGIN_ALLOW_THREADS
;
935 wxShapeRegion_SetPenStyle(_arg0
,_arg1
);
937 wxPy_END_ALLOW_THREADS
;
938 } Py_INCREF(Py_None
);
939 _resultobj
= Py_None
;
943 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
944 static PyObject
*_wrap_wxShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
946 wxShapeRegion
* _arg0
;
948 PyObject
* _argo0
= 0;
949 PyObject
* _obj1
= 0;
950 char *_kwnames
[] = { "self","col", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxShapeRegion_SetPenColour",_kwnames
,&_argo0
,&_obj1
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
963 if (!PyString_Check(_obj1
)) {
964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
967 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
970 wxPy_BEGIN_ALLOW_THREADS
;
971 wxShapeRegion_SetPenColour(_arg0
,*_arg1
);
973 wxPy_END_ALLOW_THREADS
;
974 } Py_INCREF(Py_None
);
975 _resultobj
= Py_None
;
983 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
984 static PyObject
*_wrap_wxShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
987 wxShapeRegion
* _arg0
;
988 PyObject
* _argo0
= 0;
989 char *_kwnames
[] = { "self", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetActualPen",_kwnames
,&_argo0
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1003 wxPy_BEGIN_ALLOW_THREADS
;
1004 _result
= (wxPen
*)wxShapeRegion_GetActualPen(_arg0
);
1006 wxPy_END_ALLOW_THREADS
;
1008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1009 _resultobj
= Py_BuildValue("s",_ptemp
);
1012 _resultobj
= Py_None
;
1017 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1018 static PyObject
*_wrap_wxShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1021 wxShapeRegion
* _arg0
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "self", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetWidth",_kwnames
,&_argo0
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 _result
= (double )wxShapeRegion_GetWidth(_arg0
);
1039 wxPy_END_ALLOW_THREADS
;
1040 } _resultobj
= Py_BuildValue("d",_result
);
1044 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1045 static PyObject
*_wrap_wxShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1048 wxShapeRegion
* _arg0
;
1049 PyObject
* _argo0
= 0;
1050 char *_kwnames
[] = { "self", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_GetHeight",_kwnames
,&_argo0
))
1056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 _result
= (double )wxShapeRegion_GetHeight(_arg0
);
1066 wxPy_END_ALLOW_THREADS
;
1067 } _resultobj
= Py_BuildValue("d",_result
);
1071 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1072 static PyObject
*_wrap_wxShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1074 wxShapeRegion
* _arg0
;
1075 PyObject
* _argo0
= 0;
1076 char *_kwnames
[] = { "self", NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxShapeRegion_ClearText",_kwnames
,&_argo0
))
1082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxShapeRegion_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 wxShapeRegion_ClearText(_arg0
);
1092 wxPy_END_ALLOW_THREADS
;
1093 } Py_INCREF(Py_None
);
1094 _resultobj
= Py_None
;
1098 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1099 static PyObject
*_wrap_new_wxPyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1101 wxPyShapeEvtHandler
* _result
;
1102 wxPyShapeEvtHandler
* _arg0
= (wxPyShapeEvtHandler
*) NULL
;
1103 wxPyShape
* _arg1
= (wxPyShape
*) NULL
;
1104 PyObject
* _argo0
= 0;
1105 PyObject
* _argo1
= 0;
1106 char *_kwnames
[] = { "prev","shape", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxPyShapeEvtHandler",_kwnames
,&_argo0
,&_argo1
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 _result
= (wxPyShapeEvtHandler
*)new_wxPyShapeEvtHandler(_arg0
,_arg1
);
1130 wxPy_END_ALLOW_THREADS
;
1132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1133 _resultobj
= Py_BuildValue("s",_ptemp
);
1136 _resultobj
= Py_None
;
1141 #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1142 static PyObject
*_wrap_wxPyShapeEvtHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1144 wxPyShapeEvtHandler
* _arg0
;
1146 PyObject
* _argo0
= 0;
1147 PyObject
* _obj1
= 0;
1148 char *_kwnames
[] = { "self","self", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler__setSelf",_kwnames
,&_argo0
,&_obj1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 wxPyShapeEvtHandler__setSelf(_arg0
,_arg1
);
1167 wxPy_END_ALLOW_THREADS
;
1168 } Py_INCREF(Py_None
);
1169 _resultobj
= Py_None
;
1173 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler
*self
) { delete self
; }
1174 static PyObject
*_wrap_wxPyShapeEvtHandler_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1176 wxPyShapeEvtHandler
* _arg0
;
1177 PyObject
* _argo0
= 0;
1178 char *_kwnames
[] = { "self", NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_Destroy",_kwnames
,&_argo0
))
1184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1191 wxPy_BEGIN_ALLOW_THREADS
;
1192 wxPyShapeEvtHandler_Destroy(_arg0
);
1194 wxPy_END_ALLOW_THREADS
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1201 static PyObject
*_wrap_wxPyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1203 wxPyShapeEvtHandler
* _arg0
;
1205 PyObject
* _argo0
= 0;
1206 PyObject
* _argo1
= 0;
1207 char *_kwnames
[] = { "self","sh", NULL
};
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetShape",_kwnames
,&_argo0
,&_argo1
))
1213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 wxPyShapeEvtHandler_SetShape(_arg0
,_arg1
);
1230 wxPy_END_ALLOW_THREADS
;
1231 } Py_INCREF(Py_None
);
1232 _resultobj
= Py_None
;
1236 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1237 static PyObject
*_wrap_wxPyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1239 wxPyShape
* _result
;
1240 wxPyShapeEvtHandler
* _arg0
;
1241 PyObject
* _argo0
= 0;
1242 char *_kwnames
[] = { "self", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetShape",_kwnames
,&_argo0
))
1249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 _result
= (wxPyShape
*)wxPyShapeEvtHandler_GetShape(_arg0
);
1259 wxPy_END_ALLOW_THREADS
;
1261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1262 _resultobj
= Py_BuildValue("s",_ptemp
);
1265 _resultobj
= Py_None
;
1270 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1271 static PyObject
*_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxPyShapeEvtHandler
* _arg0
;
1274 wxPyShapeEvtHandler
* _arg1
;
1275 PyObject
* _argo0
= 0;
1276 PyObject
* _argo1
= 0;
1277 char *_kwnames
[] = { "self","handler", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1297 wxPy_BEGIN_ALLOW_THREADS
;
1298 wxPyShapeEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
1300 wxPy_END_ALLOW_THREADS
;
1301 } Py_INCREF(Py_None
);
1302 _resultobj
= Py_None
;
1306 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1307 static PyObject
*_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1309 wxPyShapeEvtHandler
* _result
;
1310 wxPyShapeEvtHandler
* _arg0
;
1311 PyObject
* _argo0
= 0;
1312 char *_kwnames
[] = { "self", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
1319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1326 wxPy_BEGIN_ALLOW_THREADS
;
1327 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_GetPreviousHandler(_arg0
);
1329 wxPy_END_ALLOW_THREADS
;
1331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1332 _resultobj
= Py_BuildValue("s",_ptemp
);
1335 _resultobj
= Py_None
;
1340 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1341 static PyObject
*_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1343 wxPyShapeEvtHandler
* _result
;
1344 wxPyShapeEvtHandler
* _arg0
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "self", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames
,&_argo0
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 _result
= (wxPyShapeEvtHandler
*)wxPyShapeEvtHandler_CreateNewCopy(_arg0
);
1363 wxPy_END_ALLOW_THREADS
;
1365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
1366 _resultobj
= Py_BuildValue("s",_ptemp
);
1369 _resultobj
= Py_None
;
1374 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1375 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1377 wxPyShapeEvtHandler
* _arg0
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 wxPyShapeEvtHandler_base_OnDelete(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1401 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1402 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1404 wxPyShapeEvtHandler
* _arg0
;
1406 PyObject
* _argo0
= 0;
1407 PyObject
* _argo1
= 0;
1408 char *_kwnames
[] = { "self","dc", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p.");
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 wxPyShapeEvtHandler_base_OnDraw(_arg0
,*_arg1
);
1431 wxPy_END_ALLOW_THREADS
;
1432 } Py_INCREF(Py_None
);
1433 _resultobj
= Py_None
;
1437 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1438 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1440 wxPyShapeEvtHandler
* _arg0
;
1442 PyObject
* _argo0
= 0;
1443 PyObject
* _argo1
= 0;
1444 char *_kwnames
[] = { "self","dc", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 wxPyShapeEvtHandler_base_OnDrawContents(_arg0
,*_arg1
);
1467 wxPy_END_ALLOW_THREADS
;
1468 } Py_INCREF(Py_None
);
1469 _resultobj
= Py_None
;
1473 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1474 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
* _resultobj
;
1476 wxPyShapeEvtHandler
* _arg0
;
1478 bool _arg2
= (bool ) FALSE
;
1479 PyObject
* _argo0
= 0;
1480 PyObject
* _argo1
= 0;
1481 int tempbool2
= (int) FALSE
;
1482 char *_kwnames
[] = { "self","dc","erase", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1495 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1501 _arg2
= (bool ) tempbool2
;
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1506 wxPy_END_ALLOW_THREADS
;
1507 } Py_INCREF(Py_None
);
1508 _resultobj
= Py_None
;
1512 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1513 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1515 wxPyShapeEvtHandler
* _arg0
;
1517 PyObject
* _argo0
= 0;
1518 PyObject
* _argo1
= 0;
1519 char *_kwnames
[] = { "self","dc", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0
,*_arg1
);
1542 wxPy_END_ALLOW_THREADS
;
1543 } Py_INCREF(Py_None
);
1544 _resultobj
= Py_None
;
1548 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1549 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1551 wxPyShapeEvtHandler
* _arg0
;
1553 PyObject
* _argo0
= 0;
1554 PyObject
* _argo1
= 0;
1555 char *_kwnames
[] = { "self","dc", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
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_OnErase. 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_OnErase. Expected _wxDC_p.");
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 wxPyShapeEvtHandler_base_OnErase(_arg0
,*_arg1
);
1578 wxPy_END_ALLOW_THREADS
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1585 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 wxPyShapeEvtHandler
* _arg0
;
1589 PyObject
* _argo0
= 0;
1590 PyObject
* _argo1
= 0;
1591 char *_kwnames
[] = { "self","dc", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 wxPyShapeEvtHandler_base_OnEraseContents(_arg0
,*_arg1
);
1614 wxPy_END_ALLOW_THREADS
;
1615 } Py_INCREF(Py_None
);
1616 _resultobj
= Py_None
;
1620 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1621 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1623 wxPyShapeEvtHandler
* _arg0
;
1625 PyObject
* _argo0
= 0;
1626 PyObject
* _argo1
= 0;
1627 char *_kwnames
[] = { "self","dc", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 wxPyShapeEvtHandler_base_OnHighlight(_arg0
,*_arg1
);
1650 wxPy_END_ALLOW_THREADS
;
1651 } Py_INCREF(Py_None
);
1652 _resultobj
= Py_None
;
1656 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1657 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1659 wxPyShapeEvtHandler
* _arg0
;
1662 int _arg3
= (int ) 0;
1663 int _arg4
= (int ) 0;
1664 PyObject
* _argo0
= 0;
1665 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 wxPyShapeEvtHandler_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1681 wxPy_END_ALLOW_THREADS
;
1682 } Py_INCREF(Py_None
);
1683 _resultobj
= Py_None
;
1687 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1688 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxPyShapeEvtHandler
* _arg0
;
1693 int _arg3
= (int ) 0;
1694 int _arg4
= (int ) 0;
1695 PyObject
* _argo0
= 0;
1696 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1712 wxPy_END_ALLOW_THREADS
;
1713 } Py_INCREF(Py_None
);
1714 _resultobj
= Py_None
;
1718 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1719 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1721 wxPyShapeEvtHandler
* _arg0
;
1724 int _arg3
= (int ) 0;
1725 int _arg4
= (int ) 0;
1726 PyObject
* _argo0
= 0;
1727 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1740 wxPy_BEGIN_ALLOW_THREADS
;
1741 wxPyShapeEvtHandler_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1743 wxPy_END_ALLOW_THREADS
;
1744 } Py_INCREF(Py_None
);
1745 _resultobj
= Py_None
;
1749 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1750 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1752 wxPyShapeEvtHandler
* _arg0
;
1755 PyObject
* _argo0
= 0;
1756 char *_kwnames
[] = { "self","x","y", NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1769 wxPy_BEGIN_ALLOW_THREADS
;
1770 wxPyShapeEvtHandler_base_OnSize(_arg0
,_arg1
,_arg2
);
1772 wxPy_END_ALLOW_THREADS
;
1773 } Py_INCREF(Py_None
);
1774 _resultobj
= Py_None
;
1778 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1779 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1782 wxPyShapeEvtHandler
* _arg0
;
1788 bool _arg6
= (bool ) TRUE
;
1789 PyObject
* _argo0
= 0;
1790 PyObject
* _argo1
= 0;
1791 int tempbool6
= (int) TRUE
;
1792 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1811 _arg6
= (bool ) tempbool6
;
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 _result
= (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1816 wxPy_END_ALLOW_THREADS
;
1817 } _resultobj
= Py_BuildValue("i",_result
);
1821 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1822 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1824 wxPyShapeEvtHandler
* _arg0
;
1830 bool _arg6
= (bool ) TRUE
;
1831 PyObject
* _argo0
= 0;
1832 PyObject
* _argo1
= 0;
1833 int tempbool6
= (int) TRUE
;
1834 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1853 _arg6
= (bool ) tempbool6
;
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 wxPyShapeEvtHandler_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1865 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxPyShapeEvtHandler
* _arg0
;
1871 int _arg4
= (int ) 0;
1872 int _arg5
= (int ) 0;
1873 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1887 _arg1
= (bool ) tempbool1
;
1889 wxPy_BEGIN_ALLOW_THREADS
;
1890 wxPyShapeEvtHandler_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1892 wxPy_END_ALLOW_THREADS
;
1893 } Py_INCREF(Py_None
);
1894 _resultobj
= Py_None
;
1898 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1899 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1901 wxPyShapeEvtHandler
* _arg0
;
1904 int _arg3
= (int ) 0;
1905 int _arg4
= (int ) 0;
1906 PyObject
* _argo0
= 0;
1907 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1920 wxPy_BEGIN_ALLOW_THREADS
;
1921 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1923 wxPy_END_ALLOW_THREADS
;
1924 } Py_INCREF(Py_None
);
1925 _resultobj
= Py_None
;
1929 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1930 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1932 wxPyShapeEvtHandler
* _arg0
;
1935 int _arg3
= (int ) 0;
1936 int _arg4
= (int ) 0;
1937 PyObject
* _argo0
= 0;
1938 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
1951 wxPy_BEGIN_ALLOW_THREADS
;
1952 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1954 wxPy_END_ALLOW_THREADS
;
1955 } Py_INCREF(Py_None
);
1956 _resultobj
= Py_None
;
1960 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1961 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1963 wxPyShapeEvtHandler
* _arg0
;
1967 int _arg4
= (int ) 0;
1968 int _arg5
= (int ) 0;
1969 PyObject
* _argo0
= 0;
1971 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
1979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
1983 _arg1
= (bool ) tempbool1
;
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 wxPyShapeEvtHandler_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1988 wxPy_END_ALLOW_THREADS
;
1989 } Py_INCREF(Py_None
);
1990 _resultobj
= Py_None
;
1994 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1995 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
1997 wxPyShapeEvtHandler
* _arg0
;
2000 int _arg3
= (int ) 0;
2001 int _arg4
= (int ) 0;
2002 PyObject
* _argo0
= 0;
2003 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2019 wxPy_END_ALLOW_THREADS
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2025 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2026 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2028 wxPyShapeEvtHandler
* _arg0
;
2031 int _arg3
= (int ) 0;
2032 int _arg4
= (int ) 0;
2033 PyObject
* _argo0
= 0;
2034 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2047 wxPy_BEGIN_ALLOW_THREADS
;
2048 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2050 wxPy_END_ALLOW_THREADS
;
2051 } Py_INCREF(Py_None
);
2052 _resultobj
= Py_None
;
2056 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2057 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2059 wxPyShapeEvtHandler
* _arg0
;
2065 PyObject
* _argo0
= 0;
2066 PyObject
* _argo1
= 0;
2067 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2080 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2087 wxPy_BEGIN_ALLOW_THREADS
;
2088 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2090 wxPy_END_ALLOW_THREADS
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2096 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2097 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2099 wxPyShapeEvtHandler
* _arg0
;
2101 PyObject
* _argo0
= 0;
2102 PyObject
* _argo1
= 0;
2103 char *_kwnames
[] = { "self","dc", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p.");
2123 wxPy_BEGIN_ALLOW_THREADS
;
2124 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0
,*_arg1
);
2126 wxPy_END_ALLOW_THREADS
;
2127 } Py_INCREF(Py_None
);
2128 _resultobj
= Py_None
;
2132 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2133 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2135 wxPyShapeEvtHandler
* _arg0
;
2137 PyObject
* _argo0
= 0;
2138 PyObject
* _argo1
= 0;
2139 char *_kwnames
[] = { "self","dc", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2152 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2159 wxPy_BEGIN_ALLOW_THREADS
;
2160 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0
,*_arg1
);
2162 wxPy_END_ALLOW_THREADS
;
2163 } Py_INCREF(Py_None
);
2164 _resultobj
= Py_None
;
2168 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2169 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2171 wxPyShapeEvtHandler
* _arg0
;
2173 bool _arg2
= (bool ) TRUE
;
2174 PyObject
* _argo0
= 0;
2175 PyObject
* _argo1
= 0;
2176 int tempbool2
= (int) TRUE
;
2177 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2196 _arg2
= (bool ) tempbool2
;
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 wxPyShapeEvtHandler_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2201 wxPy_END_ALLOW_THREADS
;
2202 } Py_INCREF(Py_None
);
2203 _resultobj
= Py_None
;
2207 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2208 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2210 wxPyShapeEvtHandler
* _arg0
;
2211 wxControlPoint
* _arg1
;
2215 int _arg5
= (int ) 0;
2216 int _arg6
= (int ) 0;
2217 PyObject
* _argo0
= 0;
2218 PyObject
* _argo1
= 0;
2220 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControlPoint_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxControlPoint_p.");
2239 _arg2
= (bool ) tempbool2
;
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2251 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2253 wxPyShapeEvtHandler
* _arg0
;
2254 wxControlPoint
* _arg1
;
2257 int _arg4
= (int ) 0;
2258 int _arg5
= (int ) 0;
2259 PyObject
* _argo0
= 0;
2260 PyObject
* _argo1
= 0;
2261 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControlPoint_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p.");
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2284 wxPy_END_ALLOW_THREADS
;
2285 } Py_INCREF(Py_None
);
2286 _resultobj
= Py_None
;
2290 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2291 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2293 wxPyShapeEvtHandler
* _arg0
;
2294 wxControlPoint
* _arg1
;
2297 int _arg4
= (int ) 0;
2298 int _arg5
= (int ) 0;
2299 PyObject
* _argo0
= 0;
2300 PyObject
* _argo1
= 0;
2301 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControlPoint_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxControlPoint_p.");
2321 wxPy_BEGIN_ALLOW_THREADS
;
2322 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2324 wxPy_END_ALLOW_THREADS
;
2325 } Py_INCREF(Py_None
);
2326 _resultobj
= Py_None
;
2330 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2331 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2333 wxPyShapeEvtHandler
* _arg0
;
2336 PyObject
* _argo0
= 0;
2337 char *_kwnames
[] = { "self","w","h", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2350 wxPy_BEGIN_ALLOW_THREADS
;
2351 wxPyShapeEvtHandler_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2353 wxPy_END_ALLOW_THREADS
;
2354 } Py_INCREF(Py_None
);
2355 _resultobj
= Py_None
;
2359 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2360 static PyObject
*_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2362 wxPyShapeEvtHandler
* _arg0
;
2365 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self","w","h", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeEvtHandler_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2379 wxPy_BEGIN_ALLOW_THREADS
;
2380 wxPyShapeEvtHandler_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2382 wxPy_END_ALLOW_THREADS
;
2383 } Py_INCREF(Py_None
);
2384 _resultobj
= Py_None
;
2388 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr
) {
2390 wxPyShapeEvtHandler
*dest
;
2391 src
= (wxPyShape
*) ptr
;
2392 dest
= (wxPyShapeEvtHandler
*) src
;
2393 return (void *) dest
;
2396 #define wxPyShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2397 static PyObject
*_wrap_wxPyShape__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2401 PyObject
* _argo0
= 0;
2402 PyObject
* _obj1
= 0;
2403 char *_kwnames
[] = { "self","self", NULL
};
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape__setSelf",_kwnames
,&_argo0
,&_obj1
))
2409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p.");
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 wxPyShape__setSelf(_arg0
,_arg1
);
2422 wxPy_END_ALLOW_THREADS
;
2423 } Py_INCREF(Py_None
);
2424 _resultobj
= Py_None
;
2428 static void wxPyShape_Destroy(wxPyShape
*self
) { delete self
; }
2429 static PyObject
*_wrap_wxPyShape_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
* _resultobj
;
2432 PyObject
* _argo0
= 0;
2433 char *_kwnames
[] = { "self", NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Destroy",_kwnames
,&_argo0
))
2439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p.");
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 wxPyShape_Destroy(_arg0
);
2449 wxPy_END_ALLOW_THREADS
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2455 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2456 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2463 PyObject
* _argo0
= 0;
2464 char *_kwnames
[] = { "self", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMax",_kwnames
,&_argo0
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2483 wxPy_BEGIN_ALLOW_THREADS
;
2484 wxPyShape_GetBoundingBoxMax(_arg0
,_arg1
,_arg2
);
2486 wxPy_END_ALLOW_THREADS
;
2487 } Py_INCREF(Py_None
);
2488 _resultobj
= Py_None
;
2491 o
= PyFloat_FromDouble((double) (*_arg1
));
2492 _resultobj
= t_output_helper(_resultobj
, o
);
2496 o
= PyFloat_FromDouble((double) (*_arg2
));
2497 _resultobj
= t_output_helper(_resultobj
, o
);
2502 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2503 static PyObject
*_wrap_wxPyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2510 PyObject
* _argo0
= 0;
2511 char *_kwnames
[] = { "self", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBoundingBoxMin",_kwnames
,&_argo0
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2530 wxPy_BEGIN_ALLOW_THREADS
;
2531 wxPyShape_GetBoundingBoxMin(_arg0
,_arg1
,_arg2
);
2533 wxPy_END_ALLOW_THREADS
;
2534 } Py_INCREF(Py_None
);
2535 _resultobj
= Py_None
;
2538 o
= PyFloat_FromDouble((double) (*_arg1
));
2539 _resultobj
= t_output_helper(_resultobj
, o
);
2543 o
= PyFloat_FromDouble((double) (*_arg2
));
2544 _resultobj
= t_output_helper(_resultobj
, o
);
2549 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2550 static PyObject
*_wrap_wxPyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2562 PyObject
* _argo0
= 0;
2563 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2582 wxPy_BEGIN_ALLOW_THREADS
;
2583 _result
= (bool )wxPyShape_GetPerimeterPoint(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2585 wxPy_END_ALLOW_THREADS
;
2586 } _resultobj
= Py_BuildValue("i",_result
);
2589 o
= PyFloat_FromDouble((double) (*_arg5
));
2590 _resultobj
= t_output_helper(_resultobj
, o
);
2594 o
= PyFloat_FromDouble((double) (*_arg6
));
2595 _resultobj
= t_output_helper(_resultobj
, o
);
2600 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2601 static PyObject
*_wrap_wxPyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2603 wxPyShapeCanvas
* _result
;
2605 PyObject
* _argo0
= 0;
2606 char *_kwnames
[] = { "self", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCanvas",_kwnames
,&_argo0
))
2613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2620 wxPy_BEGIN_ALLOW_THREADS
;
2621 _result
= (wxPyShapeCanvas
*)wxPyShape_GetCanvas(_arg0
);
2623 wxPy_END_ALLOW_THREADS
;
2625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
2626 _resultobj
= Py_BuildValue("s",_ptemp
);
2629 _resultobj
= Py_None
;
2634 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2635 static PyObject
*_wrap_wxPyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2638 wxPyShapeCanvas
* _arg1
;
2639 PyObject
* _argo0
= 0;
2640 PyObject
* _argo1
= 0;
2641 char *_kwnames
[] = { "self","the_canvas", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2661 wxPy_BEGIN_ALLOW_THREADS
;
2662 wxPyShape_SetCanvas(_arg0
,_arg1
);
2664 wxPy_END_ALLOW_THREADS
;
2665 } Py_INCREF(Py_None
);
2666 _resultobj
= Py_None
;
2670 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2671 static PyObject
*_wrap_wxPyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2674 wxPyShapeCanvas
* _arg1
;
2675 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
2676 PyObject
* _argo0
= 0;
2677 PyObject
* _argo1
= 0;
2678 PyObject
* _argo2
= 0;
2679 char *_kwnames
[] = { "self","the_canvas","addAfter", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShape_AddToCanvas",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2692 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2699 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 wxPyShape_AddToCanvas(_arg0
,_arg1
,_arg2
);
2709 wxPy_END_ALLOW_THREADS
;
2710 } Py_INCREF(Py_None
);
2711 _resultobj
= Py_None
;
2715 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2716 static PyObject
*_wrap_wxPyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2719 wxPyShapeCanvas
* _arg1
;
2720 PyObject
* _argo0
= 0;
2721 PyObject
* _argo1
= 0;
2722 char *_kwnames
[] = { "self","the_canvas", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_InsertInCanvas",_kwnames
,&_argo0
,&_argo1
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2742 wxPy_BEGIN_ALLOW_THREADS
;
2743 wxPyShape_InsertInCanvas(_arg0
,_arg1
);
2745 wxPy_END_ALLOW_THREADS
;
2746 } Py_INCREF(Py_None
);
2747 _resultobj
= Py_None
;
2751 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2752 static PyObject
*_wrap_wxPyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2755 wxPyShapeCanvas
* _arg1
;
2756 PyObject
* _argo0
= 0;
2757 PyObject
* _argo1
= 0;
2758 char *_kwnames
[] = { "self","the_canvas", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveFromCanvas",_kwnames
,&_argo0
,&_argo1
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 wxPyShape_RemoveFromCanvas(_arg0
,_arg1
);
2781 wxPy_END_ALLOW_THREADS
;
2782 } Py_INCREF(Py_None
);
2783 _resultobj
= Py_None
;
2787 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2788 static PyObject
*_wrap_wxPyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2792 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self", NULL
};
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetX",_kwnames
,&_argo0
))
2799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2806 wxPy_BEGIN_ALLOW_THREADS
;
2807 _result
= (double )wxPyShape_GetX(_arg0
);
2809 wxPy_END_ALLOW_THREADS
;
2810 } _resultobj
= Py_BuildValue("d",_result
);
2814 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2815 static PyObject
*_wrap_wxPyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetY",_kwnames
,&_argo0
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 _result
= (double )wxPyShape_GetY(_arg0
);
2836 wxPy_END_ALLOW_THREADS
;
2837 } _resultobj
= Py_BuildValue("d",_result
);
2841 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2842 static PyObject
*_wrap_wxPyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self","x", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetX",_kwnames
,&_argo0
,&_arg1
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 wxPyShape_SetX(_arg0
,_arg1
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } Py_INCREF(Py_None
);
2865 _resultobj
= Py_None
;
2869 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2870 static PyObject
*_wrap_wxPyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self","y", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPyShape_SetY",_kwnames
,&_argo0
,&_arg1
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 wxPyShape_SetY(_arg0
,_arg1
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } Py_INCREF(Py_None
);
2893 _resultobj
= Py_None
;
2897 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2898 static PyObject
*_wrap_wxPyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2900 wxPyShape
* _result
;
2902 PyObject
* _argo0
= 0;
2903 char *_kwnames
[] = { "self", NULL
};
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetParent",_kwnames
,&_argo0
))
2910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
2917 wxPy_BEGIN_ALLOW_THREADS
;
2918 _result
= (wxPyShape
*)wxPyShape_GetParent(_arg0
);
2920 wxPy_END_ALLOW_THREADS
;
2922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
2923 _resultobj
= Py_BuildValue("s",_ptemp
);
2926 _resultobj
= Py_None
;
2931 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2932 static PyObject
*_wrap_wxPyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2936 PyObject
* _argo0
= 0;
2937 PyObject
* _argo1
= 0;
2938 char *_kwnames
[] = { "self","p", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetParent",_kwnames
,&_argo0
,&_argo1
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2958 wxPy_BEGIN_ALLOW_THREADS
;
2959 wxPyShape_SetParent(_arg0
,_arg1
);
2961 wxPy_END_ALLOW_THREADS
;
2962 } Py_INCREF(Py_None
);
2963 _resultobj
= Py_None
;
2967 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
2968 static PyObject
*_wrap_wxPyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2970 wxPyShape
* _result
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetTopAncestor",_kwnames
,&_argo0
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 _result
= (wxPyShape
*)wxPyShape_GetTopAncestor(_arg0
);
2990 wxPy_END_ALLOW_THREADS
;
2992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
2993 _resultobj
= Py_BuildValue("s",_ptemp
);
2996 _resultobj
= Py_None
;
3001 static PyObject
* wxPyShape_GetChildren(wxPyShape
*self
) {
3002 wxList
& list
= self
->GetChildren();
3003 return wxPy_ConvertList(&list
, "wxPyShape");
3005 static PyObject
*_wrap_wxPyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
* _resultobj
;
3009 PyObject
* _argo0
= 0;
3010 char *_kwnames
[] = { "self", NULL
};
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetChildren",_kwnames
,&_argo0
))
3016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3023 wxPy_BEGIN_ALLOW_THREADS
;
3024 _result
= (PyObject
*)wxPyShape_GetChildren(_arg0
);
3026 wxPy_END_ALLOW_THREADS
;
3028 _resultobj
= _result
;
3033 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3034 static PyObject
*_wrap_wxPyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Unlink",_kwnames
,&_argo0
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3051 wxPy_BEGIN_ALLOW_THREADS
;
3052 wxPyShape_Unlink(_arg0
);
3054 wxPy_END_ALLOW_THREADS
;
3055 } Py_INCREF(Py_None
);
3056 _resultobj
= Py_None
;
3060 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3061 static PyObject
*_wrap_wxPyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3065 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self","drawH", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDrawHandles",_kwnames
,&_argo0
,&tempbool1
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3079 _arg1
= (bool ) tempbool1
;
3081 wxPy_BEGIN_ALLOW_THREADS
;
3082 wxPyShape_SetDrawHandles(_arg0
,_arg1
);
3084 wxPy_END_ALLOW_THREADS
;
3085 } Py_INCREF(Py_None
);
3086 _resultobj
= Py_None
;
3090 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3091 static PyObject
*_wrap_wxPyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3095 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "self", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDrawHandles",_kwnames
,&_argo0
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 _result
= (bool )wxPyShape_GetDrawHandles(_arg0
);
3112 wxPy_END_ALLOW_THREADS
;
3113 } _resultobj
= Py_BuildValue("i",_result
);
3117 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3118 static PyObject
*_wrap_wxPyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3121 PyObject
* _argo0
= 0;
3122 char *_kwnames
[] = { "self", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeControlPoints",_kwnames
,&_argo0
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 wxPyShape_MakeControlPoints(_arg0
);
3138 wxPy_END_ALLOW_THREADS
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3145 static PyObject
*_wrap_wxPyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3148 wxDC
* _arg1
= (wxDC
*) NULL
;
3149 PyObject
* _argo0
= 0;
3150 PyObject
* _argo1
= 0;
3151 char *_kwnames
[] = { "self","dc", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_DeleteControlPoints",_kwnames
,&_argo0
,&_argo1
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 wxPyShape_DeleteControlPoints(_arg0
,_arg1
);
3174 wxPy_END_ALLOW_THREADS
;
3175 } Py_INCREF(Py_None
);
3176 _resultobj
= Py_None
;
3180 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3181 static PyObject
*_wrap_wxPyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3184 PyObject
* _argo0
= 0;
3185 char *_kwnames
[] = { "self", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetControlPoints",_kwnames
,&_argo0
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3198 wxPy_BEGIN_ALLOW_THREADS
;
3199 wxPyShape_ResetControlPoints(_arg0
);
3201 wxPy_END_ALLOW_THREADS
;
3202 } Py_INCREF(Py_None
);
3203 _resultobj
= Py_None
;
3207 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3208 static PyObject
*_wrap_wxPyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3210 wxPyShapeEvtHandler
* _result
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetEventHandler",_kwnames
,&_argo0
))
3220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3227 wxPy_BEGIN_ALLOW_THREADS
;
3228 _result
= (wxPyShapeEvtHandler
*)wxPyShape_GetEventHandler(_arg0
);
3230 wxPy_END_ALLOW_THREADS
;
3232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeEvtHandler_p");
3233 _resultobj
= Py_BuildValue("s",_ptemp
);
3236 _resultobj
= Py_None
;
3241 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3242 static PyObject
*_wrap_wxPyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
* _resultobj
;
3245 wxPyShapeEvtHandler
* _arg1
;
3246 PyObject
* _argo0
= 0;
3247 PyObject
* _argo1
= 0;
3248 char *_kwnames
[] = { "self","handler", NULL
};
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
3254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeEvtHandler_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3268 wxPy_BEGIN_ALLOW_THREADS
;
3269 wxPyShape_SetEventHandler(_arg0
,_arg1
);
3271 wxPy_END_ALLOW_THREADS
;
3272 } Py_INCREF(Py_None
);
3273 _resultobj
= Py_None
;
3277 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3278 static PyObject
*_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
* _resultobj
;
3281 PyObject
* _argo0
= 0;
3282 char *_kwnames
[] = { "self", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames
,&_argo0
))
3288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3295 wxPy_BEGIN_ALLOW_THREADS
;
3296 wxPyShape_MakeMandatoryControlPoints(_arg0
);
3298 wxPy_END_ALLOW_THREADS
;
3299 } Py_INCREF(Py_None
);
3300 _resultobj
= Py_None
;
3304 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3305 static PyObject
*_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3308 PyObject
* _argo0
= 0;
3309 char *_kwnames
[] = { "self", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames
,&_argo0
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3322 wxPy_BEGIN_ALLOW_THREADS
;
3323 wxPyShape_ResetMandatoryControlPoints(_arg0
);
3325 wxPy_END_ALLOW_THREADS
;
3326 } Py_INCREF(Py_None
);
3327 _resultobj
= Py_None
;
3331 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3332 static PyObject
*_wrap_wxPyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Recompute",_kwnames
,&_argo0
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3350 wxPy_BEGIN_ALLOW_THREADS
;
3351 _result
= (bool )wxPyShape_Recompute(_arg0
);
3353 wxPy_END_ALLOW_THREADS
;
3354 } _resultobj
= Py_BuildValue("i",_result
);
3358 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3359 static PyObject
*_wrap_wxPyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
* _resultobj
;
3362 PyObject
* _argo0
= 0;
3363 char *_kwnames
[] = { "self", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_CalculateSize",_kwnames
,&_argo0
))
3369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3376 wxPy_BEGIN_ALLOW_THREADS
;
3377 wxPyShape_CalculateSize(_arg0
);
3379 wxPy_END_ALLOW_THREADS
;
3380 } Py_INCREF(Py_None
);
3381 _resultobj
= Py_None
;
3385 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3386 static PyObject
*_wrap_wxPyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3389 bool _arg1
= (bool ) TRUE
;
3390 wxDC
* _arg2
= (wxDC
*) NULL
;
3391 PyObject
* _argo0
= 0;
3392 int tempbool1
= (int) TRUE
;
3393 PyObject
* _argo2
= 0;
3394 char *_kwnames
[] = { "self","select","dc", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxPyShape_Select",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3406 _arg1
= (bool ) tempbool1
;
3408 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 wxPyShape_Select(_arg0
,_arg1
,_arg2
);
3418 wxPy_END_ALLOW_THREADS
;
3419 } Py_INCREF(Py_None
);
3420 _resultobj
= Py_None
;
3424 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3425 static PyObject
*_wrap_wxPyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3428 bool _arg1
= (bool ) TRUE
;
3429 bool _arg2
= (bool ) FALSE
;
3430 PyObject
* _argo0
= 0;
3431 int tempbool1
= (int) TRUE
;
3432 int tempbool2
= (int) FALSE
;
3433 char *_kwnames
[] = { "self","hi","recurse", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetHighlight",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3445 _arg1
= (bool ) tempbool1
;
3446 _arg2
= (bool ) tempbool2
;
3448 wxPy_BEGIN_ALLOW_THREADS
;
3449 wxPyShape_SetHighlight(_arg0
,_arg1
,_arg2
);
3451 wxPy_END_ALLOW_THREADS
;
3452 } Py_INCREF(Py_None
);
3453 _resultobj
= Py_None
;
3457 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3458 static PyObject
*_wrap_wxPyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3462 PyObject
* _argo0
= 0;
3463 char *_kwnames
[] = { "self", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsHighlighted",_kwnames
,&_argo0
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 _result
= (bool )wxPyShape_IsHighlighted(_arg0
);
3479 wxPy_END_ALLOW_THREADS
;
3480 } _resultobj
= Py_BuildValue("i",_result
);
3484 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3485 static PyObject
*_wrap_wxPyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
* _resultobj
;
3489 PyObject
* _argo0
= 0;
3490 char *_kwnames
[] = { "self", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Selected",_kwnames
,&_argo0
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3503 wxPy_BEGIN_ALLOW_THREADS
;
3504 _result
= (bool )wxPyShape_Selected(_arg0
);
3506 wxPy_END_ALLOW_THREADS
;
3507 } _resultobj
= Py_BuildValue("i",_result
);
3511 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3512 static PyObject
*_wrap_wxPyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AncestorSelected",_kwnames
,&_argo0
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3530 wxPy_BEGIN_ALLOW_THREADS
;
3531 _result
= (bool )wxPyShape_AncestorSelected(_arg0
);
3533 wxPy_END_ALLOW_THREADS
;
3534 } _resultobj
= Py_BuildValue("i",_result
);
3538 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3539 static PyObject
*_wrap_wxPyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3542 int _arg1
= (int ) OP_ALL
;
3543 bool _arg2
= (bool ) FALSE
;
3544 PyObject
* _argo0
= 0;
3545 int tempbool2
= (int) FALSE
;
3546 char *_kwnames
[] = { "self","sens","recursive", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3558 _arg2
= (bool ) tempbool2
;
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 wxPyShape_SetSensitivityFilter(_arg0
,_arg1
,_arg2
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } Py_INCREF(Py_None
);
3565 _resultobj
= Py_None
;
3569 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3570 static PyObject
*_wrap_wxPyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3574 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSensitivityFilter",_kwnames
,&_argo0
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3588 wxPy_BEGIN_ALLOW_THREADS
;
3589 _result
= (int )wxPyShape_GetSensitivityFilter(_arg0
);
3591 wxPy_END_ALLOW_THREADS
;
3592 } _resultobj
= Py_BuildValue("i",_result
);
3596 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3597 static PyObject
*_wrap_wxPyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3601 bool _arg2
= (bool ) FALSE
;
3602 PyObject
* _argo0
= 0;
3604 int tempbool2
= (int) FALSE
;
3605 char *_kwnames
[] = { "self","drag","recursive", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetDraggable",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3617 _arg1
= (bool ) tempbool1
;
3618 _arg2
= (bool ) tempbool2
;
3620 wxPy_BEGIN_ALLOW_THREADS
;
3621 wxPyShape_SetDraggable(_arg0
,_arg1
,_arg2
);
3623 wxPy_END_ALLOW_THREADS
;
3624 } Py_INCREF(Py_None
);
3625 _resultobj
= Py_None
;
3629 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3630 static PyObject
*_wrap_wxPyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3635 PyObject
* _argo0
= 0;
3638 char *_kwnames
[] = { "self","x","y", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyShape_SetFixedSize",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3650 _arg1
= (bool ) tempbool1
;
3651 _arg2
= (bool ) tempbool2
;
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 wxPyShape_SetFixedSize(_arg0
,_arg1
,_arg2
);
3656 wxPy_END_ALLOW_THREADS
;
3657 } Py_INCREF(Py_None
);
3658 _resultobj
= Py_None
;
3662 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3663 static PyObject
*_wrap_wxPyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3669 PyObject
* _argo1
= 0;
3670 PyObject
* _argo2
= 0;
3671 char *_kwnames
[] = { "self","OUTPUT","OUTPUT", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_GetFixedSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_bool_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3691 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_bool_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3698 wxPy_BEGIN_ALLOW_THREADS
;
3699 wxPyShape_GetFixedSize(_arg0
,_arg1
,_arg2
);
3701 wxPy_END_ALLOW_THREADS
;
3702 } Py_INCREF(Py_None
);
3703 _resultobj
= Py_None
;
3707 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3708 static PyObject
*_wrap_wxPyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3712 PyObject
* _argo0
= 0;
3713 char *_kwnames
[] = { "self", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedWidth",_kwnames
,&_argo0
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3726 wxPy_BEGIN_ALLOW_THREADS
;
3727 _result
= (bool )wxPyShape_GetFixedWidth(_arg0
);
3729 wxPy_END_ALLOW_THREADS
;
3730 } _resultobj
= Py_BuildValue("i",_result
);
3734 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3735 static PyObject
*_wrap_wxPyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
* _resultobj
;
3739 PyObject
* _argo0
= 0;
3740 char *_kwnames
[] = { "self", NULL
};
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetFixedHeight",_kwnames
,&_argo0
))
3746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3753 wxPy_BEGIN_ALLOW_THREADS
;
3754 _result
= (bool )wxPyShape_GetFixedHeight(_arg0
);
3756 wxPy_END_ALLOW_THREADS
;
3757 } _resultobj
= Py_BuildValue("i",_result
);
3761 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3762 static PyObject
*_wrap_wxPyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
* _resultobj
;
3766 PyObject
* _argo0
= 0;
3768 char *_kwnames
[] = { "self","sp", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetSpaceAttachments",_kwnames
,&_argo0
,&tempbool1
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3780 _arg1
= (bool ) tempbool1
;
3782 wxPy_BEGIN_ALLOW_THREADS
;
3783 wxPyShape_SetSpaceAttachments(_arg0
,_arg1
);
3785 wxPy_END_ALLOW_THREADS
;
3786 } Py_INCREF(Py_None
);
3787 _resultobj
= Py_None
;
3791 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3792 static PyObject
*_wrap_wxPyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3796 PyObject
* _argo0
= 0;
3797 char *_kwnames
[] = { "self", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetSpaceAttachments",_kwnames
,&_argo0
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3810 wxPy_BEGIN_ALLOW_THREADS
;
3811 _result
= (bool )wxPyShape_GetSpaceAttachments(_arg0
);
3813 wxPy_END_ALLOW_THREADS
;
3814 } _resultobj
= Py_BuildValue("i",_result
);
3818 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3819 static PyObject
*_wrap_wxPyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
* _resultobj
;
3823 bool _arg2
= (bool ) FALSE
;
3824 PyObject
* _argo0
= 0;
3825 int tempbool2
= (int) FALSE
;
3826 char *_kwnames
[] = { "self","mode","redraw", NULL
};
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetShadowMode",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3838 _arg2
= (bool ) tempbool2
;
3840 wxPy_BEGIN_ALLOW_THREADS
;
3841 wxPyShape_SetShadowMode(_arg0
,_arg1
,_arg2
);
3843 wxPy_END_ALLOW_THREADS
;
3844 } Py_INCREF(Py_None
);
3845 _resultobj
= Py_None
;
3849 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3850 static PyObject
*_wrap_wxPyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3854 PyObject
* _argo0
= 0;
3855 char *_kwnames
[] = { "self", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetShadowMode",_kwnames
,&_argo0
))
3861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3868 wxPy_BEGIN_ALLOW_THREADS
;
3869 _result
= (int )wxPyShape_GetShadowMode(_arg0
);
3871 wxPy_END_ALLOW_THREADS
;
3872 } _resultobj
= Py_BuildValue("i",_result
);
3876 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3877 static PyObject
*_wrap_wxPyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3887 PyObject
* _argo0
= 0;
3888 char *_kwnames
[] = { "self","x","y", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_HitTest",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3907 wxPy_BEGIN_ALLOW_THREADS
;
3908 _result
= (bool )wxPyShape_HitTest(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3910 wxPy_END_ALLOW_THREADS
;
3911 } _resultobj
= Py_BuildValue("i",_result
);
3914 o
= PyInt_FromLong((long) (*_arg3
));
3915 _resultobj
= t_output_helper(_resultobj
, o
);
3919 o
= PyFloat_FromDouble((double) (*_arg4
));
3920 _resultobj
= t_output_helper(_resultobj
, o
);
3925 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3926 static PyObject
*_wrap_wxPyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3930 PyObject
* _argo0
= 0;
3932 char *_kwnames
[] = { "self","cr", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetCentreResize",_kwnames
,&_argo0
,&tempbool1
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
3944 _arg1
= (bool ) tempbool1
;
3946 wxPy_BEGIN_ALLOW_THREADS
;
3947 wxPyShape_SetCentreResize(_arg0
,_arg1
);
3949 wxPy_END_ALLOW_THREADS
;
3950 } Py_INCREF(Py_None
);
3951 _resultobj
= Py_None
;
3955 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
3956 static PyObject
*_wrap_wxPyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3960 PyObject
* _argo0
= 0;
3961 char *_kwnames
[] = { "self", NULL
};
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetCentreResize",_kwnames
,&_argo0
))
3967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 _result
= (bool )wxPyShape_GetCentreResize(_arg0
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } _resultobj
= Py_BuildValue("i",_result
);
3982 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
3983 static PyObject
*_wrap_wxPyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3987 PyObject
* _argo0
= 0;
3989 char *_kwnames
[] = { "self","ar", NULL
};
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames
,&_argo0
,&tempbool1
))
3995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
3997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4001 _arg1
= (bool ) tempbool1
;
4003 wxPy_BEGIN_ALLOW_THREADS
;
4004 wxPyShape_SetMaintainAspectRatio(_arg0
,_arg1
);
4006 wxPy_END_ALLOW_THREADS
;
4007 } Py_INCREF(Py_None
);
4008 _resultobj
= Py_None
;
4012 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4013 static PyObject
*_wrap_wxPyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
* _resultobj
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetMaintainAspectRatio",_kwnames
,&_argo0
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4031 wxPy_BEGIN_ALLOW_THREADS
;
4032 _result
= (bool )wxPyShape_GetMaintainAspectRatio(_arg0
);
4034 wxPy_END_ALLOW_THREADS
;
4035 } _resultobj
= Py_BuildValue("i",_result
);
4039 static PyObject
* wxPyShape_GetLines(wxPyShape
*self
) {
4040 wxList
& list
= self
->GetLines();
4041 return wxPy_ConvertList(&list
, "wxPyLineShape");
4043 static PyObject
*_wrap_wxPyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4047 PyObject
* _argo0
= 0;
4048 char *_kwnames
[] = { "self", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetLines",_kwnames
,&_argo0
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4061 wxPy_BEGIN_ALLOW_THREADS
;
4062 _result
= (PyObject
*)wxPyShape_GetLines(_arg0
);
4064 wxPy_END_ALLOW_THREADS
;
4066 _resultobj
= _result
;
4071 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4072 static PyObject
*_wrap_wxPyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4076 PyObject
* _argo0
= 0;
4078 char *_kwnames
[] = { "self","flag", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetDisableLabel",_kwnames
,&_argo0
,&tempbool1
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4090 _arg1
= (bool ) tempbool1
;
4092 wxPy_BEGIN_ALLOW_THREADS
;
4093 wxPyShape_SetDisableLabel(_arg0
,_arg1
);
4095 wxPy_END_ALLOW_THREADS
;
4096 } Py_INCREF(Py_None
);
4097 _resultobj
= Py_None
;
4101 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4102 static PyObject
*_wrap_wxPyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4107 char *_kwnames
[] = { "self", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetDisableLabel",_kwnames
,&_argo0
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4120 wxPy_BEGIN_ALLOW_THREADS
;
4121 _result
= (bool )wxPyShape_GetDisableLabel(_arg0
);
4123 wxPy_END_ALLOW_THREADS
;
4124 } _resultobj
= Py_BuildValue("i",_result
);
4128 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4129 static PyObject
*_wrap_wxPyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4133 PyObject
* _argo0
= 0;
4134 char *_kwnames
[] = { "self","mode", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetAttachmentMode",_kwnames
,&_argo0
,&_arg1
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4147 wxPy_BEGIN_ALLOW_THREADS
;
4148 wxPyShape_SetAttachmentMode(_arg0
,_arg1
);
4150 wxPy_END_ALLOW_THREADS
;
4151 } Py_INCREF(Py_None
);
4152 _resultobj
= Py_None
;
4156 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4157 static PyObject
*_wrap_wxPyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
* _resultobj
;
4161 PyObject
* _argo0
= 0;
4162 char *_kwnames
[] = { "self", NULL
};
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetAttachmentMode",_kwnames
,&_argo0
))
4168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4175 wxPy_BEGIN_ALLOW_THREADS
;
4176 _result
= (int )wxPyShape_GetAttachmentMode(_arg0
);
4178 wxPy_END_ALLOW_THREADS
;
4179 } _resultobj
= Py_BuildValue("i",_result
);
4183 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4184 static PyObject
*_wrap_wxPyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4188 PyObject
* _argo0
= 0;
4189 char *_kwnames
[] = { "self","i", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetId",_kwnames
,&_argo0
,&_arg1
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4202 wxPy_BEGIN_ALLOW_THREADS
;
4203 wxPyShape_SetId(_arg0
,_arg1
);
4205 wxPy_END_ALLOW_THREADS
;
4206 } Py_INCREF(Py_None
);
4207 _resultobj
= Py_None
;
4211 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4212 static PyObject
*_wrap_wxPyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
* _resultobj
;
4216 PyObject
* _argo0
= 0;
4217 char *_kwnames
[] = { "self", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetId",_kwnames
,&_argo0
))
4223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4230 wxPy_BEGIN_ALLOW_THREADS
;
4231 _result
= (long )wxPyShape_GetId(_arg0
);
4233 wxPy_END_ALLOW_THREADS
;
4234 } _resultobj
= Py_BuildValue("l",_result
);
4238 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4239 static PyObject
*_wrap_wxPyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4243 PyObject
* _argo0
= 0;
4244 PyObject
* _argo1
= 0;
4245 char *_kwnames
[] = { "self","pen", NULL
};
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetPen",_kwnames
,&_argo0
,&_argo1
))
4251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetPen. Expected _wxPen_p.");
4265 wxPy_BEGIN_ALLOW_THREADS
;
4266 wxPyShape_SetPen(_arg0
,_arg1
);
4268 wxPy_END_ALLOW_THREADS
;
4269 } Py_INCREF(Py_None
);
4270 _resultobj
= Py_None
;
4274 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4275 static PyObject
*_wrap_wxPyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4279 PyObject
* _argo0
= 0;
4280 PyObject
* _argo1
= 0;
4281 char *_kwnames
[] = { "self","brush", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetBrush",_kwnames
,&_argo0
,&_argo1
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetBrush. Expected _wxBrush_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 wxPyShape_SetBrush(_arg0
,_arg1
);
4304 wxPy_END_ALLOW_THREADS
;
4305 } Py_INCREF(Py_None
);
4306 _resultobj
= Py_None
;
4310 #define wxPyShape_SetClientData(_swigobj,_swigarg0) (_swigobj->SetClientData(_swigarg0))
4311 static PyObject
*_wrap_wxPyShape_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
* _resultobj
;
4315 PyObject
* _argo0
= 0;
4316 PyObject
* _argo1
= 0;
4317 char *_kwnames
[] = { "self","client_data", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_SetClientData",_kwnames
,&_argo0
,&_argo1
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetClientData. Expected _wxObject_p.");
4337 wxPy_BEGIN_ALLOW_THREADS
;
4338 wxPyShape_SetClientData(_arg0
,_arg1
);
4340 wxPy_END_ALLOW_THREADS
;
4341 } Py_INCREF(Py_None
);
4342 _resultobj
= Py_None
;
4346 #define wxPyShape_GetClientData(_swigobj) (_swigobj->GetClientData())
4347 static PyObject
*_wrap_wxPyShape_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4351 PyObject
* _argo0
= 0;
4352 char *_kwnames
[] = { "self", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetClientData",_kwnames
,&_argo0
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4366 wxPy_BEGIN_ALLOW_THREADS
;
4367 _result
= (wxObject
*)wxPyShape_GetClientData(_arg0
);
4369 wxPy_END_ALLOW_THREADS
;
4371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
4372 _resultobj
= Py_BuildValue("s",_ptemp
);
4375 _resultobj
= Py_None
;
4380 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4381 static PyObject
*_wrap_wxPyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
* _resultobj
;
4385 PyObject
* _argo0
= 0;
4387 char *_kwnames
[] = { "self","show", NULL
};
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_Show",_kwnames
,&_argo0
,&tempbool1
))
4393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4399 _arg1
= (bool ) tempbool1
;
4401 wxPy_BEGIN_ALLOW_THREADS
;
4402 wxPyShape_Show(_arg0
,_arg1
);
4404 wxPy_END_ALLOW_THREADS
;
4405 } Py_INCREF(Py_None
);
4406 _resultobj
= Py_None
;
4410 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4411 static PyObject
*_wrap_wxPyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4415 PyObject
* _argo0
= 0;
4416 char *_kwnames
[] = { "self", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_IsShown",_kwnames
,&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 _result
= (bool )wxPyShape_IsShown(_arg0
);
4432 wxPy_END_ALLOW_THREADS
;
4433 } _resultobj
= Py_BuildValue("i",_result
);
4437 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4438 static PyObject
*_wrap_wxPyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4444 bool _arg4
= (bool ) TRUE
;
4445 PyObject
* _argo0
= 0;
4446 PyObject
* _argo1
= 0;
4447 int tempbool4
= (int) TRUE
;
4448 char *_kwnames
[] = { "self","dc","x1","y1","display", NULL
};
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|i:wxPyShape_Move",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
4454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4467 _arg4
= (bool ) tempbool4
;
4469 wxPy_BEGIN_ALLOW_THREADS
;
4470 wxPyShape_Move(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4472 wxPy_END_ALLOW_THREADS
;
4473 } Py_INCREF(Py_None
);
4474 _resultobj
= Py_None
;
4478 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4479 static PyObject
*_wrap_wxPyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4483 PyObject
* _argo0
= 0;
4484 PyObject
* _argo1
= 0;
4485 char *_kwnames
[] = { "self","dc", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Erase",_kwnames
,&_argo0
,&_argo1
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4505 wxPy_BEGIN_ALLOW_THREADS
;
4506 wxPyShape_Erase(_arg0
,*_arg1
);
4508 wxPy_END_ALLOW_THREADS
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4515 static PyObject
*_wrap_wxPyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4519 PyObject
* _argo0
= 0;
4520 PyObject
* _argo1
= 0;
4521 char *_kwnames
[] = { "self","dc", NULL
};
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_EraseContents",_kwnames
,&_argo0
,&_argo1
))
4527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4541 wxPy_BEGIN_ALLOW_THREADS
;
4542 wxPyShape_EraseContents(_arg0
,*_arg1
);
4544 wxPy_END_ALLOW_THREADS
;
4545 } Py_INCREF(Py_None
);
4546 _resultobj
= Py_None
;
4550 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4551 static PyObject
*_wrap_wxPyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4555 PyObject
* _argo0
= 0;
4556 PyObject
* _argo1
= 0;
4557 char *_kwnames
[] = { "self","dc", NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Draw",_kwnames
,&_argo0
,&_argo1
))
4563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4577 wxPy_BEGIN_ALLOW_THREADS
;
4578 wxPyShape_Draw(_arg0
,*_arg1
);
4580 wxPy_END_ALLOW_THREADS
;
4581 } Py_INCREF(Py_None
);
4582 _resultobj
= Py_None
;
4586 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4587 static PyObject
*_wrap_wxPyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4590 PyObject
* _argo0
= 0;
4591 char *_kwnames
[] = { "self", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Flash",_kwnames
,&_argo0
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4604 wxPy_BEGIN_ALLOW_THREADS
;
4605 wxPyShape_Flash(_arg0
);
4607 wxPy_END_ALLOW_THREADS
;
4608 } Py_INCREF(Py_None
);
4609 _resultobj
= Py_None
;
4613 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4614 static PyObject
*_wrap_wxPyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
* _resultobj
;
4618 PyObject
* _argo0
= 0;
4619 PyObject
* _argo1
= 0;
4620 char *_kwnames
[] = { "self","dc", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_MoveLinks",_kwnames
,&_argo0
,&_argo1
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4633 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4640 wxPy_BEGIN_ALLOW_THREADS
;
4641 wxPyShape_MoveLinks(_arg0
,*_arg1
);
4643 wxPy_END_ALLOW_THREADS
;
4644 } Py_INCREF(Py_None
);
4645 _resultobj
= Py_None
;
4649 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4650 static PyObject
*_wrap_wxPyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4654 PyObject
* _argo0
= 0;
4655 PyObject
* _argo1
= 0;
4656 char *_kwnames
[] = { "self","dc", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_DrawContents",_kwnames
,&_argo0
,&_argo1
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4676 wxPy_BEGIN_ALLOW_THREADS
;
4677 wxPyShape_DrawContents(_arg0
,*_arg1
);
4679 wxPy_END_ALLOW_THREADS
;
4680 } Py_INCREF(Py_None
);
4681 _resultobj
= Py_None
;
4685 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4686 static PyObject
*_wrap_wxPyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4691 bool _arg3
= (bool ) TRUE
;
4692 PyObject
* _argo0
= 0;
4693 int tempbool3
= (int) TRUE
;
4694 char *_kwnames
[] = { "self","x","y","recursive", NULL
};
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShape_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4706 _arg3
= (bool ) tempbool3
;
4708 wxPy_BEGIN_ALLOW_THREADS
;
4709 wxPyShape_SetSize(_arg0
,_arg1
,_arg2
,_arg3
);
4711 wxPy_END_ALLOW_THREADS
;
4712 } Py_INCREF(Py_None
);
4713 _resultobj
= Py_None
;
4717 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4718 static PyObject
*_wrap_wxPyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4723 PyObject
* _argo0
= 0;
4724 char *_kwnames
[] = { "self","x","y", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_SetAttachmentSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4737 wxPy_BEGIN_ALLOW_THREADS
;
4738 wxPyShape_SetAttachmentSize(_arg0
,_arg1
,_arg2
);
4740 wxPy_END_ALLOW_THREADS
;
4741 } Py_INCREF(Py_None
);
4742 _resultobj
= Py_None
;
4746 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4747 static PyObject
*_wrap_wxPyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
* _resultobj
;
4750 wxPyShapeCanvas
* _arg1
;
4751 PyObject
* _argo0
= 0;
4752 PyObject
* _argo1
= 0;
4753 char *_kwnames
[] = { "self","can", NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Attach",_kwnames
,&_argo0
,&_argo1
))
4759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4773 wxPy_BEGIN_ALLOW_THREADS
;
4774 wxPyShape_Attach(_arg0
,_arg1
);
4776 wxPy_END_ALLOW_THREADS
;
4777 } Py_INCREF(Py_None
);
4778 _resultobj
= Py_None
;
4782 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4783 static PyObject
*_wrap_wxPyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4786 PyObject
* _argo0
= 0;
4787 char *_kwnames
[] = { "self", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Detach",_kwnames
,&_argo0
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 wxPyShape_Detach(_arg0
);
4803 wxPy_END_ALLOW_THREADS
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4810 static PyObject
*_wrap_wxPyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4814 PyObject
* _argo0
= 0;
4815 char *_kwnames
[] = { "self", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Constrain",_kwnames
,&_argo0
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 _result
= (bool )wxPyShape_Constrain(_arg0
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } _resultobj
= Py_BuildValue("i",_result
);
4836 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4837 static PyObject
*_wrap_wxPyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4840 wxPyLineShape
* _arg1
;
4842 int _arg3
= (int ) 0;
4843 int _arg4
= (int ) 0;
4844 int _arg5
= (int ) -1;
4845 int _arg6
= (int ) -1;
4846 PyObject
* _argo0
= 0;
4847 PyObject
* _argo1
= 0;
4848 PyObject
* _argo2
= 0;
4849 char *_kwnames
[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiii:wxPyShape_AddLine",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4869 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 wxPyShape_AddLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4879 wxPy_END_ALLOW_THREADS
;
4880 } Py_INCREF(Py_None
);
4881 _resultobj
= Py_None
;
4885 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4886 static PyObject
*_wrap_wxPyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4890 wxPyLineShape
* _arg1
;
4891 PyObject
* _argo0
= 0;
4892 PyObject
* _argo1
= 0;
4893 char *_kwnames
[] = { "self","line", NULL
};
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetLinePosition",_kwnames
,&_argo0
,&_argo1
))
4899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4913 wxPy_BEGIN_ALLOW_THREADS
;
4914 _result
= (int )wxPyShape_GetLinePosition(_arg0
,_arg1
);
4916 wxPy_END_ALLOW_THREADS
;
4917 } _resultobj
= Py_BuildValue("i",_result
);
4921 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4922 static PyObject
*_wrap_wxPyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 PyObject
* _obj1
= 0;
4928 char *_kwnames
[] = { "self","string", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddText",_kwnames
,&_argo0
,&_obj1
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4941 if (!PyString_Check(_obj1
)) {
4942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4945 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4948 wxPy_BEGIN_ALLOW_THREADS
;
4949 wxPyShape_AddText(_arg0
,*_arg1
);
4951 wxPy_END_ALLOW_THREADS
;
4952 } Py_INCREF(Py_None
);
4953 _resultobj
= Py_None
;
4961 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
4962 static PyObject
*_wrap_wxPyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
* _resultobj
;
4966 PyObject
* _argo0
= 0;
4967 char *_kwnames
[] = { "self", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetPen",_kwnames
,&_argo0
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
4981 wxPy_BEGIN_ALLOW_THREADS
;
4982 _result
= (wxPen
*)wxPyShape_GetPen(_arg0
);
4984 wxPy_END_ALLOW_THREADS
;
4986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4987 _resultobj
= Py_BuildValue("s",_ptemp
);
4990 _resultobj
= Py_None
;
4995 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
4996 static PyObject
*_wrap_wxPyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
5000 PyObject
* _argo0
= 0;
5001 char *_kwnames
[] = { "self", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBrush",_kwnames
,&_argo0
))
5008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5015 wxPy_BEGIN_ALLOW_THREADS
;
5016 _result
= (wxBrush
*)wxPyShape_GetBrush(_arg0
);
5018 wxPy_END_ALLOW_THREADS
;
5020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5021 _resultobj
= Py_BuildValue("s",_ptemp
);
5024 _resultobj
= Py_None
;
5029 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5030 static PyObject
*_wrap_wxPyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5033 PyObject
* _argo0
= 0;
5034 char *_kwnames
[] = { "self", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_SetDefaultRegionSize",_kwnames
,&_argo0
))
5040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5047 wxPy_BEGIN_ALLOW_THREADS
;
5048 wxPyShape_SetDefaultRegionSize(_arg0
);
5050 wxPy_END_ALLOW_THREADS
;
5051 } Py_INCREF(Py_None
);
5052 _resultobj
= Py_None
;
5056 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5057 static PyObject
*_wrap_wxPyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5062 int _arg3
= (int ) 0;
5063 PyObject
* _argo0
= 0;
5064 PyObject
* _argo1
= 0;
5065 PyObject
* _obj2
= 0;
5066 char *_kwnames
[] = { "self","dc","s","regionId", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyShape_FormatText",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5086 if (!PyString_Check(_obj2
)) {
5087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5090 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 wxPyShape_FormatText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5096 wxPy_END_ALLOW_THREADS
;
5097 } Py_INCREF(Py_None
);
5098 _resultobj
= Py_None
;
5106 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5107 static PyObject
*_wrap_wxPyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5111 int _arg2
= (int ) 0;
5112 PyObject
* _argo0
= 0;
5113 char *_kwnames
[] = { "self","mode","regionId", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxPyShape_SetFormatMode",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5126 wxPy_BEGIN_ALLOW_THREADS
;
5127 wxPyShape_SetFormatMode(_arg0
,_arg1
,_arg2
);
5129 wxPy_END_ALLOW_THREADS
;
5130 } Py_INCREF(Py_None
);
5131 _resultobj
= Py_None
;
5135 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5136 static PyObject
*_wrap_wxPyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5140 int _arg1
= (int ) 0;
5141 PyObject
* _argo0
= 0;
5142 char *_kwnames
[] = { "self","regionId", NULL
};
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFormatMode",_kwnames
,&_argo0
,&_arg1
))
5148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5155 wxPy_BEGIN_ALLOW_THREADS
;
5156 _result
= (int )wxPyShape_GetFormatMode(_arg0
,_arg1
);
5158 wxPy_END_ALLOW_THREADS
;
5159 } _resultobj
= Py_BuildValue("i",_result
);
5163 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5164 static PyObject
*_wrap_wxPyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5168 int _arg2
= (int ) 0;
5169 PyObject
* _argo0
= 0;
5170 PyObject
* _argo1
= 0;
5171 char *_kwnames
[] = { "self","font","regionId", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetFont",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p.");
5191 wxPy_BEGIN_ALLOW_THREADS
;
5192 wxPyShape_SetFont(_arg0
,_arg1
,_arg2
);
5194 wxPy_END_ALLOW_THREADS
;
5195 } Py_INCREF(Py_None
);
5196 _resultobj
= Py_None
;
5200 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5201 static PyObject
*_wrap_wxPyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5205 int _arg1
= (int ) 0;
5206 PyObject
* _argo0
= 0;
5207 char *_kwnames
[] = { "self","regionId", NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetFont",_kwnames
,&_argo0
,&_arg1
))
5214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5221 wxPy_BEGIN_ALLOW_THREADS
;
5222 _result
= (wxFont
*)wxPyShape_GetFont(_arg0
,_arg1
);
5224 wxPy_END_ALLOW_THREADS
;
5226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5227 _resultobj
= Py_BuildValue("s",_ptemp
);
5230 _resultobj
= Py_None
;
5235 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5236 static PyObject
*_wrap_wxPyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
* _resultobj
;
5240 int _arg2
= (int ) 0;
5241 PyObject
* _argo0
= 0;
5242 PyObject
* _obj1
= 0;
5243 char *_kwnames
[] = { "self","colour","regionId", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetTextColour",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5256 if (!PyString_Check(_obj1
)) {
5257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5260 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5263 wxPy_BEGIN_ALLOW_THREADS
;
5264 wxPyShape_SetTextColour(_arg0
,*_arg1
,_arg2
);
5266 wxPy_END_ALLOW_THREADS
;
5267 } Py_INCREF(Py_None
);
5268 _resultobj
= Py_None
;
5276 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5277 static PyObject
*_wrap_wxPyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5281 int _arg1
= (int ) 0;
5282 PyObject
* _argo0
= 0;
5283 char *_kwnames
[] = { "self","regionId", NULL
};
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_GetTextColour",_kwnames
,&_argo0
,&_arg1
))
5289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5296 wxPy_BEGIN_ALLOW_THREADS
;
5297 _result
= new wxString (wxPyShape_GetTextColour(_arg0
,_arg1
));
5299 wxPy_END_ALLOW_THREADS
;
5301 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5309 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5310 static PyObject
*_wrap_wxPyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5314 PyObject
* _argo0
= 0;
5315 char *_kwnames
[] = { "self", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfTextRegions",_kwnames
,&_argo0
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5328 wxPy_BEGIN_ALLOW_THREADS
;
5329 _result
= (int )wxPyShape_GetNumberOfTextRegions(_arg0
);
5331 wxPy_END_ALLOW_THREADS
;
5332 } _resultobj
= Py_BuildValue("i",_result
);
5336 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5337 static PyObject
*_wrap_wxPyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
* _resultobj
;
5341 int _arg2
= (int ) 0;
5342 PyObject
* _argo0
= 0;
5343 PyObject
* _obj1
= 0;
5344 char *_kwnames
[] = { "self","name","regionId", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_SetRegionName",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5357 if (!PyString_Check(_obj1
)) {
5358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5361 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5364 wxPy_BEGIN_ALLOW_THREADS
;
5365 wxPyShape_SetRegionName(_arg0
,*_arg1
,_arg2
);
5367 wxPy_END_ALLOW_THREADS
;
5368 } Py_INCREF(Py_None
);
5369 _resultobj
= Py_None
;
5377 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5378 static PyObject
*_wrap_wxPyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
* _resultobj
;
5383 PyObject
* _argo0
= 0;
5384 char *_kwnames
[] = { "self","regionId", NULL
};
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetRegionName",_kwnames
,&_argo0
,&_arg1
))
5390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5397 wxPy_BEGIN_ALLOW_THREADS
;
5398 _result
= new wxString (wxPyShape_GetRegionName(_arg0
,_arg1
));
5400 wxPy_END_ALLOW_THREADS
;
5402 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5410 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5411 static PyObject
*_wrap_wxPyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5416 PyObject
* _argo0
= 0;
5417 PyObject
* _obj1
= 0;
5418 char *_kwnames
[] = { "self","name", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_GetRegionId",_kwnames
,&_argo0
,&_obj1
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5431 if (!PyString_Check(_obj1
)) {
5432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5435 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5438 wxPy_BEGIN_ALLOW_THREADS
;
5439 _result
= (int )wxPyShape_GetRegionId(_arg0
,*_arg1
);
5441 wxPy_END_ALLOW_THREADS
;
5442 } _resultobj
= Py_BuildValue("i",_result
);
5450 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5451 static PyObject
*_wrap_wxPyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
* _resultobj
;
5454 wxString
* _arg1
= (wxString
*) &"";
5455 PyObject
* _argo0
= 0;
5456 PyObject
* _obj1
= 0;
5457 char *_kwnames
[] = { "self","parentName", NULL
};
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyShape_NameRegions",_kwnames
,&_argo0
,&_obj1
))
5463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5471 if (!PyString_Check(_obj1
)) {
5472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5475 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5478 wxPy_BEGIN_ALLOW_THREADS
;
5479 wxPyShape_NameRegions(_arg0
,*_arg1
);
5481 wxPy_END_ALLOW_THREADS
;
5482 } Py_INCREF(Py_None
);
5483 _resultobj
= Py_None
;
5491 static PyObject
* wxPyShape_GetRegions(wxPyShape
*self
) {
5492 wxList
& list
= self
->GetRegions();
5493 return wxPy_ConvertList(&list
, "wxShapeRegion");
5495 static PyObject
*_wrap_wxPyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5499 PyObject
* _argo0
= 0;
5500 char *_kwnames
[] = { "self", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRegions",_kwnames
,&_argo0
))
5506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5513 wxPy_BEGIN_ALLOW_THREADS
;
5514 _result
= (PyObject
*)wxPyShape_GetRegions(_arg0
);
5516 wxPy_END_ALLOW_THREADS
;
5518 _resultobj
= _result
;
5523 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5524 static PyObject
*_wrap_wxPyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
* _resultobj
;
5527 wxShapeRegion
* _arg1
;
5528 PyObject
* _argo0
= 0;
5529 PyObject
* _argo1
= 0;
5530 char *_kwnames
[] = { "self","region", NULL
};
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_AddRegion",_kwnames
,&_argo0
,&_argo1
))
5536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5543 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5544 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxShapeRegion_p")) {
5545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5550 wxPy_BEGIN_ALLOW_THREADS
;
5551 wxPyShape_AddRegion(_arg0
,_arg1
);
5553 wxPy_END_ALLOW_THREADS
;
5554 } Py_INCREF(Py_None
);
5555 _resultobj
= Py_None
;
5559 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5560 static PyObject
*_wrap_wxPyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
* _resultobj
;
5563 PyObject
* _argo0
= 0;
5564 char *_kwnames
[] = { "self", NULL
};
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearRegions",_kwnames
,&_argo0
))
5570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5577 wxPy_BEGIN_ALLOW_THREADS
;
5578 wxPyShape_ClearRegions(_arg0
);
5580 wxPy_END_ALLOW_THREADS
;
5581 } Py_INCREF(Py_None
);
5582 _resultobj
= Py_None
;
5586 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5587 static PyObject
*_wrap_wxPyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5590 PyObject
* _argo0
= 0;
5591 char *_kwnames
[] = { "self", NULL
};
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_AssignNewIds",_kwnames
,&_argo0
))
5597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5604 wxPy_BEGIN_ALLOW_THREADS
;
5605 wxPyShape_AssignNewIds(_arg0
);
5607 wxPy_END_ALLOW_THREADS
;
5608 } Py_INCREF(Py_None
);
5609 _resultobj
= Py_None
;
5613 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5614 static PyObject
*_wrap_wxPyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5616 wxPyShape
* _result
;
5620 PyObject
* _argo0
= 0;
5621 PyObject
* _obj1
= 0;
5622 PyObject
* _argo2
= 0;
5623 char *_kwnames
[] = { "self","regionName","regionId", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShape_FindRegion",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5637 if (!PyString_Check(_obj1
)) {
5638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5641 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5644 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5645 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_FindRegion. Expected _int_p.");
5651 wxPy_BEGIN_ALLOW_THREADS
;
5652 _result
= (wxPyShape
*)wxPyShape_FindRegion(_arg0
,*_arg1
,_arg2
);
5654 wxPy_END_ALLOW_THREADS
;
5656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
5657 _resultobj
= Py_BuildValue("s",_ptemp
);
5660 _resultobj
= Py_None
;
5669 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5670 static PyObject
*_wrap_wxPyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
* _resultobj
;
5673 wxStringList
* _arg1
;
5674 PyObject
* _argo0
= 0;
5675 PyObject
* _argo1
= 0;
5676 char *_kwnames
[] = { "self","list", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_FindRegionNames",_kwnames
,&_argo0
,&_argo1
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxStringList_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5696 wxPy_BEGIN_ALLOW_THREADS
;
5697 wxPyShape_FindRegionNames(_arg0
,*_arg1
);
5699 wxPy_END_ALLOW_THREADS
;
5700 } Py_INCREF(Py_None
);
5701 _resultobj
= Py_None
;
5705 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5706 static PyObject
*_wrap_wxPyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
* _resultobj
;
5709 int _arg1
= (int ) 0;
5710 PyObject
* _argo0
= 0;
5711 char *_kwnames
[] = { "self","regionId", NULL
};
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyShape_ClearText",_kwnames
,&_argo0
,&_arg1
))
5717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5724 wxPy_BEGIN_ALLOW_THREADS
;
5725 wxPyShape_ClearText(_arg0
,_arg1
);
5727 wxPy_END_ALLOW_THREADS
;
5728 } Py_INCREF(Py_None
);
5729 _resultobj
= Py_None
;
5733 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5734 static PyObject
*_wrap_wxPyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
* _resultobj
;
5737 wxPyLineShape
* _arg1
;
5738 PyObject
* _argo0
= 0;
5739 PyObject
* _argo1
= 0;
5740 char *_kwnames
[] = { "self","line", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_RemoveLine",_kwnames
,&_argo0
,&_argo1
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5753 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5754 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyLineShape_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5760 wxPy_BEGIN_ALLOW_THREADS
;
5761 wxPyShape_RemoveLine(_arg0
,_arg1
);
5763 wxPy_END_ALLOW_THREADS
;
5764 } Py_INCREF(Py_None
);
5765 _resultobj
= Py_None
;
5769 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5770 static PyObject
*_wrap_wxPyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
* _resultobj
;
5777 int _arg4
= (int ) 0;
5778 int _arg5
= (int ) 1;
5779 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5780 PyObject
* _argo0
= 0;
5781 PyObject
* _argo2
= 0;
5782 PyObject
* _argo3
= 0;
5783 PyObject
* _argo6
= 0;
5784 char *_kwnames
[] = { "self","attachment","x","y","nth","no_arcs","line", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|iiO:wxPyShape_GetAttachmentPosition",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_argo6
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5797 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5798 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
5799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetAttachmentPosition. Expected _double_p.");
5804 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_double_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShape_GetAttachmentPosition. Expected _double_p.");
5811 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5818 wxPy_BEGIN_ALLOW_THREADS
;
5819 _result
= (bool )wxPyShape_GetAttachmentPosition(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5821 wxPy_END_ALLOW_THREADS
;
5822 } _resultobj
= Py_BuildValue("i",_result
);
5826 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5827 static PyObject
*_wrap_wxPyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
* _resultobj
;
5831 PyObject
* _argo0
= 0;
5832 char *_kwnames
[] = { "self", NULL
};
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetNumberOfAttachments",_kwnames
,&_argo0
))
5838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5845 wxPy_BEGIN_ALLOW_THREADS
;
5846 _result
= (int )wxPyShape_GetNumberOfAttachments(_arg0
);
5848 wxPy_END_ALLOW_THREADS
;
5849 } _resultobj
= Py_BuildValue("i",_result
);
5853 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5854 static PyObject
*_wrap_wxPyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5859 PyObject
* _argo0
= 0;
5860 char *_kwnames
[] = { "self","attachment", NULL
};
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_AttachmentIsValid",_kwnames
,&_argo0
,&_arg1
))
5866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
5873 wxPy_BEGIN_ALLOW_THREADS
;
5874 _result
= (bool )wxPyShape_AttachmentIsValid(_arg0
,_arg1
);
5876 wxPy_END_ALLOW_THREADS
;
5877 } _resultobj
= Py_BuildValue("i",_result
);
5881 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5882 static PyObject
*_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
* _resultobj
;
5889 int _arg4
= (int ) 0;
5890 int _arg5
= (int ) 1;
5891 wxPyLineShape
* _arg6
= (wxPyLineShape
*) NULL
;
5892 PyObject
* _argo0
= 0;
5893 PyObject
* _argo2
= 0;
5894 PyObject
* _argo3
= 0;
5895 PyObject
* _argo6
= 0;
5896 char *_kwnames
[] = { "self","attachment","x","y","nth","no_arcs","line", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_argo6
))
5902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
5909 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetAttachmentPositionEdge. Expected _double_p.");
5916 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_double_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShape_GetAttachmentPositionEdge. Expected _double_p.");
5923 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyLineShape_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
5930 wxPy_BEGIN_ALLOW_THREADS
;
5931 _result
= (bool )wxPyShape_GetAttachmentPositionEdge(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5933 wxPy_END_ALLOW_THREADS
;
5934 } _resultobj
= Py_BuildValue("i",_result
);
5938 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5939 static PyObject
*_wrap_wxPyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5941 wxRealPoint
* _result
;
5943 wxRealPoint
* _arg1
;
5944 wxRealPoint
* _arg2
;
5947 wxPyLineShape
* _arg5
;
5948 PyObject
* _argo0
= 0;
5949 PyObject
* _argo1
= 0;
5950 PyObject
* _argo2
= 0;
5951 PyObject
* _argo5
= 0;
5952 char *_kwnames
[] = { "self","pt1","pt2","nth","noArcs","line", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
5966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRealPoint_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CalcSimpleAttachment. Expected _wxRealPoint_p.");
5973 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5974 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRealPoint_p")) {
5975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_CalcSimpleAttachment. Expected _wxRealPoint_p.");
5980 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyLineShape_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
5987 wxPy_BEGIN_ALLOW_THREADS
;
5988 _result
= new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5990 wxPy_END_ALLOW_THREADS
;
5991 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
5992 _resultobj
= Py_BuildValue("s",_ptemp
);
5996 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
5997 static PyObject
*_wrap_wxPyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
* _resultobj
;
6002 wxRealPoint
* _arg2
;
6003 wxRealPoint
* _arg3
;
6004 PyObject
* _argo0
= 0;
6005 PyObject
* _argo2
= 0;
6006 PyObject
* _argo3
= 0;
6007 char *_kwnames
[] = { "self","attachmentPoint","pt1","pt2", NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxPyShape_AttachmentSortTest",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
6013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6020 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRealPoint_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_AttachmentSortTest. Expected _wxRealPoint_p.");
6027 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRealPoint_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShape_AttachmentSortTest. Expected _wxRealPoint_p.");
6034 wxPy_BEGIN_ALLOW_THREADS
;
6035 _result
= (bool )wxPyShape_AttachmentSortTest(_arg0
,_arg1
,*_arg2
,*_arg3
);
6037 wxPy_END_ALLOW_THREADS
;
6038 } _resultobj
= Py_BuildValue("i",_result
);
6042 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6043 static PyObject
*_wrap_wxPyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
* _resultobj
;
6047 int _arg2
= (int ) -1;
6048 bool _arg3
= (bool ) FALSE
;
6049 PyObject
* _argo0
= 0;
6050 PyObject
* _argo1
= 0;
6051 int tempbool3
= (int) FALSE
;
6052 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_EraseLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6071 _arg3
= (bool ) tempbool3
;
6073 wxPy_BEGIN_ALLOW_THREADS
;
6074 wxPyShape_EraseLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6076 wxPy_END_ALLOW_THREADS
;
6077 } Py_INCREF(Py_None
);
6078 _resultobj
= Py_None
;
6082 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6083 static PyObject
*_wrap_wxPyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
* _resultobj
;
6087 int _arg2
= (int ) -1;
6088 bool _arg3
= (bool ) FALSE
;
6089 PyObject
* _argo0
= 0;
6090 PyObject
* _argo1
= 0;
6091 int tempbool3
= (int) FALSE
;
6092 char *_kwnames
[] = { "self","dc","attachment","recurse", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxPyShape_DrawLinks",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&tempbool3
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6105 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6111 _arg3
= (bool ) tempbool3
;
6113 wxPy_BEGIN_ALLOW_THREADS
;
6114 wxPyShape_DrawLinks(_arg0
,*_arg1
,_arg2
,_arg3
);
6116 wxPy_END_ALLOW_THREADS
;
6117 } Py_INCREF(Py_None
);
6118 _resultobj
= Py_None
;
6122 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6123 static PyObject
*_wrap_wxPyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6128 wxPyLineShape
* _arg2
;
6131 PyObject
* _argo0
= 0;
6132 PyObject
* _argo1
= 0;
6133 PyObject
* _argo2
= 0;
6134 char *_kwnames
[] = { "self","dc","to_move","x","y", NULL
};
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
6140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6154 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyLineShape_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6161 wxPy_BEGIN_ALLOW_THREADS
;
6162 _result
= (bool )wxPyShape_MoveLineToNewAttachment(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6164 wxPy_END_ALLOW_THREADS
;
6165 } _resultobj
= Py_BuildValue("i",_result
);
6169 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
* linesToSort
) {
6170 wxList
* list
= wxPy_wxListHelper(linesToSort
, "wxPyLineShape");
6171 self
->ApplyAttachmentOrdering(*list
);
6174 static PyObject
*_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6178 PyObject
* _argo0
= 0;
6179 PyObject
* _obj1
= 0;
6180 char *_kwnames
[] = { "self","linesToSort", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames
,&_argo0
,&_obj1
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6196 wxPy_BEGIN_ALLOW_THREADS
;
6197 wxPyShape_ApplyAttachmentOrdering(_arg0
,_arg1
);
6199 wxPy_END_ALLOW_THREADS
;
6200 } Py_INCREF(Py_None
);
6201 _resultobj
= Py_None
;
6205 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6206 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
* _resultobj
;
6208 wxRealPoint
* _result
;
6211 PyObject
* _argo0
= 0;
6212 char *_kwnames
[] = { "self","attachment", NULL
};
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames
,&_argo0
,&_arg1
))
6219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6226 wxPy_BEGIN_ALLOW_THREADS
;
6227 _result
= new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0
,_arg1
));
6229 wxPy_END_ALLOW_THREADS
;
6230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
6231 _resultobj
= Py_BuildValue("s",_ptemp
);
6235 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6236 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6241 wxRealPoint
* _arg2
;
6242 wxRealPoint
* _arg3
;
6243 wxRealPoint
* _arg4
;
6244 wxRealPoint
* _arg5
;
6245 PyObject
* _argo0
= 0;
6246 PyObject
* _argo2
= 0;
6247 PyObject
* _argo3
= 0;
6248 PyObject
* _argo4
= 0;
6249 PyObject
* _argo5
= 0;
6250 char *_kwnames
[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
,&_argo5
))
6256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6263 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6264 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxRealPoint_p")) {
6265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxRealPoint_p.");
6270 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRealPoint_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxRealPoint_p.");
6277 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxRealPoint_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxRealPoint_p.");
6284 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxRealPoint_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxRealPoint_p.");
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 _result
= (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
6294 wxPy_END_ALLOW_THREADS
;
6295 } _resultobj
= Py_BuildValue("i",_result
);
6299 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6300 static PyObject
*_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6306 wxRealPoint
* _arg3
;
6307 wxRealPoint
* _arg4
;
6308 PyObject
* _argo0
= 0;
6309 PyObject
* _argo3
= 0;
6310 PyObject
* _argo4
= 0;
6311 char *_kwnames
[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6324 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxRealPoint_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxRealPoint_p.");
6331 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6332 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxRealPoint_p")) {
6333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxRealPoint_p.");
6338 wxPy_BEGIN_ALLOW_THREADS
;
6339 _result
= (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
6341 wxPy_END_ALLOW_THREADS
;
6342 } _resultobj
= Py_BuildValue("i",_result
);
6346 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6347 static PyObject
*_wrap_wxPyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self","attachment", NULL
};
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames
,&_argo0
,&_arg1
))
6359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6366 wxPy_BEGIN_ALLOW_THREADS
;
6367 _result
= (int )wxPyShape_GetAttachmentLineCount(_arg0
,_arg1
);
6369 wxPy_END_ALLOW_THREADS
;
6370 } _resultobj
= Py_BuildValue("i",_result
);
6374 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6375 static PyObject
*_wrap_wxPyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6379 PyObject
* _argo0
= 0;
6380 char *_kwnames
[] = { "self","len", NULL
};
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchNeckLength",_kwnames
,&_argo0
,&_arg1
))
6386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6393 wxPy_BEGIN_ALLOW_THREADS
;
6394 wxPyShape_SetBranchNeckLength(_arg0
,_arg1
);
6396 wxPy_END_ALLOW_THREADS
;
6397 } Py_INCREF(Py_None
);
6398 _resultobj
= Py_None
;
6402 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6403 static PyObject
*_wrap_wxPyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
* _resultobj
;
6407 PyObject
* _argo0
= 0;
6408 char *_kwnames
[] = { "self", NULL
};
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchNeckLength",_kwnames
,&_argo0
))
6414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6421 wxPy_BEGIN_ALLOW_THREADS
;
6422 _result
= (int )wxPyShape_GetBranchNeckLength(_arg0
);
6424 wxPy_END_ALLOW_THREADS
;
6425 } _resultobj
= Py_BuildValue("i",_result
);
6429 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6430 static PyObject
*_wrap_wxPyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
* _resultobj
;
6434 PyObject
* _argo0
= 0;
6435 char *_kwnames
[] = { "self","len", NULL
};
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchStemLength",_kwnames
,&_argo0
,&_arg1
))
6441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6448 wxPy_BEGIN_ALLOW_THREADS
;
6449 wxPyShape_SetBranchStemLength(_arg0
,_arg1
);
6451 wxPy_END_ALLOW_THREADS
;
6452 } Py_INCREF(Py_None
);
6453 _resultobj
= Py_None
;
6457 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6458 static PyObject
*_wrap_wxPyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
* _resultobj
;
6462 PyObject
* _argo0
= 0;
6463 char *_kwnames
[] = { "self", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStemLength",_kwnames
,&_argo0
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6476 wxPy_BEGIN_ALLOW_THREADS
;
6477 _result
= (int )wxPyShape_GetBranchStemLength(_arg0
);
6479 wxPy_END_ALLOW_THREADS
;
6480 } _resultobj
= Py_BuildValue("i",_result
);
6484 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6485 static PyObject
*_wrap_wxPyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
* _resultobj
;
6489 PyObject
* _argo0
= 0;
6490 char *_kwnames
[] = { "self","len", NULL
};
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_SetBranchSpacing",_kwnames
,&_argo0
,&_arg1
))
6496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6503 wxPy_BEGIN_ALLOW_THREADS
;
6504 wxPyShape_SetBranchSpacing(_arg0
,_arg1
);
6506 wxPy_END_ALLOW_THREADS
;
6507 } Py_INCREF(Py_None
);
6508 _resultobj
= Py_None
;
6512 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6513 static PyObject
*_wrap_wxPyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
* _resultobj
;
6517 PyObject
* _argo0
= 0;
6518 char *_kwnames
[] = { "self", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchSpacing",_kwnames
,&_argo0
))
6524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6531 wxPy_BEGIN_ALLOW_THREADS
;
6532 _result
= (int )wxPyShape_GetBranchSpacing(_arg0
);
6534 wxPy_END_ALLOW_THREADS
;
6535 } _resultobj
= Py_BuildValue("i",_result
);
6539 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6540 static PyObject
*_wrap_wxPyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self","style", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyShape_SetBranchStyle",_kwnames
,&_argo0
,&_arg1
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6558 wxPy_BEGIN_ALLOW_THREADS
;
6559 wxPyShape_SetBranchStyle(_arg0
,_arg1
);
6561 wxPy_END_ALLOW_THREADS
;
6562 } Py_INCREF(Py_None
);
6563 _resultobj
= Py_None
;
6567 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6568 static PyObject
*_wrap_wxPyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetBranchStyle",_kwnames
,&_argo0
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6586 wxPy_BEGIN_ALLOW_THREADS
;
6587 _result
= (long )wxPyShape_GetBranchStyle(_arg0
);
6589 wxPy_END_ALLOW_THREADS
;
6590 } _resultobj
= Py_BuildValue("l",_result
);
6594 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6595 static PyObject
*_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
* _resultobj
;
6600 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self","physicalAttachment", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6614 wxPy_BEGIN_ALLOW_THREADS
;
6615 _result
= (int )wxPyShape_PhysicalToLogicalAttachment(_arg0
,_arg1
);
6617 wxPy_END_ALLOW_THREADS
;
6618 } _resultobj
= Py_BuildValue("i",_result
);
6622 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6623 static PyObject
*_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
* _resultobj
;
6628 PyObject
* _argo0
= 0;
6629 char *_kwnames
[] = { "self","logicalAttachment", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames
,&_argo0
,&_arg1
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6642 wxPy_BEGIN_ALLOW_THREADS
;
6643 _result
= (int )wxPyShape_LogicalToPhysicalAttachment(_arg0
,_arg1
);
6645 wxPy_END_ALLOW_THREADS
;
6646 } _resultobj
= Py_BuildValue("i",_result
);
6650 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6651 static PyObject
*_wrap_wxPyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
* _resultobj
;
6655 PyObject
* _argo0
= 0;
6656 char *_kwnames
[] = { "self", NULL
};
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_Draggable",_kwnames
,&_argo0
))
6662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6669 wxPy_BEGIN_ALLOW_THREADS
;
6670 _result
= (bool )wxPyShape_Draggable(_arg0
);
6672 wxPy_END_ALLOW_THREADS
;
6673 } _resultobj
= Py_BuildValue("i",_result
);
6677 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6678 static PyObject
*_wrap_wxPyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
* _resultobj
;
6683 PyObject
* _argo0
= 0;
6684 PyObject
* _argo1
= 0;
6685 char *_kwnames
[] = { "self","image", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_HasDescendant",_kwnames
,&_argo0
,&_argo1
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6705 wxPy_BEGIN_ALLOW_THREADS
;
6706 _result
= (bool )wxPyShape_HasDescendant(_arg0
,_arg1
);
6708 wxPy_END_ALLOW_THREADS
;
6709 } _resultobj
= Py_BuildValue("i",_result
);
6713 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6714 static PyObject
*_wrap_wxPyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
* _resultobj
;
6716 wxPyShape
* _result
;
6718 bool _arg1
= (bool ) TRUE
;
6719 bool _arg2
= (bool ) TRUE
;
6720 PyObject
* _argo0
= 0;
6721 int tempbool1
= (int) TRUE
;
6722 int tempbool2
= (int) TRUE
;
6723 char *_kwnames
[] = { "self","resetMapping","recompute", NULL
};
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyShape_CreateNewCopy",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6736 _arg1
= (bool ) tempbool1
;
6737 _arg2
= (bool ) tempbool2
;
6739 wxPy_BEGIN_ALLOW_THREADS
;
6740 _result
= (wxPyShape
*)wxPyShape_CreateNewCopy(_arg0
,_arg1
,_arg2
);
6742 wxPy_END_ALLOW_THREADS
;
6744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
6745 _resultobj
= Py_BuildValue("s",_ptemp
);
6748 _resultobj
= Py_None
;
6753 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6754 static PyObject
*_wrap_wxPyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6758 PyObject
* _argo0
= 0;
6759 PyObject
* _argo1
= 0;
6760 char *_kwnames
[] = { "self","copy", NULL
};
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Copy",_kwnames
,&_argo0
,&_argo1
))
6766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6780 wxPy_BEGIN_ALLOW_THREADS
;
6781 wxPyShape_Copy(_arg0
,*_arg1
);
6783 wxPy_END_ALLOW_THREADS
;
6784 } Py_INCREF(Py_None
);
6785 _resultobj
= Py_None
;
6789 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6790 static PyObject
*_wrap_wxPyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6794 PyObject
* _argo0
= 0;
6795 PyObject
* _argo1
= 0;
6796 char *_kwnames
[] = { "self","copy", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_CopyWithHandler",_kwnames
,&_argo0
,&_argo1
))
6802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6809 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6810 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
6811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6816 wxPy_BEGIN_ALLOW_THREADS
;
6817 wxPyShape_CopyWithHandler(_arg0
,*_arg1
);
6819 wxPy_END_ALLOW_THREADS
;
6820 } Py_INCREF(Py_None
);
6821 _resultobj
= Py_None
;
6825 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6826 static PyObject
*_wrap_wxPyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
* _resultobj
;
6832 PyObject
* _argo0
= 0;
6833 char *_kwnames
[] = { "self","x","y","theta", NULL
};
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddd:wxPyShape_Rotate",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6846 wxPy_BEGIN_ALLOW_THREADS
;
6847 wxPyShape_Rotate(_arg0
,_arg1
,_arg2
,_arg3
);
6849 wxPy_END_ALLOW_THREADS
;
6850 } Py_INCREF(Py_None
);
6851 _resultobj
= Py_None
;
6855 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6856 static PyObject
*_wrap_wxPyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6860 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self", NULL
};
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_GetRotation",_kwnames
,&_argo0
))
6867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6874 wxPy_BEGIN_ALLOW_THREADS
;
6875 _result
= (double )wxPyShape_GetRotation(_arg0
);
6877 wxPy_END_ALLOW_THREADS
;
6878 } _resultobj
= Py_BuildValue("d",_result
);
6882 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
6883 static PyObject
*_wrap_wxPyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6886 PyObject
* _argo0
= 0;
6887 char *_kwnames
[] = { "self", NULL
};
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_ClearAttachments",_kwnames
,&_argo0
))
6893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
6900 wxPy_BEGIN_ALLOW_THREADS
;
6901 wxPyShape_ClearAttachments(_arg0
);
6903 wxPy_END_ALLOW_THREADS
;
6904 } Py_INCREF(Py_None
);
6905 _resultobj
= Py_None
;
6909 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
6910 static PyObject
*_wrap_wxPyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6914 PyObject
* _argo0
= 0;
6915 PyObject
* _argo1
= 0;
6916 char *_kwnames
[] = { "self","dc", NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_Recentre",_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_Recentre. Expected _wxPyShape_p.");
6929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
6936 wxPy_BEGIN_ALLOW_THREADS
;
6937 wxPyShape_Recentre(_arg0
,*_arg1
);
6939 wxPy_END_ALLOW_THREADS
;
6940 } Py_INCREF(Py_None
);
6941 _resultobj
= Py_None
;
6945 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
6946 static PyObject
*_wrap_wxPyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
* _resultobj
;
6950 PyObject
* _argo0
= 0;
6951 PyObject
* _argo1
= 0;
6952 char *_kwnames
[] = { "self","list", NULL
};
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_ClearPointList",_kwnames
,&_argo0
,&_argo1
))
6958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
6965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxList_p")) {
6967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
6972 wxPy_BEGIN_ALLOW_THREADS
;
6973 wxPyShape_ClearPointList(_arg0
,*_arg1
);
6975 wxPy_END_ALLOW_THREADS
;
6976 } Py_INCREF(Py_None
);
6977 _resultobj
= Py_None
;
6981 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6982 static PyObject
*_wrap_wxPyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
* _resultobj
;
6985 PyObject
* _argo0
= 0;
6986 char *_kwnames
[] = { "self", NULL
};
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShape_base_OnDelete",_kwnames
,&_argo0
))
6992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
6994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
6999 wxPy_BEGIN_ALLOW_THREADS
;
7000 wxPyShape_base_OnDelete(_arg0
);
7002 wxPy_END_ALLOW_THREADS
;
7003 } Py_INCREF(Py_None
);
7004 _resultobj
= Py_None
;
7008 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7009 static PyObject
*_wrap_wxPyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
* _resultobj
;
7013 PyObject
* _argo0
= 0;
7014 PyObject
* _argo1
= 0;
7015 char *_kwnames
[] = { "self","dc", NULL
};
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
7021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7035 wxPy_BEGIN_ALLOW_THREADS
;
7036 wxPyShape_base_OnDraw(_arg0
,*_arg1
);
7038 wxPy_END_ALLOW_THREADS
;
7039 } Py_INCREF(Py_None
);
7040 _resultobj
= Py_None
;
7044 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7045 static PyObject
*_wrap_wxPyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
* _resultobj
;
7049 PyObject
* _argo0
= 0;
7050 PyObject
* _argo1
= 0;
7051 char *_kwnames
[] = { "self","dc", NULL
};
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
7057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7071 wxPy_BEGIN_ALLOW_THREADS
;
7072 wxPyShape_base_OnDrawContents(_arg0
,*_arg1
);
7074 wxPy_END_ALLOW_THREADS
;
7075 } Py_INCREF(Py_None
);
7076 _resultobj
= Py_None
;
7080 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7081 static PyObject
*_wrap_wxPyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
* _resultobj
;
7085 bool _arg2
= (bool ) FALSE
;
7086 PyObject
* _argo0
= 0;
7087 PyObject
* _argo1
= 0;
7088 int tempbool2
= (int) FALSE
;
7089 char *_kwnames
[] = { "self","dc","erase", NULL
};
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7108 _arg2
= (bool ) tempbool2
;
7110 wxPy_BEGIN_ALLOW_THREADS
;
7111 wxPyShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7113 wxPy_END_ALLOW_THREADS
;
7114 } Py_INCREF(Py_None
);
7115 _resultobj
= Py_None
;
7119 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7120 static PyObject
*_wrap_wxPyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7124 PyObject
* _argo0
= 0;
7125 PyObject
* _argo1
= 0;
7126 char *_kwnames
[] = { "self","dc", NULL
};
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7139 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7140 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7146 wxPy_BEGIN_ALLOW_THREADS
;
7147 wxPyShape_base_OnMoveLinks(_arg0
,*_arg1
);
7149 wxPy_END_ALLOW_THREADS
;
7150 } Py_INCREF(Py_None
);
7151 _resultobj
= Py_None
;
7155 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7156 static PyObject
*_wrap_wxPyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
* _resultobj
;
7160 PyObject
* _argo0
= 0;
7161 PyObject
* _argo1
= 0;
7162 char *_kwnames
[] = { "self","dc", NULL
};
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7182 wxPy_BEGIN_ALLOW_THREADS
;
7183 wxPyShape_base_OnErase(_arg0
,*_arg1
);
7185 wxPy_END_ALLOW_THREADS
;
7186 } Py_INCREF(Py_None
);
7187 _resultobj
= Py_None
;
7191 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7192 static PyObject
*_wrap_wxPyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
* _resultobj
;
7196 PyObject
* _argo0
= 0;
7197 PyObject
* _argo1
= 0;
7198 char *_kwnames
[] = { "self","dc", NULL
};
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7218 wxPy_BEGIN_ALLOW_THREADS
;
7219 wxPyShape_base_OnEraseContents(_arg0
,*_arg1
);
7221 wxPy_END_ALLOW_THREADS
;
7222 } Py_INCREF(Py_None
);
7223 _resultobj
= Py_None
;
7227 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7228 static PyObject
*_wrap_wxPyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
* _resultobj
;
7232 PyObject
* _argo0
= 0;
7233 PyObject
* _argo1
= 0;
7234 char *_kwnames
[] = { "self","dc", NULL
};
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7254 wxPy_BEGIN_ALLOW_THREADS
;
7255 wxPyShape_base_OnHighlight(_arg0
,*_arg1
);
7257 wxPy_END_ALLOW_THREADS
;
7258 } Py_INCREF(Py_None
);
7259 _resultobj
= Py_None
;
7263 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7264 static PyObject
*_wrap_wxPyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
* _resultobj
;
7269 int _arg3
= (int ) 0;
7270 int _arg4
= (int ) 0;
7271 PyObject
* _argo0
= 0;
7272 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7285 wxPy_BEGIN_ALLOW_THREADS
;
7286 wxPyShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7288 wxPy_END_ALLOW_THREADS
;
7289 } Py_INCREF(Py_None
);
7290 _resultobj
= Py_None
;
7294 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7295 static PyObject
*_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
* _resultobj
;
7300 int _arg3
= (int ) 0;
7301 int _arg4
= (int ) 0;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7316 wxPy_BEGIN_ALLOW_THREADS
;
7317 wxPyShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7319 wxPy_END_ALLOW_THREADS
;
7320 } Py_INCREF(Py_None
);
7321 _resultobj
= Py_None
;
7325 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7326 static PyObject
*_wrap_wxPyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
* _resultobj
;
7331 int _arg3
= (int ) 0;
7332 int _arg4
= (int ) 0;
7333 PyObject
* _argo0
= 0;
7334 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7347 wxPy_BEGIN_ALLOW_THREADS
;
7348 wxPyShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7350 wxPy_END_ALLOW_THREADS
;
7351 } Py_INCREF(Py_None
);
7352 _resultobj
= Py_None
;
7356 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7357 static PyObject
*_wrap_wxPyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7362 PyObject
* _argo0
= 0;
7363 char *_kwnames
[] = { "self","x","y", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7376 wxPy_BEGIN_ALLOW_THREADS
;
7377 wxPyShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7379 wxPy_END_ALLOW_THREADS
;
7380 } Py_INCREF(Py_None
);
7381 _resultobj
= Py_None
;
7385 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7386 static PyObject
*_wrap_wxPyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
* _resultobj
;
7395 bool _arg6
= (bool ) TRUE
;
7396 PyObject
* _argo0
= 0;
7397 PyObject
* _argo1
= 0;
7398 int tempbool6
= (int) TRUE
;
7399 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7418 _arg6
= (bool ) tempbool6
;
7420 wxPy_BEGIN_ALLOW_THREADS
;
7421 _result
= (bool )wxPyShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7423 wxPy_END_ALLOW_THREADS
;
7424 } _resultobj
= Py_BuildValue("i",_result
);
7428 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7429 static PyObject
*_wrap_wxPyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
* _resultobj
;
7437 bool _arg6
= (bool ) TRUE
;
7438 PyObject
* _argo0
= 0;
7439 PyObject
* _argo1
= 0;
7440 int tempbool6
= (int) TRUE
;
7441 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7460 _arg6
= (bool ) tempbool6
;
7462 wxPy_BEGIN_ALLOW_THREADS
;
7463 wxPyShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7465 wxPy_END_ALLOW_THREADS
;
7466 } Py_INCREF(Py_None
);
7467 _resultobj
= Py_None
;
7471 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7472 static PyObject
*_wrap_wxPyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7478 int _arg4
= (int ) 0;
7479 int _arg5
= (int ) 0;
7480 PyObject
* _argo0
= 0;
7482 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7494 _arg1
= (bool ) tempbool1
;
7496 wxPy_BEGIN_ALLOW_THREADS
;
7497 wxPyShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7499 wxPy_END_ALLOW_THREADS
;
7500 } Py_INCREF(Py_None
);
7501 _resultobj
= Py_None
;
7505 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7506 static PyObject
*_wrap_wxPyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
* _resultobj
;
7511 int _arg3
= (int ) 0;
7512 int _arg4
= (int ) 0;
7513 PyObject
* _argo0
= 0;
7514 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7527 wxPy_BEGIN_ALLOW_THREADS
;
7528 wxPyShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7530 wxPy_END_ALLOW_THREADS
;
7531 } Py_INCREF(Py_None
);
7532 _resultobj
= Py_None
;
7536 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7537 static PyObject
*_wrap_wxPyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
* _resultobj
;
7542 int _arg3
= (int ) 0;
7543 int _arg4
= (int ) 0;
7544 PyObject
* _argo0
= 0;
7545 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7558 wxPy_BEGIN_ALLOW_THREADS
;
7559 wxPyShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7561 wxPy_END_ALLOW_THREADS
;
7562 } Py_INCREF(Py_None
);
7563 _resultobj
= Py_None
;
7567 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7568 static PyObject
*_wrap_wxPyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7574 int _arg4
= (int ) 0;
7575 int _arg5
= (int ) 0;
7576 PyObject
* _argo0
= 0;
7578 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7590 _arg1
= (bool ) tempbool1
;
7592 wxPy_BEGIN_ALLOW_THREADS
;
7593 wxPyShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7595 wxPy_END_ALLOW_THREADS
;
7596 } Py_INCREF(Py_None
);
7597 _resultobj
= Py_None
;
7601 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7602 static PyObject
*_wrap_wxPyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
* _resultobj
;
7607 int _arg3
= (int ) 0;
7608 int _arg4
= (int ) 0;
7609 PyObject
* _argo0
= 0;
7610 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7623 wxPy_BEGIN_ALLOW_THREADS
;
7624 wxPyShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7626 wxPy_END_ALLOW_THREADS
;
7627 } Py_INCREF(Py_None
);
7628 _resultobj
= Py_None
;
7632 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7633 static PyObject
*_wrap_wxPyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
* _resultobj
;
7638 int _arg3
= (int ) 0;
7639 int _arg4
= (int ) 0;
7640 PyObject
* _argo0
= 0;
7641 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7654 wxPy_BEGIN_ALLOW_THREADS
;
7655 wxPyShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7657 wxPy_END_ALLOW_THREADS
;
7658 } Py_INCREF(Py_None
);
7659 _resultobj
= Py_None
;
7663 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7664 static PyObject
*_wrap_wxPyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7672 PyObject
* _argo0
= 0;
7673 PyObject
* _argo1
= 0;
7674 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7694 wxPy_BEGIN_ALLOW_THREADS
;
7695 wxPyShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7697 wxPy_END_ALLOW_THREADS
;
7698 } Py_INCREF(Py_None
);
7699 _resultobj
= Py_None
;
7703 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7704 static PyObject
*_wrap_wxPyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
* _resultobj
;
7708 PyObject
* _argo0
= 0;
7709 PyObject
* _argo1
= 0;
7710 char *_kwnames
[] = { "self","dc", NULL
};
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7730 wxPy_BEGIN_ALLOW_THREADS
;
7731 wxPyShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7733 wxPy_END_ALLOW_THREADS
;
7734 } Py_INCREF(Py_None
);
7735 _resultobj
= Py_None
;
7739 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7740 static PyObject
*_wrap_wxPyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7744 PyObject
* _argo0
= 0;
7745 PyObject
* _argo1
= 0;
7746 char *_kwnames
[] = { "self","dc", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7766 wxPy_BEGIN_ALLOW_THREADS
;
7767 wxPyShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7769 wxPy_END_ALLOW_THREADS
;
7770 } Py_INCREF(Py_None
);
7771 _resultobj
= Py_None
;
7775 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7776 static PyObject
*_wrap_wxPyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
* _resultobj
;
7780 bool _arg2
= (bool ) TRUE
;
7781 PyObject
* _argo0
= 0;
7782 PyObject
* _argo1
= 0;
7783 int tempbool2
= (int) TRUE
;
7784 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7803 _arg2
= (bool ) tempbool2
;
7805 wxPy_BEGIN_ALLOW_THREADS
;
7806 wxPyShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7808 wxPy_END_ALLOW_THREADS
;
7809 } Py_INCREF(Py_None
);
7810 _resultobj
= Py_None
;
7814 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7815 static PyObject
*_wrap_wxPyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7818 wxControlPoint
* _arg1
;
7822 int _arg5
= (int ) 0;
7823 int _arg6
= (int ) 0;
7824 PyObject
* _argo0
= 0;
7825 PyObject
* _argo1
= 0;
7827 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControlPoint_p")) {
7842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxControlPoint_p.");
7846 _arg2
= (bool ) tempbool2
;
7848 wxPy_BEGIN_ALLOW_THREADS
;
7849 wxPyShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7851 wxPy_END_ALLOW_THREADS
;
7852 } Py_INCREF(Py_None
);
7853 _resultobj
= Py_None
;
7857 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7858 static PyObject
*_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
* _resultobj
;
7861 wxControlPoint
* _arg1
;
7864 int _arg4
= (int ) 0;
7865 int _arg5
= (int ) 0;
7866 PyObject
* _argo0
= 0;
7867 PyObject
* _argo1
= 0;
7868 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
7881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControlPoint_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p.");
7888 wxPy_BEGIN_ALLOW_THREADS
;
7889 wxPyShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7891 wxPy_END_ALLOW_THREADS
;
7892 } Py_INCREF(Py_None
);
7893 _resultobj
= Py_None
;
7897 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7898 static PyObject
*_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
* _resultobj
;
7901 wxControlPoint
* _arg1
;
7904 int _arg4
= (int ) 0;
7905 int _arg5
= (int ) 0;
7906 PyObject
* _argo0
= 0;
7907 PyObject
* _argo1
= 0;
7908 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
7921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControlPoint_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p.");
7928 wxPy_BEGIN_ALLOW_THREADS
;
7929 wxPyShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7931 wxPy_END_ALLOW_THREADS
;
7932 } Py_INCREF(Py_None
);
7933 _resultobj
= Py_None
;
7937 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7938 static PyObject
*_wrap_wxPyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
* _resultobj
;
7943 PyObject
* _argo0
= 0;
7944 char *_kwnames
[] = { "self","w","h", NULL
};
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
7957 wxPy_BEGIN_ALLOW_THREADS
;
7958 wxPyShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
7960 wxPy_END_ALLOW_THREADS
;
7961 } Py_INCREF(Py_None
);
7962 _resultobj
= Py_None
;
7966 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7967 static PyObject
*_wrap_wxPyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
* _resultobj
;
7972 PyObject
* _argo0
= 0;
7973 char *_kwnames
[] = { "self","w","h", NULL
};
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShape_p")) {
7981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
7986 wxPy_BEGIN_ALLOW_THREADS
;
7987 wxPyShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
7989 wxPy_END_ALLOW_THREADS
;
7990 } Py_INCREF(Py_None
);
7991 _resultobj
= Py_None
;
7995 static PyMethodDef oglbasiccMethods
[] = {
7996 { "wxPyShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxPyShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxPyShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxPyShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxPyShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxPyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxPyShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxPyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxPyShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxPyShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxPyShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxPyShape_base_OnSize", (PyCFunction
) _wrap_wxPyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxPyShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxPyShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxPyShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxPyShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxPyShape_base_OnErase", (PyCFunction
) _wrap_wxPyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxPyShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxPyShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxPyShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxPyShape_base_OnDraw", (PyCFunction
) _wrap_wxPyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxPyShape_base_OnDelete", (PyCFunction
) _wrap_wxPyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxPyShape_ClearPointList", (PyCFunction
) _wrap_wxPyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxPyShape_Recentre", (PyCFunction
) _wrap_wxPyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxPyShape_ClearAttachments", (PyCFunction
) _wrap_wxPyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxPyShape_GetRotation", (PyCFunction
) _wrap_wxPyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxPyShape_Rotate", (PyCFunction
) _wrap_wxPyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxPyShape_CopyWithHandler", (PyCFunction
) _wrap_wxPyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxPyShape_Copy", (PyCFunction
) _wrap_wxPyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxPyShape_CreateNewCopy", (PyCFunction
) _wrap_wxPyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxPyShape_HasDescendant", (PyCFunction
) _wrap_wxPyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxPyShape_Draggable", (PyCFunction
) _wrap_wxPyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_wxPyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_wxPyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxPyShape_GetBranchStyle", (PyCFunction
) _wrap_wxPyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxPyShape_SetBranchStyle", (PyCFunction
) _wrap_wxPyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxPyShape_GetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxPyShape_SetBranchSpacing", (PyCFunction
) _wrap_wxPyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxPyShape_GetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxPyShape_SetBranchStemLength", (PyCFunction
) _wrap_wxPyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxPyShape_GetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxPyShape_SetBranchNeckLength", (PyCFunction
) _wrap_wxPyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxPyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_wxPyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_wxPyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_wxPyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_wxPyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxPyShape_DrawLinks", (PyCFunction
) _wrap_wxPyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxPyShape_EraseLinks", (PyCFunction
) _wrap_wxPyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxPyShape_AttachmentSortTest", (PyCFunction
) _wrap_wxPyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxPyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_wxPyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxPyShape_AttachmentIsValid", (PyCFunction
) _wrap_wxPyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxPyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_wxPyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxPyShape_GetAttachmentPosition", (PyCFunction
) _wrap_wxPyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxPyShape_RemoveLine", (PyCFunction
) _wrap_wxPyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxPyShape_ClearText", (PyCFunction
) _wrap_wxPyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxPyShape_FindRegionNames", (PyCFunction
) _wrap_wxPyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxPyShape_FindRegion", (PyCFunction
) _wrap_wxPyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxPyShape_AssignNewIds", (PyCFunction
) _wrap_wxPyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxPyShape_ClearRegions", (PyCFunction
) _wrap_wxPyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxPyShape_AddRegion", (PyCFunction
) _wrap_wxPyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxPyShape_GetRegions", (PyCFunction
) _wrap_wxPyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxPyShape_NameRegions", (PyCFunction
) _wrap_wxPyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxPyShape_GetRegionId", (PyCFunction
) _wrap_wxPyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxPyShape_GetRegionName", (PyCFunction
) _wrap_wxPyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxPyShape_SetRegionName", (PyCFunction
) _wrap_wxPyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_wxPyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxPyShape_GetTextColour", (PyCFunction
) _wrap_wxPyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxPyShape_SetTextColour", (PyCFunction
) _wrap_wxPyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxPyShape_GetFont", (PyCFunction
) _wrap_wxPyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxPyShape_SetFont", (PyCFunction
) _wrap_wxPyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxPyShape_GetFormatMode", (PyCFunction
) _wrap_wxPyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxPyShape_SetFormatMode", (PyCFunction
) _wrap_wxPyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxPyShape_FormatText", (PyCFunction
) _wrap_wxPyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxPyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_wxPyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxPyShape_GetBrush", (PyCFunction
) _wrap_wxPyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxPyShape_GetPen", (PyCFunction
) _wrap_wxPyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxPyShape_AddText", (PyCFunction
) _wrap_wxPyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxPyShape_GetLinePosition", (PyCFunction
) _wrap_wxPyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxPyShape_AddLine", (PyCFunction
) _wrap_wxPyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxPyShape_Constrain", (PyCFunction
) _wrap_wxPyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxPyShape_Detach", (PyCFunction
) _wrap_wxPyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxPyShape_Attach", (PyCFunction
) _wrap_wxPyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxPyShape_SetAttachmentSize", (PyCFunction
) _wrap_wxPyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxPyShape_SetSize", (PyCFunction
) _wrap_wxPyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxPyShape_DrawContents", (PyCFunction
) _wrap_wxPyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxPyShape_MoveLinks", (PyCFunction
) _wrap_wxPyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxPyShape_Flash", (PyCFunction
) _wrap_wxPyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxPyShape_Draw", (PyCFunction
) _wrap_wxPyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxPyShape_EraseContents", (PyCFunction
) _wrap_wxPyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxPyShape_Erase", (PyCFunction
) _wrap_wxPyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxPyShape_Move", (PyCFunction
) _wrap_wxPyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxPyShape_IsShown", (PyCFunction
) _wrap_wxPyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxPyShape_Show", (PyCFunction
) _wrap_wxPyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxPyShape_GetClientData", (PyCFunction
) _wrap_wxPyShape_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxPyShape_SetClientData", (PyCFunction
) _wrap_wxPyShape_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxPyShape_SetBrush", (PyCFunction
) _wrap_wxPyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxPyShape_SetPen", (PyCFunction
) _wrap_wxPyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxPyShape_GetId", (PyCFunction
) _wrap_wxPyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxPyShape_SetId", (PyCFunction
) _wrap_wxPyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxPyShape_GetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxPyShape_SetAttachmentMode", (PyCFunction
) _wrap_wxPyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxPyShape_GetDisableLabel", (PyCFunction
) _wrap_wxPyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxPyShape_SetDisableLabel", (PyCFunction
) _wrap_wxPyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxPyShape_GetLines", (PyCFunction
) _wrap_wxPyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_wxPyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxPyShape_GetCentreResize", (PyCFunction
) _wrap_wxPyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxPyShape_SetCentreResize", (PyCFunction
) _wrap_wxPyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxPyShape_HitTest", (PyCFunction
) _wrap_wxPyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxPyShape_GetShadowMode", (PyCFunction
) _wrap_wxPyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxPyShape_SetShadowMode", (PyCFunction
) _wrap_wxPyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxPyShape_GetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxPyShape_SetSpaceAttachments", (PyCFunction
) _wrap_wxPyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxPyShape_GetFixedHeight", (PyCFunction
) _wrap_wxPyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxPyShape_GetFixedWidth", (PyCFunction
) _wrap_wxPyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxPyShape_GetFixedSize", (PyCFunction
) _wrap_wxPyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxPyShape_SetFixedSize", (PyCFunction
) _wrap_wxPyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxPyShape_SetDraggable", (PyCFunction
) _wrap_wxPyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxPyShape_GetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxPyShape_SetSensitivityFilter", (PyCFunction
) _wrap_wxPyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyShape_AncestorSelected", (PyCFunction
) _wrap_wxPyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyShape_Selected", (PyCFunction
) _wrap_wxPyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxPyShape_IsHighlighted", (PyCFunction
) _wrap_wxPyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxPyShape_SetHighlight", (PyCFunction
) _wrap_wxPyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxPyShape_Select", (PyCFunction
) _wrap_wxPyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxPyShape_CalculateSize", (PyCFunction
) _wrap_wxPyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxPyShape_Recompute", (PyCFunction
) _wrap_wxPyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxPyShape_SetEventHandler", (PyCFunction
) _wrap_wxPyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxPyShape_GetEventHandler", (PyCFunction
) _wrap_wxPyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxPyShape_ResetControlPoints", (PyCFunction
) _wrap_wxPyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxPyShape_DeleteControlPoints", (PyCFunction
) _wrap_wxPyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxPyShape_MakeControlPoints", (PyCFunction
) _wrap_wxPyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxPyShape_GetDrawHandles", (PyCFunction
) _wrap_wxPyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxPyShape_SetDrawHandles", (PyCFunction
) _wrap_wxPyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxPyShape_Unlink", (PyCFunction
) _wrap_wxPyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxPyShape_GetChildren", (PyCFunction
) _wrap_wxPyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxPyShape_GetTopAncestor", (PyCFunction
) _wrap_wxPyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxPyShape_SetParent", (PyCFunction
) _wrap_wxPyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxPyShape_GetParent", (PyCFunction
) _wrap_wxPyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxPyShape_SetY", (PyCFunction
) _wrap_wxPyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxPyShape_SetX", (PyCFunction
) _wrap_wxPyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxPyShape_GetY", (PyCFunction
) _wrap_wxPyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxPyShape_GetX", (PyCFunction
) _wrap_wxPyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxPyShape_RemoveFromCanvas", (PyCFunction
) _wrap_wxPyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxPyShape_InsertInCanvas", (PyCFunction
) _wrap_wxPyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxPyShape_AddToCanvas", (PyCFunction
) _wrap_wxPyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxPyShape_SetCanvas", (PyCFunction
) _wrap_wxPyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxPyShape_GetCanvas", (PyCFunction
) _wrap_wxPyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxPyShape_GetPerimeterPoint", (PyCFunction
) _wrap_wxPyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxPyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxPyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_wxPyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxPyShape_Destroy", (PyCFunction
) _wrap_wxPyShape_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxPyShape__setSelf", (PyCFunction
) _wrap_wxPyShape__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_wxPyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxPyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxPyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_wxPyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxPyShapeEvtHandler_Destroy", (PyCFunction
) _wrap_wxPyShapeEvtHandler_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxPyShapeEvtHandler__setSelf", (PyCFunction
) _wrap_wxPyShapeEvtHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "new_wxPyShapeEvtHandler", (PyCFunction
) _wrap_new_wxPyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxShapeRegion_ClearText", (PyCFunction
) _wrap_wxShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxShapeRegion_GetHeight", (PyCFunction
) _wrap_wxShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxShapeRegion_GetWidth", (PyCFunction
) _wrap_wxShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxShapeRegion_GetActualPen", (PyCFunction
) _wrap_wxShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxShapeRegion_SetPenColour", (PyCFunction
) _wrap_wxShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxShapeRegion_SetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxShapeRegion_GetPenStyle", (PyCFunction
) _wrap_wxShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxShapeRegion_GetPenColour", (PyCFunction
) _wrap_wxShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxShapeRegion_GetFormattedText", (PyCFunction
) _wrap_wxShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_wxShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxShapeRegion_GetColour", (PyCFunction
) _wrap_wxShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxShapeRegion_GetName", (PyCFunction
) _wrap_wxShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxShapeRegion_GetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxShapeRegion_GetPosition", (PyCFunction
) _wrap_wxShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxShapeRegion_GetSize", (PyCFunction
) _wrap_wxShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxShapeRegion_GetProportion", (PyCFunction
) _wrap_wxShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxShapeRegion_GetMinSize", (PyCFunction
) _wrap_wxShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxShapeRegion_GetFont", (PyCFunction
) _wrap_wxShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxShapeRegion_GetText", (PyCFunction
) _wrap_wxShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxShapeRegion_SetColour", (PyCFunction
) _wrap_wxShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxShapeRegion_SetName", (PyCFunction
) _wrap_wxShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxShapeRegion_SetFormatMode", (PyCFunction
) _wrap_wxShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxShapeRegion_SetProportions", (PyCFunction
) _wrap_wxShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxShapeRegion_SetPosition", (PyCFunction
) _wrap_wxShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxShapeRegion_SetSize", (PyCFunction
) _wrap_wxShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxShapeRegion_SetMinSize", (PyCFunction
) _wrap_wxShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxShapeRegion_SetFont", (PyCFunction
) _wrap_wxShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxShapeRegion_SetText", (PyCFunction
) _wrap_wxShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "new_wxShapeRegion", (PyCFunction
) _wrap_new_wxShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
8233 * This table is used by the pointer type-checker
8235 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8236 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8237 { "_wxEvent","_class_wxEvent",0},
8238 { "_class_wxActivateEvent","_wxActivateEvent",0},
8239 { "_signed_long","_long",0},
8240 { "_wxMenuEvent","_class_wxMenuEvent",0},
8241 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
8242 { "_wxBMPHandler","_class_wxBMPHandler",0},
8243 { "_wxImage","_class_wxImage",0},
8244 { "_wxPrintQuality","_int",0},
8245 { "_wxPrintQuality","_signed_int",0},
8246 { "_wxPrintQuality","_unsigned_int",0},
8247 { "_wxPrintQuality","_wxWindowID",0},
8248 { "_wxPrintQuality","_uint",0},
8249 { "_wxPrintQuality","_EBool",0},
8250 { "_wxPrintQuality","_size_t",0},
8251 { "_wxFontData","_class_wxFontData",0},
8252 { "___wxPyCleanup","_class___wxPyCleanup",0},
8253 { "_class_wxRegionIterator","_wxRegionIterator",0},
8254 { "_class_wxMenuBar","_wxMenuBar",0},
8255 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8256 { "_class_wxEvtHandler","_wxEvtHandler",0},
8257 { "_wxPaintEvent","_class_wxPaintEvent",0},
8258 { "_wxGIFHandler","_class_wxGIFHandler",0},
8259 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8260 { "_wxCursor","_class_wxCursor",0},
8261 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8262 { "_wxImageHandler","_class_wxImageHandler",0},
8263 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
8264 { "_wxMask","_class_wxMask",0},
8265 { "_wxToolTip","_class_wxToolTip",0},
8266 { "_wxGrid","_class_wxGrid",0},
8267 { "_wxPNGHandler","_class_wxPNGHandler",0},
8268 { "_class_wxColourData","_wxColourData",0},
8269 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8270 { "_wxPrinter","_class_wxPrinter",0},
8271 { "_wxPen","_class_wxPen",0},
8272 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8273 { "_byte","_unsigned_char",0},
8274 { "_wxStaticBox","_class_wxStaticBox",0},
8275 { "_wxChoice","_class_wxChoice",0},
8276 { "_wxSlider","_class_wxSlider",0},
8277 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8278 { "_wxPyPrintout","_class_wxPyPrintout",0},
8279 { "_wxShapeRegion","_class_wxShapeRegion",0},
8280 { "_long","_wxDash",0},
8281 { "_long","_unsigned_long",0},
8282 { "_long","_signed_long",0},
8283 { "_wxImageList","_class_wxImageList",0},
8284 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8285 { "_wxBitmapButton","_class_wxBitmapButton",0},
8286 { "_wxSashWindow","_class_wxSashWindow",0},
8287 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8288 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8289 { "_class_wxGauge","_wxGauge",0},
8290 { "_class_wxSashEvent","_wxSashEvent",0},
8291 { "_wxDC","_class_wxDC",0},
8292 { "_wxListEvent","_class_wxListEvent",0},
8293 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8294 { "_wxProgressDialog","_class_wxProgressDialog",0},
8295 { "_class_wxBMPHandler","_wxBMPHandler",0},
8296 { "_wxPrintPreview","_class_wxPrintPreview",0},
8297 { "_wxSpinEvent","_class_wxSpinEvent",0},
8298 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8299 { "_size_t","_wxPrintQuality",0},
8300 { "_size_t","_unsigned_int",0},
8301 { "_size_t","_int",0},
8302 { "_size_t","_wxWindowID",0},
8303 { "_size_t","_uint",0},
8304 { "_class_wxRealPoint","_wxRealPoint",0},
8305 { "_wxPrinterDC","_class_wxPrinterDC",0},
8306 { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8307 { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8308 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
8309 { "_class_wxMenuItem","_wxMenuItem",0},
8310 { "_class_wxPaintEvent","_wxPaintEvent",0},
8311 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8312 { "_class_wxStatusBar","_wxStatusBar",0},
8313 { "_class_wxGIFHandler","_wxGIFHandler",0},
8314 { "_wxPanel","_class_wxPanel",0},
8315 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8316 { "_wxCheckBox","_class_wxCheckBox",0},
8317 { "_wxPyEvent","_class_wxPyEvent",0},
8318 { "_wxTextCtrl","_class_wxTextCtrl",0},
8319 { "_class_wxMask","_wxMask",0},
8320 { "_class_wxToolTip","_wxToolTip",0},
8321 { "_class_wxKeyEvent","_wxKeyEvent",0},
8322 { "_class_wxGrid","_wxGrid",0},
8323 { "_class_wxPNGHandler","_wxPNGHandler",0},
8324 { "_wxColour","_class_wxColour",0},
8325 { "_class_wxDialog","_wxDialog",0},
8326 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8327 { "_class_wxPrinter","_wxPrinter",0},
8328 { "_wxIdleEvent","_class_wxIdleEvent",0},
8329 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8330 { "_wxToolBar","_class_wxToolBar",0},
8331 { "_wxStaticLine","_class_wxStaticLine",0},
8332 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8333 { "_wxBrush","_class_wxBrush",0},
8334 { "_wxMiniFrame","_class_wxMiniFrame",0},
8335 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8336 { "_class_wxPyPrintout","_wxPyPrintout",0},
8337 { "_class_wxSashWindow","_wxSashWindow",0},
8338 { "_wxShowEvent","_class_wxShowEvent",0},
8339 { "_uint","_wxPrintQuality",0},
8340 { "_uint","_size_t",0},
8341 { "_uint","_unsigned_int",0},
8342 { "_uint","_int",0},
8343 { "_uint","_wxWindowID",0},
8344 { "_class_wxEvent","_wxEvent",0},
8345 { "_wxCheckListBox","_class_wxCheckListBox",0},
8346 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8347 { "_wxGridEvent","_class_wxGridEvent",0},
8348 { "_wxRect","_class_wxRect",0},
8349 { "_wxCommandEvent","_class_wxCommandEvent",0},
8350 { "_wxSizeEvent","_class_wxSizeEvent",0},
8351 { "_class_wxImage","_wxImage",0},
8352 { "_wxPoint","_class_wxPoint",0},
8353 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8354 { "_class_wxButton","_wxButton",0},
8355 { "_wxRadioBox","_class_wxRadioBox",0},
8356 { "_class_wxFontData","_wxFontData",0},
8357 { "_class___wxPyCleanup","___wxPyCleanup",0},
8358 { "_wxBitmap","_class_wxBitmap",0},
8359 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
8360 { "_wxPrintDialog","_class_wxPrintDialog",0},
8361 { "_wxPyTimer","_class_wxPyTimer",0},
8362 { "_wxWindowDC","_class_wxWindowDC",0},
8363 { "_wxScrollBar","_class_wxScrollBar",0},
8364 { "_wxSpinButton","_class_wxSpinButton",0},
8365 { "_wxToolBarTool","_class_wxToolBarTool",0},
8366 { "_wxColourDialog","_class_wxColourDialog",0},
8367 { "_wxPrintData","_class_wxPrintData",0},
8368 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8369 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8370 { "_wxMessageDialog","_class_wxMessageDialog",0},
8371 { "_class_wxPyEvent","_wxPyEvent",0},
8372 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
8373 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8374 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8375 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8376 { "_wxListItem","_class_wxListItem",0},
8377 { "_class_wxToolBar","_wxToolBar",0},
8378 { "_class_wxStaticLine","_wxStaticLine",0},
8379 { "_wxScrollEvent","_class_wxScrollEvent",0},
8380 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
8381 { "_class_wxShapeRegion","_wxShapeRegion",0},
8382 { "_EBool","_wxPrintQuality",0},
8383 { "_EBool","_signed_int",0},
8384 { "_EBool","_int",0},
8385 { "_EBool","_wxWindowID",0},
8386 { "_class_wxRegion","_wxRegion",0},
8387 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8388 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8389 { "_wxStaticText","_class_wxStaticText",0},
8390 { "_wxFont","_class_wxFont",0},
8391 { "_wxCloseEvent","_class_wxCloseEvent",0},
8392 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
8393 { "_wxNotebook","_class_wxNotebook",0},
8394 { "_unsigned_long","_wxDash",0},
8395 { "_unsigned_long","_long",0},
8396 { "_class_wxRect","_wxRect",0},
8397 { "_class_wxDC","_wxDC",0},
8398 { "_class_wxProgressDialog","_wxProgressDialog",0},
8399 { "_wxPyApp","_class_wxPyApp",0},
8400 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8401 { "_class_wxTreeEvent","_wxTreeEvent",0},
8402 { "_class_wxDirDialog","_wxDirDialog",0},
8403 { "_class_wxPyTimer","_wxPyTimer",0},
8404 { "_wxFocusEvent","_class_wxFocusEvent",0},
8405 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8406 { "_class_wxSpinButton","_wxSpinButton",0},
8407 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8408 { "_class_wxPanel","_wxPanel",0},
8409 { "_class_wxCheckBox","_wxCheckBox",0},
8410 { "_wxComboBox","_class_wxComboBox",0},
8411 { "_wxRadioButton","_class_wxRadioButton",0},
8412 { "_class_wxMessageDialog","_wxMessageDialog",0},
8413 { "_signed_int","_wxPrintQuality",0},
8414 { "_signed_int","_EBool",0},
8415 { "_signed_int","_wxWindowID",0},
8416 { "_signed_int","_int",0},
8417 { "_class_wxTextCtrl","_wxTextCtrl",0},
8418 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8419 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8420 { "_wxMenu","_class_wxMenu",0},
8421 { "_class_wxMoveEvent","_wxMoveEvent",0},
8422 { "_wxListBox","_class_wxListBox",0},
8423 { "_wxScreenDC","_class_wxScreenDC",0},
8424 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
8425 { "_WXTYPE","_short",0},
8426 { "_WXTYPE","_signed_short",0},
8427 { "_WXTYPE","_unsigned_short",0},
8428 { "_wxFileDialog","_class_wxFileDialog",0},
8429 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8430 { "_class_wxBrush","_wxBrush",0},
8431 { "_unsigned_short","_WXTYPE",0},
8432 { "_unsigned_short","_short",0},
8433 { "_class_wxWindow","_wxWindow",0},
8434 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
8435 { "_class_wxStaticText","_wxStaticText",0},
8436 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8437 { "_class_wxFont","_wxFont",0},
8438 { "_class_wxCloseEvent","_wxCloseEvent",0},
8439 { "_wxSashEvent","_class_wxSashEvent",0},
8440 { "_class_wxMenuEvent","_wxMenuEvent",0},
8441 { "_wxClientDC","_class_wxClientDC",0},
8442 { "_wxMouseEvent","_class_wxMouseEvent",0},
8443 { "_wxListCtrl","_class_wxListCtrl",0},
8444 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8445 { "_class_wxPoint","_wxPoint",0},
8446 { "_wxRealPoint","_class_wxRealPoint",0},
8447 { "_class_wxRadioBox","_wxRadioBox",0},
8448 { "_wxGridCell","_class_wxGridCell",0},
8449 { "_signed_short","_WXTYPE",0},
8450 { "_signed_short","_short",0},
8451 { "_wxMemoryDC","_class_wxMemoryDC",0},
8452 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
8453 { "_class_wxPrintDialog","_wxPrintDialog",0},
8454 { "_wxPaintDC","_class_wxPaintDC",0},
8455 { "_class_wxWindowDC","_wxWindowDC",0},
8456 { "_class_wxFocusEvent","_wxFocusEvent",0},
8457 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8458 { "_wxStatusBar","_class_wxStatusBar",0},
8459 { "_class_wxToolBarTool","_wxToolBarTool",0},
8460 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8461 { "_class_wxCursor","_wxCursor",0},
8462 { "_class_wxImageHandler","_wxImageHandler",0},
8463 { "_wxPyShape","_class_wxPyShape",0},
8464 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8465 { "_wxTreeItemId","_class_wxTreeItemId",0},
8466 { "_unsigned_char","_byte",0},
8467 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8468 { "_class_wxMenu","_wxMenu",0},
8469 { "_wxControl","_class_wxControl",0},
8470 { "_class_wxListBox","_wxListBox",0},
8471 { "_unsigned_int","_wxPrintQuality",0},
8472 { "_unsigned_int","_size_t",0},
8473 { "_unsigned_int","_uint",0},
8474 { "_unsigned_int","_wxWindowID",0},
8475 { "_unsigned_int","_int",0},
8476 { "_wxIcon","_class_wxIcon",0},
8477 { "_wxDialog","_class_wxDialog",0},
8478 { "_class_wxListItem","_wxListItem",0},
8479 { "_class_wxPen","_wxPen",0},
8480 { "_class_wxFileDialog","_wxFileDialog",0},
8481 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
8482 { "_short","_WXTYPE",0},
8483 { "_short","_unsigned_short",0},
8484 { "_short","_signed_short",0},
8485 { "_class_wxStaticBox","_wxStaticBox",0},
8486 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8487 { "_class_wxScrollEvent","_wxScrollEvent",0},
8488 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8489 { "_class_wxChoice","_wxChoice",0},
8490 { "_class_wxSlider","_wxSlider",0},
8491 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8492 { "_class_wxImageList","_wxImageList",0},
8493 { "_class_wxBitmapButton","_wxBitmapButton",0},
8494 { "_wxFrame","_class_wxFrame",0},
8495 { "_class_wxNotebook","_wxNotebook",0},
8496 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8497 { "_wxWindowID","_wxPrintQuality",0},
8498 { "_wxWindowID","_size_t",0},
8499 { "_wxWindowID","_EBool",0},
8500 { "_wxWindowID","_uint",0},
8501 { "_wxWindowID","_int",0},
8502 { "_wxWindowID","_signed_int",0},
8503 { "_wxWindowID","_unsigned_int",0},
8504 { "_int","_wxPrintQuality",0},
8505 { "_int","_size_t",0},
8506 { "_int","_EBool",0},
8507 { "_int","_uint",0},
8508 { "_int","_wxWindowID",0},
8509 { "_int","_unsigned_int",0},
8510 { "_int","_signed_int",0},
8511 { "_class_wxMouseEvent","_wxMouseEvent",0},
8512 { "_class_wxListEvent","_wxListEvent",0},
8513 { "_class_wxPrintPreview","_wxPrintPreview",0},
8514 { "_class_wxSpinEvent","_wxSpinEvent",0},
8515 { "_wxButton","_class_wxButton",0},
8516 { "_class_wxPyApp","_wxPyApp",0},
8517 { "_wxSize","_class_wxSize",0},
8518 { "_wxRegionIterator","_class_wxRegionIterator",0},
8519 { "_class_wxPrinterDC","_wxPrinterDC",0},
8520 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8521 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8522 { "_class_wxPaintDC","_wxPaintDC",0},
8523 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8524 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8525 { "_class_wxComboBox","_wxComboBox",0},
8526 { "_class_wxRadioButton","_wxRadioButton",0},
8527 { "_class_wxPyShape","_wxPyShape",0},
8528 { "_class_wxTreeItemId","_wxTreeItemId",0},
8529 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
8530 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8531 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8532 { "_class_wxControl","_wxControl",0},
8533 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8534 { "_class_wxIcon","_wxIcon",0},
8535 { "_class_wxColour","_wxColour",0},
8536 { "_class_wxScreenDC","_wxScreenDC",0},
8537 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8538 { "_wxPalette","_class_wxPalette",0},
8539 { "_class_wxIdleEvent","_wxIdleEvent",0},
8540 { "_wxEraseEvent","_class_wxEraseEvent",0},
8541 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8542 { "_class_wxMiniFrame","_wxMiniFrame",0},
8543 { "_wxFontDialog","_class_wxFontDialog",0},
8544 { "_wxRegion","_class_wxRegion",0},
8545 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8546 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8547 { "_class_wxShowEvent","_wxShowEvent",0},
8548 { "_wxActivateEvent","_class_wxActivateEvent",0},
8549 { "_wxGauge","_class_wxGauge",0},
8550 { "_class_wxCheckListBox","_wxCheckListBox",0},
8551 { "_class_wxGridEvent","_wxGridEvent",0},
8552 { "_class_wxCommandEvent","_wxCommandEvent",0},
8553 { "_class_wxClientDC","_wxClientDC",0},
8554 { "_class_wxSizeEvent","_wxSizeEvent",0},
8555 { "_class_wxListCtrl","_wxListCtrl",0},
8556 { "_class_wxGridCell","_wxGridCell",0},
8557 { "_class_wxSize","_wxSize",0},
8558 { "_class_wxBitmap","_wxBitmap",0},
8559 { "_class_wxMemoryDC","_wxMemoryDC",0},
8560 { "_wxMenuBar","_class_wxMenuBar",0},
8561 { "_wxTreeEvent","_class_wxTreeEvent",0},
8562 { "_wxDirDialog","_class_wxDirDialog",0},
8563 { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8564 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler
},
8565 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
8566 { "_wxEvtHandler","_class_wxEvtHandler",0},
8567 { "_wxMenuItem","_class_wxMenuItem",0},
8568 { "_class_wxScrollBar","_wxScrollBar",0},
8569 { "_class_wxColourDialog","_wxColourDialog",0},
8570 { "_class_wxPrintData","_wxPrintData",0},
8571 { "_wxDash","_unsigned_long",0},
8572 { "_wxDash","_long",0},
8573 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8574 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
8575 { "_wxKeyEvent","_class_wxKeyEvent",0},
8576 { "_wxMoveEvent","_class_wxMoveEvent",0},
8577 { "_wxColourData","_class_wxColourData",0},
8578 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
8579 { "_class_wxPalette","_wxPalette",0},
8580 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
8581 { "_class_wxEraseEvent","_wxEraseEvent",0},
8582 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
8583 { "_class_wxFontDialog","_wxFontDialog",0},
8584 { "_wxWindow","_class_wxWindow",0},
8585 { "_class_wxFrame","_wxFrame",0},
8588 static PyObject
*SWIG_globals
;
8592 SWIGEXPORT(void) initoglbasicc() {
8594 SWIG_globals
= SWIG_newvarlink();
8595 m
= Py_InitModule("oglbasicc", oglbasiccMethods
);
8596 d
= PyModule_GetDict(m
);
8599 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8600 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);