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