]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/oglbasic.cpp
second halt of Chris' wxImage ICO patch
[wxWidgets.git] / wxPython / contrib / ogl / oglbasic.cpp
1 /*
2 * FILE : contrib/ogl/oglbasic.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initoglbasicc
55
56 #define SWIG_name "oglbasicc"
57
58 #include "export.h"
59 #include "oglhelpers.h"
60
61
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90 #else
91 static char* wxStringErrorMsg = "String type required";
92 #endif
93
94 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
95
96 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
97 #ifdef __cplusplus
98 extern "C" {
99 #endif
100 static void *SwigwxShapeRegionTowxObject(void *ptr) {
101 wxShapeRegion *src;
102 wxObject *dest;
103 src = (wxShapeRegion *) ptr;
104 dest = (wxObject *) src;
105 return (void *) dest;
106 }
107
108 #define new_wxShapeRegion() (new wxShapeRegion())
109 static PyObject *_wrap_new_wxShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
110 PyObject * _resultobj;
111 wxShapeRegion * _result;
112 char *_kwnames[] = { NULL };
113 char _ptemp[128];
114
115 self = self;
116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxShapeRegion",_kwnames))
117 return NULL;
118 {
119 wxPy_BEGIN_ALLOW_THREADS;
120 _result = (wxShapeRegion *)new_wxShapeRegion();
121
122 wxPy_END_ALLOW_THREADS;
123 } if (_result) {
124 SWIG_MakePtr(_ptemp, (char *) _result,"_wxShapeRegion_p");
125 _resultobj = Py_BuildValue("s",_ptemp);
126 } else {
127 Py_INCREF(Py_None);
128 _resultobj = Py_None;
129 }
130 return _resultobj;
131 }
132
133 #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
134 static PyObject *_wrap_wxShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
135 PyObject * _resultobj;
136 wxShapeRegion * _arg0;
137 wxString * _arg1;
138 PyObject * _argo0 = 0;
139 PyObject * _obj1 = 0;
140 char *_kwnames[] = { "self","s", NULL };
141
142 self = self;
143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetText",_kwnames,&_argo0,&_obj1))
144 return NULL;
145 if (_argo0) {
146 if (_argo0 == Py_None) { _arg0 = NULL; }
147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p.");
149 return NULL;
150 }
151 }
152 {
153 #if PYTHON_API_VERSION >= 1009
154 char* tmpPtr; int tmpSize;
155 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
156 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
157 return NULL;
158 }
159 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
160 return NULL;
161 _arg1 = new wxString(tmpPtr, tmpSize);
162 #else
163 if (!PyString_Check(_obj1)) {
164 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
165 return NULL;
166 }
167 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
168 #endif
169 }
170 {
171 wxPy_BEGIN_ALLOW_THREADS;
172 wxShapeRegion_SetText(_arg0,*_arg1);
173
174 wxPy_END_ALLOW_THREADS;
175 } Py_INCREF(Py_None);
176 _resultobj = Py_None;
177 {
178 if (_obj1)
179 delete _arg1;
180 }
181 return _resultobj;
182 }
183
184 #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
185 static PyObject *_wrap_wxShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
186 PyObject * _resultobj;
187 wxShapeRegion * _arg0;
188 wxFont * _arg1;
189 PyObject * _argo0 = 0;
190 PyObject * _obj1 = 0;
191 char *_kwnames[] = { "self","f", NULL };
192
193 self = self;
194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetFont",_kwnames,&_argo0,&_obj1))
195 return NULL;
196 if (_argo0) {
197 if (_argo0 == Py_None) { _arg0 = NULL; }
198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p.");
200 return NULL;
201 }
202 }
203 {
204 wxFont* temp;
205 if (_obj1) {
206 if (_obj1 == Py_None) { temp = NULL; }
207 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
208 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
209 return NULL;
210 }
211 }
212 if (temp)
213 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
214 temp->GetFamily(),
215 temp->GetStyle(),
216 temp->GetWeight(),
217 temp->GetUnderlined(),
218 temp->GetFaceName(),
219 temp->GetEncoding());
220 else
221 _arg1 = NULL;
222 }
223 {
224 wxPy_BEGIN_ALLOW_THREADS;
225 wxShapeRegion_SetFont(_arg0,_arg1);
226
227 wxPy_END_ALLOW_THREADS;
228 } Py_INCREF(Py_None);
229 _resultobj = Py_None;
230 return _resultobj;
231 }
232
233 #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1))
234 static PyObject *_wrap_wxShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
235 PyObject * _resultobj;
236 wxShapeRegion * _arg0;
237 double _arg1;
238 double _arg2;
239 PyObject * _argo0 = 0;
240 char *_kwnames[] = { "self","w","h", NULL };
241
242 self = self;
243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetMinSize",_kwnames,&_argo0,&_arg1,&_arg2))
244 return NULL;
245 if (_argo0) {
246 if (_argo0 == Py_None) { _arg0 = NULL; }
247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p.");
249 return NULL;
250 }
251 }
252 {
253 wxPy_BEGIN_ALLOW_THREADS;
254 wxShapeRegion_SetMinSize(_arg0,_arg1,_arg2);
255
256 wxPy_END_ALLOW_THREADS;
257 } Py_INCREF(Py_None);
258 _resultobj = Py_None;
259 return _resultobj;
260 }
261
262 #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
263 static PyObject *_wrap_wxShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
264 PyObject * _resultobj;
265 wxShapeRegion * _arg0;
266 double _arg1;
267 double _arg2;
268 PyObject * _argo0 = 0;
269 char *_kwnames[] = { "self","w","h", NULL };
270
271 self = self;
272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
273 return NULL;
274 if (_argo0) {
275 if (_argo0 == Py_None) { _arg0 = NULL; }
276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p.");
278 return NULL;
279 }
280 }
281 {
282 wxPy_BEGIN_ALLOW_THREADS;
283 wxShapeRegion_SetSize(_arg0,_arg1,_arg2);
284
285 wxPy_END_ALLOW_THREADS;
286 } Py_INCREF(Py_None);
287 _resultobj = Py_None;
288 return _resultobj;
289 }
290
291 #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1))
292 static PyObject *_wrap_wxShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
293 PyObject * _resultobj;
294 wxShapeRegion * _arg0;
295 double _arg1;
296 double _arg2;
297 PyObject * _argo0 = 0;
298 char *_kwnames[] = { "self","x","y", NULL };
299
300 self = self;
301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetPosition",_kwnames,&_argo0,&_arg1,&_arg2))
302 return NULL;
303 if (_argo0) {
304 if (_argo0 == Py_None) { _arg0 = NULL; }
305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p.");
307 return NULL;
308 }
309 }
310 {
311 wxPy_BEGIN_ALLOW_THREADS;
312 wxShapeRegion_SetPosition(_arg0,_arg1,_arg2);
313
314 wxPy_END_ALLOW_THREADS;
315 } Py_INCREF(Py_None);
316 _resultobj = Py_None;
317 return _resultobj;
318 }
319
320 #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1))
321 static PyObject *_wrap_wxShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
322 PyObject * _resultobj;
323 wxShapeRegion * _arg0;
324 double _arg1;
325 double _arg2;
326 PyObject * _argo0 = 0;
327 char *_kwnames[] = { "self","x","y", NULL };
328
329 self = self;
330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetProportions",_kwnames,&_argo0,&_arg1,&_arg2))
331 return NULL;
332 if (_argo0) {
333 if (_argo0 == Py_None) { _arg0 = NULL; }
334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p.");
336 return NULL;
337 }
338 }
339 {
340 wxPy_BEGIN_ALLOW_THREADS;
341 wxShapeRegion_SetProportions(_arg0,_arg1,_arg2);
342
343 wxPy_END_ALLOW_THREADS;
344 } Py_INCREF(Py_None);
345 _resultobj = Py_None;
346 return _resultobj;
347 }
348
349 #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0))
350 static PyObject *_wrap_wxShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
351 PyObject * _resultobj;
352 wxShapeRegion * _arg0;
353 int _arg1;
354 PyObject * _argo0 = 0;
355 char *_kwnames[] = { "self","mode", NULL };
356
357 self = self;
358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShapeRegion_SetFormatMode",_kwnames,&_argo0,&_arg1))
359 return NULL;
360 if (_argo0) {
361 if (_argo0 == Py_None) { _arg0 = NULL; }
362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p.");
364 return NULL;
365 }
366 }
367 {
368 wxPy_BEGIN_ALLOW_THREADS;
369 wxShapeRegion_SetFormatMode(_arg0,_arg1);
370
371 wxPy_END_ALLOW_THREADS;
372 } Py_INCREF(Py_None);
373 _resultobj = Py_None;
374 return _resultobj;
375 }
376
377 #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
378 static PyObject *_wrap_wxShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
379 PyObject * _resultobj;
380 wxShapeRegion * _arg0;
381 wxString * _arg1;
382 PyObject * _argo0 = 0;
383 PyObject * _obj1 = 0;
384 char *_kwnames[] = { "self","s", NULL };
385
386 self = self;
387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetName",_kwnames,&_argo0,&_obj1))
388 return NULL;
389 if (_argo0) {
390 if (_argo0 == Py_None) { _arg0 = NULL; }
391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p.");
393 return NULL;
394 }
395 }
396 {
397 #if PYTHON_API_VERSION >= 1009
398 char* tmpPtr; int tmpSize;
399 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
400 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
401 return NULL;
402 }
403 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
404 return NULL;
405 _arg1 = new wxString(tmpPtr, tmpSize);
406 #else
407 if (!PyString_Check(_obj1)) {
408 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
409 return NULL;
410 }
411 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
412 #endif
413 }
414 {
415 wxPy_BEGIN_ALLOW_THREADS;
416 wxShapeRegion_SetName(_arg0,*_arg1);
417
418 wxPy_END_ALLOW_THREADS;
419 } Py_INCREF(Py_None);
420 _resultobj = Py_None;
421 {
422 if (_obj1)
423 delete _arg1;
424 }
425 return _resultobj;
426 }
427
428 #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
429 static PyObject *_wrap_wxShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
430 PyObject * _resultobj;
431 wxShapeRegion * _arg0;
432 wxString * _arg1;
433 PyObject * _argo0 = 0;
434 PyObject * _obj1 = 0;
435 char *_kwnames[] = { "self","col", NULL };
436
437 self = self;
438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetColour",_kwnames,&_argo0,&_obj1))
439 return NULL;
440 if (_argo0) {
441 if (_argo0 == Py_None) { _arg0 = NULL; }
442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p.");
444 return NULL;
445 }
446 }
447 {
448 #if PYTHON_API_VERSION >= 1009
449 char* tmpPtr; int tmpSize;
450 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
451 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
452 return NULL;
453 }
454 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
455 return NULL;
456 _arg1 = new wxString(tmpPtr, tmpSize);
457 #else
458 if (!PyString_Check(_obj1)) {
459 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
460 return NULL;
461 }
462 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
463 #endif
464 }
465 {
466 wxPy_BEGIN_ALLOW_THREADS;
467 wxShapeRegion_SetColour(_arg0,*_arg1);
468
469 wxPy_END_ALLOW_THREADS;
470 } Py_INCREF(Py_None);
471 _resultobj = Py_None;
472 {
473 if (_obj1)
474 delete _arg1;
475 }
476 return _resultobj;
477 }
478
479 #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText())
480 static PyObject *_wrap_wxShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
481 PyObject * _resultobj;
482 wxString * _result;
483 wxShapeRegion * _arg0;
484 PyObject * _argo0 = 0;
485 char *_kwnames[] = { "self", NULL };
486
487 self = self;
488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetText",_kwnames,&_argo0))
489 return NULL;
490 if (_argo0) {
491 if (_argo0 == Py_None) { _arg0 = NULL; }
492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p.");
494 return NULL;
495 }
496 }
497 {
498 wxPy_BEGIN_ALLOW_THREADS;
499 _result = new wxString (wxShapeRegion_GetText(_arg0));
500
501 wxPy_END_ALLOW_THREADS;
502 }{
503 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
504 }
505 {
506 delete _result;
507 }
508 return _resultobj;
509 }
510
511 #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont())
512 static PyObject *_wrap_wxShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
513 PyObject * _resultobj;
514 wxFont * _result;
515 wxShapeRegion * _arg0;
516 PyObject * _argo0 = 0;
517 char *_kwnames[] = { "self", NULL };
518 char _ptemp[128];
519
520 self = self;
521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFont",_kwnames,&_argo0))
522 return NULL;
523 if (_argo0) {
524 if (_argo0 == Py_None) { _arg0 = NULL; }
525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p.");
527 return NULL;
528 }
529 }
530 {
531 wxPy_BEGIN_ALLOW_THREADS;
532 _result = (wxFont *)wxShapeRegion_GetFont(_arg0);
533
534 wxPy_END_ALLOW_THREADS;
535 } if (_result) {
536 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
537 _resultobj = Py_BuildValue("s",_ptemp);
538 } else {
539 Py_INCREF(Py_None);
540 _resultobj = Py_None;
541 }
542 return _resultobj;
543 }
544
545 #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1))
546 static PyObject *_wrap_wxShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
547 PyObject * _resultobj;
548 wxShapeRegion * _arg0;
549 double * _arg1;
550 double temp;
551 double * _arg2;
552 double temp0;
553 PyObject * _argo0 = 0;
554 char *_kwnames[] = { "self", NULL };
555
556 self = self;
557 {
558 _arg1 = &temp;
559 }
560 {
561 _arg2 = &temp0;
562 }
563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetMinSize",_kwnames,&_argo0))
564 return NULL;
565 if (_argo0) {
566 if (_argo0 == Py_None) { _arg0 = NULL; }
567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p.");
569 return NULL;
570 }
571 }
572 {
573 wxPy_BEGIN_ALLOW_THREADS;
574 wxShapeRegion_GetMinSize(_arg0,_arg1,_arg2);
575
576 wxPy_END_ALLOW_THREADS;
577 } Py_INCREF(Py_None);
578 _resultobj = Py_None;
579 {
580 PyObject *o;
581 o = PyFloat_FromDouble((double) (*_arg1));
582 _resultobj = t_output_helper(_resultobj, o);
583 }
584 {
585 PyObject *o;
586 o = PyFloat_FromDouble((double) (*_arg2));
587 _resultobj = t_output_helper(_resultobj, o);
588 }
589 return _resultobj;
590 }
591
592 #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1))
593 static PyObject *_wrap_wxShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
594 PyObject * _resultobj;
595 wxShapeRegion * _arg0;
596 double * _arg1;
597 double temp;
598 double * _arg2;
599 double temp0;
600 PyObject * _argo0 = 0;
601 char *_kwnames[] = { "self", NULL };
602
603 self = self;
604 {
605 _arg1 = &temp;
606 }
607 {
608 _arg2 = &temp0;
609 }
610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetProportion",_kwnames,&_argo0))
611 return NULL;
612 if (_argo0) {
613 if (_argo0 == Py_None) { _arg0 = NULL; }
614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p.");
616 return NULL;
617 }
618 }
619 {
620 wxPy_BEGIN_ALLOW_THREADS;
621 wxShapeRegion_GetProportion(_arg0,_arg1,_arg2);
622
623 wxPy_END_ALLOW_THREADS;
624 } Py_INCREF(Py_None);
625 _resultobj = Py_None;
626 {
627 PyObject *o;
628 o = PyFloat_FromDouble((double) (*_arg1));
629 _resultobj = t_output_helper(_resultobj, o);
630 }
631 {
632 PyObject *o;
633 o = PyFloat_FromDouble((double) (*_arg2));
634 _resultobj = t_output_helper(_resultobj, o);
635 }
636 return _resultobj;
637 }
638
639 #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
640 static PyObject *_wrap_wxShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
641 PyObject * _resultobj;
642 wxShapeRegion * _arg0;
643 double * _arg1;
644 double temp;
645 double * _arg2;
646 double temp0;
647 PyObject * _argo0 = 0;
648 char *_kwnames[] = { "self", NULL };
649
650 self = self;
651 {
652 _arg1 = &temp;
653 }
654 {
655 _arg2 = &temp0;
656 }
657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetSize",_kwnames,&_argo0))
658 return NULL;
659 if (_argo0) {
660 if (_argo0 == Py_None) { _arg0 = NULL; }
661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p.");
663 return NULL;
664 }
665 }
666 {
667 wxPy_BEGIN_ALLOW_THREADS;
668 wxShapeRegion_GetSize(_arg0,_arg1,_arg2);
669
670 wxPy_END_ALLOW_THREADS;
671 } Py_INCREF(Py_None);
672 _resultobj = Py_None;
673 {
674 PyObject *o;
675 o = PyFloat_FromDouble((double) (*_arg1));
676 _resultobj = t_output_helper(_resultobj, o);
677 }
678 {
679 PyObject *o;
680 o = PyFloat_FromDouble((double) (*_arg2));
681 _resultobj = t_output_helper(_resultobj, o);
682 }
683 return _resultobj;
684 }
685
686 #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
687 static PyObject *_wrap_wxShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
688 PyObject * _resultobj;
689 wxShapeRegion * _arg0;
690 double * _arg1;
691 double temp;
692 double * _arg2;
693 double temp0;
694 PyObject * _argo0 = 0;
695 char *_kwnames[] = { "self", NULL };
696
697 self = self;
698 {
699 _arg1 = &temp;
700 }
701 {
702 _arg2 = &temp0;
703 }
704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPosition",_kwnames,&_argo0))
705 return NULL;
706 if (_argo0) {
707 if (_argo0 == Py_None) { _arg0 = NULL; }
708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p.");
710 return NULL;
711 }
712 }
713 {
714 wxPy_BEGIN_ALLOW_THREADS;
715 wxShapeRegion_GetPosition(_arg0,_arg1,_arg2);
716
717 wxPy_END_ALLOW_THREADS;
718 } Py_INCREF(Py_None);
719 _resultobj = Py_None;
720 {
721 PyObject *o;
722 o = PyFloat_FromDouble((double) (*_arg1));
723 _resultobj = t_output_helper(_resultobj, o);
724 }
725 {
726 PyObject *o;
727 o = PyFloat_FromDouble((double) (*_arg2));
728 _resultobj = t_output_helper(_resultobj, o);
729 }
730 return _resultobj;
731 }
732
733 #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode())
734 static PyObject *_wrap_wxShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
735 PyObject * _resultobj;
736 int _result;
737 wxShapeRegion * _arg0;
738 PyObject * _argo0 = 0;
739 char *_kwnames[] = { "self", NULL };
740
741 self = self;
742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFormatMode",_kwnames,&_argo0))
743 return NULL;
744 if (_argo0) {
745 if (_argo0 == Py_None) { _arg0 = NULL; }
746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p.");
748 return NULL;
749 }
750 }
751 {
752 wxPy_BEGIN_ALLOW_THREADS;
753 _result = (int )wxShapeRegion_GetFormatMode(_arg0);
754
755 wxPy_END_ALLOW_THREADS;
756 } _resultobj = Py_BuildValue("i",_result);
757 return _resultobj;
758 }
759
760 #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName())
761 static PyObject *_wrap_wxShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
762 PyObject * _resultobj;
763 wxString * _result;
764 wxShapeRegion * _arg0;
765 PyObject * _argo0 = 0;
766 char *_kwnames[] = { "self", NULL };
767
768 self = self;
769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetName",_kwnames,&_argo0))
770 return NULL;
771 if (_argo0) {
772 if (_argo0 == Py_None) { _arg0 = NULL; }
773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p.");
775 return NULL;
776 }
777 }
778 {
779 wxPy_BEGIN_ALLOW_THREADS;
780 _result = new wxString (wxShapeRegion_GetName(_arg0));
781
782 wxPy_END_ALLOW_THREADS;
783 }{
784 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
785 }
786 {
787 delete _result;
788 }
789 return _resultobj;
790 }
791
792 #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour())
793 static PyObject *_wrap_wxShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
794 PyObject * _resultobj;
795 wxString * _result;
796 wxShapeRegion * _arg0;
797 PyObject * _argo0 = 0;
798 char *_kwnames[] = { "self", NULL };
799
800 self = self;
801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetColour",_kwnames,&_argo0))
802 return NULL;
803 if (_argo0) {
804 if (_argo0 == Py_None) { _arg0 = NULL; }
805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p.");
807 return NULL;
808 }
809 }
810 {
811 wxPy_BEGIN_ALLOW_THREADS;
812 _result = new wxString (wxShapeRegion_GetColour(_arg0));
813
814 wxPy_END_ALLOW_THREADS;
815 }{
816 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
817 }
818 {
819 delete _result;
820 }
821 return _resultobj;
822 }
823
824 #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject())
825 static PyObject *_wrap_wxShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
826 PyObject * _resultobj;
827 wxColour * _result;
828 wxShapeRegion * _arg0;
829 PyObject * _argo0 = 0;
830 char *_kwnames[] = { "self", NULL };
831 char _ptemp[128];
832
833 self = self;
834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetActualColourObject",_kwnames,&_argo0))
835 return NULL;
836 if (_argo0) {
837 if (_argo0 == Py_None) { _arg0 = NULL; }
838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p.");
840 return NULL;
841 }
842 }
843 {
844 wxPy_BEGIN_ALLOW_THREADS;
845 _result = (wxColour *)wxShapeRegion_GetActualColourObject(_arg0);
846
847 wxPy_END_ALLOW_THREADS;
848 } if (_result) {
849 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
850 _resultobj = Py_BuildValue("s",_ptemp);
851 } else {
852 Py_INCREF(Py_None);
853 _resultobj = Py_None;
854 }
855 return _resultobj;
856 }
857
858 #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText())
859 static PyObject *_wrap_wxShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
860 PyObject * _resultobj;
861 wxList * _result;
862 wxShapeRegion * _arg0;
863 PyObject * _argo0 = 0;
864 char *_kwnames[] = { "self", NULL };
865 char _ptemp[128];
866
867 self = self;
868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFormattedText",_kwnames,&_argo0))
869 return NULL;
870 if (_argo0) {
871 if (_argo0 == Py_None) { _arg0 = NULL; }
872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p.");
874 return NULL;
875 }
876 }
877 {
878 wxPy_BEGIN_ALLOW_THREADS;
879 wxList & _result_ref = wxShapeRegion_GetFormattedText(_arg0);
880 _result = (wxList *) &_result_ref;
881
882 wxPy_END_ALLOW_THREADS;
883 } if (_result) {
884 SWIG_MakePtr(_ptemp, (char *) _result,"_wxList_p");
885 _resultobj = Py_BuildValue("s",_ptemp);
886 } else {
887 Py_INCREF(Py_None);
888 _resultobj = Py_None;
889 }
890 return _resultobj;
891 }
892
893 #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour())
894 static PyObject *_wrap_wxShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
895 PyObject * _resultobj;
896 wxString * _result;
897 wxShapeRegion * _arg0;
898 PyObject * _argo0 = 0;
899 char *_kwnames[] = { "self", NULL };
900
901 self = self;
902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPenColour",_kwnames,&_argo0))
903 return NULL;
904 if (_argo0) {
905 if (_argo0 == Py_None) { _arg0 = NULL; }
906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p.");
908 return NULL;
909 }
910 }
911 {
912 wxPy_BEGIN_ALLOW_THREADS;
913 _result = new wxString (wxShapeRegion_GetPenColour(_arg0));
914
915 wxPy_END_ALLOW_THREADS;
916 }{
917 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
918 }
919 {
920 delete _result;
921 }
922 return _resultobj;
923 }
924
925 #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle())
926 static PyObject *_wrap_wxShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
927 PyObject * _resultobj;
928 int _result;
929 wxShapeRegion * _arg0;
930 PyObject * _argo0 = 0;
931 char *_kwnames[] = { "self", NULL };
932
933 self = self;
934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPenStyle",_kwnames,&_argo0))
935 return NULL;
936 if (_argo0) {
937 if (_argo0 == Py_None) { _arg0 = NULL; }
938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p.");
940 return NULL;
941 }
942 }
943 {
944 wxPy_BEGIN_ALLOW_THREADS;
945 _result = (int )wxShapeRegion_GetPenStyle(_arg0);
946
947 wxPy_END_ALLOW_THREADS;
948 } _resultobj = Py_BuildValue("i",_result);
949 return _resultobj;
950 }
951
952 #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0))
953 static PyObject *_wrap_wxShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
954 PyObject * _resultobj;
955 wxShapeRegion * _arg0;
956 int _arg1;
957 PyObject * _argo0 = 0;
958 char *_kwnames[] = { "self","style", NULL };
959
960 self = self;
961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShapeRegion_SetPenStyle",_kwnames,&_argo0,&_arg1))
962 return NULL;
963 if (_argo0) {
964 if (_argo0 == Py_None) { _arg0 = NULL; }
965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p.");
967 return NULL;
968 }
969 }
970 {
971 wxPy_BEGIN_ALLOW_THREADS;
972 wxShapeRegion_SetPenStyle(_arg0,_arg1);
973
974 wxPy_END_ALLOW_THREADS;
975 } Py_INCREF(Py_None);
976 _resultobj = Py_None;
977 return _resultobj;
978 }
979
980 #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0))
981 static PyObject *_wrap_wxShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
982 PyObject * _resultobj;
983 wxShapeRegion * _arg0;
984 wxString * _arg1;
985 PyObject * _argo0 = 0;
986 PyObject * _obj1 = 0;
987 char *_kwnames[] = { "self","col", NULL };
988
989 self = self;
990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetPenColour",_kwnames,&_argo0,&_obj1))
991 return NULL;
992 if (_argo0) {
993 if (_argo0 == Py_None) { _arg0 = NULL; }
994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p.");
996 return NULL;
997 }
998 }
999 {
1000 #if PYTHON_API_VERSION >= 1009
1001 char* tmpPtr; int tmpSize;
1002 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1003 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1004 return NULL;
1005 }
1006 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1007 return NULL;
1008 _arg1 = new wxString(tmpPtr, tmpSize);
1009 #else
1010 if (!PyString_Check(_obj1)) {
1011 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1012 return NULL;
1013 }
1014 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1015 #endif
1016 }
1017 {
1018 wxPy_BEGIN_ALLOW_THREADS;
1019 wxShapeRegion_SetPenColour(_arg0,*_arg1);
1020
1021 wxPy_END_ALLOW_THREADS;
1022 } Py_INCREF(Py_None);
1023 _resultobj = Py_None;
1024 {
1025 if (_obj1)
1026 delete _arg1;
1027 }
1028 return _resultobj;
1029 }
1030
1031 #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen())
1032 static PyObject *_wrap_wxShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1033 PyObject * _resultobj;
1034 wxPen * _result;
1035 wxShapeRegion * _arg0;
1036 PyObject * _argo0 = 0;
1037 char *_kwnames[] = { "self", NULL };
1038 char _ptemp[128];
1039
1040 self = self;
1041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetActualPen",_kwnames,&_argo0))
1042 return NULL;
1043 if (_argo0) {
1044 if (_argo0 == Py_None) { _arg0 = NULL; }
1045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
1046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p.");
1047 return NULL;
1048 }
1049 }
1050 {
1051 wxPy_BEGIN_ALLOW_THREADS;
1052 _result = (wxPen *)wxShapeRegion_GetActualPen(_arg0);
1053
1054 wxPy_END_ALLOW_THREADS;
1055 } if (_result) {
1056 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
1057 _resultobj = Py_BuildValue("s",_ptemp);
1058 } else {
1059 Py_INCREF(Py_None);
1060 _resultobj = Py_None;
1061 }
1062 return _resultobj;
1063 }
1064
1065 #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth())
1066 static PyObject *_wrap_wxShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1067 PyObject * _resultobj;
1068 double _result;
1069 wxShapeRegion * _arg0;
1070 PyObject * _argo0 = 0;
1071 char *_kwnames[] = { "self", NULL };
1072
1073 self = self;
1074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetWidth",_kwnames,&_argo0))
1075 return NULL;
1076 if (_argo0) {
1077 if (_argo0 == Py_None) { _arg0 = NULL; }
1078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
1079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p.");
1080 return NULL;
1081 }
1082 }
1083 {
1084 wxPy_BEGIN_ALLOW_THREADS;
1085 _result = (double )wxShapeRegion_GetWidth(_arg0);
1086
1087 wxPy_END_ALLOW_THREADS;
1088 } _resultobj = Py_BuildValue("d",_result);
1089 return _resultobj;
1090 }
1091
1092 #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight())
1093 static PyObject *_wrap_wxShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1094 PyObject * _resultobj;
1095 double _result;
1096 wxShapeRegion * _arg0;
1097 PyObject * _argo0 = 0;
1098 char *_kwnames[] = { "self", NULL };
1099
1100 self = self;
1101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetHeight",_kwnames,&_argo0))
1102 return NULL;
1103 if (_argo0) {
1104 if (_argo0 == Py_None) { _arg0 = NULL; }
1105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
1106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p.");
1107 return NULL;
1108 }
1109 }
1110 {
1111 wxPy_BEGIN_ALLOW_THREADS;
1112 _result = (double )wxShapeRegion_GetHeight(_arg0);
1113
1114 wxPy_END_ALLOW_THREADS;
1115 } _resultobj = Py_BuildValue("d",_result);
1116 return _resultobj;
1117 }
1118
1119 #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText())
1120 static PyObject *_wrap_wxShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1121 PyObject * _resultobj;
1122 wxShapeRegion * _arg0;
1123 PyObject * _argo0 = 0;
1124 char *_kwnames[] = { "self", NULL };
1125
1126 self = self;
1127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_ClearText",_kwnames,&_argo0))
1128 return NULL;
1129 if (_argo0) {
1130 if (_argo0 == Py_None) { _arg0 = NULL; }
1131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) {
1132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p.");
1133 return NULL;
1134 }
1135 }
1136 {
1137 wxPy_BEGIN_ALLOW_THREADS;
1138 wxShapeRegion_ClearText(_arg0);
1139
1140 wxPy_END_ALLOW_THREADS;
1141 } Py_INCREF(Py_None);
1142 _resultobj = Py_None;
1143 return _resultobj;
1144 }
1145
1146 static void *SwigwxPyShapeEvtHandlerTowxObject(void *ptr) {
1147 wxPyShapeEvtHandler *src;
1148 wxObject *dest;
1149 src = (wxPyShapeEvtHandler *) ptr;
1150 dest = (wxObject *) src;
1151 return (void *) dest;
1152 }
1153
1154 #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1))
1155 static PyObject *_wrap_new_wxPyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1156 PyObject * _resultobj;
1157 wxPyShapeEvtHandler * _result;
1158 wxPyShapeEvtHandler * _arg0 = (wxPyShapeEvtHandler *) NULL;
1159 wxPyShape * _arg1 = (wxPyShape *) NULL;
1160 PyObject * _argo0 = 0;
1161 PyObject * _argo1 = 0;
1162 char *_kwnames[] = { "prev","shape", NULL };
1163 char _ptemp[128];
1164
1165 self = self;
1166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxPyShapeEvtHandler",_kwnames,&_argo0,&_argo1))
1167 return NULL;
1168 if (_argo0) {
1169 if (_argo0 == Py_None) { _arg0 = NULL; }
1170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p.");
1172 return NULL;
1173 }
1174 }
1175 if (_argo1) {
1176 if (_argo1 == Py_None) { _arg1 = NULL; }
1177 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
1178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p.");
1179 return NULL;
1180 }
1181 }
1182 {
1183 wxPy_BEGIN_ALLOW_THREADS;
1184 _result = (wxPyShapeEvtHandler *)new_wxPyShapeEvtHandler(_arg0,_arg1);
1185
1186 wxPy_END_ALLOW_THREADS;
1187 } if (_result) {
1188 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p");
1189 _resultobj = Py_BuildValue("s",_ptemp);
1190 } else {
1191 Py_INCREF(Py_None);
1192 _resultobj = Py_None;
1193 }
1194 return _resultobj;
1195 }
1196
1197 #define wxPyShapeEvtHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1198 static PyObject *_wrap_wxPyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject * _resultobj;
1200 wxPyShapeEvtHandler * _arg0;
1201 PyObject * _arg1;
1202 PyObject * _arg2;
1203 PyObject * _argo0 = 0;
1204 PyObject * _obj1 = 0;
1205 PyObject * _obj2 = 0;
1206 char *_kwnames[] = { "self","self","_class", NULL };
1207
1208 self = self;
1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShapeEvtHandler__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1210 return NULL;
1211 if (_argo0) {
1212 if (_argo0 == Py_None) { _arg0 = NULL; }
1213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler__setCallbackInfo. Expected _wxPyShapeEvtHandler_p.");
1215 return NULL;
1216 }
1217 }
1218 {
1219 _arg1 = _obj1;
1220 }
1221 {
1222 _arg2 = _obj2;
1223 }
1224 {
1225 wxPy_BEGIN_ALLOW_THREADS;
1226 wxPyShapeEvtHandler__setCallbackInfo(_arg0,_arg1,_arg2);
1227
1228 wxPy_END_ALLOW_THREADS;
1229 } Py_INCREF(Py_None);
1230 _resultobj = Py_None;
1231 return _resultobj;
1232 }
1233
1234 static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler *self) { delete self; }
1235 static PyObject *_wrap_wxPyShapeEvtHandler_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject * _resultobj;
1237 wxPyShapeEvtHandler * _arg0;
1238 PyObject * _argo0 = 0;
1239 char *_kwnames[] = { "self", NULL };
1240
1241 self = self;
1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_Destroy",_kwnames,&_argo0))
1243 return NULL;
1244 if (_argo0) {
1245 if (_argo0 == Py_None) { _arg0 = NULL; }
1246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p.");
1248 return NULL;
1249 }
1250 }
1251 {
1252 wxPy_BEGIN_ALLOW_THREADS;
1253 wxPyShapeEvtHandler_Destroy(_arg0);
1254
1255 wxPy_END_ALLOW_THREADS;
1256 } Py_INCREF(Py_None);
1257 _resultobj = Py_None;
1258 return _resultobj;
1259 }
1260
1261 static void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject * _self) {
1262 self->SetClientObject(new wxPyClientData(_self));
1263 }
1264 static PyObject *_wrap_wxPyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1265 PyObject * _resultobj;
1266 wxPyShapeEvtHandler * _arg0;
1267 PyObject * _arg1;
1268 PyObject * _argo0 = 0;
1269 PyObject * _obj1 = 0;
1270 char *_kwnames[] = { "self","_self", NULL };
1271
1272 self = self;
1273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler__setOORInfo",_kwnames,&_argo0,&_obj1))
1274 return NULL;
1275 if (_argo0) {
1276 if (_argo0 == Py_None) { _arg0 = NULL; }
1277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler__setOORInfo. Expected _wxPyShapeEvtHandler_p.");
1279 return NULL;
1280 }
1281 }
1282 {
1283 _arg1 = _obj1;
1284 }
1285 {
1286 wxPy_BEGIN_ALLOW_THREADS;
1287 wxPyShapeEvtHandler__setOORInfo(_arg0,_arg1);
1288
1289 wxPy_END_ALLOW_THREADS;
1290 } Py_INCREF(Py_None);
1291 _resultobj = Py_None;
1292 return _resultobj;
1293 }
1294
1295 #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0))
1296 static PyObject *_wrap_wxPyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1297 PyObject * _resultobj;
1298 wxPyShapeEvtHandler * _arg0;
1299 wxPyShape * _arg1;
1300 PyObject * _argo0 = 0;
1301 PyObject * _argo1 = 0;
1302 char *_kwnames[] = { "self","sh", NULL };
1303
1304 self = self;
1305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_SetShape",_kwnames,&_argo0,&_argo1))
1306 return NULL;
1307 if (_argo0) {
1308 if (_argo0 == Py_None) { _arg0 = NULL; }
1309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p.");
1311 return NULL;
1312 }
1313 }
1314 if (_argo1) {
1315 if (_argo1 == Py_None) { _arg1 = NULL; }
1316 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
1317 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p.");
1318 return NULL;
1319 }
1320 }
1321 {
1322 wxPy_BEGIN_ALLOW_THREADS;
1323 wxPyShapeEvtHandler_SetShape(_arg0,_arg1);
1324
1325 wxPy_END_ALLOW_THREADS;
1326 } Py_INCREF(Py_None);
1327 _resultobj = Py_None;
1328 return _resultobj;
1329 }
1330
1331 #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape())
1332 static PyObject *_wrap_wxPyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject * _resultobj;
1334 wxPyShape * _result;
1335 wxPyShapeEvtHandler * _arg0;
1336 PyObject * _argo0 = 0;
1337 char *_kwnames[] = { "self", NULL };
1338
1339 self = self;
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_GetShape",_kwnames,&_argo0))
1341 return NULL;
1342 if (_argo0) {
1343 if (_argo0 == Py_None) { _arg0 = NULL; }
1344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p.");
1346 return NULL;
1347 }
1348 }
1349 {
1350 wxPy_BEGIN_ALLOW_THREADS;
1351 _result = (wxPyShape *)wxPyShapeEvtHandler_GetShape(_arg0);
1352
1353 wxPy_END_ALLOW_THREADS;
1354 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
1355 return _resultobj;
1356 }
1357
1358 #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
1359 static PyObject *_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject * _resultobj;
1361 wxPyShapeEvtHandler * _arg0;
1362 wxPyShapeEvtHandler * _arg1;
1363 PyObject * _argo0 = 0;
1364 PyObject * _argo1 = 0;
1365 char *_kwnames[] = { "self","handler", NULL };
1366
1367 self = self;
1368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1))
1369 return NULL;
1370 if (_argo0) {
1371 if (_argo0 == Py_None) { _arg0 = NULL; }
1372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1374 return NULL;
1375 }
1376 }
1377 if (_argo1) {
1378 if (_argo1 == Py_None) { _arg1 = NULL; }
1379 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeEvtHandler_p")) {
1380 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1381 return NULL;
1382 }
1383 }
1384 {
1385 wxPy_BEGIN_ALLOW_THREADS;
1386 wxPyShapeEvtHandler_SetPreviousHandler(_arg0,_arg1);
1387
1388 wxPy_END_ALLOW_THREADS;
1389 } Py_INCREF(Py_None);
1390 _resultobj = Py_None;
1391 return _resultobj;
1392 }
1393
1394 #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
1395 static PyObject *_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1396 PyObject * _resultobj;
1397 wxPyShapeEvtHandler * _result;
1398 wxPyShapeEvtHandler * _arg0;
1399 PyObject * _argo0 = 0;
1400 char *_kwnames[] = { "self", NULL };
1401
1402 self = self;
1403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
1404 return NULL;
1405 if (_argo0) {
1406 if (_argo0 == Py_None) { _arg0 = NULL; }
1407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p.");
1409 return NULL;
1410 }
1411 }
1412 {
1413 wxPy_BEGIN_ALLOW_THREADS;
1414 _result = (wxPyShapeEvtHandler *)wxPyShapeEvtHandler_GetPreviousHandler(_arg0);
1415
1416 wxPy_END_ALLOW_THREADS;
1417 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
1418 return _resultobj;
1419 }
1420
1421 #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy())
1422 static PyObject *_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject * _resultobj;
1424 wxPyShapeEvtHandler * _result;
1425 wxPyShapeEvtHandler * _arg0;
1426 PyObject * _argo0 = 0;
1427 char *_kwnames[] = { "self", NULL };
1428
1429 self = self;
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames,&_argo0))
1431 return NULL;
1432 if (_argo0) {
1433 if (_argo0 == Py_None) { _arg0 = NULL; }
1434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p.");
1436 return NULL;
1437 }
1438 }
1439 {
1440 wxPy_BEGIN_ALLOW_THREADS;
1441 _result = (wxPyShapeEvtHandler *)wxPyShapeEvtHandler_CreateNewCopy(_arg0);
1442
1443 wxPy_END_ALLOW_THREADS;
1444 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
1445 return _resultobj;
1446 }
1447
1448 #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1449 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject * _resultobj;
1451 wxPyShapeEvtHandler * _arg0;
1452 PyObject * _argo0 = 0;
1453 char *_kwnames[] = { "self", NULL };
1454
1455 self = self;
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames,&_argo0))
1457 return NULL;
1458 if (_argo0) {
1459 if (_argo0 == Py_None) { _arg0 = NULL; }
1460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p.");
1462 return NULL;
1463 }
1464 }
1465 {
1466 wxPy_BEGIN_ALLOW_THREADS;
1467 wxPyShapeEvtHandler_base_OnDelete(_arg0);
1468
1469 wxPy_END_ALLOW_THREADS;
1470 } Py_INCREF(Py_None);
1471 _resultobj = Py_None;
1472 return _resultobj;
1473 }
1474
1475 #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1476 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject * _resultobj;
1478 wxPyShapeEvtHandler * _arg0;
1479 wxDC * _arg1;
1480 PyObject * _argo0 = 0;
1481 PyObject * _argo1 = 0;
1482 char *_kwnames[] = { "self","dc", NULL };
1483
1484 self = self;
1485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames,&_argo0,&_argo1))
1486 return NULL;
1487 if (_argo0) {
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_OnDraw. Expected _wxPyShapeEvtHandler_p.");
1491 return NULL;
1492 }
1493 }
1494 if (_argo1) {
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_OnDraw. Expected _wxDC_p.");
1498 return NULL;
1499 }
1500 }
1501 {
1502 wxPy_BEGIN_ALLOW_THREADS;
1503 wxPyShapeEvtHandler_base_OnDraw(_arg0,*_arg1);
1504
1505 wxPy_END_ALLOW_THREADS;
1506 } Py_INCREF(Py_None);
1507 _resultobj = Py_None;
1508 return _resultobj;
1509 }
1510
1511 #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1512 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject * _resultobj;
1514 wxPyShapeEvtHandler * _arg0;
1515 wxDC * _arg1;
1516 PyObject * _argo0 = 0;
1517 PyObject * _argo1 = 0;
1518 char *_kwnames[] = { "self","dc", NULL };
1519
1520 self = self;
1521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
1522 return NULL;
1523 if (_argo0) {
1524 if (_argo0 == Py_None) { _arg0 = NULL; }
1525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p.");
1527 return NULL;
1528 }
1529 }
1530 if (_argo1) {
1531 if (_argo1 == Py_None) { _arg1 = NULL; }
1532 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1533 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p.");
1534 return NULL;
1535 }
1536 }
1537 {
1538 wxPy_BEGIN_ALLOW_THREADS;
1539 wxPyShapeEvtHandler_base_OnDrawContents(_arg0,*_arg1);
1540
1541 wxPy_END_ALLOW_THREADS;
1542 } Py_INCREF(Py_None);
1543 _resultobj = Py_None;
1544 return _resultobj;
1545 }
1546
1547 #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1548 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject * _resultobj;
1550 wxPyShapeEvtHandler * _arg0;
1551 wxDC * _arg1;
1552 bool _arg2 = (bool ) FALSE;
1553 PyObject * _argo0 = 0;
1554 PyObject * _argo1 = 0;
1555 int tempbool2 = (int) FALSE;
1556 char *_kwnames[] = { "self","dc","erase", NULL };
1557
1558 self = self;
1559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
1560 return NULL;
1561 if (_argo0) {
1562 if (_argo0 == Py_None) { _arg0 = NULL; }
1563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p.");
1565 return NULL;
1566 }
1567 }
1568 if (_argo1) {
1569 if (_argo1 == Py_None) { _arg1 = NULL; }
1570 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1571 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p.");
1572 return NULL;
1573 }
1574 }
1575 _arg2 = (bool ) tempbool2;
1576 {
1577 wxPy_BEGIN_ALLOW_THREADS;
1578 wxPyShapeEvtHandler_base_OnDrawBranches(_arg0,*_arg1,_arg2);
1579
1580 wxPy_END_ALLOW_THREADS;
1581 } Py_INCREF(Py_None);
1582 _resultobj = Py_None;
1583 return _resultobj;
1584 }
1585
1586 #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1587 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject * _resultobj;
1589 wxPyShapeEvtHandler * _arg0;
1590 wxDC * _arg1;
1591 PyObject * _argo0 = 0;
1592 PyObject * _argo1 = 0;
1593 char *_kwnames[] = { "self","dc", NULL };
1594
1595 self = self;
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
1597 return NULL;
1598 if (_argo0) {
1599 if (_argo0 == Py_None) { _arg0 = NULL; }
1600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p.");
1602 return NULL;
1603 }
1604 }
1605 if (_argo1) {
1606 if (_argo1 == Py_None) { _arg1 = NULL; }
1607 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1608 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p.");
1609 return NULL;
1610 }
1611 }
1612 {
1613 wxPy_BEGIN_ALLOW_THREADS;
1614 wxPyShapeEvtHandler_base_OnMoveLinks(_arg0,*_arg1);
1615
1616 wxPy_END_ALLOW_THREADS;
1617 } Py_INCREF(Py_None);
1618 _resultobj = Py_None;
1619 return _resultobj;
1620 }
1621
1622 #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1623 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject * _resultobj;
1625 wxPyShapeEvtHandler * _arg0;
1626 wxDC * _arg1;
1627 PyObject * _argo0 = 0;
1628 PyObject * _argo1 = 0;
1629 char *_kwnames[] = { "self","dc", NULL };
1630
1631 self = self;
1632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames,&_argo0,&_argo1))
1633 return NULL;
1634 if (_argo0) {
1635 if (_argo0 == Py_None) { _arg0 = NULL; }
1636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p.");
1638 return NULL;
1639 }
1640 }
1641 if (_argo1) {
1642 if (_argo1 == Py_None) { _arg1 = NULL; }
1643 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1644 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p.");
1645 return NULL;
1646 }
1647 }
1648 {
1649 wxPy_BEGIN_ALLOW_THREADS;
1650 wxPyShapeEvtHandler_base_OnErase(_arg0,*_arg1);
1651
1652 wxPy_END_ALLOW_THREADS;
1653 } Py_INCREF(Py_None);
1654 _resultobj = Py_None;
1655 return _resultobj;
1656 }
1657
1658 #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1659 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject * _resultobj;
1661 wxPyShapeEvtHandler * _arg0;
1662 wxDC * _arg1;
1663 PyObject * _argo0 = 0;
1664 PyObject * _argo1 = 0;
1665 char *_kwnames[] = { "self","dc", NULL };
1666
1667 self = self;
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
1669 return NULL;
1670 if (_argo0) {
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_OnEraseContents. Expected _wxPyShapeEvtHandler_p.");
1674 return NULL;
1675 }
1676 }
1677 if (_argo1) {
1678 if (_argo1 == Py_None) { _arg1 = NULL; }
1679 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1680 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p.");
1681 return NULL;
1682 }
1683 }
1684 {
1685 wxPy_BEGIN_ALLOW_THREADS;
1686 wxPyShapeEvtHandler_base_OnEraseContents(_arg0,*_arg1);
1687
1688 wxPy_END_ALLOW_THREADS;
1689 } Py_INCREF(Py_None);
1690 _resultobj = Py_None;
1691 return _resultobj;
1692 }
1693
1694 #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1695 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
1696 PyObject * _resultobj;
1697 wxPyShapeEvtHandler * _arg0;
1698 wxDC * _arg1;
1699 PyObject * _argo0 = 0;
1700 PyObject * _argo1 = 0;
1701 char *_kwnames[] = { "self","dc", NULL };
1702
1703 self = self;
1704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames,&_argo0,&_argo1))
1705 return NULL;
1706 if (_argo0) {
1707 if (_argo0 == Py_None) { _arg0 = NULL; }
1708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p.");
1710 return NULL;
1711 }
1712 }
1713 if (_argo1) {
1714 if (_argo1 == Py_None) { _arg1 = NULL; }
1715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p.");
1717 return NULL;
1718 }
1719 }
1720 {
1721 wxPy_BEGIN_ALLOW_THREADS;
1722 wxPyShapeEvtHandler_base_OnHighlight(_arg0,*_arg1);
1723
1724 wxPy_END_ALLOW_THREADS;
1725 } Py_INCREF(Py_None);
1726 _resultobj = Py_None;
1727 return _resultobj;
1728 }
1729
1730 #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1731 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1732 PyObject * _resultobj;
1733 wxPyShapeEvtHandler * _arg0;
1734 double _arg1;
1735 double _arg2;
1736 int _arg3 = (int ) 0;
1737 int _arg4 = (int ) 0;
1738 PyObject * _argo0 = 0;
1739 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
1740
1741 self = self;
1742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
1743 return NULL;
1744 if (_argo0) {
1745 if (_argo0 == Py_None) { _arg0 = NULL; }
1746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p.");
1748 return NULL;
1749 }
1750 }
1751 {
1752 wxPy_BEGIN_ALLOW_THREADS;
1753 wxPyShapeEvtHandler_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
1754
1755 wxPy_END_ALLOW_THREADS;
1756 } Py_INCREF(Py_None);
1757 _resultobj = Py_None;
1758 return _resultobj;
1759 }
1760
1761 #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1762 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1763 PyObject * _resultobj;
1764 wxPyShapeEvtHandler * _arg0;
1765 double _arg1;
1766 double _arg2;
1767 int _arg3 = (int ) 0;
1768 int _arg4 = (int ) 0;
1769 PyObject * _argo0 = 0;
1770 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
1771
1772 self = self;
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
1774 return NULL;
1775 if (_argo0) {
1776 if (_argo0 == Py_None) { _arg0 = NULL; }
1777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p.");
1779 return NULL;
1780 }
1781 }
1782 {
1783 wxPy_BEGIN_ALLOW_THREADS;
1784 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
1785
1786 wxPy_END_ALLOW_THREADS;
1787 } Py_INCREF(Py_None);
1788 _resultobj = Py_None;
1789 return _resultobj;
1790 }
1791
1792 #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1793 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject * _resultobj;
1795 wxPyShapeEvtHandler * _arg0;
1796 double _arg1;
1797 double _arg2;
1798 int _arg3 = (int ) 0;
1799 int _arg4 = (int ) 0;
1800 PyObject * _argo0 = 0;
1801 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
1802
1803 self = self;
1804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
1805 return NULL;
1806 if (_argo0) {
1807 if (_argo0 == Py_None) { _arg0 = NULL; }
1808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p.");
1810 return NULL;
1811 }
1812 }
1813 {
1814 wxPy_BEGIN_ALLOW_THREADS;
1815 wxPyShapeEvtHandler_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
1816
1817 wxPy_END_ALLOW_THREADS;
1818 } Py_INCREF(Py_None);
1819 _resultobj = Py_None;
1820 return _resultobj;
1821 }
1822
1823 #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1824 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1825 PyObject * _resultobj;
1826 wxPyShapeEvtHandler * _arg0;
1827 double _arg1;
1828 double _arg2;
1829 PyObject * _argo0 = 0;
1830 char *_kwnames[] = { "self","x","y", NULL };
1831
1832 self = self;
1833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
1834 return NULL;
1835 if (_argo0) {
1836 if (_argo0 == Py_None) { _arg0 = NULL; }
1837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p.");
1839 return NULL;
1840 }
1841 }
1842 {
1843 wxPy_BEGIN_ALLOW_THREADS;
1844 wxPyShapeEvtHandler_base_OnSize(_arg0,_arg1,_arg2);
1845
1846 wxPy_END_ALLOW_THREADS;
1847 } Py_INCREF(Py_None);
1848 _resultobj = Py_None;
1849 return _resultobj;
1850 }
1851
1852 #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1853 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject * _resultobj;
1855 bool _result;
1856 wxPyShapeEvtHandler * _arg0;
1857 wxDC * _arg1;
1858 double _arg2;
1859 double _arg3;
1860 double _arg4;
1861 double _arg5;
1862 bool _arg6 = (bool ) TRUE;
1863 PyObject * _argo0 = 0;
1864 PyObject * _argo1 = 0;
1865 int tempbool6 = (int) TRUE;
1866 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
1867
1868 self = self;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
1870 return NULL;
1871 if (_argo0) {
1872 if (_argo0 == Py_None) { _arg0 = NULL; }
1873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p.");
1875 return NULL;
1876 }
1877 }
1878 if (_argo1) {
1879 if (_argo1 == Py_None) { _arg1 = NULL; }
1880 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1881 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p.");
1882 return NULL;
1883 }
1884 }
1885 _arg6 = (bool ) tempbool6;
1886 {
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 _result = (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1889
1890 wxPy_END_ALLOW_THREADS;
1891 } _resultobj = Py_BuildValue("i",_result);
1892 return _resultobj;
1893 }
1894
1895 #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1896 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject * _resultobj;
1898 wxPyShapeEvtHandler * _arg0;
1899 wxDC * _arg1;
1900 double _arg2;
1901 double _arg3;
1902 double _arg4;
1903 double _arg5;
1904 bool _arg6 = (bool ) TRUE;
1905 PyObject * _argo0 = 0;
1906 PyObject * _argo1 = 0;
1907 int tempbool6 = (int) TRUE;
1908 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
1909
1910 self = self;
1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
1912 return NULL;
1913 if (_argo0) {
1914 if (_argo0 == Py_None) { _arg0 = NULL; }
1915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p.");
1917 return NULL;
1918 }
1919 }
1920 if (_argo1) {
1921 if (_argo1 == Py_None) { _arg1 = NULL; }
1922 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1923 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p.");
1924 return NULL;
1925 }
1926 }
1927 _arg6 = (bool ) tempbool6;
1928 {
1929 wxPy_BEGIN_ALLOW_THREADS;
1930 wxPyShapeEvtHandler_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
1931
1932 wxPy_END_ALLOW_THREADS;
1933 } Py_INCREF(Py_None);
1934 _resultobj = Py_None;
1935 return _resultobj;
1936 }
1937
1938 #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1939 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject * _resultobj;
1941 wxPyShapeEvtHandler * _arg0;
1942 bool _arg1;
1943 double _arg2;
1944 double _arg3;
1945 int _arg4 = (int ) 0;
1946 int _arg5 = (int ) 0;
1947 PyObject * _argo0 = 0;
1948 int tempbool1;
1949 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
1950
1951 self = self;
1952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
1953 return NULL;
1954 if (_argo0) {
1955 if (_argo0 == Py_None) { _arg0 = NULL; }
1956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p.");
1958 return NULL;
1959 }
1960 }
1961 _arg1 = (bool ) tempbool1;
1962 {
1963 wxPy_BEGIN_ALLOW_THREADS;
1964 wxPyShapeEvtHandler_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1965
1966 wxPy_END_ALLOW_THREADS;
1967 } Py_INCREF(Py_None);
1968 _resultobj = Py_None;
1969 return _resultobj;
1970 }
1971
1972 #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1973 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
1974 PyObject * _resultobj;
1975 wxPyShapeEvtHandler * _arg0;
1976 double _arg1;
1977 double _arg2;
1978 int _arg3 = (int ) 0;
1979 int _arg4 = (int ) 0;
1980 PyObject * _argo0 = 0;
1981 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
1982
1983 self = self;
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
1985 return NULL;
1986 if (_argo0) {
1987 if (_argo0 == Py_None) { _arg0 = NULL; }
1988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
1989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
1990 return NULL;
1991 }
1992 }
1993 {
1994 wxPy_BEGIN_ALLOW_THREADS;
1995 wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
1996
1997 wxPy_END_ALLOW_THREADS;
1998 } Py_INCREF(Py_None);
1999 _resultobj = Py_None;
2000 return _resultobj;
2001 }
2002
2003 #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2004 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2005 PyObject * _resultobj;
2006 wxPyShapeEvtHandler * _arg0;
2007 double _arg1;
2008 double _arg2;
2009 int _arg3 = (int ) 0;
2010 int _arg4 = (int ) 0;
2011 PyObject * _argo0 = 0;
2012 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2013
2014 self = self;
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2016 return NULL;
2017 if (_argo0) {
2018 if (_argo0 == Py_None) { _arg0 = NULL; }
2019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2021 return NULL;
2022 }
2023 }
2024 {
2025 wxPy_BEGIN_ALLOW_THREADS;
2026 wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2027
2028 wxPy_END_ALLOW_THREADS;
2029 } Py_INCREF(Py_None);
2030 _resultobj = Py_None;
2031 return _resultobj;
2032 }
2033
2034 #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2035 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2036 PyObject * _resultobj;
2037 wxPyShapeEvtHandler * _arg0;
2038 bool _arg1;
2039 double _arg2;
2040 double _arg3;
2041 int _arg4 = (int ) 0;
2042 int _arg5 = (int ) 0;
2043 PyObject * _argo0 = 0;
2044 int tempbool1;
2045 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2046
2047 self = self;
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2049 return NULL;
2050 if (_argo0) {
2051 if (_argo0 == Py_None) { _arg0 = NULL; }
2052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p.");
2054 return NULL;
2055 }
2056 }
2057 _arg1 = (bool ) tempbool1;
2058 {
2059 wxPy_BEGIN_ALLOW_THREADS;
2060 wxPyShapeEvtHandler_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2061
2062 wxPy_END_ALLOW_THREADS;
2063 } Py_INCREF(Py_None);
2064 _resultobj = Py_None;
2065 return _resultobj;
2066 }
2067
2068 #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2069 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject * _resultobj;
2071 wxPyShapeEvtHandler * _arg0;
2072 double _arg1;
2073 double _arg2;
2074 int _arg3 = (int ) 0;
2075 int _arg4 = (int ) 0;
2076 PyObject * _argo0 = 0;
2077 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2078
2079 self = self;
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2081 return NULL;
2082 if (_argo0) {
2083 if (_argo0 == Py_None) { _arg0 = NULL; }
2084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p.");
2086 return NULL;
2087 }
2088 }
2089 {
2090 wxPy_BEGIN_ALLOW_THREADS;
2091 wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2092
2093 wxPy_END_ALLOW_THREADS;
2094 } Py_INCREF(Py_None);
2095 _resultobj = Py_None;
2096 return _resultobj;
2097 }
2098
2099 #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2100 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject * _resultobj;
2102 wxPyShapeEvtHandler * _arg0;
2103 double _arg1;
2104 double _arg2;
2105 int _arg3 = (int ) 0;
2106 int _arg4 = (int ) 0;
2107 PyObject * _argo0 = 0;
2108 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2109
2110 self = self;
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2112 return NULL;
2113 if (_argo0) {
2114 if (_argo0 == Py_None) { _arg0 = NULL; }
2115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p.");
2117 return NULL;
2118 }
2119 }
2120 {
2121 wxPy_BEGIN_ALLOW_THREADS;
2122 wxPyShapeEvtHandler_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2123
2124 wxPy_END_ALLOW_THREADS;
2125 } Py_INCREF(Py_None);
2126 _resultobj = Py_None;
2127 return _resultobj;
2128 }
2129
2130 #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2131 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2132 PyObject * _resultobj;
2133 wxPyShapeEvtHandler * _arg0;
2134 wxDC * _arg1;
2135 double _arg2;
2136 double _arg3;
2137 double _arg4;
2138 double _arg5;
2139 PyObject * _argo0 = 0;
2140 PyObject * _argo1 = 0;
2141 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
2142
2143 self = self;
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2145 return NULL;
2146 if (_argo0) {
2147 if (_argo0 == Py_None) { _arg0 = NULL; }
2148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p.");
2150 return NULL;
2151 }
2152 }
2153 if (_argo1) {
2154 if (_argo1 == Py_None) { _arg1 = NULL; }
2155 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p.");
2157 return NULL;
2158 }
2159 }
2160 {
2161 wxPy_BEGIN_ALLOW_THREADS;
2162 wxPyShapeEvtHandler_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2163
2164 wxPy_END_ALLOW_THREADS;
2165 } Py_INCREF(Py_None);
2166 _resultobj = Py_None;
2167 return _resultobj;
2168 }
2169
2170 #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2171 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2172 PyObject * _resultobj;
2173 wxPyShapeEvtHandler * _arg0;
2174 wxDC * _arg1;
2175 PyObject * _argo0 = 0;
2176 PyObject * _argo1 = 0;
2177 char *_kwnames[] = { "self","dc", NULL };
2178
2179 self = self;
2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
2181 return NULL;
2182 if (_argo0) {
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_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p.");
2186 return NULL;
2187 }
2188 }
2189 if (_argo1) {
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_OnDrawControlPoints. Expected _wxDC_p.");
2193 return NULL;
2194 }
2195 }
2196 {
2197 wxPy_BEGIN_ALLOW_THREADS;
2198 wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0,*_arg1);
2199
2200 wxPy_END_ALLOW_THREADS;
2201 } Py_INCREF(Py_None);
2202 _resultobj = Py_None;
2203 return _resultobj;
2204 }
2205
2206 #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2207 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2208 PyObject * _resultobj;
2209 wxPyShapeEvtHandler * _arg0;
2210 wxDC * _arg1;
2211 PyObject * _argo0 = 0;
2212 PyObject * _argo1 = 0;
2213 char *_kwnames[] = { "self","dc", NULL };
2214
2215 self = self;
2216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
2217 return NULL;
2218 if (_argo0) {
2219 if (_argo0 == Py_None) { _arg0 = NULL; }
2220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p.");
2222 return NULL;
2223 }
2224 }
2225 if (_argo1) {
2226 if (_argo1 == Py_None) { _arg1 = NULL; }
2227 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2228 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p.");
2229 return NULL;
2230 }
2231 }
2232 {
2233 wxPy_BEGIN_ALLOW_THREADS;
2234 wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0,*_arg1);
2235
2236 wxPy_END_ALLOW_THREADS;
2237 } Py_INCREF(Py_None);
2238 _resultobj = Py_None;
2239 return _resultobj;
2240 }
2241
2242 #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2243 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject * _resultobj;
2245 wxPyShapeEvtHandler * _arg0;
2246 wxDC * _arg1;
2247 bool _arg2 = (bool ) TRUE;
2248 PyObject * _argo0 = 0;
2249 PyObject * _argo1 = 0;
2250 int tempbool2 = (int) TRUE;
2251 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
2252
2253 self = self;
2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
2255 return NULL;
2256 if (_argo0) {
2257 if (_argo0 == Py_None) { _arg0 = NULL; }
2258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p.");
2260 return NULL;
2261 }
2262 }
2263 if (_argo1) {
2264 if (_argo1 == Py_None) { _arg1 = NULL; }
2265 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2266 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p.");
2267 return NULL;
2268 }
2269 }
2270 _arg2 = (bool ) tempbool2;
2271 {
2272 wxPy_BEGIN_ALLOW_THREADS;
2273 wxPyShapeEvtHandler_base_OnMoveLink(_arg0,*_arg1,_arg2);
2274
2275 wxPy_END_ALLOW_THREADS;
2276 } Py_INCREF(Py_None);
2277 _resultobj = Py_None;
2278 return _resultobj;
2279 }
2280
2281 #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2282 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2283 PyObject * _resultobj;
2284 wxPyShapeEvtHandler * _arg0;
2285 wxPyControlPoint * _arg1;
2286 bool _arg2;
2287 double _arg3;
2288 double _arg4;
2289 int _arg5 = (int ) 0;
2290 int _arg6 = (int ) 0;
2291 PyObject * _argo0 = 0;
2292 PyObject * _argo1 = 0;
2293 int tempbool2;
2294 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
2295
2296 self = self;
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
2298 return NULL;
2299 if (_argo0) {
2300 if (_argo0 == Py_None) { _arg0 = NULL; }
2301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p.");
2303 return NULL;
2304 }
2305 }
2306 if (_argo1) {
2307 if (_argo1 == Py_None) { _arg1 = NULL; }
2308 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2309 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2310 return NULL;
2311 }
2312 }
2313 _arg2 = (bool ) tempbool2;
2314 {
2315 wxPy_BEGIN_ALLOW_THREADS;
2316 wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2317
2318 wxPy_END_ALLOW_THREADS;
2319 } Py_INCREF(Py_None);
2320 _resultobj = Py_None;
2321 return _resultobj;
2322 }
2323
2324 #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2325 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2326 PyObject * _resultobj;
2327 wxPyShapeEvtHandler * _arg0;
2328 wxPyControlPoint * _arg1;
2329 double _arg2;
2330 double _arg3;
2331 int _arg4 = (int ) 0;
2332 int _arg5 = (int ) 0;
2333 PyObject * _argo0 = 0;
2334 PyObject * _argo1 = 0;
2335 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2336
2337 self = self;
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2339 return NULL;
2340 if (_argo0) {
2341 if (_argo0 == Py_None) { _arg0 = NULL; }
2342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p.");
2344 return NULL;
2345 }
2346 }
2347 if (_argo1) {
2348 if (_argo1 == Py_None) { _arg1 = NULL; }
2349 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2350 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2351 return NULL;
2352 }
2353 }
2354 {
2355 wxPy_BEGIN_ALLOW_THREADS;
2356 wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2357
2358 wxPy_END_ALLOW_THREADS;
2359 } Py_INCREF(Py_None);
2360 _resultobj = Py_None;
2361 return _resultobj;
2362 }
2363
2364 #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2365 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject * _resultobj;
2367 wxPyShapeEvtHandler * _arg0;
2368 wxPyControlPoint * _arg1;
2369 double _arg2;
2370 double _arg3;
2371 int _arg4 = (int ) 0;
2372 int _arg5 = (int ) 0;
2373 PyObject * _argo0 = 0;
2374 PyObject * _argo1 = 0;
2375 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2376
2377 self = self;
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2379 return NULL;
2380 if (_argo0) {
2381 if (_argo0 == Py_None) { _arg0 = NULL; }
2382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p.");
2384 return NULL;
2385 }
2386 }
2387 if (_argo1) {
2388 if (_argo1 == Py_None) { _arg1 = NULL; }
2389 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2390 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2391 return NULL;
2392 }
2393 }
2394 {
2395 wxPy_BEGIN_ALLOW_THREADS;
2396 wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2397
2398 wxPy_END_ALLOW_THREADS;
2399 } Py_INCREF(Py_None);
2400 _resultobj = Py_None;
2401 return _resultobj;
2402 }
2403
2404 #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2405 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject * _resultobj;
2407 wxPyShapeEvtHandler * _arg0;
2408 double _arg1;
2409 double _arg2;
2410 PyObject * _argo0 = 0;
2411 char *_kwnames[] = { "self","w","h", NULL };
2412
2413 self = self;
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
2415 return NULL;
2416 if (_argo0) {
2417 if (_argo0 == Py_None) { _arg0 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p.");
2420 return NULL;
2421 }
2422 }
2423 {
2424 wxPy_BEGIN_ALLOW_THREADS;
2425 wxPyShapeEvtHandler_base_OnBeginSize(_arg0,_arg1,_arg2);
2426
2427 wxPy_END_ALLOW_THREADS;
2428 } Py_INCREF(Py_None);
2429 _resultobj = Py_None;
2430 return _resultobj;
2431 }
2432
2433 #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2434 static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject * _resultobj;
2436 wxPyShapeEvtHandler * _arg0;
2437 double _arg1;
2438 double _arg2;
2439 PyObject * _argo0 = 0;
2440 char *_kwnames[] = { "self","w","h", NULL };
2441
2442 self = self;
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
2444 return NULL;
2445 if (_argo0) {
2446 if (_argo0 == Py_None) { _arg0 = NULL; }
2447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) {
2448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p.");
2449 return NULL;
2450 }
2451 }
2452 {
2453 wxPy_BEGIN_ALLOW_THREADS;
2454 wxPyShapeEvtHandler_base_OnEndSize(_arg0,_arg1,_arg2);
2455
2456 wxPy_END_ALLOW_THREADS;
2457 } Py_INCREF(Py_None);
2458 _resultobj = Py_None;
2459 return _resultobj;
2460 }
2461
2462 static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr) {
2463 wxPyShape *src;
2464 wxPyShapeEvtHandler *dest;
2465 src = (wxPyShape *) ptr;
2466 dest = (wxPyShapeEvtHandler *) src;
2467 return (void *) dest;
2468 }
2469
2470 static void *SwigwxPyShapeTowxObject(void *ptr) {
2471 wxPyShape *src;
2472 wxObject *dest;
2473 src = (wxPyShape *) ptr;
2474 dest = (wxObject *) src;
2475 return (void *) dest;
2476 }
2477
2478 #define wxPyShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2479 static PyObject *_wrap_wxPyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject * _resultobj;
2481 wxPyShape * _arg0;
2482 PyObject * _arg1;
2483 PyObject * _arg2;
2484 PyObject * _argo0 = 0;
2485 PyObject * _obj1 = 0;
2486 PyObject * _obj2 = 0;
2487 char *_kwnames[] = { "self","self","_class", NULL };
2488
2489 self = self;
2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2491 return NULL;
2492 if (_argo0) {
2493 if (_argo0 == Py_None) { _arg0 = NULL; }
2494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape__setCallbackInfo. Expected _wxPyShape_p.");
2496 return NULL;
2497 }
2498 }
2499 {
2500 _arg1 = _obj1;
2501 }
2502 {
2503 _arg2 = _obj2;
2504 }
2505 {
2506 wxPy_BEGIN_ALLOW_THREADS;
2507 wxPyShape__setCallbackInfo(_arg0,_arg1,_arg2);
2508
2509 wxPy_END_ALLOW_THREADS;
2510 } Py_INCREF(Py_None);
2511 _resultobj = Py_None;
2512 return _resultobj;
2513 }
2514
2515 #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1))
2516 static PyObject *_wrap_wxPyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
2517 PyObject * _resultobj;
2518 wxPyShape * _arg0;
2519 double * _arg1;
2520 double temp;
2521 double * _arg2;
2522 double temp0;
2523 PyObject * _argo0 = 0;
2524 char *_kwnames[] = { "self", NULL };
2525
2526 self = self;
2527 {
2528 _arg1 = &temp;
2529 }
2530 {
2531 _arg2 = &temp0;
2532 }
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBoundingBoxMax",_kwnames,&_argo0))
2534 return NULL;
2535 if (_argo0) {
2536 if (_argo0 == Py_None) { _arg0 = NULL; }
2537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p.");
2539 return NULL;
2540 }
2541 }
2542 {
2543 wxPy_BEGIN_ALLOW_THREADS;
2544 wxPyShape_GetBoundingBoxMax(_arg0,_arg1,_arg2);
2545
2546 wxPy_END_ALLOW_THREADS;
2547 } Py_INCREF(Py_None);
2548 _resultobj = Py_None;
2549 {
2550 PyObject *o;
2551 o = PyFloat_FromDouble((double) (*_arg1));
2552 _resultobj = t_output_helper(_resultobj, o);
2553 }
2554 {
2555 PyObject *o;
2556 o = PyFloat_FromDouble((double) (*_arg2));
2557 _resultobj = t_output_helper(_resultobj, o);
2558 }
2559 return _resultobj;
2560 }
2561
2562 #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1))
2563 static PyObject *_wrap_wxPyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
2564 PyObject * _resultobj;
2565 wxPyShape * _arg0;
2566 double * _arg1;
2567 double temp;
2568 double * _arg2;
2569 double temp0;
2570 PyObject * _argo0 = 0;
2571 char *_kwnames[] = { "self", NULL };
2572
2573 self = self;
2574 {
2575 _arg1 = &temp;
2576 }
2577 {
2578 _arg2 = &temp0;
2579 }
2580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBoundingBoxMin",_kwnames,&_argo0))
2581 return NULL;
2582 if (_argo0) {
2583 if (_argo0 == Py_None) { _arg0 = NULL; }
2584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p.");
2586 return NULL;
2587 }
2588 }
2589 {
2590 wxPy_BEGIN_ALLOW_THREADS;
2591 wxPyShape_GetBoundingBoxMin(_arg0,_arg1,_arg2);
2592
2593 wxPy_END_ALLOW_THREADS;
2594 } Py_INCREF(Py_None);
2595 _resultobj = Py_None;
2596 {
2597 PyObject *o;
2598 o = PyFloat_FromDouble((double) (*_arg1));
2599 _resultobj = t_output_helper(_resultobj, o);
2600 }
2601 {
2602 PyObject *o;
2603 o = PyFloat_FromDouble((double) (*_arg2));
2604 _resultobj = t_output_helper(_resultobj, o);
2605 }
2606 return _resultobj;
2607 }
2608
2609 #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2610 static PyObject *_wrap_wxPyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject * _resultobj;
2612 bool _result;
2613 wxPyShape * _arg0;
2614 double _arg1;
2615 double _arg2;
2616 double _arg3;
2617 double _arg4;
2618 double * _arg5;
2619 double temp;
2620 double * _arg6;
2621 double temp0;
2622 PyObject * _argo0 = 0;
2623 char *_kwnames[] = { "self","x1","y1","x2","y2", NULL };
2624
2625 self = self;
2626 {
2627 _arg5 = &temp;
2628 }
2629 {
2630 _arg6 = &temp0;
2631 }
2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2633 return NULL;
2634 if (_argo0) {
2635 if (_argo0 == Py_None) { _arg0 = NULL; }
2636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p.");
2638 return NULL;
2639 }
2640 }
2641 {
2642 wxPy_BEGIN_ALLOW_THREADS;
2643 _result = (bool )wxPyShape_GetPerimeterPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2644
2645 wxPy_END_ALLOW_THREADS;
2646 } _resultobj = Py_BuildValue("i",_result);
2647 {
2648 PyObject *o;
2649 o = PyFloat_FromDouble((double) (*_arg5));
2650 _resultobj = t_output_helper(_resultobj, o);
2651 }
2652 {
2653 PyObject *o;
2654 o = PyFloat_FromDouble((double) (*_arg6));
2655 _resultobj = t_output_helper(_resultobj, o);
2656 }
2657 return _resultobj;
2658 }
2659
2660 #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas())
2661 static PyObject *_wrap_wxPyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject * _resultobj;
2663 wxPyShapeCanvas * _result;
2664 wxPyShape * _arg0;
2665 PyObject * _argo0 = 0;
2666 char *_kwnames[] = { "self", NULL };
2667
2668 self = self;
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetCanvas",_kwnames,&_argo0))
2670 return NULL;
2671 if (_argo0) {
2672 if (_argo0 == Py_None) { _arg0 = NULL; }
2673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p.");
2675 return NULL;
2676 }
2677 }
2678 {
2679 wxPy_BEGIN_ALLOW_THREADS;
2680 _result = (wxPyShapeCanvas *)wxPyShape_GetCanvas(_arg0);
2681
2682 wxPy_END_ALLOW_THREADS;
2683 }{ _resultobj = wxPyMake_wxObject(_result); }
2684 return _resultobj;
2685 }
2686
2687 #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
2688 static PyObject *_wrap_wxPyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject * _resultobj;
2690 wxPyShape * _arg0;
2691 wxPyShapeCanvas * _arg1;
2692 PyObject * _argo0 = 0;
2693 PyObject * _argo1 = 0;
2694 char *_kwnames[] = { "self","the_canvas", NULL };
2695
2696 self = self;
2697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetCanvas",_kwnames,&_argo0,&_argo1))
2698 return NULL;
2699 if (_argo0) {
2700 if (_argo0 == Py_None) { _arg0 = NULL; }
2701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p.");
2703 return NULL;
2704 }
2705 }
2706 if (_argo1) {
2707 if (_argo1 == Py_None) { _arg1 = NULL; }
2708 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) {
2709 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p.");
2710 return NULL;
2711 }
2712 }
2713 {
2714 wxPy_BEGIN_ALLOW_THREADS;
2715 wxPyShape_SetCanvas(_arg0,_arg1);
2716
2717 wxPy_END_ALLOW_THREADS;
2718 } Py_INCREF(Py_None);
2719 _resultobj = Py_None;
2720 return _resultobj;
2721 }
2722
2723 #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1))
2724 static PyObject *_wrap_wxPyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject * _resultobj;
2726 wxPyShape * _arg0;
2727 wxPyShapeCanvas * _arg1;
2728 wxPyShape * _arg2 = (wxPyShape *) NULL;
2729 PyObject * _argo0 = 0;
2730 PyObject * _argo1 = 0;
2731 PyObject * _argo2 = 0;
2732 char *_kwnames[] = { "self","the_canvas","addAfter", NULL };
2733
2734 self = self;
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyShape_AddToCanvas",_kwnames,&_argo0,&_argo1,&_argo2))
2736 return NULL;
2737 if (_argo0) {
2738 if (_argo0 == Py_None) { _arg0 = NULL; }
2739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2741 return NULL;
2742 }
2743 }
2744 if (_argo1) {
2745 if (_argo1 == Py_None) { _arg1 = NULL; }
2746 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) {
2747 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p.");
2748 return NULL;
2749 }
2750 }
2751 if (_argo2) {
2752 if (_argo2 == Py_None) { _arg2 = NULL; }
2753 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
2754 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p.");
2755 return NULL;
2756 }
2757 }
2758 {
2759 wxPy_BEGIN_ALLOW_THREADS;
2760 wxPyShape_AddToCanvas(_arg0,_arg1,_arg2);
2761
2762 wxPy_END_ALLOW_THREADS;
2763 } Py_INCREF(Py_None);
2764 _resultobj = Py_None;
2765 return _resultobj;
2766 }
2767
2768 #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0))
2769 static PyObject *_wrap_wxPyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2770 PyObject * _resultobj;
2771 wxPyShape * _arg0;
2772 wxPyShapeCanvas * _arg1;
2773 PyObject * _argo0 = 0;
2774 PyObject * _argo1 = 0;
2775 char *_kwnames[] = { "self","the_canvas", NULL };
2776
2777 self = self;
2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_InsertInCanvas",_kwnames,&_argo0,&_argo1))
2779 return NULL;
2780 if (_argo0) {
2781 if (_argo0 == Py_None) { _arg0 = NULL; }
2782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p.");
2784 return NULL;
2785 }
2786 }
2787 if (_argo1) {
2788 if (_argo1 == Py_None) { _arg1 = NULL; }
2789 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) {
2790 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p.");
2791 return NULL;
2792 }
2793 }
2794 {
2795 wxPy_BEGIN_ALLOW_THREADS;
2796 wxPyShape_InsertInCanvas(_arg0,_arg1);
2797
2798 wxPy_END_ALLOW_THREADS;
2799 } Py_INCREF(Py_None);
2800 _resultobj = Py_None;
2801 return _resultobj;
2802 }
2803
2804 #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0))
2805 static PyObject *_wrap_wxPyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
2806 PyObject * _resultobj;
2807 wxPyShape * _arg0;
2808 wxPyShapeCanvas * _arg1;
2809 PyObject * _argo0 = 0;
2810 PyObject * _argo1 = 0;
2811 char *_kwnames[] = { "self","the_canvas", NULL };
2812
2813 self = self;
2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveFromCanvas",_kwnames,&_argo0,&_argo1))
2815 return NULL;
2816 if (_argo0) {
2817 if (_argo0 == Py_None) { _arg0 = NULL; }
2818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p.");
2820 return NULL;
2821 }
2822 }
2823 if (_argo1) {
2824 if (_argo1 == Py_None) { _arg1 = NULL; }
2825 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) {
2826 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p.");
2827 return NULL;
2828 }
2829 }
2830 {
2831 wxPy_BEGIN_ALLOW_THREADS;
2832 wxPyShape_RemoveFromCanvas(_arg0,_arg1);
2833
2834 wxPy_END_ALLOW_THREADS;
2835 } Py_INCREF(Py_None);
2836 _resultobj = Py_None;
2837 return _resultobj;
2838 }
2839
2840 #define wxPyShape_GetX(_swigobj) (_swigobj->GetX())
2841 static PyObject *_wrap_wxPyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject * _resultobj;
2843 double _result;
2844 wxPyShape * _arg0;
2845 PyObject * _argo0 = 0;
2846 char *_kwnames[] = { "self", NULL };
2847
2848 self = self;
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetX",_kwnames,&_argo0))
2850 return NULL;
2851 if (_argo0) {
2852 if (_argo0 == Py_None) { _arg0 = NULL; }
2853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p.");
2855 return NULL;
2856 }
2857 }
2858 {
2859 wxPy_BEGIN_ALLOW_THREADS;
2860 _result = (double )wxPyShape_GetX(_arg0);
2861
2862 wxPy_END_ALLOW_THREADS;
2863 } _resultobj = Py_BuildValue("d",_result);
2864 return _resultobj;
2865 }
2866
2867 #define wxPyShape_GetY(_swigobj) (_swigobj->GetY())
2868 static PyObject *_wrap_wxPyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject * _resultobj;
2870 double _result;
2871 wxPyShape * _arg0;
2872 PyObject * _argo0 = 0;
2873 char *_kwnames[] = { "self", NULL };
2874
2875 self = self;
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetY",_kwnames,&_argo0))
2877 return NULL;
2878 if (_argo0) {
2879 if (_argo0 == Py_None) { _arg0 = NULL; }
2880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p.");
2882 return NULL;
2883 }
2884 }
2885 {
2886 wxPy_BEGIN_ALLOW_THREADS;
2887 _result = (double )wxPyShape_GetY(_arg0);
2888
2889 wxPy_END_ALLOW_THREADS;
2890 } _resultobj = Py_BuildValue("d",_result);
2891 return _resultobj;
2892 }
2893
2894 #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2895 static PyObject *_wrap_wxPyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2896 PyObject * _resultobj;
2897 wxPyShape * _arg0;
2898 double _arg1;
2899 PyObject * _argo0 = 0;
2900 char *_kwnames[] = { "self","x", NULL };
2901
2902 self = self;
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyShape_SetX",_kwnames,&_argo0,&_arg1))
2904 return NULL;
2905 if (_argo0) {
2906 if (_argo0 == Py_None) { _arg0 = NULL; }
2907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p.");
2909 return NULL;
2910 }
2911 }
2912 {
2913 wxPy_BEGIN_ALLOW_THREADS;
2914 wxPyShape_SetX(_arg0,_arg1);
2915
2916 wxPy_END_ALLOW_THREADS;
2917 } Py_INCREF(Py_None);
2918 _resultobj = Py_None;
2919 return _resultobj;
2920 }
2921
2922 #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2923 static PyObject *_wrap_wxPyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2924 PyObject * _resultobj;
2925 wxPyShape * _arg0;
2926 double _arg1;
2927 PyObject * _argo0 = 0;
2928 char *_kwnames[] = { "self","y", NULL };
2929
2930 self = self;
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyShape_SetY",_kwnames,&_argo0,&_arg1))
2932 return NULL;
2933 if (_argo0) {
2934 if (_argo0 == Py_None) { _arg0 = NULL; }
2935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p.");
2937 return NULL;
2938 }
2939 }
2940 {
2941 wxPy_BEGIN_ALLOW_THREADS;
2942 wxPyShape_SetY(_arg0,_arg1);
2943
2944 wxPy_END_ALLOW_THREADS;
2945 } Py_INCREF(Py_None);
2946 _resultobj = Py_None;
2947 return _resultobj;
2948 }
2949
2950 #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent())
2951 static PyObject *_wrap_wxPyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2952 PyObject * _resultobj;
2953 wxPyShape * _result;
2954 wxPyShape * _arg0;
2955 PyObject * _argo0 = 0;
2956 char *_kwnames[] = { "self", NULL };
2957
2958 self = self;
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetParent",_kwnames,&_argo0))
2960 return NULL;
2961 if (_argo0) {
2962 if (_argo0 == Py_None) { _arg0 = NULL; }
2963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p.");
2965 return NULL;
2966 }
2967 }
2968 {
2969 wxPy_BEGIN_ALLOW_THREADS;
2970 _result = (wxPyShape *)wxPyShape_GetParent(_arg0);
2971
2972 wxPy_END_ALLOW_THREADS;
2973 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
2974 return _resultobj;
2975 }
2976
2977 #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2978 static PyObject *_wrap_wxPyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2979 PyObject * _resultobj;
2980 wxPyShape * _arg0;
2981 wxPyShape * _arg1;
2982 PyObject * _argo0 = 0;
2983 PyObject * _argo1 = 0;
2984 char *_kwnames[] = { "self","p", NULL };
2985
2986 self = self;
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetParent",_kwnames,&_argo0,&_argo1))
2988 return NULL;
2989 if (_argo0) {
2990 if (_argo0 == Py_None) { _arg0 = NULL; }
2991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
2992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p.");
2993 return NULL;
2994 }
2995 }
2996 if (_argo1) {
2997 if (_argo1 == Py_None) { _arg1 = NULL; }
2998 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
2999 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p.");
3000 return NULL;
3001 }
3002 }
3003 {
3004 wxPy_BEGIN_ALLOW_THREADS;
3005 wxPyShape_SetParent(_arg0,_arg1);
3006
3007 wxPy_END_ALLOW_THREADS;
3008 } Py_INCREF(Py_None);
3009 _resultobj = Py_None;
3010 return _resultobj;
3011 }
3012
3013 #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor())
3014 static PyObject *_wrap_wxPyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3015 PyObject * _resultobj;
3016 wxPyShape * _result;
3017 wxPyShape * _arg0;
3018 PyObject * _argo0 = 0;
3019 char *_kwnames[] = { "self", NULL };
3020
3021 self = self;
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetTopAncestor",_kwnames,&_argo0))
3023 return NULL;
3024 if (_argo0) {
3025 if (_argo0 == Py_None) { _arg0 = NULL; }
3026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p.");
3028 return NULL;
3029 }
3030 }
3031 {
3032 wxPy_BEGIN_ALLOW_THREADS;
3033 _result = (wxPyShape *)wxPyShape_GetTopAncestor(_arg0);
3034
3035 wxPy_END_ALLOW_THREADS;
3036 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
3037 return _resultobj;
3038 }
3039
3040 static PyObject * wxPyShape_GetChildren(wxPyShape *self) {
3041 wxList& list = self->GetChildren();
3042 return wxPy_ConvertList(&list, "wxPyShape");
3043 }
3044 static PyObject *_wrap_wxPyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject * _resultobj;
3046 PyObject * _result;
3047 wxPyShape * _arg0;
3048 PyObject * _argo0 = 0;
3049 char *_kwnames[] = { "self", NULL };
3050
3051 self = self;
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetChildren",_kwnames,&_argo0))
3053 return NULL;
3054 if (_argo0) {
3055 if (_argo0 == Py_None) { _arg0 = NULL; }
3056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p.");
3058 return NULL;
3059 }
3060 }
3061 {
3062 wxPy_BEGIN_ALLOW_THREADS;
3063 _result = (PyObject *)wxPyShape_GetChildren(_arg0);
3064
3065 wxPy_END_ALLOW_THREADS;
3066 }{
3067 _resultobj = _result;
3068 }
3069 return _resultobj;
3070 }
3071
3072 #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink())
3073 static PyObject *_wrap_wxPyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject * _resultobj;
3075 wxPyShape * _arg0;
3076 PyObject * _argo0 = 0;
3077 char *_kwnames[] = { "self", NULL };
3078
3079 self = self;
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Unlink",_kwnames,&_argo0))
3081 return NULL;
3082 if (_argo0) {
3083 if (_argo0 == Py_None) { _arg0 = NULL; }
3084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p.");
3086 return NULL;
3087 }
3088 }
3089 {
3090 wxPy_BEGIN_ALLOW_THREADS;
3091 wxPyShape_Unlink(_arg0);
3092
3093 wxPy_END_ALLOW_THREADS;
3094 } Py_INCREF(Py_None);
3095 _resultobj = Py_None;
3096 return _resultobj;
3097 }
3098
3099 #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0))
3100 static PyObject *_wrap_wxPyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3101 PyObject * _resultobj;
3102 wxPyShape * _arg0;
3103 bool _arg1;
3104 PyObject * _argo0 = 0;
3105 int tempbool1;
3106 char *_kwnames[] = { "self","drawH", NULL };
3107
3108 self = self;
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetDrawHandles",_kwnames,&_argo0,&tempbool1))
3110 return NULL;
3111 if (_argo0) {
3112 if (_argo0 == Py_None) { _arg0 = NULL; }
3113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p.");
3115 return NULL;
3116 }
3117 }
3118 _arg1 = (bool ) tempbool1;
3119 {
3120 wxPy_BEGIN_ALLOW_THREADS;
3121 wxPyShape_SetDrawHandles(_arg0,_arg1);
3122
3123 wxPy_END_ALLOW_THREADS;
3124 } Py_INCREF(Py_None);
3125 _resultobj = Py_None;
3126 return _resultobj;
3127 }
3128
3129 #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles())
3130 static PyObject *_wrap_wxPyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject * _resultobj;
3132 bool _result;
3133 wxPyShape * _arg0;
3134 PyObject * _argo0 = 0;
3135 char *_kwnames[] = { "self", NULL };
3136
3137 self = self;
3138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetDrawHandles",_kwnames,&_argo0))
3139 return NULL;
3140 if (_argo0) {
3141 if (_argo0 == Py_None) { _arg0 = NULL; }
3142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p.");
3144 return NULL;
3145 }
3146 }
3147 {
3148 wxPy_BEGIN_ALLOW_THREADS;
3149 _result = (bool )wxPyShape_GetDrawHandles(_arg0);
3150
3151 wxPy_END_ALLOW_THREADS;
3152 } _resultobj = Py_BuildValue("i",_result);
3153 return _resultobj;
3154 }
3155
3156 #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints())
3157 static PyObject *_wrap_wxPyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3158 PyObject * _resultobj;
3159 wxPyShape * _arg0;
3160 PyObject * _argo0 = 0;
3161 char *_kwnames[] = { "self", NULL };
3162
3163 self = self;
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_MakeControlPoints",_kwnames,&_argo0))
3165 return NULL;
3166 if (_argo0) {
3167 if (_argo0 == Py_None) { _arg0 = NULL; }
3168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p.");
3170 return NULL;
3171 }
3172 }
3173 {
3174 wxPy_BEGIN_ALLOW_THREADS;
3175 wxPyShape_MakeControlPoints(_arg0);
3176
3177 wxPy_END_ALLOW_THREADS;
3178 } Py_INCREF(Py_None);
3179 _resultobj = Py_None;
3180 return _resultobj;
3181 }
3182
3183 #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0))
3184 static PyObject *_wrap_wxPyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject * _resultobj;
3186 wxPyShape * _arg0;
3187 wxDC * _arg1 = (wxDC *) NULL;
3188 PyObject * _argo0 = 0;
3189 PyObject * _argo1 = 0;
3190 char *_kwnames[] = { "self","dc", NULL };
3191
3192 self = self;
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_DeleteControlPoints",_kwnames,&_argo0,&_argo1))
3194 return NULL;
3195 if (_argo0) {
3196 if (_argo0 == Py_None) { _arg0 = NULL; }
3197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p.");
3199 return NULL;
3200 }
3201 }
3202 if (_argo1) {
3203 if (_argo1 == Py_None) { _arg1 = NULL; }
3204 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3205 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p.");
3206 return NULL;
3207 }
3208 }
3209 {
3210 wxPy_BEGIN_ALLOW_THREADS;
3211 wxPyShape_DeleteControlPoints(_arg0,_arg1);
3212
3213 wxPy_END_ALLOW_THREADS;
3214 } Py_INCREF(Py_None);
3215 _resultobj = Py_None;
3216 return _resultobj;
3217 }
3218
3219 #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints())
3220 static PyObject *_wrap_wxPyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject * _resultobj;
3222 wxPyShape * _arg0;
3223 PyObject * _argo0 = 0;
3224 char *_kwnames[] = { "self", NULL };
3225
3226 self = self;
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ResetControlPoints",_kwnames,&_argo0))
3228 return NULL;
3229 if (_argo0) {
3230 if (_argo0 == Py_None) { _arg0 = NULL; }
3231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p.");
3233 return NULL;
3234 }
3235 }
3236 {
3237 wxPy_BEGIN_ALLOW_THREADS;
3238 wxPyShape_ResetControlPoints(_arg0);
3239
3240 wxPy_END_ALLOW_THREADS;
3241 } Py_INCREF(Py_None);
3242 _resultobj = Py_None;
3243 return _resultobj;
3244 }
3245
3246 #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
3247 static PyObject *_wrap_wxPyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject * _resultobj;
3249 wxPyShapeEvtHandler * _result;
3250 wxPyShape * _arg0;
3251 PyObject * _argo0 = 0;
3252 char *_kwnames[] = { "self", NULL };
3253
3254 self = self;
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetEventHandler",_kwnames,&_argo0))
3256 return NULL;
3257 if (_argo0) {
3258 if (_argo0 == Py_None) { _arg0 = NULL; }
3259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p.");
3261 return NULL;
3262 }
3263 }
3264 {
3265 wxPy_BEGIN_ALLOW_THREADS;
3266 _result = (wxPyShapeEvtHandler *)wxPyShape_GetEventHandler(_arg0);
3267
3268 wxPy_END_ALLOW_THREADS;
3269 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
3270 return _resultobj;
3271 }
3272
3273 #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
3274 static PyObject *_wrap_wxPyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
3275 PyObject * _resultobj;
3276 wxPyShape * _arg0;
3277 wxPyShapeEvtHandler * _arg1;
3278 PyObject * _argo0 = 0;
3279 PyObject * _argo1 = 0;
3280 char *_kwnames[] = { "self","handler", NULL };
3281
3282 self = self;
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetEventHandler",_kwnames,&_argo0,&_argo1))
3284 return NULL;
3285 if (_argo0) {
3286 if (_argo0 == Py_None) { _arg0 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p.");
3289 return NULL;
3290 }
3291 }
3292 if (_argo1) {
3293 if (_argo1 == Py_None) { _arg1 = NULL; }
3294 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeEvtHandler_p")) {
3295 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p.");
3296 return NULL;
3297 }
3298 }
3299 {
3300 wxPy_BEGIN_ALLOW_THREADS;
3301 wxPyShape_SetEventHandler(_arg0,_arg1);
3302
3303 wxPy_END_ALLOW_THREADS;
3304 } Py_INCREF(Py_None);
3305 _resultobj = Py_None;
3306 return _resultobj;
3307 }
3308
3309 #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints())
3310 static PyObject *_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3311 PyObject * _resultobj;
3312 wxPyShape * _arg0;
3313 PyObject * _argo0 = 0;
3314 char *_kwnames[] = { "self", NULL };
3315
3316 self = self;
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames,&_argo0))
3318 return NULL;
3319 if (_argo0) {
3320 if (_argo0 == Py_None) { _arg0 = NULL; }
3321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p.");
3323 return NULL;
3324 }
3325 }
3326 {
3327 wxPy_BEGIN_ALLOW_THREADS;
3328 wxPyShape_MakeMandatoryControlPoints(_arg0);
3329
3330 wxPy_END_ALLOW_THREADS;
3331 } Py_INCREF(Py_None);
3332 _resultobj = Py_None;
3333 return _resultobj;
3334 }
3335
3336 #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints())
3337 static PyObject *_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject * _resultobj;
3339 wxPyShape * _arg0;
3340 PyObject * _argo0 = 0;
3341 char *_kwnames[] = { "self", NULL };
3342
3343 self = self;
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames,&_argo0))
3345 return NULL;
3346 if (_argo0) {
3347 if (_argo0 == Py_None) { _arg0 = NULL; }
3348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p.");
3350 return NULL;
3351 }
3352 }
3353 {
3354 wxPy_BEGIN_ALLOW_THREADS;
3355 wxPyShape_ResetMandatoryControlPoints(_arg0);
3356
3357 wxPy_END_ALLOW_THREADS;
3358 } Py_INCREF(Py_None);
3359 _resultobj = Py_None;
3360 return _resultobj;
3361 }
3362
3363 #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute())
3364 static PyObject *_wrap_wxPyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject * _resultobj;
3366 bool _result;
3367 wxPyShape * _arg0;
3368 PyObject * _argo0 = 0;
3369 char *_kwnames[] = { "self", NULL };
3370
3371 self = self;
3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Recompute",_kwnames,&_argo0))
3373 return NULL;
3374 if (_argo0) {
3375 if (_argo0 == Py_None) { _arg0 = NULL; }
3376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p.");
3378 return NULL;
3379 }
3380 }
3381 {
3382 wxPy_BEGIN_ALLOW_THREADS;
3383 _result = (bool )wxPyShape_Recompute(_arg0);
3384
3385 wxPy_END_ALLOW_THREADS;
3386 } _resultobj = Py_BuildValue("i",_result);
3387 return _resultobj;
3388 }
3389
3390 #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
3391 static PyObject *_wrap_wxPyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject * _resultobj;
3393 wxPyShape * _arg0;
3394 PyObject * _argo0 = 0;
3395 char *_kwnames[] = { "self", NULL };
3396
3397 self = self;
3398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_CalculateSize",_kwnames,&_argo0))
3399 return NULL;
3400 if (_argo0) {
3401 if (_argo0 == Py_None) { _arg0 = NULL; }
3402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p.");
3404 return NULL;
3405 }
3406 }
3407 {
3408 wxPy_BEGIN_ALLOW_THREADS;
3409 wxPyShape_CalculateSize(_arg0);
3410
3411 wxPy_END_ALLOW_THREADS;
3412 } Py_INCREF(Py_None);
3413 _resultobj = Py_None;
3414 return _resultobj;
3415 }
3416
3417 #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
3418 static PyObject *_wrap_wxPyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
3419 PyObject * _resultobj;
3420 wxPyShape * _arg0;
3421 bool _arg1 = (bool ) TRUE;
3422 wxDC * _arg2 = (wxDC *) NULL;
3423 PyObject * _argo0 = 0;
3424 int tempbool1 = (int) TRUE;
3425 PyObject * _argo2 = 0;
3426 char *_kwnames[] = { "self","select","dc", NULL };
3427
3428 self = self;
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxPyShape_Select",_kwnames,&_argo0,&tempbool1,&_argo2))
3430 return NULL;
3431 if (_argo0) {
3432 if (_argo0 == Py_None) { _arg0 = NULL; }
3433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p.");
3435 return NULL;
3436 }
3437 }
3438 _arg1 = (bool ) tempbool1;
3439 if (_argo2) {
3440 if (_argo2 == Py_None) { _arg2 = NULL; }
3441 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
3442 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p.");
3443 return NULL;
3444 }
3445 }
3446 {
3447 wxPy_BEGIN_ALLOW_THREADS;
3448 wxPyShape_Select(_arg0,_arg1,_arg2);
3449
3450 wxPy_END_ALLOW_THREADS;
3451 } Py_INCREF(Py_None);
3452 _resultobj = Py_None;
3453 return _resultobj;
3454 }
3455
3456 #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1))
3457 static PyObject *_wrap_wxPyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject * _resultobj;
3459 wxPyShape * _arg0;
3460 bool _arg1 = (bool ) TRUE;
3461 bool _arg2 = (bool ) FALSE;
3462 PyObject * _argo0 = 0;
3463 int tempbool1 = (int) TRUE;
3464 int tempbool2 = (int) FALSE;
3465 char *_kwnames[] = { "self","hi","recurse", NULL };
3466
3467 self = self;
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_SetHighlight",_kwnames,&_argo0,&tempbool1,&tempbool2))
3469 return NULL;
3470 if (_argo0) {
3471 if (_argo0 == Py_None) { _arg0 = NULL; }
3472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p.");
3474 return NULL;
3475 }
3476 }
3477 _arg1 = (bool ) tempbool1;
3478 _arg2 = (bool ) tempbool2;
3479 {
3480 wxPy_BEGIN_ALLOW_THREADS;
3481 wxPyShape_SetHighlight(_arg0,_arg1,_arg2);
3482
3483 wxPy_END_ALLOW_THREADS;
3484 } Py_INCREF(Py_None);
3485 _resultobj = Py_None;
3486 return _resultobj;
3487 }
3488
3489 #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted())
3490 static PyObject *_wrap_wxPyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
3491 PyObject * _resultobj;
3492 bool _result;
3493 wxPyShape * _arg0;
3494 PyObject * _argo0 = 0;
3495 char *_kwnames[] = { "self", NULL };
3496
3497 self = self;
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsHighlighted",_kwnames,&_argo0))
3499 return NULL;
3500 if (_argo0) {
3501 if (_argo0 == Py_None) { _arg0 = NULL; }
3502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p.");
3504 return NULL;
3505 }
3506 }
3507 {
3508 wxPy_BEGIN_ALLOW_THREADS;
3509 _result = (bool )wxPyShape_IsHighlighted(_arg0);
3510
3511 wxPy_END_ALLOW_THREADS;
3512 } _resultobj = Py_BuildValue("i",_result);
3513 return _resultobj;
3514 }
3515
3516 #define wxPyShape_Selected(_swigobj) (_swigobj->Selected())
3517 static PyObject *_wrap_wxPyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
3518 PyObject * _resultobj;
3519 bool _result;
3520 wxPyShape * _arg0;
3521 PyObject * _argo0 = 0;
3522 char *_kwnames[] = { "self", NULL };
3523
3524 self = self;
3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Selected",_kwnames,&_argo0))
3526 return NULL;
3527 if (_argo0) {
3528 if (_argo0 == Py_None) { _arg0 = NULL; }
3529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p.");
3531 return NULL;
3532 }
3533 }
3534 {
3535 wxPy_BEGIN_ALLOW_THREADS;
3536 _result = (bool )wxPyShape_Selected(_arg0);
3537
3538 wxPy_END_ALLOW_THREADS;
3539 } _resultobj = Py_BuildValue("i",_result);
3540 return _resultobj;
3541 }
3542
3543 #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected())
3544 static PyObject *_wrap_wxPyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject * _resultobj;
3546 bool _result;
3547 wxPyShape * _arg0;
3548 PyObject * _argo0 = 0;
3549 char *_kwnames[] = { "self", NULL };
3550
3551 self = self;
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AncestorSelected",_kwnames,&_argo0))
3553 return NULL;
3554 if (_argo0) {
3555 if (_argo0 == Py_None) { _arg0 = NULL; }
3556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p.");
3558 return NULL;
3559 }
3560 }
3561 {
3562 wxPy_BEGIN_ALLOW_THREADS;
3563 _result = (bool )wxPyShape_AncestorSelected(_arg0);
3564
3565 wxPy_END_ALLOW_THREADS;
3566 } _resultobj = Py_BuildValue("i",_result);
3567 return _resultobj;
3568 }
3569
3570 #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1))
3571 static PyObject *_wrap_wxPyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3572 PyObject * _resultobj;
3573 wxPyShape * _arg0;
3574 int _arg1 = (int ) OP_ALL;
3575 bool _arg2 = (bool ) FALSE;
3576 PyObject * _argo0 = 0;
3577 int tempbool2 = (int) FALSE;
3578 char *_kwnames[] = { "self","sens","recursive", NULL };
3579
3580 self = self;
3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames,&_argo0,&_arg1,&tempbool2))
3582 return NULL;
3583 if (_argo0) {
3584 if (_argo0 == Py_None) { _arg0 = NULL; }
3585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p.");
3587 return NULL;
3588 }
3589 }
3590 _arg2 = (bool ) tempbool2;
3591 {
3592 wxPy_BEGIN_ALLOW_THREADS;
3593 wxPyShape_SetSensitivityFilter(_arg0,_arg1,_arg2);
3594
3595 wxPy_END_ALLOW_THREADS;
3596 } Py_INCREF(Py_None);
3597 _resultobj = Py_None;
3598 return _resultobj;
3599 }
3600
3601 #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter())
3602 static PyObject *_wrap_wxPyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
3603 PyObject * _resultobj;
3604 int _result;
3605 wxPyShape * _arg0;
3606 PyObject * _argo0 = 0;
3607 char *_kwnames[] = { "self", NULL };
3608
3609 self = self;
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetSensitivityFilter",_kwnames,&_argo0))
3611 return NULL;
3612 if (_argo0) {
3613 if (_argo0 == Py_None) { _arg0 = NULL; }
3614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p.");
3616 return NULL;
3617 }
3618 }
3619 {
3620 wxPy_BEGIN_ALLOW_THREADS;
3621 _result = (int )wxPyShape_GetSensitivityFilter(_arg0);
3622
3623 wxPy_END_ALLOW_THREADS;
3624 } _resultobj = Py_BuildValue("i",_result);
3625 return _resultobj;
3626 }
3627
3628 #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1))
3629 static PyObject *_wrap_wxPyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
3630 PyObject * _resultobj;
3631 wxPyShape * _arg0;
3632 bool _arg1;
3633 bool _arg2 = (bool ) FALSE;
3634 PyObject * _argo0 = 0;
3635 int tempbool1;
3636 int tempbool2 = (int) FALSE;
3637 char *_kwnames[] = { "self","drag","recursive", NULL };
3638
3639 self = self;
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetDraggable",_kwnames,&_argo0,&tempbool1,&tempbool2))
3641 return NULL;
3642 if (_argo0) {
3643 if (_argo0 == Py_None) { _arg0 = NULL; }
3644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p.");
3646 return NULL;
3647 }
3648 }
3649 _arg1 = (bool ) tempbool1;
3650 _arg2 = (bool ) tempbool2;
3651 {
3652 wxPy_BEGIN_ALLOW_THREADS;
3653 wxPyShape_SetDraggable(_arg0,_arg1,_arg2);
3654
3655 wxPy_END_ALLOW_THREADS;
3656 } Py_INCREF(Py_None);
3657 _resultobj = Py_None;
3658 return _resultobj;
3659 }
3660
3661 #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1))
3662 static PyObject *_wrap_wxPyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject * _resultobj;
3664 wxPyShape * _arg0;
3665 bool _arg1;
3666 bool _arg2;
3667 PyObject * _argo0 = 0;
3668 int tempbool1;
3669 int tempbool2;
3670 char *_kwnames[] = { "self","x","y", NULL };
3671
3672 self = self;
3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyShape_SetFixedSize",_kwnames,&_argo0,&tempbool1,&tempbool2))
3674 return NULL;
3675 if (_argo0) {
3676 if (_argo0 == Py_None) { _arg0 = NULL; }
3677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p.");
3679 return NULL;
3680 }
3681 }
3682 _arg1 = (bool ) tempbool1;
3683 _arg2 = (bool ) tempbool2;
3684 {
3685 wxPy_BEGIN_ALLOW_THREADS;
3686 wxPyShape_SetFixedSize(_arg0,_arg1,_arg2);
3687
3688 wxPy_END_ALLOW_THREADS;
3689 } Py_INCREF(Py_None);
3690 _resultobj = Py_None;
3691 return _resultobj;
3692 }
3693
3694 #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1))
3695 static PyObject *_wrap_wxPyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject * _resultobj;
3697 wxPyShape * _arg0;
3698 bool * _arg1;
3699 bool * _arg2;
3700 PyObject * _argo0 = 0;
3701 PyObject * _argo1 = 0;
3702 PyObject * _argo2 = 0;
3703 char *_kwnames[] = { "self","OUTPUT","OUTPUT", NULL };
3704
3705 self = self;
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape_GetFixedSize",_kwnames,&_argo0,&_argo1,&_argo2))
3707 return NULL;
3708 if (_argo0) {
3709 if (_argo0 == Py_None) { _arg0 = NULL; }
3710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p.");
3712 return NULL;
3713 }
3714 }
3715 if (_argo1) {
3716 if (_argo1 == Py_None) { _arg1 = NULL; }
3717 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_bool_p")) {
3718 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p.");
3719 return NULL;
3720 }
3721 }
3722 if (_argo2) {
3723 if (_argo2 == Py_None) { _arg2 = NULL; }
3724 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_bool_p")) {
3725 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p.");
3726 return NULL;
3727 }
3728 }
3729 {
3730 wxPy_BEGIN_ALLOW_THREADS;
3731 wxPyShape_GetFixedSize(_arg0,_arg1,_arg2);
3732
3733 wxPy_END_ALLOW_THREADS;
3734 } Py_INCREF(Py_None);
3735 _resultobj = Py_None;
3736 return _resultobj;
3737 }
3738
3739 #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth())
3740 static PyObject *_wrap_wxPyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3741 PyObject * _resultobj;
3742 bool _result;
3743 wxPyShape * _arg0;
3744 PyObject * _argo0 = 0;
3745 char *_kwnames[] = { "self", NULL };
3746
3747 self = self;
3748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetFixedWidth",_kwnames,&_argo0))
3749 return NULL;
3750 if (_argo0) {
3751 if (_argo0 == Py_None) { _arg0 = NULL; }
3752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p.");
3754 return NULL;
3755 }
3756 }
3757 {
3758 wxPy_BEGIN_ALLOW_THREADS;
3759 _result = (bool )wxPyShape_GetFixedWidth(_arg0);
3760
3761 wxPy_END_ALLOW_THREADS;
3762 } _resultobj = Py_BuildValue("i",_result);
3763 return _resultobj;
3764 }
3765
3766 #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight())
3767 static PyObject *_wrap_wxPyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject * _resultobj;
3769 bool _result;
3770 wxPyShape * _arg0;
3771 PyObject * _argo0 = 0;
3772 char *_kwnames[] = { "self", NULL };
3773
3774 self = self;
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetFixedHeight",_kwnames,&_argo0))
3776 return NULL;
3777 if (_argo0) {
3778 if (_argo0 == Py_None) { _arg0 = NULL; }
3779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p.");
3781 return NULL;
3782 }
3783 }
3784 {
3785 wxPy_BEGIN_ALLOW_THREADS;
3786 _result = (bool )wxPyShape_GetFixedHeight(_arg0);
3787
3788 wxPy_END_ALLOW_THREADS;
3789 } _resultobj = Py_BuildValue("i",_result);
3790 return _resultobj;
3791 }
3792
3793 #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0))
3794 static PyObject *_wrap_wxPyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3795 PyObject * _resultobj;
3796 wxPyShape * _arg0;
3797 bool _arg1;
3798 PyObject * _argo0 = 0;
3799 int tempbool1;
3800 char *_kwnames[] = { "self","sp", NULL };
3801
3802 self = self;
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetSpaceAttachments",_kwnames,&_argo0,&tempbool1))
3804 return NULL;
3805 if (_argo0) {
3806 if (_argo0 == Py_None) { _arg0 = NULL; }
3807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p.");
3809 return NULL;
3810 }
3811 }
3812 _arg1 = (bool ) tempbool1;
3813 {
3814 wxPy_BEGIN_ALLOW_THREADS;
3815 wxPyShape_SetSpaceAttachments(_arg0,_arg1);
3816
3817 wxPy_END_ALLOW_THREADS;
3818 } Py_INCREF(Py_None);
3819 _resultobj = Py_None;
3820 return _resultobj;
3821 }
3822
3823 #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments())
3824 static PyObject *_wrap_wxPyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
3825 PyObject * _resultobj;
3826 bool _result;
3827 wxPyShape * _arg0;
3828 PyObject * _argo0 = 0;
3829 char *_kwnames[] = { "self", NULL };
3830
3831 self = self;
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetSpaceAttachments",_kwnames,&_argo0))
3833 return NULL;
3834 if (_argo0) {
3835 if (_argo0 == Py_None) { _arg0 = NULL; }
3836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p.");
3838 return NULL;
3839 }
3840 }
3841 {
3842 wxPy_BEGIN_ALLOW_THREADS;
3843 _result = (bool )wxPyShape_GetSpaceAttachments(_arg0);
3844
3845 wxPy_END_ALLOW_THREADS;
3846 } _resultobj = Py_BuildValue("i",_result);
3847 return _resultobj;
3848 }
3849
3850 #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1))
3851 static PyObject *_wrap_wxPyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject * _resultobj;
3853 wxPyShape * _arg0;
3854 int _arg1;
3855 bool _arg2 = (bool ) FALSE;
3856 PyObject * _argo0 = 0;
3857 int tempbool2 = (int) FALSE;
3858 char *_kwnames[] = { "self","mode","redraw", NULL };
3859
3860 self = self;
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetShadowMode",_kwnames,&_argo0,&_arg1,&tempbool2))
3862 return NULL;
3863 if (_argo0) {
3864 if (_argo0 == Py_None) { _arg0 = NULL; }
3865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p.");
3867 return NULL;
3868 }
3869 }
3870 _arg2 = (bool ) tempbool2;
3871 {
3872 wxPy_BEGIN_ALLOW_THREADS;
3873 wxPyShape_SetShadowMode(_arg0,_arg1,_arg2);
3874
3875 wxPy_END_ALLOW_THREADS;
3876 } Py_INCREF(Py_None);
3877 _resultobj = Py_None;
3878 return _resultobj;
3879 }
3880
3881 #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode())
3882 static PyObject *_wrap_wxPyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3883 PyObject * _resultobj;
3884 int _result;
3885 wxPyShape * _arg0;
3886 PyObject * _argo0 = 0;
3887 char *_kwnames[] = { "self", NULL };
3888
3889 self = self;
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetShadowMode",_kwnames,&_argo0))
3891 return NULL;
3892 if (_argo0) {
3893 if (_argo0 == Py_None) { _arg0 = NULL; }
3894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p.");
3896 return NULL;
3897 }
3898 }
3899 {
3900 wxPy_BEGIN_ALLOW_THREADS;
3901 _result = (int )wxPyShape_GetShadowMode(_arg0);
3902
3903 wxPy_END_ALLOW_THREADS;
3904 } _resultobj = Py_BuildValue("i",_result);
3905 return _resultobj;
3906 }
3907
3908 #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3909 static PyObject *_wrap_wxPyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
3910 PyObject * _resultobj;
3911 bool _result;
3912 wxPyShape * _arg0;
3913 double _arg1;
3914 double _arg2;
3915 int * _arg3;
3916 int temp;
3917 double * _arg4;
3918 double temp0;
3919 PyObject * _argo0 = 0;
3920 char *_kwnames[] = { "self","x","y", NULL };
3921
3922 self = self;
3923 {
3924 _arg3 = &temp;
3925 }
3926 {
3927 _arg4 = &temp0;
3928 }
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_HitTest",_kwnames,&_argo0,&_arg1,&_arg2))
3930 return NULL;
3931 if (_argo0) {
3932 if (_argo0 == Py_None) { _arg0 = NULL; }
3933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p.");
3935 return NULL;
3936 }
3937 }
3938 {
3939 wxPy_BEGIN_ALLOW_THREADS;
3940 _result = (bool )wxPyShape_HitTest(_arg0,_arg1,_arg2,_arg3,_arg4);
3941
3942 wxPy_END_ALLOW_THREADS;
3943 } _resultobj = Py_BuildValue("i",_result);
3944 {
3945 PyObject *o;
3946 o = PyInt_FromLong((long) (*_arg3));
3947 _resultobj = t_output_helper(_resultobj, o);
3948 }
3949 {
3950 PyObject *o;
3951 o = PyFloat_FromDouble((double) (*_arg4));
3952 _resultobj = t_output_helper(_resultobj, o);
3953 }
3954 return _resultobj;
3955 }
3956
3957 #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0))
3958 static PyObject *_wrap_wxPyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject * _resultobj;
3960 wxPyShape * _arg0;
3961 bool _arg1;
3962 PyObject * _argo0 = 0;
3963 int tempbool1;
3964 char *_kwnames[] = { "self","cr", NULL };
3965
3966 self = self;
3967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetCentreResize",_kwnames,&_argo0,&tempbool1))
3968 return NULL;
3969 if (_argo0) {
3970 if (_argo0 == Py_None) { _arg0 = NULL; }
3971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
3972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p.");
3973 return NULL;
3974 }
3975 }
3976 _arg1 = (bool ) tempbool1;
3977 {
3978 wxPy_BEGIN_ALLOW_THREADS;
3979 wxPyShape_SetCentreResize(_arg0,_arg1);
3980
3981 wxPy_END_ALLOW_THREADS;
3982 } Py_INCREF(Py_None);
3983 _resultobj = Py_None;
3984 return _resultobj;
3985 }
3986
3987 #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize())
3988 static PyObject *_wrap_wxPyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
3989 PyObject * _resultobj;
3990 bool _result;
3991 wxPyShape * _arg0;
3992 PyObject * _argo0 = 0;
3993 char *_kwnames[] = { "self", NULL };
3994
3995 self = self;
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetCentreResize",_kwnames,&_argo0))
3997 return NULL;
3998 if (_argo0) {
3999 if (_argo0 == Py_None) { _arg0 = NULL; }
4000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p.");
4002 return NULL;
4003 }
4004 }
4005 {
4006 wxPy_BEGIN_ALLOW_THREADS;
4007 _result = (bool )wxPyShape_GetCentreResize(_arg0);
4008
4009 wxPy_END_ALLOW_THREADS;
4010 } _resultobj = Py_BuildValue("i",_result);
4011 return _resultobj;
4012 }
4013
4014 #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0))
4015 static PyObject *_wrap_wxPyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject * _resultobj;
4017 wxPyShape * _arg0;
4018 bool _arg1;
4019 PyObject * _argo0 = 0;
4020 int tempbool1;
4021 char *_kwnames[] = { "self","ar", NULL };
4022
4023 self = self;
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames,&_argo0,&tempbool1))
4025 return NULL;
4026 if (_argo0) {
4027 if (_argo0 == Py_None) { _arg0 = NULL; }
4028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p.");
4030 return NULL;
4031 }
4032 }
4033 _arg1 = (bool ) tempbool1;
4034 {
4035 wxPy_BEGIN_ALLOW_THREADS;
4036 wxPyShape_SetMaintainAspectRatio(_arg0,_arg1);
4037
4038 wxPy_END_ALLOW_THREADS;
4039 } Py_INCREF(Py_None);
4040 _resultobj = Py_None;
4041 return _resultobj;
4042 }
4043
4044 #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio())
4045 static PyObject *_wrap_wxPyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject * _resultobj;
4047 bool _result;
4048 wxPyShape * _arg0;
4049 PyObject * _argo0 = 0;
4050 char *_kwnames[] = { "self", NULL };
4051
4052 self = self;
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetMaintainAspectRatio",_kwnames,&_argo0))
4054 return NULL;
4055 if (_argo0) {
4056 if (_argo0 == Py_None) { _arg0 = NULL; }
4057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p.");
4059 return NULL;
4060 }
4061 }
4062 {
4063 wxPy_BEGIN_ALLOW_THREADS;
4064 _result = (bool )wxPyShape_GetMaintainAspectRatio(_arg0);
4065
4066 wxPy_END_ALLOW_THREADS;
4067 } _resultobj = Py_BuildValue("i",_result);
4068 return _resultobj;
4069 }
4070
4071 static PyObject * wxPyShape_GetLines(wxPyShape *self) {
4072 wxList& list = self->GetLines();
4073 return wxPy_ConvertList(&list, "wxPyLineShape");
4074 }
4075 static PyObject *_wrap_wxPyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject * _resultobj;
4077 PyObject * _result;
4078 wxPyShape * _arg0;
4079 PyObject * _argo0 = 0;
4080 char *_kwnames[] = { "self", NULL };
4081
4082 self = self;
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetLines",_kwnames,&_argo0))
4084 return NULL;
4085 if (_argo0) {
4086 if (_argo0 == Py_None) { _arg0 = NULL; }
4087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p.");
4089 return NULL;
4090 }
4091 }
4092 {
4093 wxPy_BEGIN_ALLOW_THREADS;
4094 _result = (PyObject *)wxPyShape_GetLines(_arg0);
4095
4096 wxPy_END_ALLOW_THREADS;
4097 }{
4098 _resultobj = _result;
4099 }
4100 return _resultobj;
4101 }
4102
4103 #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0))
4104 static PyObject *_wrap_wxPyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject * _resultobj;
4106 wxPyShape * _arg0;
4107 bool _arg1;
4108 PyObject * _argo0 = 0;
4109 int tempbool1;
4110 char *_kwnames[] = { "self","flag", NULL };
4111
4112 self = self;
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetDisableLabel",_kwnames,&_argo0,&tempbool1))
4114 return NULL;
4115 if (_argo0) {
4116 if (_argo0 == Py_None) { _arg0 = NULL; }
4117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p.");
4119 return NULL;
4120 }
4121 }
4122 _arg1 = (bool ) tempbool1;
4123 {
4124 wxPy_BEGIN_ALLOW_THREADS;
4125 wxPyShape_SetDisableLabel(_arg0,_arg1);
4126
4127 wxPy_END_ALLOW_THREADS;
4128 } Py_INCREF(Py_None);
4129 _resultobj = Py_None;
4130 return _resultobj;
4131 }
4132
4133 #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel())
4134 static PyObject *_wrap_wxPyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject * _resultobj;
4136 bool _result;
4137 wxPyShape * _arg0;
4138 PyObject * _argo0 = 0;
4139 char *_kwnames[] = { "self", NULL };
4140
4141 self = self;
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetDisableLabel",_kwnames,&_argo0))
4143 return NULL;
4144 if (_argo0) {
4145 if (_argo0 == Py_None) { _arg0 = NULL; }
4146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p.");
4148 return NULL;
4149 }
4150 }
4151 {
4152 wxPy_BEGIN_ALLOW_THREADS;
4153 _result = (bool )wxPyShape_GetDisableLabel(_arg0);
4154
4155 wxPy_END_ALLOW_THREADS;
4156 } _resultobj = Py_BuildValue("i",_result);
4157 return _resultobj;
4158 }
4159
4160 #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0))
4161 static PyObject *_wrap_wxPyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject * _resultobj;
4163 wxPyShape * _arg0;
4164 int _arg1;
4165 PyObject * _argo0 = 0;
4166 char *_kwnames[] = { "self","mode", NULL };
4167
4168 self = self;
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetAttachmentMode",_kwnames,&_argo0,&_arg1))
4170 return NULL;
4171 if (_argo0) {
4172 if (_argo0 == Py_None) { _arg0 = NULL; }
4173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p.");
4175 return NULL;
4176 }
4177 }
4178 {
4179 wxPy_BEGIN_ALLOW_THREADS;
4180 wxPyShape_SetAttachmentMode(_arg0,_arg1);
4181
4182 wxPy_END_ALLOW_THREADS;
4183 } Py_INCREF(Py_None);
4184 _resultobj = Py_None;
4185 return _resultobj;
4186 }
4187
4188 #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode())
4189 static PyObject *_wrap_wxPyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject * _resultobj;
4191 int _result;
4192 wxPyShape * _arg0;
4193 PyObject * _argo0 = 0;
4194 char *_kwnames[] = { "self", NULL };
4195
4196 self = self;
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetAttachmentMode",_kwnames,&_argo0))
4198 return NULL;
4199 if (_argo0) {
4200 if (_argo0 == Py_None) { _arg0 = NULL; }
4201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p.");
4203 return NULL;
4204 }
4205 }
4206 {
4207 wxPy_BEGIN_ALLOW_THREADS;
4208 _result = (int )wxPyShape_GetAttachmentMode(_arg0);
4209
4210 wxPy_END_ALLOW_THREADS;
4211 } _resultobj = Py_BuildValue("i",_result);
4212 return _resultobj;
4213 }
4214
4215 #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4216 static PyObject *_wrap_wxPyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject * _resultobj;
4218 wxPyShape * _arg0;
4219 long _arg1;
4220 PyObject * _argo0 = 0;
4221 char *_kwnames[] = { "self","i", NULL };
4222
4223 self = self;
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetId",_kwnames,&_argo0,&_arg1))
4225 return NULL;
4226 if (_argo0) {
4227 if (_argo0 == Py_None) { _arg0 = NULL; }
4228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p.");
4230 return NULL;
4231 }
4232 }
4233 {
4234 wxPy_BEGIN_ALLOW_THREADS;
4235 wxPyShape_SetId(_arg0,_arg1);
4236
4237 wxPy_END_ALLOW_THREADS;
4238 } Py_INCREF(Py_None);
4239 _resultobj = Py_None;
4240 return _resultobj;
4241 }
4242
4243 #define wxPyShape_GetId(_swigobj) (_swigobj->GetId())
4244 static PyObject *_wrap_wxPyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
4245 PyObject * _resultobj;
4246 long _result;
4247 wxPyShape * _arg0;
4248 PyObject * _argo0 = 0;
4249 char *_kwnames[] = { "self", NULL };
4250
4251 self = self;
4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetId",_kwnames,&_argo0))
4253 return NULL;
4254 if (_argo0) {
4255 if (_argo0 == Py_None) { _arg0 = NULL; }
4256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p.");
4258 return NULL;
4259 }
4260 }
4261 {
4262 wxPy_BEGIN_ALLOW_THREADS;
4263 _result = (long )wxPyShape_GetId(_arg0);
4264
4265 wxPy_END_ALLOW_THREADS;
4266 } _resultobj = Py_BuildValue("l",_result);
4267 return _resultobj;
4268 }
4269
4270 #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4271 static PyObject *_wrap_wxPyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4272 PyObject * _resultobj;
4273 wxPyShape * _arg0;
4274 wxPen * _arg1;
4275 PyObject * _argo0 = 0;
4276 PyObject * _obj1 = 0;
4277 char *_kwnames[] = { "self","pen", NULL };
4278
4279 self = self;
4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetPen",_kwnames,&_argo0,&_obj1))
4281 return NULL;
4282 if (_argo0) {
4283 if (_argo0 == Py_None) { _arg0 = NULL; }
4284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p.");
4286 return NULL;
4287 }
4288 }
4289 {
4290 wxPen* temp;
4291 if (_obj1) {
4292 if (_obj1 == Py_None) { temp = NULL; }
4293 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
4294 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
4295 return NULL;
4296 }
4297 }
4298 if (temp)
4299 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
4300 temp->GetWidth(),
4301 temp->GetStyle());
4302 else
4303 _arg1 = NULL;
4304 }
4305 {
4306 wxPy_BEGIN_ALLOW_THREADS;
4307 wxPyShape_SetPen(_arg0,_arg1);
4308
4309 wxPy_END_ALLOW_THREADS;
4310 } Py_INCREF(Py_None);
4311 _resultobj = Py_None;
4312 return _resultobj;
4313 }
4314
4315 #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4316 static PyObject *_wrap_wxPyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4317 PyObject * _resultobj;
4318 wxPyShape * _arg0;
4319 wxBrush * _arg1;
4320 PyObject * _argo0 = 0;
4321 PyObject * _obj1 = 0;
4322 char *_kwnames[] = { "self","brush", NULL };
4323
4324 self = self;
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetBrush",_kwnames,&_argo0,&_obj1))
4326 return NULL;
4327 if (_argo0) {
4328 if (_argo0 == Py_None) { _arg0 = NULL; }
4329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p.");
4331 return NULL;
4332 }
4333 }
4334 {
4335 wxBrush* temp;
4336 if (_obj1) {
4337 if (_obj1 == Py_None) { temp = NULL; }
4338 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
4339 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
4340 return NULL;
4341 }
4342 }
4343 if (temp)
4344 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
4345 else
4346 _arg1 = NULL;
4347 }
4348 {
4349 wxPy_BEGIN_ALLOW_THREADS;
4350 wxPyShape_SetBrush(_arg0,_arg1);
4351
4352 wxPy_END_ALLOW_THREADS;
4353 } Py_INCREF(Py_None);
4354 _resultobj = Py_None;
4355 return _resultobj;
4356 }
4357
4358 static void wxPyShape_SetClientData(wxPyShape *self,PyObject * userData) {
4359 wxPyUserData* data = NULL;
4360 if (userData)
4361 data = new wxPyUserData(userData);
4362 self->SetClientData(data);
4363 }
4364 static PyObject *_wrap_wxPyShape_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
4365 PyObject * _resultobj;
4366 wxPyShape * _arg0;
4367 PyObject * _arg1;
4368 PyObject * _argo0 = 0;
4369 PyObject * _obj1 = 0;
4370 char *_kwnames[] = { "self","userData", NULL };
4371
4372 self = self;
4373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetClientData",_kwnames,&_argo0,&_obj1))
4374 return NULL;
4375 if (_argo0) {
4376 if (_argo0 == Py_None) { _arg0 = NULL; }
4377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4379 return NULL;
4380 }
4381 }
4382 {
4383 _arg1 = _obj1;
4384 }
4385 {
4386 wxPy_BEGIN_ALLOW_THREADS;
4387 wxPyShape_SetClientData(_arg0,_arg1);
4388
4389 wxPy_END_ALLOW_THREADS;
4390 } Py_INCREF(Py_None);
4391 _resultobj = Py_None;
4392 return _resultobj;
4393 }
4394
4395 static PyObject * wxPyShape_GetClientData(wxPyShape *self) {
4396 wxPyUserData* data = (wxPyUserData*)self->GetClientData();
4397 if (data) {
4398 Py_INCREF(data->m_obj);
4399 return data->m_obj;
4400 } else {
4401 Py_INCREF(Py_None);
4402 return Py_None;
4403 }
4404 }
4405 static PyObject *_wrap_wxPyShape_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject * _resultobj;
4407 PyObject * _result;
4408 wxPyShape * _arg0;
4409 PyObject * _argo0 = 0;
4410 char *_kwnames[] = { "self", NULL };
4411
4412 self = self;
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetClientData",_kwnames,&_argo0))
4414 return NULL;
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4419 return NULL;
4420 }
4421 }
4422 {
4423 wxPy_BEGIN_ALLOW_THREADS;
4424 _result = (PyObject *)wxPyShape_GetClientData(_arg0);
4425
4426 wxPy_END_ALLOW_THREADS;
4427 }{
4428 _resultobj = _result;
4429 }
4430 return _resultobj;
4431 }
4432
4433 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4434 static PyObject *_wrap_wxPyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4435 PyObject * _resultobj;
4436 wxPyShape * _arg0;
4437 bool _arg1;
4438 PyObject * _argo0 = 0;
4439 int tempbool1;
4440 char *_kwnames[] = { "self","show", NULL };
4441
4442 self = self;
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_Show",_kwnames,&_argo0,&tempbool1))
4444 return NULL;
4445 if (_argo0) {
4446 if (_argo0 == Py_None) { _arg0 = NULL; }
4447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4449 return NULL;
4450 }
4451 }
4452 _arg1 = (bool ) tempbool1;
4453 {
4454 wxPy_BEGIN_ALLOW_THREADS;
4455 wxPyShape_Show(_arg0,_arg1);
4456
4457 wxPy_END_ALLOW_THREADS;
4458 } Py_INCREF(Py_None);
4459 _resultobj = Py_None;
4460 return _resultobj;
4461 }
4462
4463 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4464 static PyObject *_wrap_wxPyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject * _resultobj;
4466 bool _result;
4467 wxPyShape * _arg0;
4468 PyObject * _argo0 = 0;
4469 char *_kwnames[] = { "self", NULL };
4470
4471 self = self;
4472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsShown",_kwnames,&_argo0))
4473 return NULL;
4474 if (_argo0) {
4475 if (_argo0 == Py_None) { _arg0 = NULL; }
4476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4478 return NULL;
4479 }
4480 }
4481 {
4482 wxPy_BEGIN_ALLOW_THREADS;
4483 _result = (bool )wxPyShape_IsShown(_arg0);
4484
4485 wxPy_END_ALLOW_THREADS;
4486 } _resultobj = Py_BuildValue("i",_result);
4487 return _resultobj;
4488 }
4489
4490 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4491 static PyObject *_wrap_wxPyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4492 PyObject * _resultobj;
4493 wxPyShape * _arg0;
4494 wxDC * _arg1;
4495 double _arg2;
4496 double _arg3;
4497 bool _arg4 = (bool ) TRUE;
4498 PyObject * _argo0 = 0;
4499 PyObject * _argo1 = 0;
4500 int tempbool4 = (int) TRUE;
4501 char *_kwnames[] = { "self","dc","x1","y1","display", NULL };
4502
4503 self = self;
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|i:wxPyShape_Move",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&tempbool4))
4505 return NULL;
4506 if (_argo0) {
4507 if (_argo0 == Py_None) { _arg0 = NULL; }
4508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4510 return NULL;
4511 }
4512 }
4513 if (_argo1) {
4514 if (_argo1 == Py_None) { _arg1 = NULL; }
4515 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4516 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4517 return NULL;
4518 }
4519 }
4520 _arg4 = (bool ) tempbool4;
4521 {
4522 wxPy_BEGIN_ALLOW_THREADS;
4523 wxPyShape_Move(_arg0,*_arg1,_arg2,_arg3,_arg4);
4524
4525 wxPy_END_ALLOW_THREADS;
4526 } Py_INCREF(Py_None);
4527 _resultobj = Py_None;
4528 return _resultobj;
4529 }
4530
4531 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4532 static PyObject *_wrap_wxPyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
4533 PyObject * _resultobj;
4534 wxPyShape * _arg0;
4535 wxDC * _arg1;
4536 PyObject * _argo0 = 0;
4537 PyObject * _argo1 = 0;
4538 char *_kwnames[] = { "self","dc", NULL };
4539
4540 self = self;
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Erase",_kwnames,&_argo0,&_argo1))
4542 return NULL;
4543 if (_argo0) {
4544 if (_argo0 == Py_None) { _arg0 = NULL; }
4545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4547 return NULL;
4548 }
4549 }
4550 if (_argo1) {
4551 if (_argo1 == Py_None) { _arg1 = NULL; }
4552 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4554 return NULL;
4555 }
4556 }
4557 {
4558 wxPy_BEGIN_ALLOW_THREADS;
4559 wxPyShape_Erase(_arg0,*_arg1);
4560
4561 wxPy_END_ALLOW_THREADS;
4562 } Py_INCREF(Py_None);
4563 _resultobj = Py_None;
4564 return _resultobj;
4565 }
4566
4567 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4568 static PyObject *_wrap_wxPyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject * _resultobj;
4570 wxPyShape * _arg0;
4571 wxDC * _arg1;
4572 PyObject * _argo0 = 0;
4573 PyObject * _argo1 = 0;
4574 char *_kwnames[] = { "self","dc", NULL };
4575
4576 self = self;
4577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_EraseContents",_kwnames,&_argo0,&_argo1))
4578 return NULL;
4579 if (_argo0) {
4580 if (_argo0 == Py_None) { _arg0 = NULL; }
4581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4583 return NULL;
4584 }
4585 }
4586 if (_argo1) {
4587 if (_argo1 == Py_None) { _arg1 = NULL; }
4588 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4589 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4590 return NULL;
4591 }
4592 }
4593 {
4594 wxPy_BEGIN_ALLOW_THREADS;
4595 wxPyShape_EraseContents(_arg0,*_arg1);
4596
4597 wxPy_END_ALLOW_THREADS;
4598 } Py_INCREF(Py_None);
4599 _resultobj = Py_None;
4600 return _resultobj;
4601 }
4602
4603 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4604 static PyObject *_wrap_wxPyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject * _resultobj;
4606 wxPyShape * _arg0;
4607 wxDC * _arg1;
4608 PyObject * _argo0 = 0;
4609 PyObject * _argo1 = 0;
4610 char *_kwnames[] = { "self","dc", NULL };
4611
4612 self = self;
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Draw",_kwnames,&_argo0,&_argo1))
4614 return NULL;
4615 if (_argo0) {
4616 if (_argo0 == Py_None) { _arg0 = NULL; }
4617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4619 return NULL;
4620 }
4621 }
4622 if (_argo1) {
4623 if (_argo1 == Py_None) { _arg1 = NULL; }
4624 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4625 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4626 return NULL;
4627 }
4628 }
4629 {
4630 wxPy_BEGIN_ALLOW_THREADS;
4631 wxPyShape_Draw(_arg0,*_arg1);
4632
4633 wxPy_END_ALLOW_THREADS;
4634 } Py_INCREF(Py_None);
4635 _resultobj = Py_None;
4636 return _resultobj;
4637 }
4638
4639 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4640 static PyObject *_wrap_wxPyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
4641 PyObject * _resultobj;
4642 wxPyShape * _arg0;
4643 PyObject * _argo0 = 0;
4644 char *_kwnames[] = { "self", NULL };
4645
4646 self = self;
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Flash",_kwnames,&_argo0))
4648 return NULL;
4649 if (_argo0) {
4650 if (_argo0 == Py_None) { _arg0 = NULL; }
4651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4653 return NULL;
4654 }
4655 }
4656 {
4657 wxPy_BEGIN_ALLOW_THREADS;
4658 wxPyShape_Flash(_arg0);
4659
4660 wxPy_END_ALLOW_THREADS;
4661 } Py_INCREF(Py_None);
4662 _resultobj = Py_None;
4663 return _resultobj;
4664 }
4665
4666 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4667 static PyObject *_wrap_wxPyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4668 PyObject * _resultobj;
4669 wxPyShape * _arg0;
4670 wxDC * _arg1;
4671 PyObject * _argo0 = 0;
4672 PyObject * _argo1 = 0;
4673 char *_kwnames[] = { "self","dc", NULL };
4674
4675 self = self;
4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_MoveLinks",_kwnames,&_argo0,&_argo1))
4677 return NULL;
4678 if (_argo0) {
4679 if (_argo0 == Py_None) { _arg0 = NULL; }
4680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4682 return NULL;
4683 }
4684 }
4685 if (_argo1) {
4686 if (_argo1 == Py_None) { _arg1 = NULL; }
4687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4689 return NULL;
4690 }
4691 }
4692 {
4693 wxPy_BEGIN_ALLOW_THREADS;
4694 wxPyShape_MoveLinks(_arg0,*_arg1);
4695
4696 wxPy_END_ALLOW_THREADS;
4697 } Py_INCREF(Py_None);
4698 _resultobj = Py_None;
4699 return _resultobj;
4700 }
4701
4702 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4703 static PyObject *_wrap_wxPyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4704 PyObject * _resultobj;
4705 wxPyShape * _arg0;
4706 wxDC * _arg1;
4707 PyObject * _argo0 = 0;
4708 PyObject * _argo1 = 0;
4709 char *_kwnames[] = { "self","dc", NULL };
4710
4711 self = self;
4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_DrawContents",_kwnames,&_argo0,&_argo1))
4713 return NULL;
4714 if (_argo0) {
4715 if (_argo0 == Py_None) { _arg0 = NULL; }
4716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4718 return NULL;
4719 }
4720 }
4721 if (_argo1) {
4722 if (_argo1 == Py_None) { _arg1 = NULL; }
4723 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4724 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4725 return NULL;
4726 }
4727 }
4728 {
4729 wxPy_BEGIN_ALLOW_THREADS;
4730 wxPyShape_DrawContents(_arg0,*_arg1);
4731
4732 wxPy_END_ALLOW_THREADS;
4733 } Py_INCREF(Py_None);
4734 _resultobj = Py_None;
4735 return _resultobj;
4736 }
4737
4738 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4739 static PyObject *_wrap_wxPyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject * _resultobj;
4741 wxPyShape * _arg0;
4742 double _arg1;
4743 double _arg2;
4744 bool _arg3 = (bool ) TRUE;
4745 PyObject * _argo0 = 0;
4746 int tempbool3 = (int) TRUE;
4747 char *_kwnames[] = { "self","x","y","recursive", NULL };
4748
4749 self = self;
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShape_SetSize",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4751 return NULL;
4752 if (_argo0) {
4753 if (_argo0 == Py_None) { _arg0 = NULL; }
4754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4756 return NULL;
4757 }
4758 }
4759 _arg3 = (bool ) tempbool3;
4760 {
4761 wxPy_BEGIN_ALLOW_THREADS;
4762 wxPyShape_SetSize(_arg0,_arg1,_arg2,_arg3);
4763
4764 wxPy_END_ALLOW_THREADS;
4765 } Py_INCREF(Py_None);
4766 _resultobj = Py_None;
4767 return _resultobj;
4768 }
4769
4770 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4771 static PyObject *_wrap_wxPyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject * _resultobj;
4773 wxPyShape * _arg0;
4774 double _arg1;
4775 double _arg2;
4776 PyObject * _argo0 = 0;
4777 char *_kwnames[] = { "self","x","y", NULL };
4778
4779 self = self;
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_SetAttachmentSize",_kwnames,&_argo0,&_arg1,&_arg2))
4781 return NULL;
4782 if (_argo0) {
4783 if (_argo0 == Py_None) { _arg0 = NULL; }
4784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4786 return NULL;
4787 }
4788 }
4789 {
4790 wxPy_BEGIN_ALLOW_THREADS;
4791 wxPyShape_SetAttachmentSize(_arg0,_arg1,_arg2);
4792
4793 wxPy_END_ALLOW_THREADS;
4794 } Py_INCREF(Py_None);
4795 _resultobj = Py_None;
4796 return _resultobj;
4797 }
4798
4799 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4800 static PyObject *_wrap_wxPyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
4801 PyObject * _resultobj;
4802 wxPyShape * _arg0;
4803 wxPyShapeCanvas * _arg1;
4804 PyObject * _argo0 = 0;
4805 PyObject * _argo1 = 0;
4806 char *_kwnames[] = { "self","can", NULL };
4807
4808 self = self;
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Attach",_kwnames,&_argo0,&_argo1))
4810 return NULL;
4811 if (_argo0) {
4812 if (_argo0 == Py_None) { _arg0 = NULL; }
4813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4815 return NULL;
4816 }
4817 }
4818 if (_argo1) {
4819 if (_argo1 == Py_None) { _arg1 = NULL; }
4820 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) {
4821 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4822 return NULL;
4823 }
4824 }
4825 {
4826 wxPy_BEGIN_ALLOW_THREADS;
4827 wxPyShape_Attach(_arg0,_arg1);
4828
4829 wxPy_END_ALLOW_THREADS;
4830 } Py_INCREF(Py_None);
4831 _resultobj = Py_None;
4832 return _resultobj;
4833 }
4834
4835 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4836 static PyObject *_wrap_wxPyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
4837 PyObject * _resultobj;
4838 wxPyShape * _arg0;
4839 PyObject * _argo0 = 0;
4840 char *_kwnames[] = { "self", NULL };
4841
4842 self = self;
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Detach",_kwnames,&_argo0))
4844 return NULL;
4845 if (_argo0) {
4846 if (_argo0 == Py_None) { _arg0 = NULL; }
4847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4849 return NULL;
4850 }
4851 }
4852 {
4853 wxPy_BEGIN_ALLOW_THREADS;
4854 wxPyShape_Detach(_arg0);
4855
4856 wxPy_END_ALLOW_THREADS;
4857 } Py_INCREF(Py_None);
4858 _resultobj = Py_None;
4859 return _resultobj;
4860 }
4861
4862 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4863 static PyObject *_wrap_wxPyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
4864 PyObject * _resultobj;
4865 bool _result;
4866 wxPyShape * _arg0;
4867 PyObject * _argo0 = 0;
4868 char *_kwnames[] = { "self", NULL };
4869
4870 self = self;
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Constrain",_kwnames,&_argo0))
4872 return NULL;
4873 if (_argo0) {
4874 if (_argo0 == Py_None) { _arg0 = NULL; }
4875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4877 return NULL;
4878 }
4879 }
4880 {
4881 wxPy_BEGIN_ALLOW_THREADS;
4882 _result = (bool )wxPyShape_Constrain(_arg0);
4883
4884 wxPy_END_ALLOW_THREADS;
4885 } _resultobj = Py_BuildValue("i",_result);
4886 return _resultobj;
4887 }
4888
4889 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4890 static PyObject *_wrap_wxPyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4891 PyObject * _resultobj;
4892 wxPyShape * _arg0;
4893 wxPyLineShape * _arg1;
4894 wxPyShape * _arg2;
4895 int _arg3 = (int ) 0;
4896 int _arg4 = (int ) 0;
4897 int _arg5 = (int ) -1;
4898 int _arg6 = (int ) -1;
4899 PyObject * _argo0 = 0;
4900 PyObject * _argo1 = 0;
4901 PyObject * _argo2 = 0;
4902 char *_kwnames[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL };
4903
4904 self = self;
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiii:wxPyShape_AddLine",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6))
4906 return NULL;
4907 if (_argo0) {
4908 if (_argo0 == Py_None) { _arg0 = NULL; }
4909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4911 return NULL;
4912 }
4913 }
4914 if (_argo1) {
4915 if (_argo1 == Py_None) { _arg1 = NULL; }
4916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) {
4917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4918 return NULL;
4919 }
4920 }
4921 if (_argo2) {
4922 if (_argo2 == Py_None) { _arg2 = NULL; }
4923 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
4924 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4925 return NULL;
4926 }
4927 }
4928 {
4929 wxPy_BEGIN_ALLOW_THREADS;
4930 wxPyShape_AddLine(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4931
4932 wxPy_END_ALLOW_THREADS;
4933 } Py_INCREF(Py_None);
4934 _resultobj = Py_None;
4935 return _resultobj;
4936 }
4937
4938 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4939 static PyObject *_wrap_wxPyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject * _resultobj;
4941 int _result;
4942 wxPyShape * _arg0;
4943 wxPyLineShape * _arg1;
4944 PyObject * _argo0 = 0;
4945 PyObject * _argo1 = 0;
4946 char *_kwnames[] = { "self","line", NULL };
4947
4948 self = self;
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetLinePosition",_kwnames,&_argo0,&_argo1))
4950 return NULL;
4951 if (_argo0) {
4952 if (_argo0 == Py_None) { _arg0 = NULL; }
4953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4955 return NULL;
4956 }
4957 }
4958 if (_argo1) {
4959 if (_argo1 == Py_None) { _arg1 = NULL; }
4960 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) {
4961 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4962 return NULL;
4963 }
4964 }
4965 {
4966 wxPy_BEGIN_ALLOW_THREADS;
4967 _result = (int )wxPyShape_GetLinePosition(_arg0,_arg1);
4968
4969 wxPy_END_ALLOW_THREADS;
4970 } _resultobj = Py_BuildValue("i",_result);
4971 return _resultobj;
4972 }
4973
4974 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4975 static PyObject *_wrap_wxPyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
4976 PyObject * _resultobj;
4977 wxPyShape * _arg0;
4978 wxString * _arg1;
4979 PyObject * _argo0 = 0;
4980 PyObject * _obj1 = 0;
4981 char *_kwnames[] = { "self","string", NULL };
4982
4983 self = self;
4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddText",_kwnames,&_argo0,&_obj1))
4985 return NULL;
4986 if (_argo0) {
4987 if (_argo0 == Py_None) { _arg0 = NULL; }
4988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4990 return NULL;
4991 }
4992 }
4993 {
4994 #if PYTHON_API_VERSION >= 1009
4995 char* tmpPtr; int tmpSize;
4996 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4997 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4998 return NULL;
4999 }
5000 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5001 return NULL;
5002 _arg1 = new wxString(tmpPtr, tmpSize);
5003 #else
5004 if (!PyString_Check(_obj1)) {
5005 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5006 return NULL;
5007 }
5008 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5009 #endif
5010 }
5011 {
5012 wxPy_BEGIN_ALLOW_THREADS;
5013 wxPyShape_AddText(_arg0,*_arg1);
5014
5015 wxPy_END_ALLOW_THREADS;
5016 } Py_INCREF(Py_None);
5017 _resultobj = Py_None;
5018 {
5019 if (_obj1)
5020 delete _arg1;
5021 }
5022 return _resultobj;
5023 }
5024
5025 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
5026 static PyObject *_wrap_wxPyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject * _resultobj;
5028 wxPen * _result;
5029 wxPyShape * _arg0;
5030 PyObject * _argo0 = 0;
5031 char *_kwnames[] = { "self", NULL };
5032 char _ptemp[128];
5033
5034 self = self;
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetPen",_kwnames,&_argo0))
5036 return NULL;
5037 if (_argo0) {
5038 if (_argo0 == Py_None) { _arg0 = NULL; }
5039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
5041 return NULL;
5042 }
5043 }
5044 {
5045 wxPy_BEGIN_ALLOW_THREADS;
5046 _result = (wxPen *)wxPyShape_GetPen(_arg0);
5047
5048 wxPy_END_ALLOW_THREADS;
5049 } if (_result) {
5050 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
5051 _resultobj = Py_BuildValue("s",_ptemp);
5052 } else {
5053 Py_INCREF(Py_None);
5054 _resultobj = Py_None;
5055 }
5056 return _resultobj;
5057 }
5058
5059 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
5060 static PyObject *_wrap_wxPyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5061 PyObject * _resultobj;
5062 wxBrush * _result;
5063 wxPyShape * _arg0;
5064 PyObject * _argo0 = 0;
5065 char *_kwnames[] = { "self", NULL };
5066 char _ptemp[128];
5067
5068 self = self;
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBrush",_kwnames,&_argo0))
5070 return NULL;
5071 if (_argo0) {
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_GetBrush. Expected _wxPyShape_p.");
5075 return NULL;
5076 }
5077 }
5078 {
5079 wxPy_BEGIN_ALLOW_THREADS;
5080 _result = (wxBrush *)wxPyShape_GetBrush(_arg0);
5081
5082 wxPy_END_ALLOW_THREADS;
5083 } if (_result) {
5084 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
5085 _resultobj = Py_BuildValue("s",_ptemp);
5086 } else {
5087 Py_INCREF(Py_None);
5088 _resultobj = Py_None;
5089 }
5090 return _resultobj;
5091 }
5092
5093 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5094 static PyObject *_wrap_wxPyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5095 PyObject * _resultobj;
5096 wxPyShape * _arg0;
5097 PyObject * _argo0 = 0;
5098 char *_kwnames[] = { "self", NULL };
5099
5100 self = self;
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_SetDefaultRegionSize",_kwnames,&_argo0))
5102 return NULL;
5103 if (_argo0) {
5104 if (_argo0 == Py_None) { _arg0 = NULL; }
5105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5107 return NULL;
5108 }
5109 }
5110 {
5111 wxPy_BEGIN_ALLOW_THREADS;
5112 wxPyShape_SetDefaultRegionSize(_arg0);
5113
5114 wxPy_END_ALLOW_THREADS;
5115 } Py_INCREF(Py_None);
5116 _resultobj = Py_None;
5117 return _resultobj;
5118 }
5119
5120 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5121 static PyObject *_wrap_wxPyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5122 PyObject * _resultobj;
5123 wxPyShape * _arg0;
5124 wxDC * _arg1;
5125 wxString * _arg2;
5126 int _arg3 = (int ) 0;
5127 PyObject * _argo0 = 0;
5128 PyObject * _argo1 = 0;
5129 PyObject * _obj2 = 0;
5130 char *_kwnames[] = { "self","dc","s","regionId", NULL };
5131
5132 self = self;
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyShape_FormatText",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3))
5134 return NULL;
5135 if (_argo0) {
5136 if (_argo0 == Py_None) { _arg0 = NULL; }
5137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5139 return NULL;
5140 }
5141 }
5142 if (_argo1) {
5143 if (_argo1 == Py_None) { _arg1 = NULL; }
5144 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5146 return NULL;
5147 }
5148 }
5149 {
5150 #if PYTHON_API_VERSION >= 1009
5151 char* tmpPtr; int tmpSize;
5152 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5153 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5154 return NULL;
5155 }
5156 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5157 return NULL;
5158 _arg2 = new wxString(tmpPtr, tmpSize);
5159 #else
5160 if (!PyString_Check(_obj2)) {
5161 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5162 return NULL;
5163 }
5164 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5165 #endif
5166 }
5167 {
5168 wxPy_BEGIN_ALLOW_THREADS;
5169 wxPyShape_FormatText(_arg0,*_arg1,*_arg2,_arg3);
5170
5171 wxPy_END_ALLOW_THREADS;
5172 } Py_INCREF(Py_None);
5173 _resultobj = Py_None;
5174 {
5175 if (_obj2)
5176 delete _arg2;
5177 }
5178 return _resultobj;
5179 }
5180
5181 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5182 static PyObject *_wrap_wxPyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject * _resultobj;
5184 wxPyShape * _arg0;
5185 int _arg1;
5186 int _arg2 = (int ) 0;
5187 PyObject * _argo0 = 0;
5188 char *_kwnames[] = { "self","mode","regionId", NULL };
5189
5190 self = self;
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetFormatMode",_kwnames,&_argo0,&_arg1,&_arg2))
5192 return NULL;
5193 if (_argo0) {
5194 if (_argo0 == Py_None) { _arg0 = NULL; }
5195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5197 return NULL;
5198 }
5199 }
5200 {
5201 wxPy_BEGIN_ALLOW_THREADS;
5202 wxPyShape_SetFormatMode(_arg0,_arg1,_arg2);
5203
5204 wxPy_END_ALLOW_THREADS;
5205 } Py_INCREF(Py_None);
5206 _resultobj = Py_None;
5207 return _resultobj;
5208 }
5209
5210 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5211 static PyObject *_wrap_wxPyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject * _resultobj;
5213 int _result;
5214 wxPyShape * _arg0;
5215 int _arg1 = (int ) 0;
5216 PyObject * _argo0 = 0;
5217 char *_kwnames[] = { "self","regionId", NULL };
5218
5219 self = self;
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFormatMode",_kwnames,&_argo0,&_arg1))
5221 return NULL;
5222 if (_argo0) {
5223 if (_argo0 == Py_None) { _arg0 = NULL; }
5224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5226 return NULL;
5227 }
5228 }
5229 {
5230 wxPy_BEGIN_ALLOW_THREADS;
5231 _result = (int )wxPyShape_GetFormatMode(_arg0,_arg1);
5232
5233 wxPy_END_ALLOW_THREADS;
5234 } _resultobj = Py_BuildValue("i",_result);
5235 return _resultobj;
5236 }
5237
5238 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5239 static PyObject *_wrap_wxPyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5240 PyObject * _resultobj;
5241 wxPyShape * _arg0;
5242 wxFont * _arg1;
5243 int _arg2 = (int ) 0;
5244 PyObject * _argo0 = 0;
5245 PyObject * _obj1 = 0;
5246 char *_kwnames[] = { "self","font","regionId", NULL };
5247
5248 self = self;
5249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetFont",_kwnames,&_argo0,&_obj1,&_arg2))
5250 return NULL;
5251 if (_argo0) {
5252 if (_argo0 == Py_None) { _arg0 = NULL; }
5253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5255 return NULL;
5256 }
5257 }
5258 {
5259 wxFont* temp;
5260 if (_obj1) {
5261 if (_obj1 == Py_None) { temp = NULL; }
5262 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
5263 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
5264 return NULL;
5265 }
5266 }
5267 if (temp)
5268 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
5269 temp->GetFamily(),
5270 temp->GetStyle(),
5271 temp->GetWeight(),
5272 temp->GetUnderlined(),
5273 temp->GetFaceName(),
5274 temp->GetEncoding());
5275 else
5276 _arg1 = NULL;
5277 }
5278 {
5279 wxPy_BEGIN_ALLOW_THREADS;
5280 wxPyShape_SetFont(_arg0,_arg1,_arg2);
5281
5282 wxPy_END_ALLOW_THREADS;
5283 } Py_INCREF(Py_None);
5284 _resultobj = Py_None;
5285 return _resultobj;
5286 }
5287
5288 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5289 static PyObject *_wrap_wxPyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject * _resultobj;
5291 wxFont * _result;
5292 wxPyShape * _arg0;
5293 int _arg1 = (int ) 0;
5294 PyObject * _argo0 = 0;
5295 char *_kwnames[] = { "self","regionId", NULL };
5296 char _ptemp[128];
5297
5298 self = self;
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFont",_kwnames,&_argo0,&_arg1))
5300 return NULL;
5301 if (_argo0) {
5302 if (_argo0 == Py_None) { _arg0 = NULL; }
5303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5305 return NULL;
5306 }
5307 }
5308 {
5309 wxPy_BEGIN_ALLOW_THREADS;
5310 _result = (wxFont *)wxPyShape_GetFont(_arg0,_arg1);
5311
5312 wxPy_END_ALLOW_THREADS;
5313 } if (_result) {
5314 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
5315 _resultobj = Py_BuildValue("s",_ptemp);
5316 } else {
5317 Py_INCREF(Py_None);
5318 _resultobj = Py_None;
5319 }
5320 return _resultobj;
5321 }
5322
5323 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5324 static PyObject *_wrap_wxPyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5325 PyObject * _resultobj;
5326 wxPyShape * _arg0;
5327 wxString * _arg1;
5328 int _arg2 = (int ) 0;
5329 PyObject * _argo0 = 0;
5330 PyObject * _obj1 = 0;
5331 char *_kwnames[] = { "self","colour","regionId", NULL };
5332
5333 self = self;
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetTextColour",_kwnames,&_argo0,&_obj1,&_arg2))
5335 return NULL;
5336 if (_argo0) {
5337 if (_argo0 == Py_None) { _arg0 = NULL; }
5338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5340 return NULL;
5341 }
5342 }
5343 {
5344 #if PYTHON_API_VERSION >= 1009
5345 char* tmpPtr; int tmpSize;
5346 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5347 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5348 return NULL;
5349 }
5350 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5351 return NULL;
5352 _arg1 = new wxString(tmpPtr, tmpSize);
5353 #else
5354 if (!PyString_Check(_obj1)) {
5355 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5356 return NULL;
5357 }
5358 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5359 #endif
5360 }
5361 {
5362 wxPy_BEGIN_ALLOW_THREADS;
5363 wxPyShape_SetTextColour(_arg0,*_arg1,_arg2);
5364
5365 wxPy_END_ALLOW_THREADS;
5366 } Py_INCREF(Py_None);
5367 _resultobj = Py_None;
5368 {
5369 if (_obj1)
5370 delete _arg1;
5371 }
5372 return _resultobj;
5373 }
5374
5375 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5376 static PyObject *_wrap_wxPyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5377 PyObject * _resultobj;
5378 wxString * _result;
5379 wxPyShape * _arg0;
5380 int _arg1 = (int ) 0;
5381 PyObject * _argo0 = 0;
5382 char *_kwnames[] = { "self","regionId", NULL };
5383
5384 self = self;
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetTextColour",_kwnames,&_argo0,&_arg1))
5386 return NULL;
5387 if (_argo0) {
5388 if (_argo0 == Py_None) { _arg0 = NULL; }
5389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5391 return NULL;
5392 }
5393 }
5394 {
5395 wxPy_BEGIN_ALLOW_THREADS;
5396 _result = new wxString (wxPyShape_GetTextColour(_arg0,_arg1));
5397
5398 wxPy_END_ALLOW_THREADS;
5399 }{
5400 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5401 }
5402 {
5403 delete _result;
5404 }
5405 return _resultobj;
5406 }
5407
5408 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5409 static PyObject *_wrap_wxPyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject * _resultobj;
5411 int _result;
5412 wxPyShape * _arg0;
5413 PyObject * _argo0 = 0;
5414 char *_kwnames[] = { "self", NULL };
5415
5416 self = self;
5417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfTextRegions",_kwnames,&_argo0))
5418 return NULL;
5419 if (_argo0) {
5420 if (_argo0 == Py_None) { _arg0 = NULL; }
5421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5423 return NULL;
5424 }
5425 }
5426 {
5427 wxPy_BEGIN_ALLOW_THREADS;
5428 _result = (int )wxPyShape_GetNumberOfTextRegions(_arg0);
5429
5430 wxPy_END_ALLOW_THREADS;
5431 } _resultobj = Py_BuildValue("i",_result);
5432 return _resultobj;
5433 }
5434
5435 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5436 static PyObject *_wrap_wxPyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject * _resultobj;
5438 wxPyShape * _arg0;
5439 wxString * _arg1;
5440 int _arg2 = (int ) 0;
5441 PyObject * _argo0 = 0;
5442 PyObject * _obj1 = 0;
5443 char *_kwnames[] = { "self","name","regionId", NULL };
5444
5445 self = self;
5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetRegionName",_kwnames,&_argo0,&_obj1,&_arg2))
5447 return NULL;
5448 if (_argo0) {
5449 if (_argo0 == Py_None) { _arg0 = NULL; }
5450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5452 return NULL;
5453 }
5454 }
5455 {
5456 #if PYTHON_API_VERSION >= 1009
5457 char* tmpPtr; int tmpSize;
5458 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5459 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5460 return NULL;
5461 }
5462 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5463 return NULL;
5464 _arg1 = new wxString(tmpPtr, tmpSize);
5465 #else
5466 if (!PyString_Check(_obj1)) {
5467 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5468 return NULL;
5469 }
5470 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5471 #endif
5472 }
5473 {
5474 wxPy_BEGIN_ALLOW_THREADS;
5475 wxPyShape_SetRegionName(_arg0,*_arg1,_arg2);
5476
5477 wxPy_END_ALLOW_THREADS;
5478 } Py_INCREF(Py_None);
5479 _resultobj = Py_None;
5480 {
5481 if (_obj1)
5482 delete _arg1;
5483 }
5484 return _resultobj;
5485 }
5486
5487 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5488 static PyObject *_wrap_wxPyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5489 PyObject * _resultobj;
5490 wxString * _result;
5491 wxPyShape * _arg0;
5492 int _arg1;
5493 PyObject * _argo0 = 0;
5494 char *_kwnames[] = { "self","regionId", NULL };
5495
5496 self = self;
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetRegionName",_kwnames,&_argo0,&_arg1))
5498 return NULL;
5499 if (_argo0) {
5500 if (_argo0 == Py_None) { _arg0 = NULL; }
5501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5503 return NULL;
5504 }
5505 }
5506 {
5507 wxPy_BEGIN_ALLOW_THREADS;
5508 _result = new wxString (wxPyShape_GetRegionName(_arg0,_arg1));
5509
5510 wxPy_END_ALLOW_THREADS;
5511 }{
5512 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5513 }
5514 {
5515 delete _result;
5516 }
5517 return _resultobj;
5518 }
5519
5520 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5521 static PyObject *_wrap_wxPyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject * _resultobj;
5523 int _result;
5524 wxPyShape * _arg0;
5525 wxString * _arg1;
5526 PyObject * _argo0 = 0;
5527 PyObject * _obj1 = 0;
5528 char *_kwnames[] = { "self","name", NULL };
5529
5530 self = self;
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetRegionId",_kwnames,&_argo0,&_obj1))
5532 return NULL;
5533 if (_argo0) {
5534 if (_argo0 == Py_None) { _arg0 = NULL; }
5535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5537 return NULL;
5538 }
5539 }
5540 {
5541 #if PYTHON_API_VERSION >= 1009
5542 char* tmpPtr; int tmpSize;
5543 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5544 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5545 return NULL;
5546 }
5547 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5548 return NULL;
5549 _arg1 = new wxString(tmpPtr, tmpSize);
5550 #else
5551 if (!PyString_Check(_obj1)) {
5552 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5553 return NULL;
5554 }
5555 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5556 #endif
5557 }
5558 {
5559 wxPy_BEGIN_ALLOW_THREADS;
5560 _result = (int )wxPyShape_GetRegionId(_arg0,*_arg1);
5561
5562 wxPy_END_ALLOW_THREADS;
5563 } _resultobj = Py_BuildValue("i",_result);
5564 {
5565 if (_obj1)
5566 delete _arg1;
5567 }
5568 return _resultobj;
5569 }
5570
5571 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5572 static PyObject *_wrap_wxPyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject * _resultobj;
5574 wxPyShape * _arg0;
5575 wxString * _arg1 = (wxString *) &"";
5576 PyObject * _argo0 = 0;
5577 PyObject * _obj1 = 0;
5578 char *_kwnames[] = { "self","parentName", NULL };
5579
5580 self = self;
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_NameRegions",_kwnames,&_argo0,&_obj1))
5582 return NULL;
5583 if (_argo0) {
5584 if (_argo0 == Py_None) { _arg0 = NULL; }
5585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5587 return NULL;
5588 }
5589 }
5590 if (_obj1)
5591 {
5592 #if PYTHON_API_VERSION >= 1009
5593 char* tmpPtr; int tmpSize;
5594 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5595 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5596 return NULL;
5597 }
5598 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5599 return NULL;
5600 _arg1 = new wxString(tmpPtr, tmpSize);
5601 #else
5602 if (!PyString_Check(_obj1)) {
5603 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5604 return NULL;
5605 }
5606 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5607 #endif
5608 }
5609 {
5610 wxPy_BEGIN_ALLOW_THREADS;
5611 wxPyShape_NameRegions(_arg0,*_arg1);
5612
5613 wxPy_END_ALLOW_THREADS;
5614 } Py_INCREF(Py_None);
5615 _resultobj = Py_None;
5616 {
5617 if (_obj1)
5618 delete _arg1;
5619 }
5620 return _resultobj;
5621 }
5622
5623 static PyObject * wxPyShape_GetRegions(wxPyShape *self) {
5624 wxList& list = self->GetRegions();
5625 return wxPy_ConvertList(&list, "wxShapeRegion");
5626 }
5627 static PyObject *_wrap_wxPyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject * _resultobj;
5629 PyObject * _result;
5630 wxPyShape * _arg0;
5631 PyObject * _argo0 = 0;
5632 char *_kwnames[] = { "self", NULL };
5633
5634 self = self;
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRegions",_kwnames,&_argo0))
5636 return NULL;
5637 if (_argo0) {
5638 if (_argo0 == Py_None) { _arg0 = NULL; }
5639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5641 return NULL;
5642 }
5643 }
5644 {
5645 wxPy_BEGIN_ALLOW_THREADS;
5646 _result = (PyObject *)wxPyShape_GetRegions(_arg0);
5647
5648 wxPy_END_ALLOW_THREADS;
5649 }{
5650 _resultobj = _result;
5651 }
5652 return _resultobj;
5653 }
5654
5655 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5656 static PyObject *_wrap_wxPyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject * _resultobj;
5658 wxPyShape * _arg0;
5659 wxShapeRegion * _arg1;
5660 PyObject * _argo0 = 0;
5661 PyObject * _argo1 = 0;
5662 char *_kwnames[] = { "self","region", NULL };
5663
5664 self = self;
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddRegion",_kwnames,&_argo0,&_argo1))
5666 return NULL;
5667 if (_argo0) {
5668 if (_argo0 == Py_None) { _arg0 = NULL; }
5669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5671 return NULL;
5672 }
5673 }
5674 if (_argo1) {
5675 if (_argo1 == Py_None) { _arg1 = NULL; }
5676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxShapeRegion_p")) {
5677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5678 return NULL;
5679 }
5680 }
5681 {
5682 wxPy_BEGIN_ALLOW_THREADS;
5683 wxPyShape_AddRegion(_arg0,_arg1);
5684
5685 wxPy_END_ALLOW_THREADS;
5686 } Py_INCREF(Py_None);
5687 _resultobj = Py_None;
5688 return _resultobj;
5689 }
5690
5691 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5692 static PyObject *_wrap_wxPyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject * _resultobj;
5694 wxPyShape * _arg0;
5695 PyObject * _argo0 = 0;
5696 char *_kwnames[] = { "self", NULL };
5697
5698 self = self;
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearRegions",_kwnames,&_argo0))
5700 return NULL;
5701 if (_argo0) {
5702 if (_argo0 == Py_None) { _arg0 = NULL; }
5703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5705 return NULL;
5706 }
5707 }
5708 {
5709 wxPy_BEGIN_ALLOW_THREADS;
5710 wxPyShape_ClearRegions(_arg0);
5711
5712 wxPy_END_ALLOW_THREADS;
5713 } Py_INCREF(Py_None);
5714 _resultobj = Py_None;
5715 return _resultobj;
5716 }
5717
5718 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5719 static PyObject *_wrap_wxPyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject * _resultobj;
5721 wxPyShape * _arg0;
5722 PyObject * _argo0 = 0;
5723 char *_kwnames[] = { "self", NULL };
5724
5725 self = self;
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AssignNewIds",_kwnames,&_argo0))
5727 return NULL;
5728 if (_argo0) {
5729 if (_argo0 == Py_None) { _arg0 = NULL; }
5730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5732 return NULL;
5733 }
5734 }
5735 {
5736 wxPy_BEGIN_ALLOW_THREADS;
5737 wxPyShape_AssignNewIds(_arg0);
5738
5739 wxPy_END_ALLOW_THREADS;
5740 } Py_INCREF(Py_None);
5741 _resultobj = Py_None;
5742 return _resultobj;
5743 }
5744
5745 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5746 static PyObject *_wrap_wxPyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject * _resultobj;
5748 wxPyShape * _result;
5749 wxPyShape * _arg0;
5750 wxString * _arg1;
5751 int * _arg2;
5752 int temp;
5753 PyObject * _argo0 = 0;
5754 PyObject * _obj1 = 0;
5755 char *_kwnames[] = { "self","regionName", NULL };
5756
5757 self = self;
5758 {
5759 _arg2 = &temp;
5760 }
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegion",_kwnames,&_argo0,&_obj1))
5762 return NULL;
5763 if (_argo0) {
5764 if (_argo0 == Py_None) { _arg0 = NULL; }
5765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5767 return NULL;
5768 }
5769 }
5770 {
5771 #if PYTHON_API_VERSION >= 1009
5772 char* tmpPtr; int tmpSize;
5773 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5774 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5775 return NULL;
5776 }
5777 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5778 return NULL;
5779 _arg1 = new wxString(tmpPtr, tmpSize);
5780 #else
5781 if (!PyString_Check(_obj1)) {
5782 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5783 return NULL;
5784 }
5785 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5786 #endif
5787 }
5788 {
5789 wxPy_BEGIN_ALLOW_THREADS;
5790 _result = (wxPyShape *)wxPyShape_FindRegion(_arg0,*_arg1,_arg2);
5791
5792 wxPy_END_ALLOW_THREADS;
5793 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
5794 {
5795 PyObject *o;
5796 o = PyInt_FromLong((long) (*_arg2));
5797 _resultobj = t_output_helper(_resultobj, o);
5798 }
5799 {
5800 if (_obj1)
5801 delete _arg1;
5802 }
5803 return _resultobj;
5804 }
5805
5806 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5807 static PyObject *_wrap_wxPyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject * _resultobj;
5809 wxPyShape * _arg0;
5810 wxStringList * _arg1;
5811 PyObject * _argo0 = 0;
5812 PyObject * _argo1 = 0;
5813 char *_kwnames[] = { "self","list", NULL };
5814
5815 self = self;
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegionNames",_kwnames,&_argo0,&_argo1))
5817 return NULL;
5818 if (_argo0) {
5819 if (_argo0 == Py_None) { _arg0 = NULL; }
5820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5822 return NULL;
5823 }
5824 }
5825 if (_argo1) {
5826 if (_argo1 == Py_None) { _arg1 = NULL; }
5827 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStringList_p")) {
5828 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5829 return NULL;
5830 }
5831 }
5832 {
5833 wxPy_BEGIN_ALLOW_THREADS;
5834 wxPyShape_FindRegionNames(_arg0,*_arg1);
5835
5836 wxPy_END_ALLOW_THREADS;
5837 } Py_INCREF(Py_None);
5838 _resultobj = Py_None;
5839 return _resultobj;
5840 }
5841
5842 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5843 static PyObject *_wrap_wxPyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
5844 PyObject * _resultobj;
5845 wxPyShape * _arg0;
5846 int _arg1 = (int ) 0;
5847 PyObject * _argo0 = 0;
5848 char *_kwnames[] = { "self","regionId", NULL };
5849
5850 self = self;
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_ClearText",_kwnames,&_argo0,&_arg1))
5852 return NULL;
5853 if (_argo0) {
5854 if (_argo0 == Py_None) { _arg0 = NULL; }
5855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5857 return NULL;
5858 }
5859 }
5860 {
5861 wxPy_BEGIN_ALLOW_THREADS;
5862 wxPyShape_ClearText(_arg0,_arg1);
5863
5864 wxPy_END_ALLOW_THREADS;
5865 } Py_INCREF(Py_None);
5866 _resultobj = Py_None;
5867 return _resultobj;
5868 }
5869
5870 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5871 static PyObject *_wrap_wxPyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5872 PyObject * _resultobj;
5873 wxPyShape * _arg0;
5874 wxPyLineShape * _arg1;
5875 PyObject * _argo0 = 0;
5876 PyObject * _argo1 = 0;
5877 char *_kwnames[] = { "self","line", NULL };
5878
5879 self = self;
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveLine",_kwnames,&_argo0,&_argo1))
5881 return NULL;
5882 if (_argo0) {
5883 if (_argo0 == Py_None) { _arg0 = NULL; }
5884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5886 return NULL;
5887 }
5888 }
5889 if (_argo1) {
5890 if (_argo1 == Py_None) { _arg1 = NULL; }
5891 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) {
5892 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5893 return NULL;
5894 }
5895 }
5896 {
5897 wxPy_BEGIN_ALLOW_THREADS;
5898 wxPyShape_RemoveLine(_arg0,_arg1);
5899
5900 wxPy_END_ALLOW_THREADS;
5901 } Py_INCREF(Py_None);
5902 _resultobj = Py_None;
5903 return _resultobj;
5904 }
5905
5906 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5907 static PyObject *_wrap_wxPyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject * _resultobj;
5909 bool _result;
5910 wxPyShape * _arg0;
5911 int _arg1;
5912 double * _arg2;
5913 double temp;
5914 double * _arg3;
5915 double temp0;
5916 int _arg4 = (int ) 0;
5917 int _arg5 = (int ) 1;
5918 wxPyLineShape * _arg6 = (wxPyLineShape *) NULL;
5919 PyObject * _argo0 = 0;
5920 PyObject * _argo6 = 0;
5921 char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL };
5922
5923 self = self;
5924 {
5925 _arg2 = &temp;
5926 }
5927 {
5928 _arg3 = &temp0;
5929 }
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6))
5931 return NULL;
5932 if (_argo0) {
5933 if (_argo0 == Py_None) { _arg0 = NULL; }
5934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5936 return NULL;
5937 }
5938 }
5939 if (_argo6) {
5940 if (_argo6 == Py_None) { _arg6 = NULL; }
5941 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) {
5942 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5943 return NULL;
5944 }
5945 }
5946 {
5947 wxPy_BEGIN_ALLOW_THREADS;
5948 _result = (bool )wxPyShape_GetAttachmentPosition(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5949
5950 wxPy_END_ALLOW_THREADS;
5951 } _resultobj = Py_BuildValue("i",_result);
5952 {
5953 PyObject *o;
5954 o = PyFloat_FromDouble((double) (*_arg2));
5955 _resultobj = t_output_helper(_resultobj, o);
5956 }
5957 {
5958 PyObject *o;
5959 o = PyFloat_FromDouble((double) (*_arg3));
5960 _resultobj = t_output_helper(_resultobj, o);
5961 }
5962 return _resultobj;
5963 }
5964
5965 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5966 static PyObject *_wrap_wxPyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject * _resultobj;
5968 int _result;
5969 wxPyShape * _arg0;
5970 PyObject * _argo0 = 0;
5971 char *_kwnames[] = { "self", NULL };
5972
5973 self = self;
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfAttachments",_kwnames,&_argo0))
5975 return NULL;
5976 if (_argo0) {
5977 if (_argo0 == Py_None) { _arg0 = NULL; }
5978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5980 return NULL;
5981 }
5982 }
5983 {
5984 wxPy_BEGIN_ALLOW_THREADS;
5985 _result = (int )wxPyShape_GetNumberOfAttachments(_arg0);
5986
5987 wxPy_END_ALLOW_THREADS;
5988 } _resultobj = Py_BuildValue("i",_result);
5989 return _resultobj;
5990 }
5991
5992 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5993 static PyObject *_wrap_wxPyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject * _resultobj;
5995 bool _result;
5996 wxPyShape * _arg0;
5997 int _arg1;
5998 PyObject * _argo0 = 0;
5999 char *_kwnames[] = { "self","attachment", NULL };
6000
6001 self = self;
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_AttachmentIsValid",_kwnames,&_argo0,&_arg1))
6003 return NULL;
6004 if (_argo0) {
6005 if (_argo0 == Py_None) { _arg0 = NULL; }
6006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
6008 return NULL;
6009 }
6010 }
6011 {
6012 wxPy_BEGIN_ALLOW_THREADS;
6013 _result = (bool )wxPyShape_AttachmentIsValid(_arg0,_arg1);
6014
6015 wxPy_END_ALLOW_THREADS;
6016 } _resultobj = Py_BuildValue("i",_result);
6017 return _resultobj;
6018 }
6019
6020 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6021 static PyObject *_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject * _resultobj;
6023 bool _result;
6024 wxPyShape * _arg0;
6025 int _arg1;
6026 double * _arg2;
6027 double temp;
6028 double * _arg3;
6029 double temp0;
6030 int _arg4 = (int ) 0;
6031 int _arg5 = (int ) 1;
6032 wxPyLineShape * _arg6 = (wxPyLineShape *) NULL;
6033 PyObject * _argo0 = 0;
6034 PyObject * _argo6 = 0;
6035 char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL };
6036
6037 self = self;
6038 {
6039 _arg2 = &temp;
6040 }
6041 {
6042 _arg3 = &temp0;
6043 }
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6))
6045 return NULL;
6046 if (_argo0) {
6047 if (_argo0 == Py_None) { _arg0 = NULL; }
6048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
6050 return NULL;
6051 }
6052 }
6053 if (_argo6) {
6054 if (_argo6 == Py_None) { _arg6 = NULL; }
6055 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) {
6056 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
6057 return NULL;
6058 }
6059 }
6060 {
6061 wxPy_BEGIN_ALLOW_THREADS;
6062 _result = (bool )wxPyShape_GetAttachmentPositionEdge(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6063
6064 wxPy_END_ALLOW_THREADS;
6065 } _resultobj = Py_BuildValue("i",_result);
6066 {
6067 PyObject *o;
6068 o = PyFloat_FromDouble((double) (*_arg2));
6069 _resultobj = t_output_helper(_resultobj, o);
6070 }
6071 {
6072 PyObject *o;
6073 o = PyFloat_FromDouble((double) (*_arg3));
6074 _resultobj = t_output_helper(_resultobj, o);
6075 }
6076 return _resultobj;
6077 }
6078
6079 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6080 static PyObject *_wrap_wxPyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6081 PyObject * _resultobj;
6082 wxRealPoint * _result;
6083 wxPyShape * _arg0;
6084 wxRealPoint * _arg1;
6085 wxRealPoint * _arg2;
6086 int _arg3;
6087 int _arg4;
6088 wxPyLineShape * _arg5;
6089 PyObject * _argo0 = 0;
6090 wxRealPoint temp;
6091 PyObject * _obj1 = 0;
6092 wxRealPoint temp0;
6093 PyObject * _obj2 = 0;
6094 PyObject * _argo5 = 0;
6095 char *_kwnames[] = { "self","pt1","pt2","nth","noArcs","line", NULL };
6096 char _ptemp[128];
6097
6098 self = self;
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3,&_arg4,&_argo5))
6100 return NULL;
6101 if (_argo0) {
6102 if (_argo0 == Py_None) { _arg0 = NULL; }
6103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
6105 return NULL;
6106 }
6107 }
6108 {
6109 _arg1 = &temp;
6110 if (! wxRealPoint_helper(_obj1, &_arg1))
6111 return NULL;
6112 }
6113 {
6114 _arg2 = &temp0;
6115 if (! wxRealPoint_helper(_obj2, &_arg2))
6116 return NULL;
6117 }
6118 if (_argo5) {
6119 if (_argo5 == Py_None) { _arg5 = NULL; }
6120 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyLineShape_p")) {
6121 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
6122 return NULL;
6123 }
6124 }
6125 {
6126 wxPy_BEGIN_ALLOW_THREADS;
6127 _result = new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
6128
6129 wxPy_END_ALLOW_THREADS;
6130 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
6131 _resultobj = Py_BuildValue("s",_ptemp);
6132 return _resultobj;
6133 }
6134
6135 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
6136 static PyObject *_wrap_wxPyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6137 PyObject * _resultobj;
6138 bool _result;
6139 wxPyShape * _arg0;
6140 int _arg1;
6141 wxRealPoint * _arg2;
6142 wxRealPoint * _arg3;
6143 PyObject * _argo0 = 0;
6144 wxRealPoint temp;
6145 PyObject * _obj2 = 0;
6146 wxRealPoint temp0;
6147 PyObject * _obj3 = 0;
6148 char *_kwnames[] = { "self","attachmentPoint","pt1","pt2", NULL };
6149
6150 self = self;
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyShape_AttachmentSortTest",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
6152 return NULL;
6153 if (_argo0) {
6154 if (_argo0 == Py_None) { _arg0 = NULL; }
6155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6157 return NULL;
6158 }
6159 }
6160 {
6161 _arg2 = &temp;
6162 if (! wxRealPoint_helper(_obj2, &_arg2))
6163 return NULL;
6164 }
6165 {
6166 _arg3 = &temp0;
6167 if (! wxRealPoint_helper(_obj3, &_arg3))
6168 return NULL;
6169 }
6170 {
6171 wxPy_BEGIN_ALLOW_THREADS;
6172 _result = (bool )wxPyShape_AttachmentSortTest(_arg0,_arg1,*_arg2,*_arg3);
6173
6174 wxPy_END_ALLOW_THREADS;
6175 } _resultobj = Py_BuildValue("i",_result);
6176 return _resultobj;
6177 }
6178
6179 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6180 static PyObject *_wrap_wxPyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject * _resultobj;
6182 wxPyShape * _arg0;
6183 wxDC * _arg1;
6184 int _arg2 = (int ) -1;
6185 bool _arg3 = (bool ) FALSE;
6186 PyObject * _argo0 = 0;
6187 PyObject * _argo1 = 0;
6188 int tempbool3 = (int) FALSE;
6189 char *_kwnames[] = { "self","dc","attachment","recurse", NULL };
6190
6191 self = self;
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_EraseLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3))
6193 return NULL;
6194 if (_argo0) {
6195 if (_argo0 == Py_None) { _arg0 = NULL; }
6196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6198 return NULL;
6199 }
6200 }
6201 if (_argo1) {
6202 if (_argo1 == Py_None) { _arg1 = NULL; }
6203 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6204 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6205 return NULL;
6206 }
6207 }
6208 _arg3 = (bool ) tempbool3;
6209 {
6210 wxPy_BEGIN_ALLOW_THREADS;
6211 wxPyShape_EraseLinks(_arg0,*_arg1,_arg2,_arg3);
6212
6213 wxPy_END_ALLOW_THREADS;
6214 } Py_INCREF(Py_None);
6215 _resultobj = Py_None;
6216 return _resultobj;
6217 }
6218
6219 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6220 static PyObject *_wrap_wxPyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject * _resultobj;
6222 wxPyShape * _arg0;
6223 wxDC * _arg1;
6224 int _arg2 = (int ) -1;
6225 bool _arg3 = (bool ) FALSE;
6226 PyObject * _argo0 = 0;
6227 PyObject * _argo1 = 0;
6228 int tempbool3 = (int) FALSE;
6229 char *_kwnames[] = { "self","dc","attachment","recurse", NULL };
6230
6231 self = self;
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_DrawLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3))
6233 return NULL;
6234 if (_argo0) {
6235 if (_argo0 == Py_None) { _arg0 = NULL; }
6236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6238 return NULL;
6239 }
6240 }
6241 if (_argo1) {
6242 if (_argo1 == Py_None) { _arg1 = NULL; }
6243 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6244 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6245 return NULL;
6246 }
6247 }
6248 _arg3 = (bool ) tempbool3;
6249 {
6250 wxPy_BEGIN_ALLOW_THREADS;
6251 wxPyShape_DrawLinks(_arg0,*_arg1,_arg2,_arg3);
6252
6253 wxPy_END_ALLOW_THREADS;
6254 } Py_INCREF(Py_None);
6255 _resultobj = Py_None;
6256 return _resultobj;
6257 }
6258
6259 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6260 static PyObject *_wrap_wxPyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject * _resultobj;
6262 bool _result;
6263 wxPyShape * _arg0;
6264 wxDC * _arg1;
6265 wxPyLineShape * _arg2;
6266 double _arg3;
6267 double _arg4;
6268 PyObject * _argo0 = 0;
6269 PyObject * _argo1 = 0;
6270 PyObject * _argo2 = 0;
6271 char *_kwnames[] = { "self","dc","to_move","x","y", NULL };
6272
6273 self = self;
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4))
6275 return NULL;
6276 if (_argo0) {
6277 if (_argo0 == Py_None) { _arg0 = NULL; }
6278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6280 return NULL;
6281 }
6282 }
6283 if (_argo1) {
6284 if (_argo1 == Py_None) { _arg1 = NULL; }
6285 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6286 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6287 return NULL;
6288 }
6289 }
6290 if (_argo2) {
6291 if (_argo2 == Py_None) { _arg2 = NULL; }
6292 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyLineShape_p")) {
6293 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6294 return NULL;
6295 }
6296 }
6297 {
6298 wxPy_BEGIN_ALLOW_THREADS;
6299 _result = (bool )wxPyShape_MoveLineToNewAttachment(_arg0,*_arg1,_arg2,_arg3,_arg4);
6300
6301 wxPy_END_ALLOW_THREADS;
6302 } _resultobj = Py_BuildValue("i",_result);
6303 return _resultobj;
6304 }
6305
6306 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject * linesToSort) {
6307 wxList* list = wxPy_wxListHelper(linesToSort, "_wxPyLineShape_p");
6308 self->ApplyAttachmentOrdering(*list);
6309 delete list;
6310 }
6311 static PyObject *_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
6312 PyObject * _resultobj;
6313 wxPyShape * _arg0;
6314 PyObject * _arg1;
6315 PyObject * _argo0 = 0;
6316 PyObject * _obj1 = 0;
6317 char *_kwnames[] = { "self","linesToSort", NULL };
6318
6319 self = self;
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames,&_argo0,&_obj1))
6321 return NULL;
6322 if (_argo0) {
6323 if (_argo0 == Py_None) { _arg0 = NULL; }
6324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6326 return NULL;
6327 }
6328 }
6329 {
6330 _arg1 = _obj1;
6331 }
6332 {
6333 wxPy_BEGIN_ALLOW_THREADS;
6334 wxPyShape_ApplyAttachmentOrdering(_arg0,_arg1);
6335
6336 wxPy_END_ALLOW_THREADS;
6337 } Py_INCREF(Py_None);
6338 _resultobj = Py_None;
6339 return _resultobj;
6340 }
6341
6342 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6343 static PyObject *_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
6344 PyObject * _resultobj;
6345 wxRealPoint * _result;
6346 wxPyShape * _arg0;
6347 int _arg1;
6348 PyObject * _argo0 = 0;
6349 char *_kwnames[] = { "self","attachment", NULL };
6350 char _ptemp[128];
6351
6352 self = self;
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames,&_argo0,&_arg1))
6354 return NULL;
6355 if (_argo0) {
6356 if (_argo0 == Py_None) { _arg0 = NULL; }
6357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6359 return NULL;
6360 }
6361 }
6362 {
6363 wxPy_BEGIN_ALLOW_THREADS;
6364 _result = new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0,_arg1));
6365
6366 wxPy_END_ALLOW_THREADS;
6367 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
6368 _resultobj = Py_BuildValue("s",_ptemp);
6369 return _resultobj;
6370 }
6371
6372 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6373 static PyObject *_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject * _resultobj;
6375 bool _result;
6376 wxPyShape * _arg0;
6377 int _arg1;
6378 wxRealPoint * _arg2;
6379 wxRealPoint * _arg3;
6380 wxRealPoint * _arg4;
6381 wxRealPoint * _arg5;
6382 PyObject * _argo0 = 0;
6383 wxRealPoint temp;
6384 PyObject * _obj2 = 0;
6385 wxRealPoint temp0;
6386 PyObject * _obj3 = 0;
6387 wxRealPoint temp1;
6388 PyObject * _obj4 = 0;
6389 wxRealPoint temp2;
6390 PyObject * _obj5 = 0;
6391 char *_kwnames[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL };
6392
6393 self = self;
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj5))
6395 return NULL;
6396 if (_argo0) {
6397 if (_argo0 == Py_None) { _arg0 = NULL; }
6398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6400 return NULL;
6401 }
6402 }
6403 {
6404 _arg2 = &temp;
6405 if (! wxRealPoint_helper(_obj2, &_arg2))
6406 return NULL;
6407 }
6408 {
6409 _arg3 = &temp0;
6410 if (! wxRealPoint_helper(_obj3, &_arg3))
6411 return NULL;
6412 }
6413 {
6414 _arg4 = &temp1;
6415 if (! wxRealPoint_helper(_obj4, &_arg4))
6416 return NULL;
6417 }
6418 {
6419 _arg5 = &temp2;
6420 if (! wxRealPoint_helper(_obj5, &_arg5))
6421 return NULL;
6422 }
6423 {
6424 wxPy_BEGIN_ALLOW_THREADS;
6425 _result = (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0,_arg1,*_arg2,*_arg3,*_arg4,*_arg5);
6426
6427 wxPy_END_ALLOW_THREADS;
6428 } _resultobj = Py_BuildValue("i",_result);
6429 return _resultobj;
6430 }
6431
6432 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6433 static PyObject *_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6434 PyObject * _resultobj;
6435 bool _result;
6436 wxPyShape * _arg0;
6437 int _arg1;
6438 int _arg2;
6439 wxRealPoint * _arg3;
6440 wxRealPoint * _arg4;
6441 PyObject * _argo0 = 0;
6442 wxRealPoint temp;
6443 PyObject * _obj3 = 0;
6444 wxRealPoint temp0;
6445 PyObject * _obj4 = 0;
6446 char *_kwnames[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL };
6447
6448 self = self;
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
6450 return NULL;
6451 if (_argo0) {
6452 if (_argo0 == Py_None) { _arg0 = NULL; }
6453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6455 return NULL;
6456 }
6457 }
6458 {
6459 _arg3 = &temp;
6460 if (! wxRealPoint_helper(_obj3, &_arg3))
6461 return NULL;
6462 }
6463 {
6464 _arg4 = &temp0;
6465 if (! wxRealPoint_helper(_obj4, &_arg4))
6466 return NULL;
6467 }
6468 {
6469 wxPy_BEGIN_ALLOW_THREADS;
6470 _result = (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0,_arg1,_arg2,*_arg3,*_arg4);
6471
6472 wxPy_END_ALLOW_THREADS;
6473 } _resultobj = Py_BuildValue("i",_result);
6474 return _resultobj;
6475 }
6476
6477 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6478 static PyObject *_wrap_wxPyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject * _resultobj;
6480 int _result;
6481 wxPyShape * _arg0;
6482 int _arg1;
6483 PyObject * _argo0 = 0;
6484 char *_kwnames[] = { "self","attachment", NULL };
6485
6486 self = self;
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames,&_argo0,&_arg1))
6488 return NULL;
6489 if (_argo0) {
6490 if (_argo0 == Py_None) { _arg0 = NULL; }
6491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6493 return NULL;
6494 }
6495 }
6496 {
6497 wxPy_BEGIN_ALLOW_THREADS;
6498 _result = (int )wxPyShape_GetAttachmentLineCount(_arg0,_arg1);
6499
6500 wxPy_END_ALLOW_THREADS;
6501 } _resultobj = Py_BuildValue("i",_result);
6502 return _resultobj;
6503 }
6504
6505 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6506 static PyObject *_wrap_wxPyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject * _resultobj;
6508 wxPyShape * _arg0;
6509 int _arg1;
6510 PyObject * _argo0 = 0;
6511 char *_kwnames[] = { "self","len", NULL };
6512
6513 self = self;
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchNeckLength",_kwnames,&_argo0,&_arg1))
6515 return NULL;
6516 if (_argo0) {
6517 if (_argo0 == Py_None) { _arg0 = NULL; }
6518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6520 return NULL;
6521 }
6522 }
6523 {
6524 wxPy_BEGIN_ALLOW_THREADS;
6525 wxPyShape_SetBranchNeckLength(_arg0,_arg1);
6526
6527 wxPy_END_ALLOW_THREADS;
6528 } Py_INCREF(Py_None);
6529 _resultobj = Py_None;
6530 return _resultobj;
6531 }
6532
6533 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6534 static PyObject *_wrap_wxPyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6535 PyObject * _resultobj;
6536 int _result;
6537 wxPyShape * _arg0;
6538 PyObject * _argo0 = 0;
6539 char *_kwnames[] = { "self", NULL };
6540
6541 self = self;
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchNeckLength",_kwnames,&_argo0))
6543 return NULL;
6544 if (_argo0) {
6545 if (_argo0 == Py_None) { _arg0 = NULL; }
6546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6548 return NULL;
6549 }
6550 }
6551 {
6552 wxPy_BEGIN_ALLOW_THREADS;
6553 _result = (int )wxPyShape_GetBranchNeckLength(_arg0);
6554
6555 wxPy_END_ALLOW_THREADS;
6556 } _resultobj = Py_BuildValue("i",_result);
6557 return _resultobj;
6558 }
6559
6560 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6561 static PyObject *_wrap_wxPyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject * _resultobj;
6563 wxPyShape * _arg0;
6564 int _arg1;
6565 PyObject * _argo0 = 0;
6566 char *_kwnames[] = { "self","len", NULL };
6567
6568 self = self;
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchStemLength",_kwnames,&_argo0,&_arg1))
6570 return NULL;
6571 if (_argo0) {
6572 if (_argo0 == Py_None) { _arg0 = NULL; }
6573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6575 return NULL;
6576 }
6577 }
6578 {
6579 wxPy_BEGIN_ALLOW_THREADS;
6580 wxPyShape_SetBranchStemLength(_arg0,_arg1);
6581
6582 wxPy_END_ALLOW_THREADS;
6583 } Py_INCREF(Py_None);
6584 _resultobj = Py_None;
6585 return _resultobj;
6586 }
6587
6588 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6589 static PyObject *_wrap_wxPyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6590 PyObject * _resultobj;
6591 int _result;
6592 wxPyShape * _arg0;
6593 PyObject * _argo0 = 0;
6594 char *_kwnames[] = { "self", NULL };
6595
6596 self = self;
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStemLength",_kwnames,&_argo0))
6598 return NULL;
6599 if (_argo0) {
6600 if (_argo0 == Py_None) { _arg0 = NULL; }
6601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6603 return NULL;
6604 }
6605 }
6606 {
6607 wxPy_BEGIN_ALLOW_THREADS;
6608 _result = (int )wxPyShape_GetBranchStemLength(_arg0);
6609
6610 wxPy_END_ALLOW_THREADS;
6611 } _resultobj = Py_BuildValue("i",_result);
6612 return _resultobj;
6613 }
6614
6615 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6616 static PyObject *_wrap_wxPyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6617 PyObject * _resultobj;
6618 wxPyShape * _arg0;
6619 int _arg1;
6620 PyObject * _argo0 = 0;
6621 char *_kwnames[] = { "self","len", NULL };
6622
6623 self = self;
6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchSpacing",_kwnames,&_argo0,&_arg1))
6625 return NULL;
6626 if (_argo0) {
6627 if (_argo0 == Py_None) { _arg0 = NULL; }
6628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6630 return NULL;
6631 }
6632 }
6633 {
6634 wxPy_BEGIN_ALLOW_THREADS;
6635 wxPyShape_SetBranchSpacing(_arg0,_arg1);
6636
6637 wxPy_END_ALLOW_THREADS;
6638 } Py_INCREF(Py_None);
6639 _resultobj = Py_None;
6640 return _resultobj;
6641 }
6642
6643 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6644 static PyObject *_wrap_wxPyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6645 PyObject * _resultobj;
6646 int _result;
6647 wxPyShape * _arg0;
6648 PyObject * _argo0 = 0;
6649 char *_kwnames[] = { "self", NULL };
6650
6651 self = self;
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchSpacing",_kwnames,&_argo0))
6653 return NULL;
6654 if (_argo0) {
6655 if (_argo0 == Py_None) { _arg0 = NULL; }
6656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6658 return NULL;
6659 }
6660 }
6661 {
6662 wxPy_BEGIN_ALLOW_THREADS;
6663 _result = (int )wxPyShape_GetBranchSpacing(_arg0);
6664
6665 wxPy_END_ALLOW_THREADS;
6666 } _resultobj = Py_BuildValue("i",_result);
6667 return _resultobj;
6668 }
6669
6670 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6671 static PyObject *_wrap_wxPyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6672 PyObject * _resultobj;
6673 wxPyShape * _arg0;
6674 long _arg1;
6675 PyObject * _argo0 = 0;
6676 char *_kwnames[] = { "self","style", NULL };
6677
6678 self = self;
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetBranchStyle",_kwnames,&_argo0,&_arg1))
6680 return NULL;
6681 if (_argo0) {
6682 if (_argo0 == Py_None) { _arg0 = NULL; }
6683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6685 return NULL;
6686 }
6687 }
6688 {
6689 wxPy_BEGIN_ALLOW_THREADS;
6690 wxPyShape_SetBranchStyle(_arg0,_arg1);
6691
6692 wxPy_END_ALLOW_THREADS;
6693 } Py_INCREF(Py_None);
6694 _resultobj = Py_None;
6695 return _resultobj;
6696 }
6697
6698 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6699 static PyObject *_wrap_wxPyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject * _resultobj;
6701 long _result;
6702 wxPyShape * _arg0;
6703 PyObject * _argo0 = 0;
6704 char *_kwnames[] = { "self", NULL };
6705
6706 self = self;
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStyle",_kwnames,&_argo0))
6708 return NULL;
6709 if (_argo0) {
6710 if (_argo0 == Py_None) { _arg0 = NULL; }
6711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6713 return NULL;
6714 }
6715 }
6716 {
6717 wxPy_BEGIN_ALLOW_THREADS;
6718 _result = (long )wxPyShape_GetBranchStyle(_arg0);
6719
6720 wxPy_END_ALLOW_THREADS;
6721 } _resultobj = Py_BuildValue("l",_result);
6722 return _resultobj;
6723 }
6724
6725 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6726 static PyObject *_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject * _resultobj;
6728 int _result;
6729 wxPyShape * _arg0;
6730 int _arg1;
6731 PyObject * _argo0 = 0;
6732 char *_kwnames[] = { "self","physicalAttachment", NULL };
6733
6734 self = self;
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames,&_argo0,&_arg1))
6736 return NULL;
6737 if (_argo0) {
6738 if (_argo0 == Py_None) { _arg0 = NULL; }
6739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6741 return NULL;
6742 }
6743 }
6744 {
6745 wxPy_BEGIN_ALLOW_THREADS;
6746 _result = (int )wxPyShape_PhysicalToLogicalAttachment(_arg0,_arg1);
6747
6748 wxPy_END_ALLOW_THREADS;
6749 } _resultobj = Py_BuildValue("i",_result);
6750 return _resultobj;
6751 }
6752
6753 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6754 static PyObject *_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6755 PyObject * _resultobj;
6756 int _result;
6757 wxPyShape * _arg0;
6758 int _arg1;
6759 PyObject * _argo0 = 0;
6760 char *_kwnames[] = { "self","logicalAttachment", NULL };
6761
6762 self = self;
6763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames,&_argo0,&_arg1))
6764 return NULL;
6765 if (_argo0) {
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_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6769 return NULL;
6770 }
6771 }
6772 {
6773 wxPy_BEGIN_ALLOW_THREADS;
6774 _result = (int )wxPyShape_LogicalToPhysicalAttachment(_arg0,_arg1);
6775
6776 wxPy_END_ALLOW_THREADS;
6777 } _resultobj = Py_BuildValue("i",_result);
6778 return _resultobj;
6779 }
6780
6781 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6782 static PyObject *_wrap_wxPyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject * _resultobj;
6784 bool _result;
6785 wxPyShape * _arg0;
6786 PyObject * _argo0 = 0;
6787 char *_kwnames[] = { "self", NULL };
6788
6789 self = self;
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Draggable",_kwnames,&_argo0))
6791 return NULL;
6792 if (_argo0) {
6793 if (_argo0 == Py_None) { _arg0 = NULL; }
6794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6796 return NULL;
6797 }
6798 }
6799 {
6800 wxPy_BEGIN_ALLOW_THREADS;
6801 _result = (bool )wxPyShape_Draggable(_arg0);
6802
6803 wxPy_END_ALLOW_THREADS;
6804 } _resultobj = Py_BuildValue("i",_result);
6805 return _resultobj;
6806 }
6807
6808 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6809 static PyObject *_wrap_wxPyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
6810 PyObject * _resultobj;
6811 bool _result;
6812 wxPyShape * _arg0;
6813 wxPyShape * _arg1;
6814 PyObject * _argo0 = 0;
6815 PyObject * _argo1 = 0;
6816 char *_kwnames[] = { "self","image", NULL };
6817
6818 self = self;
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_HasDescendant",_kwnames,&_argo0,&_argo1))
6820 return NULL;
6821 if (_argo0) {
6822 if (_argo0 == Py_None) { _arg0 = NULL; }
6823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6825 return NULL;
6826 }
6827 }
6828 if (_argo1) {
6829 if (_argo1 == Py_None) { _arg1 = NULL; }
6830 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6831 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6832 return NULL;
6833 }
6834 }
6835 {
6836 wxPy_BEGIN_ALLOW_THREADS;
6837 _result = (bool )wxPyShape_HasDescendant(_arg0,_arg1);
6838
6839 wxPy_END_ALLOW_THREADS;
6840 } _resultobj = Py_BuildValue("i",_result);
6841 return _resultobj;
6842 }
6843
6844 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6845 static PyObject *_wrap_wxPyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject * _resultobj;
6847 wxPyShape * _result;
6848 wxPyShape * _arg0;
6849 bool _arg1 = (bool ) TRUE;
6850 bool _arg2 = (bool ) TRUE;
6851 PyObject * _argo0 = 0;
6852 int tempbool1 = (int) TRUE;
6853 int tempbool2 = (int) TRUE;
6854 char *_kwnames[] = { "self","resetMapping","recompute", NULL };
6855
6856 self = self;
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_CreateNewCopy",_kwnames,&_argo0,&tempbool1,&tempbool2))
6858 return NULL;
6859 if (_argo0) {
6860 if (_argo0 == Py_None) { _arg0 = NULL; }
6861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6863 return NULL;
6864 }
6865 }
6866 _arg1 = (bool ) tempbool1;
6867 _arg2 = (bool ) tempbool2;
6868 {
6869 wxPy_BEGIN_ALLOW_THREADS;
6870 _result = (wxPyShape *)wxPyShape_CreateNewCopy(_arg0,_arg1,_arg2);
6871
6872 wxPy_END_ALLOW_THREADS;
6873 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
6874 return _resultobj;
6875 }
6876
6877 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6878 static PyObject *_wrap_wxPyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject * _resultobj;
6880 wxPyShape * _arg0;
6881 wxPyShape * _arg1;
6882 PyObject * _argo0 = 0;
6883 PyObject * _argo1 = 0;
6884 char *_kwnames[] = { "self","copy", NULL };
6885
6886 self = self;
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Copy",_kwnames,&_argo0,&_argo1))
6888 return NULL;
6889 if (_argo0) {
6890 if (_argo0 == Py_None) { _arg0 = NULL; }
6891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6893 return NULL;
6894 }
6895 }
6896 if (_argo1) {
6897 if (_argo1 == Py_None) { _arg1 = NULL; }
6898 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6900 return NULL;
6901 }
6902 }
6903 {
6904 wxPy_BEGIN_ALLOW_THREADS;
6905 wxPyShape_Copy(_arg0,*_arg1);
6906
6907 wxPy_END_ALLOW_THREADS;
6908 } Py_INCREF(Py_None);
6909 _resultobj = Py_None;
6910 return _resultobj;
6911 }
6912
6913 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6914 static PyObject *_wrap_wxPyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject * _resultobj;
6916 wxPyShape * _arg0;
6917 wxPyShape * _arg1;
6918 PyObject * _argo0 = 0;
6919 PyObject * _argo1 = 0;
6920 char *_kwnames[] = { "self","copy", NULL };
6921
6922 self = self;
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_CopyWithHandler",_kwnames,&_argo0,&_argo1))
6924 return NULL;
6925 if (_argo0) {
6926 if (_argo0 == Py_None) { _arg0 = NULL; }
6927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6929 return NULL;
6930 }
6931 }
6932 if (_argo1) {
6933 if (_argo1 == Py_None) { _arg1 = NULL; }
6934 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6935 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6936 return NULL;
6937 }
6938 }
6939 {
6940 wxPy_BEGIN_ALLOW_THREADS;
6941 wxPyShape_CopyWithHandler(_arg0,*_arg1);
6942
6943 wxPy_END_ALLOW_THREADS;
6944 } Py_INCREF(Py_None);
6945 _resultobj = Py_None;
6946 return _resultobj;
6947 }
6948
6949 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6950 static PyObject *_wrap_wxPyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject * _resultobj;
6952 wxPyShape * _arg0;
6953 double _arg1;
6954 double _arg2;
6955 double _arg3;
6956 PyObject * _argo0 = 0;
6957 char *_kwnames[] = { "self","x","y","theta", NULL };
6958
6959 self = self;
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6961 return NULL;
6962 if (_argo0) {
6963 if (_argo0 == Py_None) { _arg0 = NULL; }
6964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6966 return NULL;
6967 }
6968 }
6969 {
6970 wxPy_BEGIN_ALLOW_THREADS;
6971 wxPyShape_Rotate(_arg0,_arg1,_arg2,_arg3);
6972
6973 wxPy_END_ALLOW_THREADS;
6974 } Py_INCREF(Py_None);
6975 _resultobj = Py_None;
6976 return _resultobj;
6977 }
6978
6979 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6980 static PyObject *_wrap_wxPyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6981 PyObject * _resultobj;
6982 double _result;
6983 wxPyShape * _arg0;
6984 PyObject * _argo0 = 0;
6985 char *_kwnames[] = { "self", NULL };
6986
6987 self = self;
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRotation",_kwnames,&_argo0))
6989 return NULL;
6990 if (_argo0) {
6991 if (_argo0 == Py_None) { _arg0 = NULL; }
6992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6994 return NULL;
6995 }
6996 }
6997 {
6998 wxPy_BEGIN_ALLOW_THREADS;
6999 _result = (double )wxPyShape_GetRotation(_arg0);
7000
7001 wxPy_END_ALLOW_THREADS;
7002 } _resultobj = Py_BuildValue("d",_result);
7003 return _resultobj;
7004 }
7005
7006 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
7007 static PyObject *_wrap_wxPyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7008 PyObject * _resultobj;
7009 wxPyShape * _arg0;
7010 PyObject * _argo0 = 0;
7011 char *_kwnames[] = { "self", NULL };
7012
7013 self = self;
7014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearAttachments",_kwnames,&_argo0))
7015 return NULL;
7016 if (_argo0) {
7017 if (_argo0 == Py_None) { _arg0 = NULL; }
7018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
7020 return NULL;
7021 }
7022 }
7023 {
7024 wxPy_BEGIN_ALLOW_THREADS;
7025 wxPyShape_ClearAttachments(_arg0);
7026
7027 wxPy_END_ALLOW_THREADS;
7028 } Py_INCREF(Py_None);
7029 _resultobj = Py_None;
7030 return _resultobj;
7031 }
7032
7033 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
7034 static PyObject *_wrap_wxPyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject * _resultobj;
7036 wxPyShape * _arg0;
7037 wxDC * _arg1;
7038 PyObject * _argo0 = 0;
7039 PyObject * _argo1 = 0;
7040 char *_kwnames[] = { "self","dc", NULL };
7041
7042 self = self;
7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Recentre",_kwnames,&_argo0,&_argo1))
7044 return NULL;
7045 if (_argo0) {
7046 if (_argo0 == Py_None) { _arg0 = NULL; }
7047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
7049 return NULL;
7050 }
7051 }
7052 if (_argo1) {
7053 if (_argo1 == Py_None) { _arg1 = NULL; }
7054 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
7056 return NULL;
7057 }
7058 }
7059 {
7060 wxPy_BEGIN_ALLOW_THREADS;
7061 wxPyShape_Recentre(_arg0,*_arg1);
7062
7063 wxPy_END_ALLOW_THREADS;
7064 } Py_INCREF(Py_None);
7065 _resultobj = Py_None;
7066 return _resultobj;
7067 }
7068
7069 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
7070 static PyObject *_wrap_wxPyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject * _resultobj;
7072 wxPyShape * _arg0;
7073 wxList * _arg1;
7074 PyObject * _argo0 = 0;
7075 PyObject * _argo1 = 0;
7076 char *_kwnames[] = { "self","list", NULL };
7077
7078 self = self;
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ClearPointList",_kwnames,&_argo0,&_argo1))
7080 return NULL;
7081 if (_argo0) {
7082 if (_argo0 == Py_None) { _arg0 = NULL; }
7083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
7085 return NULL;
7086 }
7087 }
7088 if (_argo1) {
7089 if (_argo1 == Py_None) { _arg1 = NULL; }
7090 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxList_p")) {
7091 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
7092 return NULL;
7093 }
7094 }
7095 {
7096 wxPy_BEGIN_ALLOW_THREADS;
7097 wxPyShape_ClearPointList(_arg0,*_arg1);
7098
7099 wxPy_END_ALLOW_THREADS;
7100 } Py_INCREF(Py_None);
7101 _resultobj = Py_None;
7102 return _resultobj;
7103 }
7104
7105 #define wxPyShape_GetBackgroundPen(_swigobj) (_swigobj->GetBackgroundPen())
7106 static PyObject *_wrap_wxPyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
7107 PyObject * _resultobj;
7108 wxPen * _result;
7109 wxPyShape * _arg0;
7110 PyObject * _argo0 = 0;
7111 char *_kwnames[] = { "self", NULL };
7112 char _ptemp[128];
7113
7114 self = self;
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBackgroundPen",_kwnames,&_argo0))
7116 return NULL;
7117 if (_argo0) {
7118 if (_argo0 == Py_None) { _arg0 = NULL; }
7119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBackgroundPen. Expected _wxPyShape_p.");
7121 return NULL;
7122 }
7123 }
7124 {
7125 wxPy_BEGIN_ALLOW_THREADS;
7126 _result = new wxPen (wxPyShape_GetBackgroundPen(_arg0));
7127
7128 wxPy_END_ALLOW_THREADS;
7129 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPen_p");
7130 _resultobj = Py_BuildValue("s",_ptemp);
7131 return _resultobj;
7132 }
7133
7134 #define wxPyShape_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
7135 static PyObject *_wrap_wxPyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject * _resultobj;
7137 wxBrush * _result;
7138 wxPyShape * _arg0;
7139 PyObject * _argo0 = 0;
7140 char *_kwnames[] = { "self", NULL };
7141 char _ptemp[128];
7142
7143 self = self;
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBackgroundBrush",_kwnames,&_argo0))
7145 return NULL;
7146 if (_argo0) {
7147 if (_argo0 == Py_None) { _arg0 = NULL; }
7148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBackgroundBrush. Expected _wxPyShape_p.");
7150 return NULL;
7151 }
7152 }
7153 {
7154 wxPy_BEGIN_ALLOW_THREADS;
7155 _result = new wxBrush (wxPyShape_GetBackgroundBrush(_arg0));
7156
7157 wxPy_END_ALLOW_THREADS;
7158 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
7159 _resultobj = Py_BuildValue("s",_ptemp);
7160 return _resultobj;
7161 }
7162
7163 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7164 static PyObject *_wrap_wxPyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
7165 PyObject * _resultobj;
7166 wxPyShape * _arg0;
7167 PyObject * _argo0 = 0;
7168 char *_kwnames[] = { "self", NULL };
7169
7170 self = self;
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_base_OnDelete",_kwnames,&_argo0))
7172 return NULL;
7173 if (_argo0) {
7174 if (_argo0 == Py_None) { _arg0 = NULL; }
7175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
7177 return NULL;
7178 }
7179 }
7180 {
7181 wxPy_BEGIN_ALLOW_THREADS;
7182 wxPyShape_base_OnDelete(_arg0);
7183
7184 wxPy_END_ALLOW_THREADS;
7185 } Py_INCREF(Py_None);
7186 _resultobj = Py_None;
7187 return _resultobj;
7188 }
7189
7190 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
7191 static PyObject *_wrap_wxPyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject * _resultobj;
7193 wxPyShape * _arg0;
7194 wxDC * _arg1;
7195 PyObject * _argo0 = 0;
7196 PyObject * _argo1 = 0;
7197 char *_kwnames[] = { "self","dc", NULL };
7198
7199 self = self;
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
7201 return NULL;
7202 if (_argo0) {
7203 if (_argo0 == Py_None) { _arg0 = NULL; }
7204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7206 return NULL;
7207 }
7208 }
7209 if (_argo1) {
7210 if (_argo1 == Py_None) { _arg1 = NULL; }
7211 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7212 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7213 return NULL;
7214 }
7215 }
7216 {
7217 wxPy_BEGIN_ALLOW_THREADS;
7218 wxPyShape_base_OnDraw(_arg0,*_arg1);
7219
7220 wxPy_END_ALLOW_THREADS;
7221 } Py_INCREF(Py_None);
7222 _resultobj = Py_None;
7223 return _resultobj;
7224 }
7225
7226 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7227 static PyObject *_wrap_wxPyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7228 PyObject * _resultobj;
7229 wxPyShape * _arg0;
7230 wxDC * _arg1;
7231 PyObject * _argo0 = 0;
7232 PyObject * _argo1 = 0;
7233 char *_kwnames[] = { "self","dc", NULL };
7234
7235 self = self;
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
7237 return NULL;
7238 if (_argo0) {
7239 if (_argo0 == Py_None) { _arg0 = NULL; }
7240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7242 return NULL;
7243 }
7244 }
7245 if (_argo1) {
7246 if (_argo1 == Py_None) { _arg1 = NULL; }
7247 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7248 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7249 return NULL;
7250 }
7251 }
7252 {
7253 wxPy_BEGIN_ALLOW_THREADS;
7254 wxPyShape_base_OnDrawContents(_arg0,*_arg1);
7255
7256 wxPy_END_ALLOW_THREADS;
7257 } Py_INCREF(Py_None);
7258 _resultobj = Py_None;
7259 return _resultobj;
7260 }
7261
7262 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7263 static PyObject *_wrap_wxPyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
7264 PyObject * _resultobj;
7265 wxPyShape * _arg0;
7266 wxDC * _arg1;
7267 bool _arg2 = (bool ) FALSE;
7268 PyObject * _argo0 = 0;
7269 PyObject * _argo1 = 0;
7270 int tempbool2 = (int) FALSE;
7271 char *_kwnames[] = { "self","dc","erase", NULL };
7272
7273 self = self;
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
7275 return NULL;
7276 if (_argo0) {
7277 if (_argo0 == Py_None) { _arg0 = NULL; }
7278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7280 return NULL;
7281 }
7282 }
7283 if (_argo1) {
7284 if (_argo1 == Py_None) { _arg1 = NULL; }
7285 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7286 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7287 return NULL;
7288 }
7289 }
7290 _arg2 = (bool ) tempbool2;
7291 {
7292 wxPy_BEGIN_ALLOW_THREADS;
7293 wxPyShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
7294
7295 wxPy_END_ALLOW_THREADS;
7296 } Py_INCREF(Py_None);
7297 _resultobj = Py_None;
7298 return _resultobj;
7299 }
7300
7301 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7302 static PyObject *_wrap_wxPyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject * _resultobj;
7304 wxPyShape * _arg0;
7305 wxDC * _arg1;
7306 PyObject * _argo0 = 0;
7307 PyObject * _argo1 = 0;
7308 char *_kwnames[] = { "self","dc", NULL };
7309
7310 self = self;
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
7312 return NULL;
7313 if (_argo0) {
7314 if (_argo0 == Py_None) { _arg0 = NULL; }
7315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7317 return NULL;
7318 }
7319 }
7320 if (_argo1) {
7321 if (_argo1 == Py_None) { _arg1 = NULL; }
7322 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7323 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7324 return NULL;
7325 }
7326 }
7327 {
7328 wxPy_BEGIN_ALLOW_THREADS;
7329 wxPyShape_base_OnMoveLinks(_arg0,*_arg1);
7330
7331 wxPy_END_ALLOW_THREADS;
7332 } Py_INCREF(Py_None);
7333 _resultobj = Py_None;
7334 return _resultobj;
7335 }
7336
7337 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7338 static PyObject *_wrap_wxPyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
7339 PyObject * _resultobj;
7340 wxPyShape * _arg0;
7341 wxDC * _arg1;
7342 PyObject * _argo0 = 0;
7343 PyObject * _argo1 = 0;
7344 char *_kwnames[] = { "self","dc", NULL };
7345
7346 self = self;
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnErase",_kwnames,&_argo0,&_argo1))
7348 return NULL;
7349 if (_argo0) {
7350 if (_argo0 == Py_None) { _arg0 = NULL; }
7351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7353 return NULL;
7354 }
7355 }
7356 if (_argo1) {
7357 if (_argo1 == Py_None) { _arg1 = NULL; }
7358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7360 return NULL;
7361 }
7362 }
7363 {
7364 wxPy_BEGIN_ALLOW_THREADS;
7365 wxPyShape_base_OnErase(_arg0,*_arg1);
7366
7367 wxPy_END_ALLOW_THREADS;
7368 } Py_INCREF(Py_None);
7369 _resultobj = Py_None;
7370 return _resultobj;
7371 }
7372
7373 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7374 static PyObject *_wrap_wxPyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject * _resultobj;
7376 wxPyShape * _arg0;
7377 wxDC * _arg1;
7378 PyObject * _argo0 = 0;
7379 PyObject * _argo1 = 0;
7380 char *_kwnames[] = { "self","dc", NULL };
7381
7382 self = self;
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
7384 return NULL;
7385 if (_argo0) {
7386 if (_argo0 == Py_None) { _arg0 = NULL; }
7387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7389 return NULL;
7390 }
7391 }
7392 if (_argo1) {
7393 if (_argo1 == Py_None) { _arg1 = NULL; }
7394 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7395 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7396 return NULL;
7397 }
7398 }
7399 {
7400 wxPy_BEGIN_ALLOW_THREADS;
7401 wxPyShape_base_OnEraseContents(_arg0,*_arg1);
7402
7403 wxPy_END_ALLOW_THREADS;
7404 } Py_INCREF(Py_None);
7405 _resultobj = Py_None;
7406 return _resultobj;
7407 }
7408
7409 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7410 static PyObject *_wrap_wxPyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7411 PyObject * _resultobj;
7412 wxPyShape * _arg0;
7413 wxDC * _arg1;
7414 PyObject * _argo0 = 0;
7415 PyObject * _argo1 = 0;
7416 char *_kwnames[] = { "self","dc", NULL };
7417
7418 self = self;
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
7420 return NULL;
7421 if (_argo0) {
7422 if (_argo0 == Py_None) { _arg0 = NULL; }
7423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7425 return NULL;
7426 }
7427 }
7428 if (_argo1) {
7429 if (_argo1 == Py_None) { _arg1 = NULL; }
7430 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7431 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7432 return NULL;
7433 }
7434 }
7435 {
7436 wxPy_BEGIN_ALLOW_THREADS;
7437 wxPyShape_base_OnHighlight(_arg0,*_arg1);
7438
7439 wxPy_END_ALLOW_THREADS;
7440 } Py_INCREF(Py_None);
7441 _resultobj = Py_None;
7442 return _resultobj;
7443 }
7444
7445 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7446 static PyObject *_wrap_wxPyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7447 PyObject * _resultobj;
7448 wxPyShape * _arg0;
7449 double _arg1;
7450 double _arg2;
7451 int _arg3 = (int ) 0;
7452 int _arg4 = (int ) 0;
7453 PyObject * _argo0 = 0;
7454 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7455
7456 self = self;
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7458 return NULL;
7459 if (_argo0) {
7460 if (_argo0 == Py_None) { _arg0 = NULL; }
7461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7463 return NULL;
7464 }
7465 }
7466 {
7467 wxPy_BEGIN_ALLOW_THREADS;
7468 wxPyShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7469
7470 wxPy_END_ALLOW_THREADS;
7471 } Py_INCREF(Py_None);
7472 _resultobj = Py_None;
7473 return _resultobj;
7474 }
7475
7476 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7477 static PyObject *_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7478 PyObject * _resultobj;
7479 wxPyShape * _arg0;
7480 double _arg1;
7481 double _arg2;
7482 int _arg3 = (int ) 0;
7483 int _arg4 = (int ) 0;
7484 PyObject * _argo0 = 0;
7485 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7486
7487 self = self;
7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7489 return NULL;
7490 if (_argo0) {
7491 if (_argo0 == Py_None) { _arg0 = NULL; }
7492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7494 return NULL;
7495 }
7496 }
7497 {
7498 wxPy_BEGIN_ALLOW_THREADS;
7499 wxPyShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7500
7501 wxPy_END_ALLOW_THREADS;
7502 } Py_INCREF(Py_None);
7503 _resultobj = Py_None;
7504 return _resultobj;
7505 }
7506
7507 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7508 static PyObject *_wrap_wxPyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject * _resultobj;
7510 wxPyShape * _arg0;
7511 double _arg1;
7512 double _arg2;
7513 int _arg3 = (int ) 0;
7514 int _arg4 = (int ) 0;
7515 PyObject * _argo0 = 0;
7516 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7517
7518 self = self;
7519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7520 return NULL;
7521 if (_argo0) {
7522 if (_argo0 == Py_None) { _arg0 = NULL; }
7523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7525 return NULL;
7526 }
7527 }
7528 {
7529 wxPy_BEGIN_ALLOW_THREADS;
7530 wxPyShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7531
7532 wxPy_END_ALLOW_THREADS;
7533 } Py_INCREF(Py_None);
7534 _resultobj = Py_None;
7535 return _resultobj;
7536 }
7537
7538 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7539 static PyObject *_wrap_wxPyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7540 PyObject * _resultobj;
7541 wxPyShape * _arg0;
7542 double _arg1;
7543 double _arg2;
7544 PyObject * _argo0 = 0;
7545 char *_kwnames[] = { "self","x","y", NULL };
7546
7547 self = self;
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
7549 return NULL;
7550 if (_argo0) {
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_OnSize. Expected _wxPyShape_p.");
7554 return NULL;
7555 }
7556 }
7557 {
7558 wxPy_BEGIN_ALLOW_THREADS;
7559 wxPyShape_base_OnSize(_arg0,_arg1,_arg2);
7560
7561 wxPy_END_ALLOW_THREADS;
7562 } Py_INCREF(Py_None);
7563 _resultobj = Py_None;
7564 return _resultobj;
7565 }
7566
7567 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7568 static PyObject *_wrap_wxPyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
7569 PyObject * _resultobj;
7570 bool _result;
7571 wxPyShape * _arg0;
7572 wxDC * _arg1;
7573 double _arg2;
7574 double _arg3;
7575 double _arg4;
7576 double _arg5;
7577 bool _arg6 = (bool ) TRUE;
7578 PyObject * _argo0 = 0;
7579 PyObject * _argo1 = 0;
7580 int tempbool6 = (int) TRUE;
7581 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
7582
7583 self = self;
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
7585 return NULL;
7586 if (_argo0) {
7587 if (_argo0 == Py_None) { _arg0 = NULL; }
7588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7590 return NULL;
7591 }
7592 }
7593 if (_argo1) {
7594 if (_argo1 == Py_None) { _arg1 = NULL; }
7595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7597 return NULL;
7598 }
7599 }
7600 _arg6 = (bool ) tempbool6;
7601 {
7602 wxPy_BEGIN_ALLOW_THREADS;
7603 _result = (bool )wxPyShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7604
7605 wxPy_END_ALLOW_THREADS;
7606 } _resultobj = Py_BuildValue("i",_result);
7607 return _resultobj;
7608 }
7609
7610 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7611 static PyObject *_wrap_wxPyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject * _resultobj;
7613 wxPyShape * _arg0;
7614 wxDC * _arg1;
7615 double _arg2;
7616 double _arg3;
7617 double _arg4;
7618 double _arg5;
7619 bool _arg6 = (bool ) TRUE;
7620 PyObject * _argo0 = 0;
7621 PyObject * _argo1 = 0;
7622 int tempbool6 = (int) TRUE;
7623 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
7624
7625 self = self;
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
7627 return NULL;
7628 if (_argo0) {
7629 if (_argo0 == Py_None) { _arg0 = NULL; }
7630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7632 return NULL;
7633 }
7634 }
7635 if (_argo1) {
7636 if (_argo1 == Py_None) { _arg1 = NULL; }
7637 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7638 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7639 return NULL;
7640 }
7641 }
7642 _arg6 = (bool ) tempbool6;
7643 {
7644 wxPy_BEGIN_ALLOW_THREADS;
7645 wxPyShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7646
7647 wxPy_END_ALLOW_THREADS;
7648 } Py_INCREF(Py_None);
7649 _resultobj = Py_None;
7650 return _resultobj;
7651 }
7652
7653 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7654 static PyObject *_wrap_wxPyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject * _resultobj;
7656 wxPyShape * _arg0;
7657 bool _arg1;
7658 double _arg2;
7659 double _arg3;
7660 int _arg4 = (int ) 0;
7661 int _arg5 = (int ) 0;
7662 PyObject * _argo0 = 0;
7663 int tempbool1;
7664 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7665
7666 self = self;
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7668 return NULL;
7669 if (_argo0) {
7670 if (_argo0 == Py_None) { _arg0 = NULL; }
7671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7673 return NULL;
7674 }
7675 }
7676 _arg1 = (bool ) tempbool1;
7677 {
7678 wxPy_BEGIN_ALLOW_THREADS;
7679 wxPyShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7680
7681 wxPy_END_ALLOW_THREADS;
7682 } Py_INCREF(Py_None);
7683 _resultobj = Py_None;
7684 return _resultobj;
7685 }
7686
7687 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7688 static PyObject *_wrap_wxPyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7689 PyObject * _resultobj;
7690 wxPyShape * _arg0;
7691 double _arg1;
7692 double _arg2;
7693 int _arg3 = (int ) 0;
7694 int _arg4 = (int ) 0;
7695 PyObject * _argo0 = 0;
7696 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7697
7698 self = self;
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7700 return NULL;
7701 if (_argo0) {
7702 if (_argo0 == Py_None) { _arg0 = NULL; }
7703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7705 return NULL;
7706 }
7707 }
7708 {
7709 wxPy_BEGIN_ALLOW_THREADS;
7710 wxPyShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7711
7712 wxPy_END_ALLOW_THREADS;
7713 } Py_INCREF(Py_None);
7714 _resultobj = Py_None;
7715 return _resultobj;
7716 }
7717
7718 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7719 static PyObject *_wrap_wxPyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject * _resultobj;
7721 wxPyShape * _arg0;
7722 double _arg1;
7723 double _arg2;
7724 int _arg3 = (int ) 0;
7725 int _arg4 = (int ) 0;
7726 PyObject * _argo0 = 0;
7727 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7728
7729 self = self;
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7731 return NULL;
7732 if (_argo0) {
7733 if (_argo0 == Py_None) { _arg0 = NULL; }
7734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7736 return NULL;
7737 }
7738 }
7739 {
7740 wxPy_BEGIN_ALLOW_THREADS;
7741 wxPyShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7742
7743 wxPy_END_ALLOW_THREADS;
7744 } Py_INCREF(Py_None);
7745 _resultobj = Py_None;
7746 return _resultobj;
7747 }
7748
7749 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7750 static PyObject *_wrap_wxPyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7751 PyObject * _resultobj;
7752 wxPyShape * _arg0;
7753 bool _arg1;
7754 double _arg2;
7755 double _arg3;
7756 int _arg4 = (int ) 0;
7757 int _arg5 = (int ) 0;
7758 PyObject * _argo0 = 0;
7759 int tempbool1;
7760 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7761
7762 self = self;
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7764 return NULL;
7765 if (_argo0) {
7766 if (_argo0 == Py_None) { _arg0 = NULL; }
7767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7769 return NULL;
7770 }
7771 }
7772 _arg1 = (bool ) tempbool1;
7773 {
7774 wxPy_BEGIN_ALLOW_THREADS;
7775 wxPyShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7776
7777 wxPy_END_ALLOW_THREADS;
7778 } Py_INCREF(Py_None);
7779 _resultobj = Py_None;
7780 return _resultobj;
7781 }
7782
7783 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7784 static PyObject *_wrap_wxPyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject * _resultobj;
7786 wxPyShape * _arg0;
7787 double _arg1;
7788 double _arg2;
7789 int _arg3 = (int ) 0;
7790 int _arg4 = (int ) 0;
7791 PyObject * _argo0 = 0;
7792 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7793
7794 self = self;
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7796 return NULL;
7797 if (_argo0) {
7798 if (_argo0 == Py_None) { _arg0 = NULL; }
7799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7801 return NULL;
7802 }
7803 }
7804 {
7805 wxPy_BEGIN_ALLOW_THREADS;
7806 wxPyShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7807
7808 wxPy_END_ALLOW_THREADS;
7809 } Py_INCREF(Py_None);
7810 _resultobj = Py_None;
7811 return _resultobj;
7812 }
7813
7814 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7815 static PyObject *_wrap_wxPyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject * _resultobj;
7817 wxPyShape * _arg0;
7818 double _arg1;
7819 double _arg2;
7820 int _arg3 = (int ) 0;
7821 int _arg4 = (int ) 0;
7822 PyObject * _argo0 = 0;
7823 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7824
7825 self = self;
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7827 return NULL;
7828 if (_argo0) {
7829 if (_argo0 == Py_None) { _arg0 = NULL; }
7830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7832 return NULL;
7833 }
7834 }
7835 {
7836 wxPy_BEGIN_ALLOW_THREADS;
7837 wxPyShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7838
7839 wxPy_END_ALLOW_THREADS;
7840 } Py_INCREF(Py_None);
7841 _resultobj = Py_None;
7842 return _resultobj;
7843 }
7844
7845 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7846 static PyObject *_wrap_wxPyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject * _resultobj;
7848 wxPyShape * _arg0;
7849 wxDC * _arg1;
7850 double _arg2;
7851 double _arg3;
7852 double _arg4;
7853 double _arg5;
7854 PyObject * _argo0 = 0;
7855 PyObject * _argo1 = 0;
7856 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7857
7858 self = self;
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7860 return NULL;
7861 if (_argo0) {
7862 if (_argo0 == Py_None) { _arg0 = NULL; }
7863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7865 return NULL;
7866 }
7867 }
7868 if (_argo1) {
7869 if (_argo1 == Py_None) { _arg1 = NULL; }
7870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7872 return NULL;
7873 }
7874 }
7875 {
7876 wxPy_BEGIN_ALLOW_THREADS;
7877 wxPyShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7878
7879 wxPy_END_ALLOW_THREADS;
7880 } Py_INCREF(Py_None);
7881 _resultobj = Py_None;
7882 return _resultobj;
7883 }
7884
7885 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7886 static PyObject *_wrap_wxPyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7887 PyObject * _resultobj;
7888 wxPyShape * _arg0;
7889 wxDC * _arg1;
7890 PyObject * _argo0 = 0;
7891 PyObject * _argo1 = 0;
7892 char *_kwnames[] = { "self","dc", NULL };
7893
7894 self = self;
7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7896 return NULL;
7897 if (_argo0) {
7898 if (_argo0 == Py_None) { _arg0 = NULL; }
7899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7901 return NULL;
7902 }
7903 }
7904 if (_argo1) {
7905 if (_argo1 == Py_None) { _arg1 = NULL; }
7906 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7907 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7908 return NULL;
7909 }
7910 }
7911 {
7912 wxPy_BEGIN_ALLOW_THREADS;
7913 wxPyShape_base_OnDrawControlPoints(_arg0,*_arg1);
7914
7915 wxPy_END_ALLOW_THREADS;
7916 } Py_INCREF(Py_None);
7917 _resultobj = Py_None;
7918 return _resultobj;
7919 }
7920
7921 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7922 static PyObject *_wrap_wxPyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7923 PyObject * _resultobj;
7924 wxPyShape * _arg0;
7925 wxDC * _arg1;
7926 PyObject * _argo0 = 0;
7927 PyObject * _argo1 = 0;
7928 char *_kwnames[] = { "self","dc", NULL };
7929
7930 self = self;
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7932 return NULL;
7933 if (_argo0) {
7934 if (_argo0 == Py_None) { _arg0 = NULL; }
7935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7937 return NULL;
7938 }
7939 }
7940 if (_argo1) {
7941 if (_argo1 == Py_None) { _arg1 = NULL; }
7942 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7943 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7944 return NULL;
7945 }
7946 }
7947 {
7948 wxPy_BEGIN_ALLOW_THREADS;
7949 wxPyShape_base_OnEraseControlPoints(_arg0,*_arg1);
7950
7951 wxPy_END_ALLOW_THREADS;
7952 } Py_INCREF(Py_None);
7953 _resultobj = Py_None;
7954 return _resultobj;
7955 }
7956
7957 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7958 static PyObject *_wrap_wxPyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject * _resultobj;
7960 wxPyShape * _arg0;
7961 wxDC * _arg1;
7962 bool _arg2 = (bool ) TRUE;
7963 PyObject * _argo0 = 0;
7964 PyObject * _argo1 = 0;
7965 int tempbool2 = (int) TRUE;
7966 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7967
7968 self = self;
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
7970 return NULL;
7971 if (_argo0) {
7972 if (_argo0 == Py_None) { _arg0 = NULL; }
7973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7975 return NULL;
7976 }
7977 }
7978 if (_argo1) {
7979 if (_argo1 == Py_None) { _arg1 = NULL; }
7980 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7981 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7982 return NULL;
7983 }
7984 }
7985 _arg2 = (bool ) tempbool2;
7986 {
7987 wxPy_BEGIN_ALLOW_THREADS;
7988 wxPyShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7989
7990 wxPy_END_ALLOW_THREADS;
7991 } Py_INCREF(Py_None);
7992 _resultobj = Py_None;
7993 return _resultobj;
7994 }
7995
7996 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7997 static PyObject *_wrap_wxPyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7998 PyObject * _resultobj;
7999 wxPyShape * _arg0;
8000 wxPyControlPoint * _arg1;
8001 bool _arg2;
8002 double _arg3;
8003 double _arg4;
8004 int _arg5 = (int ) 0;
8005 int _arg6 = (int ) 0;
8006 PyObject * _argo0 = 0;
8007 PyObject * _argo1 = 0;
8008 int tempbool2;
8009 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
8010
8011 self = self;
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
8013 return NULL;
8014 if (_argo0) {
8015 if (_argo0 == Py_None) { _arg0 = NULL; }
8016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
8017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
8018 return NULL;
8019 }
8020 }
8021 if (_argo1) {
8022 if (_argo1 == Py_None) { _arg1 = NULL; }
8023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
8024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
8025 return NULL;
8026 }
8027 }
8028 _arg2 = (bool ) tempbool2;
8029 {
8030 wxPy_BEGIN_ALLOW_THREADS;
8031 wxPyShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8032
8033 wxPy_END_ALLOW_THREADS;
8034 } Py_INCREF(Py_None);
8035 _resultobj = Py_None;
8036 return _resultobj;
8037 }
8038
8039 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8040 static PyObject *_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject * _resultobj;
8042 wxPyShape * _arg0;
8043 wxPyControlPoint * _arg1;
8044 double _arg2;
8045 double _arg3;
8046 int _arg4 = (int ) 0;
8047 int _arg5 = (int ) 0;
8048 PyObject * _argo0 = 0;
8049 PyObject * _argo1 = 0;
8050 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
8051
8052 self = self;
8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8054 return NULL;
8055 if (_argo0) {
8056 if (_argo0 == Py_None) { _arg0 = NULL; }
8057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
8058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
8059 return NULL;
8060 }
8061 }
8062 if (_argo1) {
8063 if (_argo1 == Py_None) { _arg1 = NULL; }
8064 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
8065 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
8066 return NULL;
8067 }
8068 }
8069 {
8070 wxPy_BEGIN_ALLOW_THREADS;
8071 wxPyShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8072
8073 wxPy_END_ALLOW_THREADS;
8074 } Py_INCREF(Py_None);
8075 _resultobj = Py_None;
8076 return _resultobj;
8077 }
8078
8079 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8080 static PyObject *_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject * _resultobj;
8082 wxPyShape * _arg0;
8083 wxPyControlPoint * _arg1;
8084 double _arg2;
8085 double _arg3;
8086 int _arg4 = (int ) 0;
8087 int _arg5 = (int ) 0;
8088 PyObject * _argo0 = 0;
8089 PyObject * _argo1 = 0;
8090 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
8091
8092 self = self;
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8094 return NULL;
8095 if (_argo0) {
8096 if (_argo0 == Py_None) { _arg0 = NULL; }
8097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
8098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
8099 return NULL;
8100 }
8101 }
8102 if (_argo1) {
8103 if (_argo1 == Py_None) { _arg1 = NULL; }
8104 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
8105 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
8106 return NULL;
8107 }
8108 }
8109 {
8110 wxPy_BEGIN_ALLOW_THREADS;
8111 wxPyShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8112
8113 wxPy_END_ALLOW_THREADS;
8114 } Py_INCREF(Py_None);
8115 _resultobj = Py_None;
8116 return _resultobj;
8117 }
8118
8119 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8120 static PyObject *_wrap_wxPyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8121 PyObject * _resultobj;
8122 wxPyShape * _arg0;
8123 double _arg1;
8124 double _arg2;
8125 PyObject * _argo0 = 0;
8126 char *_kwnames[] = { "self","w","h", NULL };
8127
8128 self = self;
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
8130 return NULL;
8131 if (_argo0) {
8132 if (_argo0 == Py_None) { _arg0 = NULL; }
8133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
8134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
8135 return NULL;
8136 }
8137 }
8138 {
8139 wxPy_BEGIN_ALLOW_THREADS;
8140 wxPyShape_base_OnBeginSize(_arg0,_arg1,_arg2);
8141
8142 wxPy_END_ALLOW_THREADS;
8143 } Py_INCREF(Py_None);
8144 _resultobj = Py_None;
8145 return _resultobj;
8146 }
8147
8148 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8149 static PyObject *_wrap_wxPyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject * _resultobj;
8151 wxPyShape * _arg0;
8152 double _arg1;
8153 double _arg2;
8154 PyObject * _argo0 = 0;
8155 char *_kwnames[] = { "self","w","h", NULL };
8156
8157 self = self;
8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
8159 return NULL;
8160 if (_argo0) {
8161 if (_argo0 == Py_None) { _arg0 = NULL; }
8162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
8163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
8164 return NULL;
8165 }
8166 }
8167 {
8168 wxPy_BEGIN_ALLOW_THREADS;
8169 wxPyShape_base_OnEndSize(_arg0,_arg1,_arg2);
8170
8171 wxPy_END_ALLOW_THREADS;
8172 } Py_INCREF(Py_None);
8173 _resultobj = Py_None;
8174 return _resultobj;
8175 }
8176
8177 static PyMethodDef oglbasiccMethods[] = {
8178 { "wxPyShape_base_OnEndSize", (PyCFunction) _wrap_wxPyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
8179 { "wxPyShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
8180 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
8181 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
8182 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
8183 { "wxPyShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
8184 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
8185 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
8186 { "wxPyShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
8187 { "wxPyShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
8188 { "wxPyShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
8189 { "wxPyShape_base_OnDragRight", (PyCFunction) _wrap_wxPyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
8190 { "wxPyShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
8191 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
8192 { "wxPyShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
8193 { "wxPyShape_base_OnMovePost", (PyCFunction) _wrap_wxPyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
8194 { "wxPyShape_base_OnMovePre", (PyCFunction) _wrap_wxPyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
8195 { "wxPyShape_base_OnSize", (PyCFunction) _wrap_wxPyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
8196 { "wxPyShape_base_OnRightClick", (PyCFunction) _wrap_wxPyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
8197 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
8198 { "wxPyShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
8199 { "wxPyShape_base_OnHighlight", (PyCFunction) _wrap_wxPyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
8200 { "wxPyShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
8201 { "wxPyShape_base_OnErase", (PyCFunction) _wrap_wxPyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
8202 { "wxPyShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
8203 { "wxPyShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
8204 { "wxPyShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
8205 { "wxPyShape_base_OnDraw", (PyCFunction) _wrap_wxPyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
8206 { "wxPyShape_base_OnDelete", (PyCFunction) _wrap_wxPyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
8207 { "wxPyShape_GetBackgroundBrush", (PyCFunction) _wrap_wxPyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
8208 { "wxPyShape_GetBackgroundPen", (PyCFunction) _wrap_wxPyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
8209 { "wxPyShape_ClearPointList", (PyCFunction) _wrap_wxPyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
8210 { "wxPyShape_Recentre", (PyCFunction) _wrap_wxPyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
8211 { "wxPyShape_ClearAttachments", (PyCFunction) _wrap_wxPyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
8212 { "wxPyShape_GetRotation", (PyCFunction) _wrap_wxPyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
8213 { "wxPyShape_Rotate", (PyCFunction) _wrap_wxPyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
8214 { "wxPyShape_CopyWithHandler", (PyCFunction) _wrap_wxPyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
8215 { "wxPyShape_Copy", (PyCFunction) _wrap_wxPyShape_Copy, METH_VARARGS | METH_KEYWORDS },
8216 { "wxPyShape_CreateNewCopy", (PyCFunction) _wrap_wxPyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
8217 { "wxPyShape_HasDescendant", (PyCFunction) _wrap_wxPyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
8218 { "wxPyShape_Draggable", (PyCFunction) _wrap_wxPyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
8219 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_wxPyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
8220 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_wxPyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
8221 { "wxPyShape_GetBranchStyle", (PyCFunction) _wrap_wxPyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
8222 { "wxPyShape_SetBranchStyle", (PyCFunction) _wrap_wxPyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
8223 { "wxPyShape_GetBranchSpacing", (PyCFunction) _wrap_wxPyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
8224 { "wxPyShape_SetBranchSpacing", (PyCFunction) _wrap_wxPyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
8225 { "wxPyShape_GetBranchStemLength", (PyCFunction) _wrap_wxPyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
8226 { "wxPyShape_SetBranchStemLength", (PyCFunction) _wrap_wxPyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
8227 { "wxPyShape_GetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
8228 { "wxPyShape_SetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
8229 { "wxPyShape_GetAttachmentLineCount", (PyCFunction) _wrap_wxPyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
8230 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
8231 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
8232 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
8233 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_wxPyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
8234 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_wxPyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
8235 { "wxPyShape_DrawLinks", (PyCFunction) _wrap_wxPyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
8236 { "wxPyShape_EraseLinks", (PyCFunction) _wrap_wxPyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
8237 { "wxPyShape_AttachmentSortTest", (PyCFunction) _wrap_wxPyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
8238 { "wxPyShape_CalcSimpleAttachment", (PyCFunction) _wrap_wxPyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
8239 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_wxPyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
8240 { "wxPyShape_AttachmentIsValid", (PyCFunction) _wrap_wxPyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
8241 { "wxPyShape_GetNumberOfAttachments", (PyCFunction) _wrap_wxPyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
8242 { "wxPyShape_GetAttachmentPosition", (PyCFunction) _wrap_wxPyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
8243 { "wxPyShape_RemoveLine", (PyCFunction) _wrap_wxPyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
8244 { "wxPyShape_ClearText", (PyCFunction) _wrap_wxPyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
8245 { "wxPyShape_FindRegionNames", (PyCFunction) _wrap_wxPyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
8246 { "wxPyShape_FindRegion", (PyCFunction) _wrap_wxPyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
8247 { "wxPyShape_AssignNewIds", (PyCFunction) _wrap_wxPyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
8248 { "wxPyShape_ClearRegions", (PyCFunction) _wrap_wxPyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
8249 { "wxPyShape_AddRegion", (PyCFunction) _wrap_wxPyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
8250 { "wxPyShape_GetRegions", (PyCFunction) _wrap_wxPyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
8251 { "wxPyShape_NameRegions", (PyCFunction) _wrap_wxPyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
8252 { "wxPyShape_GetRegionId", (PyCFunction) _wrap_wxPyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
8253 { "wxPyShape_GetRegionName", (PyCFunction) _wrap_wxPyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
8254 { "wxPyShape_SetRegionName", (PyCFunction) _wrap_wxPyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
8255 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_wxPyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
8256 { "wxPyShape_GetTextColour", (PyCFunction) _wrap_wxPyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
8257 { "wxPyShape_SetTextColour", (PyCFunction) _wrap_wxPyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
8258 { "wxPyShape_GetFont", (PyCFunction) _wrap_wxPyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
8259 { "wxPyShape_SetFont", (PyCFunction) _wrap_wxPyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
8260 { "wxPyShape_GetFormatMode", (PyCFunction) _wrap_wxPyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
8261 { "wxPyShape_SetFormatMode", (PyCFunction) _wrap_wxPyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
8262 { "wxPyShape_FormatText", (PyCFunction) _wrap_wxPyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
8263 { "wxPyShape_SetDefaultRegionSize", (PyCFunction) _wrap_wxPyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
8264 { "wxPyShape_GetBrush", (PyCFunction) _wrap_wxPyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
8265 { "wxPyShape_GetPen", (PyCFunction) _wrap_wxPyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
8266 { "wxPyShape_AddText", (PyCFunction) _wrap_wxPyShape_AddText, METH_VARARGS | METH_KEYWORDS },
8267 { "wxPyShape_GetLinePosition", (PyCFunction) _wrap_wxPyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
8268 { "wxPyShape_AddLine", (PyCFunction) _wrap_wxPyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
8269 { "wxPyShape_Constrain", (PyCFunction) _wrap_wxPyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
8270 { "wxPyShape_Detach", (PyCFunction) _wrap_wxPyShape_Detach, METH_VARARGS | METH_KEYWORDS },
8271 { "wxPyShape_Attach", (PyCFunction) _wrap_wxPyShape_Attach, METH_VARARGS | METH_KEYWORDS },
8272 { "wxPyShape_SetAttachmentSize", (PyCFunction) _wrap_wxPyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
8273 { "wxPyShape_SetSize", (PyCFunction) _wrap_wxPyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
8274 { "wxPyShape_DrawContents", (PyCFunction) _wrap_wxPyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
8275 { "wxPyShape_MoveLinks", (PyCFunction) _wrap_wxPyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
8276 { "wxPyShape_Flash", (PyCFunction) _wrap_wxPyShape_Flash, METH_VARARGS | METH_KEYWORDS },
8277 { "wxPyShape_Draw", (PyCFunction) _wrap_wxPyShape_Draw, METH_VARARGS | METH_KEYWORDS },
8278 { "wxPyShape_EraseContents", (PyCFunction) _wrap_wxPyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
8279 { "wxPyShape_Erase", (PyCFunction) _wrap_wxPyShape_Erase, METH_VARARGS | METH_KEYWORDS },
8280 { "wxPyShape_Move", (PyCFunction) _wrap_wxPyShape_Move, METH_VARARGS | METH_KEYWORDS },
8281 { "wxPyShape_IsShown", (PyCFunction) _wrap_wxPyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
8282 { "wxPyShape_Show", (PyCFunction) _wrap_wxPyShape_Show, METH_VARARGS | METH_KEYWORDS },
8283 { "wxPyShape_GetClientData", (PyCFunction) _wrap_wxPyShape_GetClientData, METH_VARARGS | METH_KEYWORDS },
8284 { "wxPyShape_SetClientData", (PyCFunction) _wrap_wxPyShape_SetClientData, METH_VARARGS | METH_KEYWORDS },
8285 { "wxPyShape_SetBrush", (PyCFunction) _wrap_wxPyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
8286 { "wxPyShape_SetPen", (PyCFunction) _wrap_wxPyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
8287 { "wxPyShape_GetId", (PyCFunction) _wrap_wxPyShape_GetId, METH_VARARGS | METH_KEYWORDS },
8288 { "wxPyShape_SetId", (PyCFunction) _wrap_wxPyShape_SetId, METH_VARARGS | METH_KEYWORDS },
8289 { "wxPyShape_GetAttachmentMode", (PyCFunction) _wrap_wxPyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
8290 { "wxPyShape_SetAttachmentMode", (PyCFunction) _wrap_wxPyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
8291 { "wxPyShape_GetDisableLabel", (PyCFunction) _wrap_wxPyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
8292 { "wxPyShape_SetDisableLabel", (PyCFunction) _wrap_wxPyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
8293 { "wxPyShape_GetLines", (PyCFunction) _wrap_wxPyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
8294 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
8295 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
8296 { "wxPyShape_GetCentreResize", (PyCFunction) _wrap_wxPyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
8297 { "wxPyShape_SetCentreResize", (PyCFunction) _wrap_wxPyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
8298 { "wxPyShape_HitTest", (PyCFunction) _wrap_wxPyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
8299 { "wxPyShape_GetShadowMode", (PyCFunction) _wrap_wxPyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
8300 { "wxPyShape_SetShadowMode", (PyCFunction) _wrap_wxPyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
8301 { "wxPyShape_GetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
8302 { "wxPyShape_SetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
8303 { "wxPyShape_GetFixedHeight", (PyCFunction) _wrap_wxPyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
8304 { "wxPyShape_GetFixedWidth", (PyCFunction) _wrap_wxPyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
8305 { "wxPyShape_GetFixedSize", (PyCFunction) _wrap_wxPyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
8306 { "wxPyShape_SetFixedSize", (PyCFunction) _wrap_wxPyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
8307 { "wxPyShape_SetDraggable", (PyCFunction) _wrap_wxPyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
8308 { "wxPyShape_GetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
8309 { "wxPyShape_SetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
8310 { "wxPyShape_AncestorSelected", (PyCFunction) _wrap_wxPyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
8311 { "wxPyShape_Selected", (PyCFunction) _wrap_wxPyShape_Selected, METH_VARARGS | METH_KEYWORDS },
8312 { "wxPyShape_IsHighlighted", (PyCFunction) _wrap_wxPyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
8313 { "wxPyShape_SetHighlight", (PyCFunction) _wrap_wxPyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
8314 { "wxPyShape_Select", (PyCFunction) _wrap_wxPyShape_Select, METH_VARARGS | METH_KEYWORDS },
8315 { "wxPyShape_CalculateSize", (PyCFunction) _wrap_wxPyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
8316 { "wxPyShape_Recompute", (PyCFunction) _wrap_wxPyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
8317 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
8318 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
8319 { "wxPyShape_SetEventHandler", (PyCFunction) _wrap_wxPyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
8320 { "wxPyShape_GetEventHandler", (PyCFunction) _wrap_wxPyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
8321 { "wxPyShape_ResetControlPoints", (PyCFunction) _wrap_wxPyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
8322 { "wxPyShape_DeleteControlPoints", (PyCFunction) _wrap_wxPyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
8323 { "wxPyShape_MakeControlPoints", (PyCFunction) _wrap_wxPyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
8324 { "wxPyShape_GetDrawHandles", (PyCFunction) _wrap_wxPyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
8325 { "wxPyShape_SetDrawHandles", (PyCFunction) _wrap_wxPyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
8326 { "wxPyShape_Unlink", (PyCFunction) _wrap_wxPyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
8327 { "wxPyShape_GetChildren", (PyCFunction) _wrap_wxPyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
8328 { "wxPyShape_GetTopAncestor", (PyCFunction) _wrap_wxPyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
8329 { "wxPyShape_SetParent", (PyCFunction) _wrap_wxPyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
8330 { "wxPyShape_GetParent", (PyCFunction) _wrap_wxPyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
8331 { "wxPyShape_SetY", (PyCFunction) _wrap_wxPyShape_SetY, METH_VARARGS | METH_KEYWORDS },
8332 { "wxPyShape_SetX", (PyCFunction) _wrap_wxPyShape_SetX, METH_VARARGS | METH_KEYWORDS },
8333 { "wxPyShape_GetY", (PyCFunction) _wrap_wxPyShape_GetY, METH_VARARGS | METH_KEYWORDS },
8334 { "wxPyShape_GetX", (PyCFunction) _wrap_wxPyShape_GetX, METH_VARARGS | METH_KEYWORDS },
8335 { "wxPyShape_RemoveFromCanvas", (PyCFunction) _wrap_wxPyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
8336 { "wxPyShape_InsertInCanvas", (PyCFunction) _wrap_wxPyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
8337 { "wxPyShape_AddToCanvas", (PyCFunction) _wrap_wxPyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
8338 { "wxPyShape_SetCanvas", (PyCFunction) _wrap_wxPyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
8339 { "wxPyShape_GetCanvas", (PyCFunction) _wrap_wxPyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
8340 { "wxPyShape_GetPerimeterPoint", (PyCFunction) _wrap_wxPyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
8341 { "wxPyShape_GetBoundingBoxMin", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
8342 { "wxPyShape_GetBoundingBoxMax", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
8343 { "wxPyShape__setCallbackInfo", (PyCFunction) _wrap_wxPyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
8344 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
8345 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
8346 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
8347 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
8348 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
8349 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
8350 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
8351 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
8352 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
8353 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
8354 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
8355 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
8356 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
8357 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
8358 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
8359 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
8360 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
8361 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
8362 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
8363 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
8364 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
8365 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
8366 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
8367 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
8368 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
8369 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
8370 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
8371 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
8372 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
8373 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_wxPyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
8374 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
8375 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
8376 { "wxPyShapeEvtHandler_GetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
8377 { "wxPyShapeEvtHandler_SetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
8378 { "wxPyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_wxPyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
8379 { "wxPyShapeEvtHandler_Destroy", (PyCFunction) _wrap_wxPyShapeEvtHandler_Destroy, METH_VARARGS | METH_KEYWORDS },
8380 { "wxPyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_wxPyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
8381 { "new_wxPyShapeEvtHandler", (PyCFunction) _wrap_new_wxPyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
8382 { "wxShapeRegion_ClearText", (PyCFunction) _wrap_wxShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
8383 { "wxShapeRegion_GetHeight", (PyCFunction) _wrap_wxShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
8384 { "wxShapeRegion_GetWidth", (PyCFunction) _wrap_wxShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
8385 { "wxShapeRegion_GetActualPen", (PyCFunction) _wrap_wxShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
8386 { "wxShapeRegion_SetPenColour", (PyCFunction) _wrap_wxShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
8387 { "wxShapeRegion_SetPenStyle", (PyCFunction) _wrap_wxShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
8388 { "wxShapeRegion_GetPenStyle", (PyCFunction) _wrap_wxShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
8389 { "wxShapeRegion_GetPenColour", (PyCFunction) _wrap_wxShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
8390 { "wxShapeRegion_GetFormattedText", (PyCFunction) _wrap_wxShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
8391 { "wxShapeRegion_GetActualColourObject", (PyCFunction) _wrap_wxShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
8392 { "wxShapeRegion_GetColour", (PyCFunction) _wrap_wxShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
8393 { "wxShapeRegion_GetName", (PyCFunction) _wrap_wxShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
8394 { "wxShapeRegion_GetFormatMode", (PyCFunction) _wrap_wxShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
8395 { "wxShapeRegion_GetPosition", (PyCFunction) _wrap_wxShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
8396 { "wxShapeRegion_GetSize", (PyCFunction) _wrap_wxShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
8397 { "wxShapeRegion_GetProportion", (PyCFunction) _wrap_wxShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
8398 { "wxShapeRegion_GetMinSize", (PyCFunction) _wrap_wxShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
8399 { "wxShapeRegion_GetFont", (PyCFunction) _wrap_wxShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
8400 { "wxShapeRegion_GetText", (PyCFunction) _wrap_wxShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
8401 { "wxShapeRegion_SetColour", (PyCFunction) _wrap_wxShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
8402 { "wxShapeRegion_SetName", (PyCFunction) _wrap_wxShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
8403 { "wxShapeRegion_SetFormatMode", (PyCFunction) _wrap_wxShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
8404 { "wxShapeRegion_SetProportions", (PyCFunction) _wrap_wxShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
8405 { "wxShapeRegion_SetPosition", (PyCFunction) _wrap_wxShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
8406 { "wxShapeRegion_SetSize", (PyCFunction) _wrap_wxShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
8407 { "wxShapeRegion_SetMinSize", (PyCFunction) _wrap_wxShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
8408 { "wxShapeRegion_SetFont", (PyCFunction) _wrap_wxShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
8409 { "wxShapeRegion_SetText", (PyCFunction) _wrap_wxShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
8410 { "new_wxShapeRegion", (PyCFunction) _wrap_new_wxShapeRegion, METH_VARARGS | METH_KEYWORDS },
8411 { NULL, NULL }
8412 };
8413 #ifdef __cplusplus
8414 }
8415 #endif
8416 /*
8417 * This table is used by the pointer type-checker
8418 */
8419 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
8420 { "_signed_long","_long",0},
8421 { "_wxPrintQuality","_wxCoord",0},
8422 { "_wxPrintQuality","_int",0},
8423 { "_wxPrintQuality","_signed_int",0},
8424 { "_wxPrintQuality","_unsigned_int",0},
8425 { "_wxPrintQuality","_wxWindowID",0},
8426 { "_wxPrintQuality","_uint",0},
8427 { "_wxPrintQuality","_EBool",0},
8428 { "_wxPrintQuality","_size_t",0},
8429 { "_wxPrintQuality","_time_t",0},
8430 { "_byte","_unsigned_char",0},
8431 { "_long","_unsigned_long",0},
8432 { "_long","_signed_long",0},
8433 { "_size_t","_wxCoord",0},
8434 { "_size_t","_wxPrintQuality",0},
8435 { "_size_t","_time_t",0},
8436 { "_size_t","_unsigned_int",0},
8437 { "_size_t","_int",0},
8438 { "_size_t","_wxWindowID",0},
8439 { "_size_t","_uint",0},
8440 { "_uint","_wxCoord",0},
8441 { "_uint","_wxPrintQuality",0},
8442 { "_uint","_time_t",0},
8443 { "_uint","_size_t",0},
8444 { "_uint","_unsigned_int",0},
8445 { "_uint","_int",0},
8446 { "_uint","_wxWindowID",0},
8447 { "_wxChar","_char",0},
8448 { "_char","_wxChar",0},
8449 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8450 { "_EBool","_wxCoord",0},
8451 { "_EBool","_wxPrintQuality",0},
8452 { "_EBool","_signed_int",0},
8453 { "_EBool","_int",0},
8454 { "_EBool","_wxWindowID",0},
8455 { "_unsigned_long","_long",0},
8456 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8457 { "_signed_int","_wxCoord",0},
8458 { "_signed_int","_wxPrintQuality",0},
8459 { "_signed_int","_EBool",0},
8460 { "_signed_int","_wxWindowID",0},
8461 { "_signed_int","_int",0},
8462 { "_WXTYPE","_wxDateTime_t",0},
8463 { "_WXTYPE","_short",0},
8464 { "_WXTYPE","_signed_short",0},
8465 { "_WXTYPE","_unsigned_short",0},
8466 { "_unsigned_short","_wxDateTime_t",0},
8467 { "_unsigned_short","_WXTYPE",0},
8468 { "_unsigned_short","_short",0},
8469 { "_wxObject","_wxPyShape",SwigwxPyShapeTowxObject},
8470 { "_wxObject","_wxPyShapeEvtHandler",SwigwxPyShapeEvtHandlerTowxObject},
8471 { "_wxObject","_wxShapeRegion",SwigwxShapeRegionTowxObject},
8472 { "_signed_short","_WXTYPE",0},
8473 { "_signed_short","_short",0},
8474 { "_unsigned_char","_byte",0},
8475 { "_unsigned_int","_wxCoord",0},
8476 { "_unsigned_int","_wxPrintQuality",0},
8477 { "_unsigned_int","_time_t",0},
8478 { "_unsigned_int","_size_t",0},
8479 { "_unsigned_int","_uint",0},
8480 { "_unsigned_int","_wxWindowID",0},
8481 { "_unsigned_int","_int",0},
8482 { "_short","_wxDateTime_t",0},
8483 { "_short","_WXTYPE",0},
8484 { "_short","_unsigned_short",0},
8485 { "_short","_signed_short",0},
8486 { "_wxWindowID","_wxCoord",0},
8487 { "_wxWindowID","_wxPrintQuality",0},
8488 { "_wxWindowID","_time_t",0},
8489 { "_wxWindowID","_size_t",0},
8490 { "_wxWindowID","_EBool",0},
8491 { "_wxWindowID","_uint",0},
8492 { "_wxWindowID","_int",0},
8493 { "_wxWindowID","_signed_int",0},
8494 { "_wxWindowID","_unsigned_int",0},
8495 { "_int","_wxCoord",0},
8496 { "_int","_wxPrintQuality",0},
8497 { "_int","_time_t",0},
8498 { "_int","_size_t",0},
8499 { "_int","_EBool",0},
8500 { "_int","_uint",0},
8501 { "_int","_wxWindowID",0},
8502 { "_int","_unsigned_int",0},
8503 { "_int","_signed_int",0},
8504 { "_wxDateTime_t","_unsigned_short",0},
8505 { "_wxDateTime_t","_short",0},
8506 { "_wxDateTime_t","_WXTYPE",0},
8507 { "_time_t","_wxCoord",0},
8508 { "_time_t","_wxPrintQuality",0},
8509 { "_time_t","_unsigned_int",0},
8510 { "_time_t","_int",0},
8511 { "_time_t","_wxWindowID",0},
8512 { "_time_t","_uint",0},
8513 { "_time_t","_size_t",0},
8514 { "_wxCoord","_int",0},
8515 { "_wxCoord","_signed_int",0},
8516 { "_wxCoord","_unsigned_int",0},
8517 { "_wxCoord","_wxWindowID",0},
8518 { "_wxCoord","_uint",0},
8519 { "_wxCoord","_EBool",0},
8520 { "_wxCoord","_size_t",0},
8521 { "_wxCoord","_time_t",0},
8522 { "_wxCoord","_wxPrintQuality",0},
8523 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler},
8524 {0,0,0}};
8525
8526 static PyObject *SWIG_globals;
8527 #ifdef __cplusplus
8528 extern "C"
8529 #endif
8530 SWIGEXPORT(void) initoglbasicc() {
8531 PyObject *m, *d;
8532 SWIG_globals = SWIG_newvarlink();
8533 m = Py_InitModule("oglbasicc", oglbasiccMethods);
8534 d = PyModule_GetDict(m);
8535 {
8536 int i;
8537 for (i = 0; _swig_mapping[i].n1; i++)
8538 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8539 }
8540 }