]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/ogl/oglbasic.cpp
More fixes for the OGL wrapper and some other updates.
[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_FromStringAndSize(_result->c_str(), _result->Len());
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_FromStringAndSize(_result->c_str(), _result->Len());
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_FromStringAndSize(_result->c_str(), _result->Len());
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_FromStringAndSize(_result->c_str(), _result->Len());
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 static void wxPyShape_SetClientData(wxPyShape *self,PyObject * userData) {
4300 wxPyUserData* data = NULL;
4301 if (userData)
4302 data = new wxPyUserData(userData);
4303 self->SetClientData(data);
4304 }
4305 static PyObject *_wrap_wxPyShape_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
4306 PyObject * _resultobj;
4307 wxPyShape * _arg0;
4308 PyObject * _arg1;
4309 PyObject * _argo0 = 0;
4310 PyObject * _obj1 = 0;
4311 char *_kwnames[] = { "self","userData", NULL };
4312
4313 self = self;
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetClientData",_kwnames,&_argo0,&_obj1))
4315 return NULL;
4316 if (_argo0) {
4317 if (_argo0 == Py_None) { _arg0 = NULL; }
4318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p.");
4320 return NULL;
4321 }
4322 }
4323 {
4324 _arg1 = _obj1;
4325 }
4326 {
4327 wxPy_BEGIN_ALLOW_THREADS;
4328 wxPyShape_SetClientData(_arg0,_arg1);
4329
4330 wxPy_END_ALLOW_THREADS;
4331 } Py_INCREF(Py_None);
4332 _resultobj = Py_None;
4333 return _resultobj;
4334 }
4335
4336 static PyObject * wxPyShape_GetClientData(wxPyShape *self) {
4337 wxPyUserData* data = (wxPyUserData*)self->GetClientData();
4338 if (data) {
4339 Py_INCREF(data->m_obj);
4340 return data->m_obj;
4341 } else {
4342 Py_INCREF(Py_None);
4343 return Py_None;
4344 }
4345 }
4346 static PyObject *_wrap_wxPyShape_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
4347 PyObject * _resultobj;
4348 PyObject * _result;
4349 wxPyShape * _arg0;
4350 PyObject * _argo0 = 0;
4351 char *_kwnames[] = { "self", NULL };
4352
4353 self = self;
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetClientData",_kwnames,&_argo0))
4355 return NULL;
4356 if (_argo0) {
4357 if (_argo0 == Py_None) { _arg0 = NULL; }
4358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p.");
4360 return NULL;
4361 }
4362 }
4363 {
4364 wxPy_BEGIN_ALLOW_THREADS;
4365 _result = (PyObject *)wxPyShape_GetClientData(_arg0);
4366
4367 wxPy_END_ALLOW_THREADS;
4368 }{
4369 _resultobj = _result;
4370 }
4371 return _resultobj;
4372 }
4373
4374 #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4375 static PyObject *_wrap_wxPyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject * _resultobj;
4377 wxPyShape * _arg0;
4378 bool _arg1;
4379 PyObject * _argo0 = 0;
4380 int tempbool1;
4381 char *_kwnames[] = { "self","show", NULL };
4382
4383 self = self;
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_Show",_kwnames,&_argo0,&tempbool1))
4385 return NULL;
4386 if (_argo0) {
4387 if (_argo0 == Py_None) { _arg0 = NULL; }
4388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p.");
4390 return NULL;
4391 }
4392 }
4393 _arg1 = (bool ) tempbool1;
4394 {
4395 wxPy_BEGIN_ALLOW_THREADS;
4396 wxPyShape_Show(_arg0,_arg1);
4397
4398 wxPy_END_ALLOW_THREADS;
4399 } Py_INCREF(Py_None);
4400 _resultobj = Py_None;
4401 return _resultobj;
4402 }
4403
4404 #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown())
4405 static PyObject *_wrap_wxPyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject * _resultobj;
4407 bool _result;
4408 wxPyShape * _arg0;
4409 PyObject * _argo0 = 0;
4410 char *_kwnames[] = { "self", NULL };
4411
4412 self = self;
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsShown",_kwnames,&_argo0))
4414 return NULL;
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p.");
4419 return NULL;
4420 }
4421 }
4422 {
4423 wxPy_BEGIN_ALLOW_THREADS;
4424 _result = (bool )wxPyShape_IsShown(_arg0);
4425
4426 wxPy_END_ALLOW_THREADS;
4427 } _resultobj = Py_BuildValue("i",_result);
4428 return _resultobj;
4429 }
4430
4431 #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4432 static PyObject *_wrap_wxPyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject * _resultobj;
4434 wxPyShape * _arg0;
4435 wxDC * _arg1;
4436 double _arg2;
4437 double _arg3;
4438 bool _arg4 = (bool ) TRUE;
4439 PyObject * _argo0 = 0;
4440 PyObject * _argo1 = 0;
4441 int tempbool4 = (int) TRUE;
4442 char *_kwnames[] = { "self","dc","x1","y1","display", NULL };
4443
4444 self = self;
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|i:wxPyShape_Move",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&tempbool4))
4446 return NULL;
4447 if (_argo0) {
4448 if (_argo0 == Py_None) { _arg0 = NULL; }
4449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p.");
4451 return NULL;
4452 }
4453 }
4454 if (_argo1) {
4455 if (_argo1 == Py_None) { _arg1 = NULL; }
4456 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4457 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p.");
4458 return NULL;
4459 }
4460 }
4461 _arg4 = (bool ) tempbool4;
4462 {
4463 wxPy_BEGIN_ALLOW_THREADS;
4464 wxPyShape_Move(_arg0,*_arg1,_arg2,_arg3,_arg4);
4465
4466 wxPy_END_ALLOW_THREADS;
4467 } Py_INCREF(Py_None);
4468 _resultobj = Py_None;
4469 return _resultobj;
4470 }
4471
4472 #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0))
4473 static PyObject *_wrap_wxPyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject * _resultobj;
4475 wxPyShape * _arg0;
4476 wxDC * _arg1;
4477 PyObject * _argo0 = 0;
4478 PyObject * _argo1 = 0;
4479 char *_kwnames[] = { "self","dc", NULL };
4480
4481 self = self;
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Erase",_kwnames,&_argo0,&_argo1))
4483 return NULL;
4484 if (_argo0) {
4485 if (_argo0 == Py_None) { _arg0 = NULL; }
4486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p.");
4488 return NULL;
4489 }
4490 }
4491 if (_argo1) {
4492 if (_argo1 == Py_None) { _arg1 = NULL; }
4493 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4494 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p.");
4495 return NULL;
4496 }
4497 }
4498 {
4499 wxPy_BEGIN_ALLOW_THREADS;
4500 wxPyShape_Erase(_arg0,*_arg1);
4501
4502 wxPy_END_ALLOW_THREADS;
4503 } Py_INCREF(Py_None);
4504 _resultobj = Py_None;
4505 return _resultobj;
4506 }
4507
4508 #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0))
4509 static PyObject *_wrap_wxPyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4510 PyObject * _resultobj;
4511 wxPyShape * _arg0;
4512 wxDC * _arg1;
4513 PyObject * _argo0 = 0;
4514 PyObject * _argo1 = 0;
4515 char *_kwnames[] = { "self","dc", NULL };
4516
4517 self = self;
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_EraseContents",_kwnames,&_argo0,&_argo1))
4519 return NULL;
4520 if (_argo0) {
4521 if (_argo0 == Py_None) { _arg0 = NULL; }
4522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p.");
4524 return NULL;
4525 }
4526 }
4527 if (_argo1) {
4528 if (_argo1 == Py_None) { _arg1 = NULL; }
4529 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p.");
4531 return NULL;
4532 }
4533 }
4534 {
4535 wxPy_BEGIN_ALLOW_THREADS;
4536 wxPyShape_EraseContents(_arg0,*_arg1);
4537
4538 wxPy_END_ALLOW_THREADS;
4539 } Py_INCREF(Py_None);
4540 _resultobj = Py_None;
4541 return _resultobj;
4542 }
4543
4544 #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0))
4545 static PyObject *_wrap_wxPyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
4546 PyObject * _resultobj;
4547 wxPyShape * _arg0;
4548 wxDC * _arg1;
4549 PyObject * _argo0 = 0;
4550 PyObject * _argo1 = 0;
4551 char *_kwnames[] = { "self","dc", NULL };
4552
4553 self = self;
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Draw",_kwnames,&_argo0,&_argo1))
4555 return NULL;
4556 if (_argo0) {
4557 if (_argo0 == Py_None) { _arg0 = NULL; }
4558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p.");
4560 return NULL;
4561 }
4562 }
4563 if (_argo1) {
4564 if (_argo1 == Py_None) { _arg1 = NULL; }
4565 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4566 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p.");
4567 return NULL;
4568 }
4569 }
4570 {
4571 wxPy_BEGIN_ALLOW_THREADS;
4572 wxPyShape_Draw(_arg0,*_arg1);
4573
4574 wxPy_END_ALLOW_THREADS;
4575 } Py_INCREF(Py_None);
4576 _resultobj = Py_None;
4577 return _resultobj;
4578 }
4579
4580 #define wxPyShape_Flash(_swigobj) (_swigobj->Flash())
4581 static PyObject *_wrap_wxPyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject * _resultobj;
4583 wxPyShape * _arg0;
4584 PyObject * _argo0 = 0;
4585 char *_kwnames[] = { "self", NULL };
4586
4587 self = self;
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Flash",_kwnames,&_argo0))
4589 return NULL;
4590 if (_argo0) {
4591 if (_argo0 == Py_None) { _arg0 = NULL; }
4592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p.");
4594 return NULL;
4595 }
4596 }
4597 {
4598 wxPy_BEGIN_ALLOW_THREADS;
4599 wxPyShape_Flash(_arg0);
4600
4601 wxPy_END_ALLOW_THREADS;
4602 } Py_INCREF(Py_None);
4603 _resultobj = Py_None;
4604 return _resultobj;
4605 }
4606
4607 #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0))
4608 static PyObject *_wrap_wxPyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject * _resultobj;
4610 wxPyShape * _arg0;
4611 wxDC * _arg1;
4612 PyObject * _argo0 = 0;
4613 PyObject * _argo1 = 0;
4614 char *_kwnames[] = { "self","dc", NULL };
4615
4616 self = self;
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_MoveLinks",_kwnames,&_argo0,&_argo1))
4618 return NULL;
4619 if (_argo0) {
4620 if (_argo0 == Py_None) { _arg0 = NULL; }
4621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p.");
4623 return NULL;
4624 }
4625 }
4626 if (_argo1) {
4627 if (_argo1 == Py_None) { _arg1 = NULL; }
4628 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4629 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p.");
4630 return NULL;
4631 }
4632 }
4633 {
4634 wxPy_BEGIN_ALLOW_THREADS;
4635 wxPyShape_MoveLinks(_arg0,*_arg1);
4636
4637 wxPy_END_ALLOW_THREADS;
4638 } Py_INCREF(Py_None);
4639 _resultobj = Py_None;
4640 return _resultobj;
4641 }
4642
4643 #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0))
4644 static PyObject *_wrap_wxPyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4645 PyObject * _resultobj;
4646 wxPyShape * _arg0;
4647 wxDC * _arg1;
4648 PyObject * _argo0 = 0;
4649 PyObject * _argo1 = 0;
4650 char *_kwnames[] = { "self","dc", NULL };
4651
4652 self = self;
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_DrawContents",_kwnames,&_argo0,&_argo1))
4654 return NULL;
4655 if (_argo0) {
4656 if (_argo0 == Py_None) { _arg0 = NULL; }
4657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p.");
4659 return NULL;
4660 }
4661 }
4662 if (_argo1) {
4663 if (_argo1 == Py_None) { _arg1 = NULL; }
4664 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4665 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p.");
4666 return NULL;
4667 }
4668 }
4669 {
4670 wxPy_BEGIN_ALLOW_THREADS;
4671 wxPyShape_DrawContents(_arg0,*_arg1);
4672
4673 wxPy_END_ALLOW_THREADS;
4674 } Py_INCREF(Py_None);
4675 _resultobj = Py_None;
4676 return _resultobj;
4677 }
4678
4679 #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2))
4680 static PyObject *_wrap_wxPyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4681 PyObject * _resultobj;
4682 wxPyShape * _arg0;
4683 double _arg1;
4684 double _arg2;
4685 bool _arg3 = (bool ) TRUE;
4686 PyObject * _argo0 = 0;
4687 int tempbool3 = (int) TRUE;
4688 char *_kwnames[] = { "self","x","y","recursive", NULL };
4689
4690 self = self;
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShape_SetSize",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
4692 return NULL;
4693 if (_argo0) {
4694 if (_argo0 == Py_None) { _arg0 = NULL; }
4695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p.");
4697 return NULL;
4698 }
4699 }
4700 _arg3 = (bool ) tempbool3;
4701 {
4702 wxPy_BEGIN_ALLOW_THREADS;
4703 wxPyShape_SetSize(_arg0,_arg1,_arg2,_arg3);
4704
4705 wxPy_END_ALLOW_THREADS;
4706 } Py_INCREF(Py_None);
4707 _resultobj = Py_None;
4708 return _resultobj;
4709 }
4710
4711 #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1))
4712 static PyObject *_wrap_wxPyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject * _resultobj;
4714 wxPyShape * _arg0;
4715 double _arg1;
4716 double _arg2;
4717 PyObject * _argo0 = 0;
4718 char *_kwnames[] = { "self","x","y", NULL };
4719
4720 self = self;
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_SetAttachmentSize",_kwnames,&_argo0,&_arg1,&_arg2))
4722 return NULL;
4723 if (_argo0) {
4724 if (_argo0 == Py_None) { _arg0 = NULL; }
4725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p.");
4727 return NULL;
4728 }
4729 }
4730 {
4731 wxPy_BEGIN_ALLOW_THREADS;
4732 wxPyShape_SetAttachmentSize(_arg0,_arg1,_arg2);
4733
4734 wxPy_END_ALLOW_THREADS;
4735 } Py_INCREF(Py_None);
4736 _resultobj = Py_None;
4737 return _resultobj;
4738 }
4739
4740 #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
4741 static PyObject *_wrap_wxPyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject * _resultobj;
4743 wxPyShape * _arg0;
4744 wxPyShapeCanvas * _arg1;
4745 PyObject * _argo0 = 0;
4746 PyObject * _argo1 = 0;
4747 char *_kwnames[] = { "self","can", NULL };
4748
4749 self = self;
4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Attach",_kwnames,&_argo0,&_argo1))
4751 return NULL;
4752 if (_argo0) {
4753 if (_argo0 == Py_None) { _arg0 = NULL; }
4754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p.");
4756 return NULL;
4757 }
4758 }
4759 if (_argo1) {
4760 if (_argo1 == Py_None) { _arg1 = NULL; }
4761 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) {
4762 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p.");
4763 return NULL;
4764 }
4765 }
4766 {
4767 wxPy_BEGIN_ALLOW_THREADS;
4768 wxPyShape_Attach(_arg0,_arg1);
4769
4770 wxPy_END_ALLOW_THREADS;
4771 } Py_INCREF(Py_None);
4772 _resultobj = Py_None;
4773 return _resultobj;
4774 }
4775
4776 #define wxPyShape_Detach(_swigobj) (_swigobj->Detach())
4777 static PyObject *_wrap_wxPyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject * _resultobj;
4779 wxPyShape * _arg0;
4780 PyObject * _argo0 = 0;
4781 char *_kwnames[] = { "self", NULL };
4782
4783 self = self;
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Detach",_kwnames,&_argo0))
4785 return NULL;
4786 if (_argo0) {
4787 if (_argo0 == Py_None) { _arg0 = NULL; }
4788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p.");
4790 return NULL;
4791 }
4792 }
4793 {
4794 wxPy_BEGIN_ALLOW_THREADS;
4795 wxPyShape_Detach(_arg0);
4796
4797 wxPy_END_ALLOW_THREADS;
4798 } Py_INCREF(Py_None);
4799 _resultobj = Py_None;
4800 return _resultobj;
4801 }
4802
4803 #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain())
4804 static PyObject *_wrap_wxPyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject * _resultobj;
4806 bool _result;
4807 wxPyShape * _arg0;
4808 PyObject * _argo0 = 0;
4809 char *_kwnames[] = { "self", NULL };
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Constrain",_kwnames,&_argo0))
4813 return NULL;
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p.");
4818 return NULL;
4819 }
4820 }
4821 {
4822 wxPy_BEGIN_ALLOW_THREADS;
4823 _result = (bool )wxPyShape_Constrain(_arg0);
4824
4825 wxPy_END_ALLOW_THREADS;
4826 } _resultobj = Py_BuildValue("i",_result);
4827 return _resultobj;
4828 }
4829
4830 #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4831 static PyObject *_wrap_wxPyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4832 PyObject * _resultobj;
4833 wxPyShape * _arg0;
4834 wxPyLineShape * _arg1;
4835 wxPyShape * _arg2;
4836 int _arg3 = (int ) 0;
4837 int _arg4 = (int ) 0;
4838 int _arg5 = (int ) -1;
4839 int _arg6 = (int ) -1;
4840 PyObject * _argo0 = 0;
4841 PyObject * _argo1 = 0;
4842 PyObject * _argo2 = 0;
4843 char *_kwnames[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL };
4844
4845 self = self;
4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiii:wxPyShape_AddLine",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6))
4847 return NULL;
4848 if (_argo0) {
4849 if (_argo0 == Py_None) { _arg0 = NULL; }
4850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4852 return NULL;
4853 }
4854 }
4855 if (_argo1) {
4856 if (_argo1 == Py_None) { _arg1 = NULL; }
4857 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) {
4858 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p.");
4859 return NULL;
4860 }
4861 }
4862 if (_argo2) {
4863 if (_argo2 == Py_None) { _arg2 = NULL; }
4864 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
4865 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p.");
4866 return NULL;
4867 }
4868 }
4869 {
4870 wxPy_BEGIN_ALLOW_THREADS;
4871 wxPyShape_AddLine(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4872
4873 wxPy_END_ALLOW_THREADS;
4874 } Py_INCREF(Py_None);
4875 _resultobj = Py_None;
4876 return _resultobj;
4877 }
4878
4879 #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0))
4880 static PyObject *_wrap_wxPyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject * _resultobj;
4882 int _result;
4883 wxPyShape * _arg0;
4884 wxPyLineShape * _arg1;
4885 PyObject * _argo0 = 0;
4886 PyObject * _argo1 = 0;
4887 char *_kwnames[] = { "self","line", NULL };
4888
4889 self = self;
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetLinePosition",_kwnames,&_argo0,&_argo1))
4891 return NULL;
4892 if (_argo0) {
4893 if (_argo0 == Py_None) { _arg0 = NULL; }
4894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p.");
4896 return NULL;
4897 }
4898 }
4899 if (_argo1) {
4900 if (_argo1 == Py_None) { _arg1 = NULL; }
4901 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p.");
4903 return NULL;
4904 }
4905 }
4906 {
4907 wxPy_BEGIN_ALLOW_THREADS;
4908 _result = (int )wxPyShape_GetLinePosition(_arg0,_arg1);
4909
4910 wxPy_END_ALLOW_THREADS;
4911 } _resultobj = Py_BuildValue("i",_result);
4912 return _resultobj;
4913 }
4914
4915 #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
4916 static PyObject *_wrap_wxPyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject * _resultobj;
4918 wxPyShape * _arg0;
4919 wxString * _arg1;
4920 PyObject * _argo0 = 0;
4921 PyObject * _obj1 = 0;
4922 char *_kwnames[] = { "self","string", NULL };
4923
4924 self = self;
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddText",_kwnames,&_argo0,&_obj1))
4926 return NULL;
4927 if (_argo0) {
4928 if (_argo0 == Py_None) { _arg0 = NULL; }
4929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p.");
4931 return NULL;
4932 }
4933 }
4934 {
4935 if (!PyString_Check(_obj1)) {
4936 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4937 return NULL;
4938 }
4939 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4940 }
4941 {
4942 wxPy_BEGIN_ALLOW_THREADS;
4943 wxPyShape_AddText(_arg0,*_arg1);
4944
4945 wxPy_END_ALLOW_THREADS;
4946 } Py_INCREF(Py_None);
4947 _resultobj = Py_None;
4948 {
4949 if (_obj1)
4950 delete _arg1;
4951 }
4952 return _resultobj;
4953 }
4954
4955 #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen())
4956 static PyObject *_wrap_wxPyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject * _resultobj;
4958 wxPen * _result;
4959 wxPyShape * _arg0;
4960 PyObject * _argo0 = 0;
4961 char *_kwnames[] = { "self", NULL };
4962 char _ptemp[128];
4963
4964 self = self;
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetPen",_kwnames,&_argo0))
4966 return NULL;
4967 if (_argo0) {
4968 if (_argo0 == Py_None) { _arg0 = NULL; }
4969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
4970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p.");
4971 return NULL;
4972 }
4973 }
4974 {
4975 wxPy_BEGIN_ALLOW_THREADS;
4976 _result = (wxPen *)wxPyShape_GetPen(_arg0);
4977
4978 wxPy_END_ALLOW_THREADS;
4979 } if (_result) {
4980 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
4981 _resultobj = Py_BuildValue("s",_ptemp);
4982 } else {
4983 Py_INCREF(Py_None);
4984 _resultobj = Py_None;
4985 }
4986 return _resultobj;
4987 }
4988
4989 #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush())
4990 static PyObject *_wrap_wxPyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject * _resultobj;
4992 wxBrush * _result;
4993 wxPyShape * _arg0;
4994 PyObject * _argo0 = 0;
4995 char *_kwnames[] = { "self", NULL };
4996 char _ptemp[128];
4997
4998 self = self;
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBrush",_kwnames,&_argo0))
5000 return NULL;
5001 if (_argo0) {
5002 if (_argo0 == Py_None) { _arg0 = NULL; }
5003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p.");
5005 return NULL;
5006 }
5007 }
5008 {
5009 wxPy_BEGIN_ALLOW_THREADS;
5010 _result = (wxBrush *)wxPyShape_GetBrush(_arg0);
5011
5012 wxPy_END_ALLOW_THREADS;
5013 } if (_result) {
5014 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
5015 _resultobj = Py_BuildValue("s",_ptemp);
5016 } else {
5017 Py_INCREF(Py_None);
5018 _resultobj = Py_None;
5019 }
5020 return _resultobj;
5021 }
5022
5023 #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize())
5024 static PyObject *_wrap_wxPyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5025 PyObject * _resultobj;
5026 wxPyShape * _arg0;
5027 PyObject * _argo0 = 0;
5028 char *_kwnames[] = { "self", NULL };
5029
5030 self = self;
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_SetDefaultRegionSize",_kwnames,&_argo0))
5032 return NULL;
5033 if (_argo0) {
5034 if (_argo0 == Py_None) { _arg0 = NULL; }
5035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p.");
5037 return NULL;
5038 }
5039 }
5040 {
5041 wxPy_BEGIN_ALLOW_THREADS;
5042 wxPyShape_SetDefaultRegionSize(_arg0);
5043
5044 wxPy_END_ALLOW_THREADS;
5045 } Py_INCREF(Py_None);
5046 _resultobj = Py_None;
5047 return _resultobj;
5048 }
5049
5050 #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2))
5051 static PyObject *_wrap_wxPyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5052 PyObject * _resultobj;
5053 wxPyShape * _arg0;
5054 wxDC * _arg1;
5055 wxString * _arg2;
5056 int _arg3 = (int ) 0;
5057 PyObject * _argo0 = 0;
5058 PyObject * _argo1 = 0;
5059 PyObject * _obj2 = 0;
5060 char *_kwnames[] = { "self","dc","s","regionId", NULL };
5061
5062 self = self;
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyShape_FormatText",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3))
5064 return NULL;
5065 if (_argo0) {
5066 if (_argo0 == Py_None) { _arg0 = NULL; }
5067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p.");
5069 return NULL;
5070 }
5071 }
5072 if (_argo1) {
5073 if (_argo1 == Py_None) { _arg1 = NULL; }
5074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p.");
5076 return NULL;
5077 }
5078 }
5079 {
5080 if (!PyString_Check(_obj2)) {
5081 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5082 return NULL;
5083 }
5084 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5085 }
5086 {
5087 wxPy_BEGIN_ALLOW_THREADS;
5088 wxPyShape_FormatText(_arg0,*_arg1,*_arg2,_arg3);
5089
5090 wxPy_END_ALLOW_THREADS;
5091 } Py_INCREF(Py_None);
5092 _resultobj = Py_None;
5093 {
5094 if (_obj2)
5095 delete _arg2;
5096 }
5097 return _resultobj;
5098 }
5099
5100 #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1))
5101 static PyObject *_wrap_wxPyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject * _resultobj;
5103 wxPyShape * _arg0;
5104 int _arg1;
5105 int _arg2 = (int ) 0;
5106 PyObject * _argo0 = 0;
5107 char *_kwnames[] = { "self","mode","regionId", NULL };
5108
5109 self = self;
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetFormatMode",_kwnames,&_argo0,&_arg1,&_arg2))
5111 return NULL;
5112 if (_argo0) {
5113 if (_argo0 == Py_None) { _arg0 = NULL; }
5114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p.");
5116 return NULL;
5117 }
5118 }
5119 {
5120 wxPy_BEGIN_ALLOW_THREADS;
5121 wxPyShape_SetFormatMode(_arg0,_arg1,_arg2);
5122
5123 wxPy_END_ALLOW_THREADS;
5124 } Py_INCREF(Py_None);
5125 _resultobj = Py_None;
5126 return _resultobj;
5127 }
5128
5129 #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0))
5130 static PyObject *_wrap_wxPyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5131 PyObject * _resultobj;
5132 int _result;
5133 wxPyShape * _arg0;
5134 int _arg1 = (int ) 0;
5135 PyObject * _argo0 = 0;
5136 char *_kwnames[] = { "self","regionId", NULL };
5137
5138 self = self;
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFormatMode",_kwnames,&_argo0,&_arg1))
5140 return NULL;
5141 if (_argo0) {
5142 if (_argo0 == Py_None) { _arg0 = NULL; }
5143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p.");
5145 return NULL;
5146 }
5147 }
5148 {
5149 wxPy_BEGIN_ALLOW_THREADS;
5150 _result = (int )wxPyShape_GetFormatMode(_arg0,_arg1);
5151
5152 wxPy_END_ALLOW_THREADS;
5153 } _resultobj = Py_BuildValue("i",_result);
5154 return _resultobj;
5155 }
5156
5157 #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1))
5158 static PyObject *_wrap_wxPyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject * _resultobj;
5160 wxPyShape * _arg0;
5161 wxFont * _arg1;
5162 int _arg2 = (int ) 0;
5163 PyObject * _argo0 = 0;
5164 PyObject * _argo1 = 0;
5165 char *_kwnames[] = { "self","font","regionId", NULL };
5166
5167 self = self;
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetFont",_kwnames,&_argo0,&_argo1,&_arg2))
5169 return NULL;
5170 if (_argo0) {
5171 if (_argo0 == Py_None) { _arg0 = NULL; }
5172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p.");
5174 return NULL;
5175 }
5176 }
5177 if (_argo1) {
5178 if (_argo1 == Py_None) { _arg1 = NULL; }
5179 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5180 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p.");
5181 return NULL;
5182 }
5183 }
5184 {
5185 wxPy_BEGIN_ALLOW_THREADS;
5186 wxPyShape_SetFont(_arg0,_arg1,_arg2);
5187
5188 wxPy_END_ALLOW_THREADS;
5189 } Py_INCREF(Py_None);
5190 _resultobj = Py_None;
5191 return _resultobj;
5192 }
5193
5194 #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0))
5195 static PyObject *_wrap_wxPyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5196 PyObject * _resultobj;
5197 wxFont * _result;
5198 wxPyShape * _arg0;
5199 int _arg1 = (int ) 0;
5200 PyObject * _argo0 = 0;
5201 char *_kwnames[] = { "self","regionId", NULL };
5202 char _ptemp[128];
5203
5204 self = self;
5205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFont",_kwnames,&_argo0,&_arg1))
5206 return NULL;
5207 if (_argo0) {
5208 if (_argo0 == Py_None) { _arg0 = NULL; }
5209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p.");
5211 return NULL;
5212 }
5213 }
5214 {
5215 wxPy_BEGIN_ALLOW_THREADS;
5216 _result = (wxFont *)wxPyShape_GetFont(_arg0,_arg1);
5217
5218 wxPy_END_ALLOW_THREADS;
5219 } if (_result) {
5220 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
5221 _resultobj = Py_BuildValue("s",_ptemp);
5222 } else {
5223 Py_INCREF(Py_None);
5224 _resultobj = Py_None;
5225 }
5226 return _resultobj;
5227 }
5228
5229 #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1))
5230 static PyObject *_wrap_wxPyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject * _resultobj;
5232 wxPyShape * _arg0;
5233 wxString * _arg1;
5234 int _arg2 = (int ) 0;
5235 PyObject * _argo0 = 0;
5236 PyObject * _obj1 = 0;
5237 char *_kwnames[] = { "self","colour","regionId", NULL };
5238
5239 self = self;
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetTextColour",_kwnames,&_argo0,&_obj1,&_arg2))
5241 return NULL;
5242 if (_argo0) {
5243 if (_argo0 == Py_None) { _arg0 = NULL; }
5244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p.");
5246 return NULL;
5247 }
5248 }
5249 {
5250 if (!PyString_Check(_obj1)) {
5251 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5252 return NULL;
5253 }
5254 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5255 }
5256 {
5257 wxPy_BEGIN_ALLOW_THREADS;
5258 wxPyShape_SetTextColour(_arg0,*_arg1,_arg2);
5259
5260 wxPy_END_ALLOW_THREADS;
5261 } Py_INCREF(Py_None);
5262 _resultobj = Py_None;
5263 {
5264 if (_obj1)
5265 delete _arg1;
5266 }
5267 return _resultobj;
5268 }
5269
5270 #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0))
5271 static PyObject *_wrap_wxPyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5272 PyObject * _resultobj;
5273 wxString * _result;
5274 wxPyShape * _arg0;
5275 int _arg1 = (int ) 0;
5276 PyObject * _argo0 = 0;
5277 char *_kwnames[] = { "self","regionId", NULL };
5278
5279 self = self;
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetTextColour",_kwnames,&_argo0,&_arg1))
5281 return NULL;
5282 if (_argo0) {
5283 if (_argo0 == Py_None) { _arg0 = NULL; }
5284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p.");
5286 return NULL;
5287 }
5288 }
5289 {
5290 wxPy_BEGIN_ALLOW_THREADS;
5291 _result = new wxString (wxPyShape_GetTextColour(_arg0,_arg1));
5292
5293 wxPy_END_ALLOW_THREADS;
5294 }{
5295 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5296 }
5297 {
5298 delete _result;
5299 }
5300 return _resultobj;
5301 }
5302
5303 #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions())
5304 static PyObject *_wrap_wxPyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5305 PyObject * _resultobj;
5306 int _result;
5307 wxPyShape * _arg0;
5308 PyObject * _argo0 = 0;
5309 char *_kwnames[] = { "self", NULL };
5310
5311 self = self;
5312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfTextRegions",_kwnames,&_argo0))
5313 return NULL;
5314 if (_argo0) {
5315 if (_argo0 == Py_None) { _arg0 = NULL; }
5316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p.");
5318 return NULL;
5319 }
5320 }
5321 {
5322 wxPy_BEGIN_ALLOW_THREADS;
5323 _result = (int )wxPyShape_GetNumberOfTextRegions(_arg0);
5324
5325 wxPy_END_ALLOW_THREADS;
5326 } _resultobj = Py_BuildValue("i",_result);
5327 return _resultobj;
5328 }
5329
5330 #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1))
5331 static PyObject *_wrap_wxPyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5332 PyObject * _resultobj;
5333 wxPyShape * _arg0;
5334 wxString * _arg1;
5335 int _arg2 = (int ) 0;
5336 PyObject * _argo0 = 0;
5337 PyObject * _obj1 = 0;
5338 char *_kwnames[] = { "self","name","regionId", NULL };
5339
5340 self = self;
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetRegionName",_kwnames,&_argo0,&_obj1,&_arg2))
5342 return NULL;
5343 if (_argo0) {
5344 if (_argo0 == Py_None) { _arg0 = NULL; }
5345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p.");
5347 return NULL;
5348 }
5349 }
5350 {
5351 if (!PyString_Check(_obj1)) {
5352 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5353 return NULL;
5354 }
5355 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5356 }
5357 {
5358 wxPy_BEGIN_ALLOW_THREADS;
5359 wxPyShape_SetRegionName(_arg0,*_arg1,_arg2);
5360
5361 wxPy_END_ALLOW_THREADS;
5362 } Py_INCREF(Py_None);
5363 _resultobj = Py_None;
5364 {
5365 if (_obj1)
5366 delete _arg1;
5367 }
5368 return _resultobj;
5369 }
5370
5371 #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0))
5372 static PyObject *_wrap_wxPyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject * _resultobj;
5374 wxString * _result;
5375 wxPyShape * _arg0;
5376 int _arg1;
5377 PyObject * _argo0 = 0;
5378 char *_kwnames[] = { "self","regionId", NULL };
5379
5380 self = self;
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetRegionName",_kwnames,&_argo0,&_arg1))
5382 return NULL;
5383 if (_argo0) {
5384 if (_argo0 == Py_None) { _arg0 = NULL; }
5385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p.");
5387 return NULL;
5388 }
5389 }
5390 {
5391 wxPy_BEGIN_ALLOW_THREADS;
5392 _result = new wxString (wxPyShape_GetRegionName(_arg0,_arg1));
5393
5394 wxPy_END_ALLOW_THREADS;
5395 }{
5396 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5397 }
5398 {
5399 delete _result;
5400 }
5401 return _resultobj;
5402 }
5403
5404 #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0))
5405 static PyObject *_wrap_wxPyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject * _resultobj;
5407 int _result;
5408 wxPyShape * _arg0;
5409 wxString * _arg1;
5410 PyObject * _argo0 = 0;
5411 PyObject * _obj1 = 0;
5412 char *_kwnames[] = { "self","name", NULL };
5413
5414 self = self;
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetRegionId",_kwnames,&_argo0,&_obj1))
5416 return NULL;
5417 if (_argo0) {
5418 if (_argo0 == Py_None) { _arg0 = NULL; }
5419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p.");
5421 return NULL;
5422 }
5423 }
5424 {
5425 if (!PyString_Check(_obj1)) {
5426 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5427 return NULL;
5428 }
5429 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5430 }
5431 {
5432 wxPy_BEGIN_ALLOW_THREADS;
5433 _result = (int )wxPyShape_GetRegionId(_arg0,*_arg1);
5434
5435 wxPy_END_ALLOW_THREADS;
5436 } _resultobj = Py_BuildValue("i",_result);
5437 {
5438 if (_obj1)
5439 delete _arg1;
5440 }
5441 return _resultobj;
5442 }
5443
5444 #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0))
5445 static PyObject *_wrap_wxPyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject * _resultobj;
5447 wxPyShape * _arg0;
5448 wxString * _arg1 = (wxString *) &"";
5449 PyObject * _argo0 = 0;
5450 PyObject * _obj1 = 0;
5451 char *_kwnames[] = { "self","parentName", NULL };
5452
5453 self = self;
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_NameRegions",_kwnames,&_argo0,&_obj1))
5455 return NULL;
5456 if (_argo0) {
5457 if (_argo0 == Py_None) { _arg0 = NULL; }
5458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p.");
5460 return NULL;
5461 }
5462 }
5463 if (_obj1)
5464 {
5465 if (!PyString_Check(_obj1)) {
5466 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5467 return NULL;
5468 }
5469 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5470 }
5471 {
5472 wxPy_BEGIN_ALLOW_THREADS;
5473 wxPyShape_NameRegions(_arg0,*_arg1);
5474
5475 wxPy_END_ALLOW_THREADS;
5476 } Py_INCREF(Py_None);
5477 _resultobj = Py_None;
5478 {
5479 if (_obj1)
5480 delete _arg1;
5481 }
5482 return _resultobj;
5483 }
5484
5485 static PyObject * wxPyShape_GetRegions(wxPyShape *self) {
5486 wxList& list = self->GetRegions();
5487 return wxPy_ConvertList(&list, "wxShapeRegion");
5488 }
5489 static PyObject *_wrap_wxPyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5490 PyObject * _resultobj;
5491 PyObject * _result;
5492 wxPyShape * _arg0;
5493 PyObject * _argo0 = 0;
5494 char *_kwnames[] = { "self", NULL };
5495
5496 self = self;
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRegions",_kwnames,&_argo0))
5498 return NULL;
5499 if (_argo0) {
5500 if (_argo0 == Py_None) { _arg0 = NULL; }
5501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p.");
5503 return NULL;
5504 }
5505 }
5506 {
5507 wxPy_BEGIN_ALLOW_THREADS;
5508 _result = (PyObject *)wxPyShape_GetRegions(_arg0);
5509
5510 wxPy_END_ALLOW_THREADS;
5511 }{
5512 _resultobj = _result;
5513 }
5514 return _resultobj;
5515 }
5516
5517 #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0))
5518 static PyObject *_wrap_wxPyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject * _resultobj;
5520 wxPyShape * _arg0;
5521 wxShapeRegion * _arg1;
5522 PyObject * _argo0 = 0;
5523 PyObject * _argo1 = 0;
5524 char *_kwnames[] = { "self","region", NULL };
5525
5526 self = self;
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddRegion",_kwnames,&_argo0,&_argo1))
5528 return NULL;
5529 if (_argo0) {
5530 if (_argo0 == Py_None) { _arg0 = NULL; }
5531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p.");
5533 return NULL;
5534 }
5535 }
5536 if (_argo1) {
5537 if (_argo1 == Py_None) { _arg1 = NULL; }
5538 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxShapeRegion_p")) {
5539 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p.");
5540 return NULL;
5541 }
5542 }
5543 {
5544 wxPy_BEGIN_ALLOW_THREADS;
5545 wxPyShape_AddRegion(_arg0,_arg1);
5546
5547 wxPy_END_ALLOW_THREADS;
5548 } Py_INCREF(Py_None);
5549 _resultobj = Py_None;
5550 return _resultobj;
5551 }
5552
5553 #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions())
5554 static PyObject *_wrap_wxPyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject * _resultobj;
5556 wxPyShape * _arg0;
5557 PyObject * _argo0 = 0;
5558 char *_kwnames[] = { "self", NULL };
5559
5560 self = self;
5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearRegions",_kwnames,&_argo0))
5562 return NULL;
5563 if (_argo0) {
5564 if (_argo0 == Py_None) { _arg0 = NULL; }
5565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p.");
5567 return NULL;
5568 }
5569 }
5570 {
5571 wxPy_BEGIN_ALLOW_THREADS;
5572 wxPyShape_ClearRegions(_arg0);
5573
5574 wxPy_END_ALLOW_THREADS;
5575 } Py_INCREF(Py_None);
5576 _resultobj = Py_None;
5577 return _resultobj;
5578 }
5579
5580 #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds())
5581 static PyObject *_wrap_wxPyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject * _resultobj;
5583 wxPyShape * _arg0;
5584 PyObject * _argo0 = 0;
5585 char *_kwnames[] = { "self", NULL };
5586
5587 self = self;
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AssignNewIds",_kwnames,&_argo0))
5589 return NULL;
5590 if (_argo0) {
5591 if (_argo0 == Py_None) { _arg0 = NULL; }
5592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p.");
5594 return NULL;
5595 }
5596 }
5597 {
5598 wxPy_BEGIN_ALLOW_THREADS;
5599 wxPyShape_AssignNewIds(_arg0);
5600
5601 wxPy_END_ALLOW_THREADS;
5602 } Py_INCREF(Py_None);
5603 _resultobj = Py_None;
5604 return _resultobj;
5605 }
5606
5607 #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1))
5608 static PyObject *_wrap_wxPyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5609 PyObject * _resultobj;
5610 wxPyShape * _result;
5611 wxPyShape * _arg0;
5612 wxString * _arg1;
5613 int * _arg2;
5614 PyObject * _argo0 = 0;
5615 PyObject * _obj1 = 0;
5616 PyObject * _argo2 = 0;
5617 char *_kwnames[] = { "self","regionName","regionId", NULL };
5618 char _ptemp[128];
5619
5620 self = self;
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape_FindRegion",_kwnames,&_argo0,&_obj1,&_argo2))
5622 return NULL;
5623 if (_argo0) {
5624 if (_argo0 == Py_None) { _arg0 = NULL; }
5625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p.");
5627 return NULL;
5628 }
5629 }
5630 {
5631 if (!PyString_Check(_obj1)) {
5632 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5633 return NULL;
5634 }
5635 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5636 }
5637 if (_argo2) {
5638 if (_argo2 == Py_None) { _arg2 = NULL; }
5639 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
5640 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_FindRegion. Expected _int_p.");
5641 return NULL;
5642 }
5643 }
5644 {
5645 wxPy_BEGIN_ALLOW_THREADS;
5646 _result = (wxPyShape *)wxPyShape_FindRegion(_arg0,*_arg1,_arg2);
5647
5648 wxPy_END_ALLOW_THREADS;
5649 } if (_result) {
5650 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p");
5651 _resultobj = Py_BuildValue("s",_ptemp);
5652 } else {
5653 Py_INCREF(Py_None);
5654 _resultobj = Py_None;
5655 }
5656 {
5657 if (_obj1)
5658 delete _arg1;
5659 }
5660 return _resultobj;
5661 }
5662
5663 #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0))
5664 static PyObject *_wrap_wxPyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject * _resultobj;
5666 wxPyShape * _arg0;
5667 wxStringList * _arg1;
5668 PyObject * _argo0 = 0;
5669 PyObject * _argo1 = 0;
5670 char *_kwnames[] = { "self","list", NULL };
5671
5672 self = self;
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegionNames",_kwnames,&_argo0,&_argo1))
5674 return NULL;
5675 if (_argo0) {
5676 if (_argo0 == Py_None) { _arg0 = NULL; }
5677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p.");
5679 return NULL;
5680 }
5681 }
5682 if (_argo1) {
5683 if (_argo1 == Py_None) { _arg1 = NULL; }
5684 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStringList_p")) {
5685 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p.");
5686 return NULL;
5687 }
5688 }
5689 {
5690 wxPy_BEGIN_ALLOW_THREADS;
5691 wxPyShape_FindRegionNames(_arg0,*_arg1);
5692
5693 wxPy_END_ALLOW_THREADS;
5694 } Py_INCREF(Py_None);
5695 _resultobj = Py_None;
5696 return _resultobj;
5697 }
5698
5699 #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0))
5700 static PyObject *_wrap_wxPyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
5701 PyObject * _resultobj;
5702 wxPyShape * _arg0;
5703 int _arg1 = (int ) 0;
5704 PyObject * _argo0 = 0;
5705 char *_kwnames[] = { "self","regionId", NULL };
5706
5707 self = self;
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_ClearText",_kwnames,&_argo0,&_arg1))
5709 return NULL;
5710 if (_argo0) {
5711 if (_argo0 == Py_None) { _arg0 = NULL; }
5712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p.");
5714 return NULL;
5715 }
5716 }
5717 {
5718 wxPy_BEGIN_ALLOW_THREADS;
5719 wxPyShape_ClearText(_arg0,_arg1);
5720
5721 wxPy_END_ALLOW_THREADS;
5722 } Py_INCREF(Py_None);
5723 _resultobj = Py_None;
5724 return _resultobj;
5725 }
5726
5727 #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0))
5728 static PyObject *_wrap_wxPyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5729 PyObject * _resultobj;
5730 wxPyShape * _arg0;
5731 wxPyLineShape * _arg1;
5732 PyObject * _argo0 = 0;
5733 PyObject * _argo1 = 0;
5734 char *_kwnames[] = { "self","line", NULL };
5735
5736 self = self;
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveLine",_kwnames,&_argo0,&_argo1))
5738 return NULL;
5739 if (_argo0) {
5740 if (_argo0 == Py_None) { _arg0 = NULL; }
5741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p.");
5743 return NULL;
5744 }
5745 }
5746 if (_argo1) {
5747 if (_argo1 == Py_None) { _arg1 = NULL; }
5748 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) {
5749 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p.");
5750 return NULL;
5751 }
5752 }
5753 {
5754 wxPy_BEGIN_ALLOW_THREADS;
5755 wxPyShape_RemoveLine(_arg0,_arg1);
5756
5757 wxPy_END_ALLOW_THREADS;
5758 } Py_INCREF(Py_None);
5759 _resultobj = Py_None;
5760 return _resultobj;
5761 }
5762
5763 #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5764 static PyObject *_wrap_wxPyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5765 PyObject * _resultobj;
5766 bool _result;
5767 wxPyShape * _arg0;
5768 int _arg1;
5769 double * _arg2;
5770 double temp;
5771 double * _arg3;
5772 double temp0;
5773 int _arg4 = (int ) 0;
5774 int _arg5 = (int ) 1;
5775 wxPyLineShape * _arg6 = (wxPyLineShape *) NULL;
5776 PyObject * _argo0 = 0;
5777 PyObject * _argo6 = 0;
5778 char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL };
5779
5780 self = self;
5781 {
5782 _arg2 = &temp;
5783 }
5784 {
5785 _arg3 = &temp0;
5786 }
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6))
5788 return NULL;
5789 if (_argo0) {
5790 if (_argo0 == Py_None) { _arg0 = NULL; }
5791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p.");
5793 return NULL;
5794 }
5795 }
5796 if (_argo6) {
5797 if (_argo6 == Py_None) { _arg6 = NULL; }
5798 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) {
5799 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p.");
5800 return NULL;
5801 }
5802 }
5803 {
5804 wxPy_BEGIN_ALLOW_THREADS;
5805 _result = (bool )wxPyShape_GetAttachmentPosition(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5806
5807 wxPy_END_ALLOW_THREADS;
5808 } _resultobj = Py_BuildValue("i",_result);
5809 {
5810 PyObject *o;
5811 o = PyFloat_FromDouble((double) (*_arg2));
5812 _resultobj = t_output_helper(_resultobj, o);
5813 }
5814 {
5815 PyObject *o;
5816 o = PyFloat_FromDouble((double) (*_arg3));
5817 _resultobj = t_output_helper(_resultobj, o);
5818 }
5819 return _resultobj;
5820 }
5821
5822 #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments())
5823 static PyObject *_wrap_wxPyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
5824 PyObject * _resultobj;
5825 int _result;
5826 wxPyShape * _arg0;
5827 PyObject * _argo0 = 0;
5828 char *_kwnames[] = { "self", NULL };
5829
5830 self = self;
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfAttachments",_kwnames,&_argo0))
5832 return NULL;
5833 if (_argo0) {
5834 if (_argo0 == Py_None) { _arg0 = NULL; }
5835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p.");
5837 return NULL;
5838 }
5839 }
5840 {
5841 wxPy_BEGIN_ALLOW_THREADS;
5842 _result = (int )wxPyShape_GetNumberOfAttachments(_arg0);
5843
5844 wxPy_END_ALLOW_THREADS;
5845 } _resultobj = Py_BuildValue("i",_result);
5846 return _resultobj;
5847 }
5848
5849 #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0))
5850 static PyObject *_wrap_wxPyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
5851 PyObject * _resultobj;
5852 bool _result;
5853 wxPyShape * _arg0;
5854 int _arg1;
5855 PyObject * _argo0 = 0;
5856 char *_kwnames[] = { "self","attachment", NULL };
5857
5858 self = self;
5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_AttachmentIsValid",_kwnames,&_argo0,&_arg1))
5860 return NULL;
5861 if (_argo0) {
5862 if (_argo0 == Py_None) { _arg0 = NULL; }
5863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p.");
5865 return NULL;
5866 }
5867 }
5868 {
5869 wxPy_BEGIN_ALLOW_THREADS;
5870 _result = (bool )wxPyShape_AttachmentIsValid(_arg0,_arg1);
5871
5872 wxPy_END_ALLOW_THREADS;
5873 } _resultobj = Py_BuildValue("i",_result);
5874 return _resultobj;
5875 }
5876
5877 #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5878 static PyObject *_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject * _resultobj;
5880 bool _result;
5881 wxPyShape * _arg0;
5882 int _arg1;
5883 double * _arg2;
5884 double temp;
5885 double * _arg3;
5886 double temp0;
5887 int _arg4 = (int ) 0;
5888 int _arg5 = (int ) 1;
5889 wxPyLineShape * _arg6 = (wxPyLineShape *) NULL;
5890 PyObject * _argo0 = 0;
5891 PyObject * _argo6 = 0;
5892 char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL };
5893
5894 self = self;
5895 {
5896 _arg2 = &temp;
5897 }
5898 {
5899 _arg3 = &temp0;
5900 }
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6))
5902 return NULL;
5903 if (_argo0) {
5904 if (_argo0 == Py_None) { _arg0 = NULL; }
5905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p.");
5907 return NULL;
5908 }
5909 }
5910 if (_argo6) {
5911 if (_argo6 == Py_None) { _arg6 = NULL; }
5912 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) {
5913 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p.");
5914 return NULL;
5915 }
5916 }
5917 {
5918 wxPy_BEGIN_ALLOW_THREADS;
5919 _result = (bool )wxPyShape_GetAttachmentPositionEdge(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5920
5921 wxPy_END_ALLOW_THREADS;
5922 } _resultobj = Py_BuildValue("i",_result);
5923 {
5924 PyObject *o;
5925 o = PyFloat_FromDouble((double) (*_arg2));
5926 _resultobj = t_output_helper(_resultobj, o);
5927 }
5928 {
5929 PyObject *o;
5930 o = PyFloat_FromDouble((double) (*_arg3));
5931 _resultobj = t_output_helper(_resultobj, o);
5932 }
5933 return _resultobj;
5934 }
5935
5936 #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5937 static PyObject *_wrap_wxPyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject * _resultobj;
5939 wxRealPoint * _result;
5940 wxPyShape * _arg0;
5941 wxRealPoint * _arg1;
5942 wxRealPoint * _arg2;
5943 int _arg3;
5944 int _arg4;
5945 wxPyLineShape * _arg5;
5946 PyObject * _argo0 = 0;
5947 wxRealPoint temp;
5948 PyObject * _obj1 = 0;
5949 wxRealPoint temp0;
5950 PyObject * _obj2 = 0;
5951 PyObject * _argo5 = 0;
5952 char *_kwnames[] = { "self","pt1","pt2","nth","noArcs","line", NULL };
5953 char _ptemp[128];
5954
5955 self = self;
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3,&_arg4,&_argo5))
5957 return NULL;
5958 if (_argo0) {
5959 if (_argo0 == Py_None) { _arg0 = NULL; }
5960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
5961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p.");
5962 return NULL;
5963 }
5964 }
5965 {
5966 _arg1 = &temp;
5967 if (! wxRealPoint_helper(_obj1, &_arg1))
5968 return NULL;
5969 }
5970 {
5971 _arg2 = &temp0;
5972 if (! wxRealPoint_helper(_obj2, &_arg2))
5973 return NULL;
5974 }
5975 if (_argo5) {
5976 if (_argo5 == Py_None) { _arg5 = NULL; }
5977 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyLineShape_p")) {
5978 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p.");
5979 return NULL;
5980 }
5981 }
5982 {
5983 wxPy_BEGIN_ALLOW_THREADS;
5984 _result = new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
5985
5986 wxPy_END_ALLOW_THREADS;
5987 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
5988 _resultobj = Py_BuildValue("s",_ptemp);
5989 return _resultobj;
5990 }
5991
5992 #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2))
5993 static PyObject *_wrap_wxPyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject * _resultobj;
5995 bool _result;
5996 wxPyShape * _arg0;
5997 int _arg1;
5998 wxRealPoint * _arg2;
5999 wxRealPoint * _arg3;
6000 PyObject * _argo0 = 0;
6001 wxRealPoint temp;
6002 PyObject * _obj2 = 0;
6003 wxRealPoint temp0;
6004 PyObject * _obj3 = 0;
6005 char *_kwnames[] = { "self","attachmentPoint","pt1","pt2", NULL };
6006
6007 self = self;
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyShape_AttachmentSortTest",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3))
6009 return NULL;
6010 if (_argo0) {
6011 if (_argo0 == Py_None) { _arg0 = NULL; }
6012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p.");
6014 return NULL;
6015 }
6016 }
6017 {
6018 _arg2 = &temp;
6019 if (! wxRealPoint_helper(_obj2, &_arg2))
6020 return NULL;
6021 }
6022 {
6023 _arg3 = &temp0;
6024 if (! wxRealPoint_helper(_obj3, &_arg3))
6025 return NULL;
6026 }
6027 {
6028 wxPy_BEGIN_ALLOW_THREADS;
6029 _result = (bool )wxPyShape_AttachmentSortTest(_arg0,_arg1,*_arg2,*_arg3);
6030
6031 wxPy_END_ALLOW_THREADS;
6032 } _resultobj = Py_BuildValue("i",_result);
6033 return _resultobj;
6034 }
6035
6036 #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2))
6037 static PyObject *_wrap_wxPyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject * _resultobj;
6039 wxPyShape * _arg0;
6040 wxDC * _arg1;
6041 int _arg2 = (int ) -1;
6042 bool _arg3 = (bool ) FALSE;
6043 PyObject * _argo0 = 0;
6044 PyObject * _argo1 = 0;
6045 int tempbool3 = (int) FALSE;
6046 char *_kwnames[] = { "self","dc","attachment","recurse", NULL };
6047
6048 self = self;
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_EraseLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3))
6050 return NULL;
6051 if (_argo0) {
6052 if (_argo0 == Py_None) { _arg0 = NULL; }
6053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p.");
6055 return NULL;
6056 }
6057 }
6058 if (_argo1) {
6059 if (_argo1 == Py_None) { _arg1 = NULL; }
6060 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6061 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p.");
6062 return NULL;
6063 }
6064 }
6065 _arg3 = (bool ) tempbool3;
6066 {
6067 wxPy_BEGIN_ALLOW_THREADS;
6068 wxPyShape_EraseLinks(_arg0,*_arg1,_arg2,_arg3);
6069
6070 wxPy_END_ALLOW_THREADS;
6071 } Py_INCREF(Py_None);
6072 _resultobj = Py_None;
6073 return _resultobj;
6074 }
6075
6076 #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2))
6077 static PyObject *_wrap_wxPyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6078 PyObject * _resultobj;
6079 wxPyShape * _arg0;
6080 wxDC * _arg1;
6081 int _arg2 = (int ) -1;
6082 bool _arg3 = (bool ) FALSE;
6083 PyObject * _argo0 = 0;
6084 PyObject * _argo1 = 0;
6085 int tempbool3 = (int) FALSE;
6086 char *_kwnames[] = { "self","dc","attachment","recurse", NULL };
6087
6088 self = self;
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_DrawLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3))
6090 return NULL;
6091 if (_argo0) {
6092 if (_argo0 == Py_None) { _arg0 = NULL; }
6093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p.");
6095 return NULL;
6096 }
6097 }
6098 if (_argo1) {
6099 if (_argo1 == Py_None) { _arg1 = NULL; }
6100 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6101 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p.");
6102 return NULL;
6103 }
6104 }
6105 _arg3 = (bool ) tempbool3;
6106 {
6107 wxPy_BEGIN_ALLOW_THREADS;
6108 wxPyShape_DrawLinks(_arg0,*_arg1,_arg2,_arg3);
6109
6110 wxPy_END_ALLOW_THREADS;
6111 } Py_INCREF(Py_None);
6112 _resultobj = Py_None;
6113 return _resultobj;
6114 }
6115
6116 #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6117 static PyObject *_wrap_wxPyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject * _resultobj;
6119 bool _result;
6120 wxPyShape * _arg0;
6121 wxDC * _arg1;
6122 wxPyLineShape * _arg2;
6123 double _arg3;
6124 double _arg4;
6125 PyObject * _argo0 = 0;
6126 PyObject * _argo1 = 0;
6127 PyObject * _argo2 = 0;
6128 char *_kwnames[] = { "self","dc","to_move","x","y", NULL };
6129
6130 self = self;
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4))
6132 return NULL;
6133 if (_argo0) {
6134 if (_argo0 == Py_None) { _arg0 = NULL; }
6135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p.");
6137 return NULL;
6138 }
6139 }
6140 if (_argo1) {
6141 if (_argo1 == Py_None) { _arg1 = NULL; }
6142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p.");
6144 return NULL;
6145 }
6146 }
6147 if (_argo2) {
6148 if (_argo2 == Py_None) { _arg2 = NULL; }
6149 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyLineShape_p")) {
6150 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p.");
6151 return NULL;
6152 }
6153 }
6154 {
6155 wxPy_BEGIN_ALLOW_THREADS;
6156 _result = (bool )wxPyShape_MoveLineToNewAttachment(_arg0,*_arg1,_arg2,_arg3,_arg4);
6157
6158 wxPy_END_ALLOW_THREADS;
6159 } _resultobj = Py_BuildValue("i",_result);
6160 return _resultobj;
6161 }
6162
6163 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject * linesToSort) {
6164 wxList* list = wxPy_wxListHelper(linesToSort, "_wxPyLineShape_p");
6165 self->ApplyAttachmentOrdering(*list);
6166 delete list;
6167 }
6168 static PyObject *_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
6169 PyObject * _resultobj;
6170 wxPyShape * _arg0;
6171 PyObject * _arg1;
6172 PyObject * _argo0 = 0;
6173 PyObject * _obj1 = 0;
6174 char *_kwnames[] = { "self","linesToSort", NULL };
6175
6176 self = self;
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames,&_argo0,&_obj1))
6178 return NULL;
6179 if (_argo0) {
6180 if (_argo0 == Py_None) { _arg0 = NULL; }
6181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p.");
6183 return NULL;
6184 }
6185 }
6186 {
6187 _arg1 = _obj1;
6188 }
6189 {
6190 wxPy_BEGIN_ALLOW_THREADS;
6191 wxPyShape_ApplyAttachmentOrdering(_arg0,_arg1);
6192
6193 wxPy_END_ALLOW_THREADS;
6194 } Py_INCREF(Py_None);
6195 _resultobj = Py_None;
6196 return _resultobj;
6197 }
6198
6199 #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0))
6200 static PyObject *_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
6201 PyObject * _resultobj;
6202 wxRealPoint * _result;
6203 wxPyShape * _arg0;
6204 int _arg1;
6205 PyObject * _argo0 = 0;
6206 char *_kwnames[] = { "self","attachment", NULL };
6207 char _ptemp[128];
6208
6209 self = self;
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames,&_argo0,&_arg1))
6211 return NULL;
6212 if (_argo0) {
6213 if (_argo0 == Py_None) { _arg0 = NULL; }
6214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p.");
6216 return NULL;
6217 }
6218 }
6219 {
6220 wxPy_BEGIN_ALLOW_THREADS;
6221 _result = new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0,_arg1));
6222
6223 wxPy_END_ALLOW_THREADS;
6224 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
6225 _resultobj = Py_BuildValue("s",_ptemp);
6226 return _resultobj;
6227 }
6228
6229 #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6230 static PyObject *_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6231 PyObject * _resultobj;
6232 bool _result;
6233 wxPyShape * _arg0;
6234 int _arg1;
6235 wxRealPoint * _arg2;
6236 wxRealPoint * _arg3;
6237 wxRealPoint * _arg4;
6238 wxRealPoint * _arg5;
6239 PyObject * _argo0 = 0;
6240 wxRealPoint temp;
6241 PyObject * _obj2 = 0;
6242 wxRealPoint temp0;
6243 PyObject * _obj3 = 0;
6244 wxRealPoint temp1;
6245 PyObject * _obj4 = 0;
6246 wxRealPoint temp2;
6247 PyObject * _obj5 = 0;
6248 char *_kwnames[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL };
6249
6250 self = self;
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj5))
6252 return NULL;
6253 if (_argo0) {
6254 if (_argo0 == Py_None) { _arg0 = NULL; }
6255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p.");
6257 return NULL;
6258 }
6259 }
6260 {
6261 _arg2 = &temp;
6262 if (! wxRealPoint_helper(_obj2, &_arg2))
6263 return NULL;
6264 }
6265 {
6266 _arg3 = &temp0;
6267 if (! wxRealPoint_helper(_obj3, &_arg3))
6268 return NULL;
6269 }
6270 {
6271 _arg4 = &temp1;
6272 if (! wxRealPoint_helper(_obj4, &_arg4))
6273 return NULL;
6274 }
6275 {
6276 _arg5 = &temp2;
6277 if (! wxRealPoint_helper(_obj5, &_arg5))
6278 return NULL;
6279 }
6280 {
6281 wxPy_BEGIN_ALLOW_THREADS;
6282 _result = (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0,_arg1,*_arg2,*_arg3,*_arg4,*_arg5);
6283
6284 wxPy_END_ALLOW_THREADS;
6285 } _resultobj = Py_BuildValue("i",_result);
6286 return _resultobj;
6287 }
6288
6289 #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6290 static PyObject *_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
6291 PyObject * _resultobj;
6292 bool _result;
6293 wxPyShape * _arg0;
6294 int _arg1;
6295 int _arg2;
6296 wxRealPoint * _arg3;
6297 wxRealPoint * _arg4;
6298 PyObject * _argo0 = 0;
6299 wxRealPoint temp;
6300 PyObject * _obj3 = 0;
6301 wxRealPoint temp0;
6302 PyObject * _obj4 = 0;
6303 char *_kwnames[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL };
6304
6305 self = self;
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
6307 return NULL;
6308 if (_argo0) {
6309 if (_argo0 == Py_None) { _arg0 = NULL; }
6310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p.");
6312 return NULL;
6313 }
6314 }
6315 {
6316 _arg3 = &temp;
6317 if (! wxRealPoint_helper(_obj3, &_arg3))
6318 return NULL;
6319 }
6320 {
6321 _arg4 = &temp0;
6322 if (! wxRealPoint_helper(_obj4, &_arg4))
6323 return NULL;
6324 }
6325 {
6326 wxPy_BEGIN_ALLOW_THREADS;
6327 _result = (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0,_arg1,_arg2,*_arg3,*_arg4);
6328
6329 wxPy_END_ALLOW_THREADS;
6330 } _resultobj = Py_BuildValue("i",_result);
6331 return _resultobj;
6332 }
6333
6334 #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0))
6335 static PyObject *_wrap_wxPyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6336 PyObject * _resultobj;
6337 int _result;
6338 wxPyShape * _arg0;
6339 int _arg1;
6340 PyObject * _argo0 = 0;
6341 char *_kwnames[] = { "self","attachment", NULL };
6342
6343 self = self;
6344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames,&_argo0,&_arg1))
6345 return NULL;
6346 if (_argo0) {
6347 if (_argo0 == Py_None) { _arg0 = NULL; }
6348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p.");
6350 return NULL;
6351 }
6352 }
6353 {
6354 wxPy_BEGIN_ALLOW_THREADS;
6355 _result = (int )wxPyShape_GetAttachmentLineCount(_arg0,_arg1);
6356
6357 wxPy_END_ALLOW_THREADS;
6358 } _resultobj = Py_BuildValue("i",_result);
6359 return _resultobj;
6360 }
6361
6362 #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0))
6363 static PyObject *_wrap_wxPyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject * _resultobj;
6365 wxPyShape * _arg0;
6366 int _arg1;
6367 PyObject * _argo0 = 0;
6368 char *_kwnames[] = { "self","len", NULL };
6369
6370 self = self;
6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchNeckLength",_kwnames,&_argo0,&_arg1))
6372 return NULL;
6373 if (_argo0) {
6374 if (_argo0 == Py_None) { _arg0 = NULL; }
6375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p.");
6377 return NULL;
6378 }
6379 }
6380 {
6381 wxPy_BEGIN_ALLOW_THREADS;
6382 wxPyShape_SetBranchNeckLength(_arg0,_arg1);
6383
6384 wxPy_END_ALLOW_THREADS;
6385 } Py_INCREF(Py_None);
6386 _resultobj = Py_None;
6387 return _resultobj;
6388 }
6389
6390 #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength())
6391 static PyObject *_wrap_wxPyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject * _resultobj;
6393 int _result;
6394 wxPyShape * _arg0;
6395 PyObject * _argo0 = 0;
6396 char *_kwnames[] = { "self", NULL };
6397
6398 self = self;
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchNeckLength",_kwnames,&_argo0))
6400 return NULL;
6401 if (_argo0) {
6402 if (_argo0 == Py_None) { _arg0 = NULL; }
6403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p.");
6405 return NULL;
6406 }
6407 }
6408 {
6409 wxPy_BEGIN_ALLOW_THREADS;
6410 _result = (int )wxPyShape_GetBranchNeckLength(_arg0);
6411
6412 wxPy_END_ALLOW_THREADS;
6413 } _resultobj = Py_BuildValue("i",_result);
6414 return _resultobj;
6415 }
6416
6417 #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0))
6418 static PyObject *_wrap_wxPyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6419 PyObject * _resultobj;
6420 wxPyShape * _arg0;
6421 int _arg1;
6422 PyObject * _argo0 = 0;
6423 char *_kwnames[] = { "self","len", NULL };
6424
6425 self = self;
6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchStemLength",_kwnames,&_argo0,&_arg1))
6427 return NULL;
6428 if (_argo0) {
6429 if (_argo0 == Py_None) { _arg0 = NULL; }
6430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p.");
6432 return NULL;
6433 }
6434 }
6435 {
6436 wxPy_BEGIN_ALLOW_THREADS;
6437 wxPyShape_SetBranchStemLength(_arg0,_arg1);
6438
6439 wxPy_END_ALLOW_THREADS;
6440 } Py_INCREF(Py_None);
6441 _resultobj = Py_None;
6442 return _resultobj;
6443 }
6444
6445 #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength())
6446 static PyObject *_wrap_wxPyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6447 PyObject * _resultobj;
6448 int _result;
6449 wxPyShape * _arg0;
6450 PyObject * _argo0 = 0;
6451 char *_kwnames[] = { "self", NULL };
6452
6453 self = self;
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStemLength",_kwnames,&_argo0))
6455 return NULL;
6456 if (_argo0) {
6457 if (_argo0 == Py_None) { _arg0 = NULL; }
6458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p.");
6460 return NULL;
6461 }
6462 }
6463 {
6464 wxPy_BEGIN_ALLOW_THREADS;
6465 _result = (int )wxPyShape_GetBranchStemLength(_arg0);
6466
6467 wxPy_END_ALLOW_THREADS;
6468 } _resultobj = Py_BuildValue("i",_result);
6469 return _resultobj;
6470 }
6471
6472 #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0))
6473 static PyObject *_wrap_wxPyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject * _resultobj;
6475 wxPyShape * _arg0;
6476 int _arg1;
6477 PyObject * _argo0 = 0;
6478 char *_kwnames[] = { "self","len", NULL };
6479
6480 self = self;
6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchSpacing",_kwnames,&_argo0,&_arg1))
6482 return NULL;
6483 if (_argo0) {
6484 if (_argo0 == Py_None) { _arg0 = NULL; }
6485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p.");
6487 return NULL;
6488 }
6489 }
6490 {
6491 wxPy_BEGIN_ALLOW_THREADS;
6492 wxPyShape_SetBranchSpacing(_arg0,_arg1);
6493
6494 wxPy_END_ALLOW_THREADS;
6495 } Py_INCREF(Py_None);
6496 _resultobj = Py_None;
6497 return _resultobj;
6498 }
6499
6500 #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing())
6501 static PyObject *_wrap_wxPyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject * _resultobj;
6503 int _result;
6504 wxPyShape * _arg0;
6505 PyObject * _argo0 = 0;
6506 char *_kwnames[] = { "self", NULL };
6507
6508 self = self;
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchSpacing",_kwnames,&_argo0))
6510 return NULL;
6511 if (_argo0) {
6512 if (_argo0 == Py_None) { _arg0 = NULL; }
6513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p.");
6515 return NULL;
6516 }
6517 }
6518 {
6519 wxPy_BEGIN_ALLOW_THREADS;
6520 _result = (int )wxPyShape_GetBranchSpacing(_arg0);
6521
6522 wxPy_END_ALLOW_THREADS;
6523 } _resultobj = Py_BuildValue("i",_result);
6524 return _resultobj;
6525 }
6526
6527 #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0))
6528 static PyObject *_wrap_wxPyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6529 PyObject * _resultobj;
6530 wxPyShape * _arg0;
6531 long _arg1;
6532 PyObject * _argo0 = 0;
6533 char *_kwnames[] = { "self","style", NULL };
6534
6535 self = self;
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetBranchStyle",_kwnames,&_argo0,&_arg1))
6537 return NULL;
6538 if (_argo0) {
6539 if (_argo0 == Py_None) { _arg0 = NULL; }
6540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p.");
6542 return NULL;
6543 }
6544 }
6545 {
6546 wxPy_BEGIN_ALLOW_THREADS;
6547 wxPyShape_SetBranchStyle(_arg0,_arg1);
6548
6549 wxPy_END_ALLOW_THREADS;
6550 } Py_INCREF(Py_None);
6551 _resultobj = Py_None;
6552 return _resultobj;
6553 }
6554
6555 #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle())
6556 static PyObject *_wrap_wxPyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6557 PyObject * _resultobj;
6558 long _result;
6559 wxPyShape * _arg0;
6560 PyObject * _argo0 = 0;
6561 char *_kwnames[] = { "self", NULL };
6562
6563 self = self;
6564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStyle",_kwnames,&_argo0))
6565 return NULL;
6566 if (_argo0) {
6567 if (_argo0 == Py_None) { _arg0 = NULL; }
6568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p.");
6570 return NULL;
6571 }
6572 }
6573 {
6574 wxPy_BEGIN_ALLOW_THREADS;
6575 _result = (long )wxPyShape_GetBranchStyle(_arg0);
6576
6577 wxPy_END_ALLOW_THREADS;
6578 } _resultobj = Py_BuildValue("l",_result);
6579 return _resultobj;
6580 }
6581
6582 #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0))
6583 static PyObject *_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6584 PyObject * _resultobj;
6585 int _result;
6586 wxPyShape * _arg0;
6587 int _arg1;
6588 PyObject * _argo0 = 0;
6589 char *_kwnames[] = { "self","physicalAttachment", NULL };
6590
6591 self = self;
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames,&_argo0,&_arg1))
6593 return NULL;
6594 if (_argo0) {
6595 if (_argo0 == Py_None) { _arg0 = NULL; }
6596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p.");
6598 return NULL;
6599 }
6600 }
6601 {
6602 wxPy_BEGIN_ALLOW_THREADS;
6603 _result = (int )wxPyShape_PhysicalToLogicalAttachment(_arg0,_arg1);
6604
6605 wxPy_END_ALLOW_THREADS;
6606 } _resultobj = Py_BuildValue("i",_result);
6607 return _resultobj;
6608 }
6609
6610 #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0))
6611 static PyObject *_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6612 PyObject * _resultobj;
6613 int _result;
6614 wxPyShape * _arg0;
6615 int _arg1;
6616 PyObject * _argo0 = 0;
6617 char *_kwnames[] = { "self","logicalAttachment", NULL };
6618
6619 self = self;
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames,&_argo0,&_arg1))
6621 return NULL;
6622 if (_argo0) {
6623 if (_argo0 == Py_None) { _arg0 = NULL; }
6624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p.");
6626 return NULL;
6627 }
6628 }
6629 {
6630 wxPy_BEGIN_ALLOW_THREADS;
6631 _result = (int )wxPyShape_LogicalToPhysicalAttachment(_arg0,_arg1);
6632
6633 wxPy_END_ALLOW_THREADS;
6634 } _resultobj = Py_BuildValue("i",_result);
6635 return _resultobj;
6636 }
6637
6638 #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable())
6639 static PyObject *_wrap_wxPyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject * _resultobj;
6641 bool _result;
6642 wxPyShape * _arg0;
6643 PyObject * _argo0 = 0;
6644 char *_kwnames[] = { "self", NULL };
6645
6646 self = self;
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Draggable",_kwnames,&_argo0))
6648 return NULL;
6649 if (_argo0) {
6650 if (_argo0 == Py_None) { _arg0 = NULL; }
6651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p.");
6653 return NULL;
6654 }
6655 }
6656 {
6657 wxPy_BEGIN_ALLOW_THREADS;
6658 _result = (bool )wxPyShape_Draggable(_arg0);
6659
6660 wxPy_END_ALLOW_THREADS;
6661 } _resultobj = Py_BuildValue("i",_result);
6662 return _resultobj;
6663 }
6664
6665 #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0))
6666 static PyObject *_wrap_wxPyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
6667 PyObject * _resultobj;
6668 bool _result;
6669 wxPyShape * _arg0;
6670 wxPyShape * _arg1;
6671 PyObject * _argo0 = 0;
6672 PyObject * _argo1 = 0;
6673 char *_kwnames[] = { "self","image", NULL };
6674
6675 self = self;
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_HasDescendant",_kwnames,&_argo0,&_argo1))
6677 return NULL;
6678 if (_argo0) {
6679 if (_argo0 == Py_None) { _arg0 = NULL; }
6680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6682 return NULL;
6683 }
6684 }
6685 if (_argo1) {
6686 if (_argo1 == Py_None) { _arg1 = NULL; }
6687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p.");
6689 return NULL;
6690 }
6691 }
6692 {
6693 wxPy_BEGIN_ALLOW_THREADS;
6694 _result = (bool )wxPyShape_HasDescendant(_arg0,_arg1);
6695
6696 wxPy_END_ALLOW_THREADS;
6697 } _resultobj = Py_BuildValue("i",_result);
6698 return _resultobj;
6699 }
6700
6701 #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1))
6702 static PyObject *_wrap_wxPyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject * _resultobj;
6704 wxPyShape * _result;
6705 wxPyShape * _arg0;
6706 bool _arg1 = (bool ) TRUE;
6707 bool _arg2 = (bool ) TRUE;
6708 PyObject * _argo0 = 0;
6709 int tempbool1 = (int) TRUE;
6710 int tempbool2 = (int) TRUE;
6711 char *_kwnames[] = { "self","resetMapping","recompute", NULL };
6712 char _ptemp[128];
6713
6714 self = self;
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_CreateNewCopy",_kwnames,&_argo0,&tempbool1,&tempbool2))
6716 return NULL;
6717 if (_argo0) {
6718 if (_argo0 == Py_None) { _arg0 = NULL; }
6719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p.");
6721 return NULL;
6722 }
6723 }
6724 _arg1 = (bool ) tempbool1;
6725 _arg2 = (bool ) tempbool2;
6726 {
6727 wxPy_BEGIN_ALLOW_THREADS;
6728 _result = (wxPyShape *)wxPyShape_CreateNewCopy(_arg0,_arg1,_arg2);
6729
6730 wxPy_END_ALLOW_THREADS;
6731 } if (_result) {
6732 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p");
6733 _resultobj = Py_BuildValue("s",_ptemp);
6734 } else {
6735 Py_INCREF(Py_None);
6736 _resultobj = Py_None;
6737 }
6738 return _resultobj;
6739 }
6740
6741 #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
6742 static PyObject *_wrap_wxPyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject * _resultobj;
6744 wxPyShape * _arg0;
6745 wxPyShape * _arg1;
6746 PyObject * _argo0 = 0;
6747 PyObject * _argo1 = 0;
6748 char *_kwnames[] = { "self","copy", NULL };
6749
6750 self = self;
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Copy",_kwnames,&_argo0,&_argo1))
6752 return NULL;
6753 if (_argo0) {
6754 if (_argo0 == Py_None) { _arg0 = NULL; }
6755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p.");
6757 return NULL;
6758 }
6759 }
6760 if (_argo1) {
6761 if (_argo1 == Py_None) { _arg1 = NULL; }
6762 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6763 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p.");
6764 return NULL;
6765 }
6766 }
6767 {
6768 wxPy_BEGIN_ALLOW_THREADS;
6769 wxPyShape_Copy(_arg0,*_arg1);
6770
6771 wxPy_END_ALLOW_THREADS;
6772 } Py_INCREF(Py_None);
6773 _resultobj = Py_None;
6774 return _resultobj;
6775 }
6776
6777 #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0))
6778 static PyObject *_wrap_wxPyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6779 PyObject * _resultobj;
6780 wxPyShape * _arg0;
6781 wxPyShape * _arg1;
6782 PyObject * _argo0 = 0;
6783 PyObject * _argo1 = 0;
6784 char *_kwnames[] = { "self","copy", NULL };
6785
6786 self = self;
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_CopyWithHandler",_kwnames,&_argo0,&_argo1))
6788 return NULL;
6789 if (_argo0) {
6790 if (_argo0 == Py_None) { _arg0 = NULL; }
6791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6793 return NULL;
6794 }
6795 }
6796 if (_argo1) {
6797 if (_argo1 == Py_None) { _arg1 = NULL; }
6798 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p.");
6800 return NULL;
6801 }
6802 }
6803 {
6804 wxPy_BEGIN_ALLOW_THREADS;
6805 wxPyShape_CopyWithHandler(_arg0,*_arg1);
6806
6807 wxPy_END_ALLOW_THREADS;
6808 } Py_INCREF(Py_None);
6809 _resultobj = Py_None;
6810 return _resultobj;
6811 }
6812
6813 #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6814 static PyObject *_wrap_wxPyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6815 PyObject * _resultobj;
6816 wxPyShape * _arg0;
6817 double _arg1;
6818 double _arg2;
6819 double _arg3;
6820 PyObject * _argo0 = 0;
6821 char *_kwnames[] = { "self","x","y","theta", NULL };
6822
6823 self = self;
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6825 return NULL;
6826 if (_argo0) {
6827 if (_argo0 == Py_None) { _arg0 = NULL; }
6828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p.");
6830 return NULL;
6831 }
6832 }
6833 {
6834 wxPy_BEGIN_ALLOW_THREADS;
6835 wxPyShape_Rotate(_arg0,_arg1,_arg2,_arg3);
6836
6837 wxPy_END_ALLOW_THREADS;
6838 } Py_INCREF(Py_None);
6839 _resultobj = Py_None;
6840 return _resultobj;
6841 }
6842
6843 #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6844 static PyObject *_wrap_wxPyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject * _resultobj;
6846 double _result;
6847 wxPyShape * _arg0;
6848 PyObject * _argo0 = 0;
6849 char *_kwnames[] = { "self", NULL };
6850
6851 self = self;
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRotation",_kwnames,&_argo0))
6853 return NULL;
6854 if (_argo0) {
6855 if (_argo0 == Py_None) { _arg0 = NULL; }
6856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p.");
6858 return NULL;
6859 }
6860 }
6861 {
6862 wxPy_BEGIN_ALLOW_THREADS;
6863 _result = (double )wxPyShape_GetRotation(_arg0);
6864
6865 wxPy_END_ALLOW_THREADS;
6866 } _resultobj = Py_BuildValue("d",_result);
6867 return _resultobj;
6868 }
6869
6870 #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments())
6871 static PyObject *_wrap_wxPyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6872 PyObject * _resultobj;
6873 wxPyShape * _arg0;
6874 PyObject * _argo0 = 0;
6875 char *_kwnames[] = { "self", NULL };
6876
6877 self = self;
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearAttachments",_kwnames,&_argo0))
6879 return NULL;
6880 if (_argo0) {
6881 if (_argo0 == Py_None) { _arg0 = NULL; }
6882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p.");
6884 return NULL;
6885 }
6886 }
6887 {
6888 wxPy_BEGIN_ALLOW_THREADS;
6889 wxPyShape_ClearAttachments(_arg0);
6890
6891 wxPy_END_ALLOW_THREADS;
6892 } Py_INCREF(Py_None);
6893 _resultobj = Py_None;
6894 return _resultobj;
6895 }
6896
6897 #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0))
6898 static PyObject *_wrap_wxPyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject * _resultobj;
6900 wxPyShape * _arg0;
6901 wxDC * _arg1;
6902 PyObject * _argo0 = 0;
6903 PyObject * _argo1 = 0;
6904 char *_kwnames[] = { "self","dc", NULL };
6905
6906 self = self;
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Recentre",_kwnames,&_argo0,&_argo1))
6908 return NULL;
6909 if (_argo0) {
6910 if (_argo0 == Py_None) { _arg0 = NULL; }
6911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p.");
6913 return NULL;
6914 }
6915 }
6916 if (_argo1) {
6917 if (_argo1 == Py_None) { _arg1 = NULL; }
6918 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6919 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p.");
6920 return NULL;
6921 }
6922 }
6923 {
6924 wxPy_BEGIN_ALLOW_THREADS;
6925 wxPyShape_Recentre(_arg0,*_arg1);
6926
6927 wxPy_END_ALLOW_THREADS;
6928 } Py_INCREF(Py_None);
6929 _resultobj = Py_None;
6930 return _resultobj;
6931 }
6932
6933 #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0))
6934 static PyObject *_wrap_wxPyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
6935 PyObject * _resultobj;
6936 wxPyShape * _arg0;
6937 wxList * _arg1;
6938 PyObject * _argo0 = 0;
6939 PyObject * _argo1 = 0;
6940 char *_kwnames[] = { "self","list", NULL };
6941
6942 self = self;
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ClearPointList",_kwnames,&_argo0,&_argo1))
6944 return NULL;
6945 if (_argo0) {
6946 if (_argo0 == Py_None) { _arg0 = NULL; }
6947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p.");
6949 return NULL;
6950 }
6951 }
6952 if (_argo1) {
6953 if (_argo1 == Py_None) { _arg1 = NULL; }
6954 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxList_p")) {
6955 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p.");
6956 return NULL;
6957 }
6958 }
6959 {
6960 wxPy_BEGIN_ALLOW_THREADS;
6961 wxPyShape_ClearPointList(_arg0,*_arg1);
6962
6963 wxPy_END_ALLOW_THREADS;
6964 } Py_INCREF(Py_None);
6965 _resultobj = Py_None;
6966 return _resultobj;
6967 }
6968
6969 #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6970 static PyObject *_wrap_wxPyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject * _resultobj;
6972 wxPyShape * _arg0;
6973 PyObject * _argo0 = 0;
6974 char *_kwnames[] = { "self", NULL };
6975
6976 self = self;
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_base_OnDelete",_kwnames,&_argo0))
6978 return NULL;
6979 if (_argo0) {
6980 if (_argo0 == Py_None) { _arg0 = NULL; }
6981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
6982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p.");
6983 return NULL;
6984 }
6985 }
6986 {
6987 wxPy_BEGIN_ALLOW_THREADS;
6988 wxPyShape_base_OnDelete(_arg0);
6989
6990 wxPy_END_ALLOW_THREADS;
6991 } Py_INCREF(Py_None);
6992 _resultobj = Py_None;
6993 return _resultobj;
6994 }
6995
6996 #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6997 static PyObject *_wrap_wxPyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject * _resultobj;
6999 wxPyShape * _arg0;
7000 wxDC * _arg1;
7001 PyObject * _argo0 = 0;
7002 PyObject * _argo1 = 0;
7003 char *_kwnames[] = { "self","dc", NULL };
7004
7005 self = self;
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
7007 return NULL;
7008 if (_argo0) {
7009 if (_argo0 == Py_None) { _arg0 = NULL; }
7010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p.");
7012 return NULL;
7013 }
7014 }
7015 if (_argo1) {
7016 if (_argo1 == Py_None) { _arg1 = NULL; }
7017 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7018 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p.");
7019 return NULL;
7020 }
7021 }
7022 {
7023 wxPy_BEGIN_ALLOW_THREADS;
7024 wxPyShape_base_OnDraw(_arg0,*_arg1);
7025
7026 wxPy_END_ALLOW_THREADS;
7027 } Py_INCREF(Py_None);
7028 _resultobj = Py_None;
7029 return _resultobj;
7030 }
7031
7032 #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
7033 static PyObject *_wrap_wxPyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7034 PyObject * _resultobj;
7035 wxPyShape * _arg0;
7036 wxDC * _arg1;
7037 PyObject * _argo0 = 0;
7038 PyObject * _argo1 = 0;
7039 char *_kwnames[] = { "self","dc", NULL };
7040
7041 self = self;
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
7043 return NULL;
7044 if (_argo0) {
7045 if (_argo0 == Py_None) { _arg0 = NULL; }
7046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p.");
7048 return NULL;
7049 }
7050 }
7051 if (_argo1) {
7052 if (_argo1 == Py_None) { _arg1 = NULL; }
7053 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7054 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p.");
7055 return NULL;
7056 }
7057 }
7058 {
7059 wxPy_BEGIN_ALLOW_THREADS;
7060 wxPyShape_base_OnDrawContents(_arg0,*_arg1);
7061
7062 wxPy_END_ALLOW_THREADS;
7063 } Py_INCREF(Py_None);
7064 _resultobj = Py_None;
7065 return _resultobj;
7066 }
7067
7068 #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
7069 static PyObject *_wrap_wxPyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject * _resultobj;
7071 wxPyShape * _arg0;
7072 wxDC * _arg1;
7073 bool _arg2 = (bool ) FALSE;
7074 PyObject * _argo0 = 0;
7075 PyObject * _argo1 = 0;
7076 int tempbool2 = (int) FALSE;
7077 char *_kwnames[] = { "self","dc","erase", NULL };
7078
7079 self = self;
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
7081 return NULL;
7082 if (_argo0) {
7083 if (_argo0 == Py_None) { _arg0 = NULL; }
7084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p.");
7086 return NULL;
7087 }
7088 }
7089 if (_argo1) {
7090 if (_argo1 == Py_None) { _arg1 = NULL; }
7091 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7092 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p.");
7093 return NULL;
7094 }
7095 }
7096 _arg2 = (bool ) tempbool2;
7097 {
7098 wxPy_BEGIN_ALLOW_THREADS;
7099 wxPyShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
7100
7101 wxPy_END_ALLOW_THREADS;
7102 } Py_INCREF(Py_None);
7103 _resultobj = Py_None;
7104 return _resultobj;
7105 }
7106
7107 #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7108 static PyObject *_wrap_wxPyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject * _resultobj;
7110 wxPyShape * _arg0;
7111 wxDC * _arg1;
7112 PyObject * _argo0 = 0;
7113 PyObject * _argo1 = 0;
7114 char *_kwnames[] = { "self","dc", NULL };
7115
7116 self = self;
7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
7118 return NULL;
7119 if (_argo0) {
7120 if (_argo0 == Py_None) { _arg0 = NULL; }
7121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p.");
7123 return NULL;
7124 }
7125 }
7126 if (_argo1) {
7127 if (_argo1 == Py_None) { _arg1 = NULL; }
7128 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7129 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p.");
7130 return NULL;
7131 }
7132 }
7133 {
7134 wxPy_BEGIN_ALLOW_THREADS;
7135 wxPyShape_base_OnMoveLinks(_arg0,*_arg1);
7136
7137 wxPy_END_ALLOW_THREADS;
7138 } Py_INCREF(Py_None);
7139 _resultobj = Py_None;
7140 return _resultobj;
7141 }
7142
7143 #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7144 static PyObject *_wrap_wxPyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject * _resultobj;
7146 wxPyShape * _arg0;
7147 wxDC * _arg1;
7148 PyObject * _argo0 = 0;
7149 PyObject * _argo1 = 0;
7150 char *_kwnames[] = { "self","dc", NULL };
7151
7152 self = self;
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnErase",_kwnames,&_argo0,&_argo1))
7154 return NULL;
7155 if (_argo0) {
7156 if (_argo0 == Py_None) { _arg0 = NULL; }
7157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p.");
7159 return NULL;
7160 }
7161 }
7162 if (_argo1) {
7163 if (_argo1 == Py_None) { _arg1 = NULL; }
7164 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7165 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p.");
7166 return NULL;
7167 }
7168 }
7169 {
7170 wxPy_BEGIN_ALLOW_THREADS;
7171 wxPyShape_base_OnErase(_arg0,*_arg1);
7172
7173 wxPy_END_ALLOW_THREADS;
7174 } Py_INCREF(Py_None);
7175 _resultobj = Py_None;
7176 return _resultobj;
7177 }
7178
7179 #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7180 static PyObject *_wrap_wxPyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject * _resultobj;
7182 wxPyShape * _arg0;
7183 wxDC * _arg1;
7184 PyObject * _argo0 = 0;
7185 PyObject * _argo1 = 0;
7186 char *_kwnames[] = { "self","dc", NULL };
7187
7188 self = self;
7189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
7190 return NULL;
7191 if (_argo0) {
7192 if (_argo0 == Py_None) { _arg0 = NULL; }
7193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p.");
7195 return NULL;
7196 }
7197 }
7198 if (_argo1) {
7199 if (_argo1 == Py_None) { _arg1 = NULL; }
7200 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7201 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p.");
7202 return NULL;
7203 }
7204 }
7205 {
7206 wxPy_BEGIN_ALLOW_THREADS;
7207 wxPyShape_base_OnEraseContents(_arg0,*_arg1);
7208
7209 wxPy_END_ALLOW_THREADS;
7210 } Py_INCREF(Py_None);
7211 _resultobj = Py_None;
7212 return _resultobj;
7213 }
7214
7215 #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7216 static PyObject *_wrap_wxPyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7217 PyObject * _resultobj;
7218 wxPyShape * _arg0;
7219 wxDC * _arg1;
7220 PyObject * _argo0 = 0;
7221 PyObject * _argo1 = 0;
7222 char *_kwnames[] = { "self","dc", NULL };
7223
7224 self = self;
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
7226 return NULL;
7227 if (_argo0) {
7228 if (_argo0 == Py_None) { _arg0 = NULL; }
7229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p.");
7231 return NULL;
7232 }
7233 }
7234 if (_argo1) {
7235 if (_argo1 == Py_None) { _arg1 = NULL; }
7236 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7237 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p.");
7238 return NULL;
7239 }
7240 }
7241 {
7242 wxPy_BEGIN_ALLOW_THREADS;
7243 wxPyShape_base_OnHighlight(_arg0,*_arg1);
7244
7245 wxPy_END_ALLOW_THREADS;
7246 } Py_INCREF(Py_None);
7247 _resultobj = Py_None;
7248 return _resultobj;
7249 }
7250
7251 #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7252 static PyObject *_wrap_wxPyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject * _resultobj;
7254 wxPyShape * _arg0;
7255 double _arg1;
7256 double _arg2;
7257 int _arg3 = (int ) 0;
7258 int _arg4 = (int ) 0;
7259 PyObject * _argo0 = 0;
7260 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7261
7262 self = self;
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7264 return NULL;
7265 if (_argo0) {
7266 if (_argo0 == Py_None) { _arg0 = NULL; }
7267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p.");
7269 return NULL;
7270 }
7271 }
7272 {
7273 wxPy_BEGIN_ALLOW_THREADS;
7274 wxPyShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7275
7276 wxPy_END_ALLOW_THREADS;
7277 } Py_INCREF(Py_None);
7278 _resultobj = Py_None;
7279 return _resultobj;
7280 }
7281
7282 #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7283 static PyObject *_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7284 PyObject * _resultobj;
7285 wxPyShape * _arg0;
7286 double _arg1;
7287 double _arg2;
7288 int _arg3 = (int ) 0;
7289 int _arg4 = (int ) 0;
7290 PyObject * _argo0 = 0;
7291 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7292
7293 self = self;
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7295 return NULL;
7296 if (_argo0) {
7297 if (_argo0 == Py_None) { _arg0 = NULL; }
7298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p.");
7300 return NULL;
7301 }
7302 }
7303 {
7304 wxPy_BEGIN_ALLOW_THREADS;
7305 wxPyShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7306
7307 wxPy_END_ALLOW_THREADS;
7308 } Py_INCREF(Py_None);
7309 _resultobj = Py_None;
7310 return _resultobj;
7311 }
7312
7313 #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7314 static PyObject *_wrap_wxPyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject * _resultobj;
7316 wxPyShape * _arg0;
7317 double _arg1;
7318 double _arg2;
7319 int _arg3 = (int ) 0;
7320 int _arg4 = (int ) 0;
7321 PyObject * _argo0 = 0;
7322 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7323
7324 self = self;
7325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7326 return NULL;
7327 if (_argo0) {
7328 if (_argo0 == Py_None) { _arg0 = NULL; }
7329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p.");
7331 return NULL;
7332 }
7333 }
7334 {
7335 wxPy_BEGIN_ALLOW_THREADS;
7336 wxPyShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7337
7338 wxPy_END_ALLOW_THREADS;
7339 } Py_INCREF(Py_None);
7340 _resultobj = Py_None;
7341 return _resultobj;
7342 }
7343
7344 #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7345 static PyObject *_wrap_wxPyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject * _resultobj;
7347 wxPyShape * _arg0;
7348 double _arg1;
7349 double _arg2;
7350 PyObject * _argo0 = 0;
7351 char *_kwnames[] = { "self","x","y", NULL };
7352
7353 self = self;
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
7355 return NULL;
7356 if (_argo0) {
7357 if (_argo0 == Py_None) { _arg0 = NULL; }
7358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p.");
7360 return NULL;
7361 }
7362 }
7363 {
7364 wxPy_BEGIN_ALLOW_THREADS;
7365 wxPyShape_base_OnSize(_arg0,_arg1,_arg2);
7366
7367 wxPy_END_ALLOW_THREADS;
7368 } Py_INCREF(Py_None);
7369 _resultobj = Py_None;
7370 return _resultobj;
7371 }
7372
7373 #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7374 static PyObject *_wrap_wxPyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject * _resultobj;
7376 bool _result;
7377 wxPyShape * _arg0;
7378 wxDC * _arg1;
7379 double _arg2;
7380 double _arg3;
7381 double _arg4;
7382 double _arg5;
7383 bool _arg6 = (bool ) TRUE;
7384 PyObject * _argo0 = 0;
7385 PyObject * _argo1 = 0;
7386 int tempbool6 = (int) TRUE;
7387 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
7388
7389 self = self;
7390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
7391 return NULL;
7392 if (_argo0) {
7393 if (_argo0 == Py_None) { _arg0 = NULL; }
7394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p.");
7396 return NULL;
7397 }
7398 }
7399 if (_argo1) {
7400 if (_argo1 == Py_None) { _arg1 = NULL; }
7401 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7402 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p.");
7403 return NULL;
7404 }
7405 }
7406 _arg6 = (bool ) tempbool6;
7407 {
7408 wxPy_BEGIN_ALLOW_THREADS;
7409 _result = (bool )wxPyShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7410
7411 wxPy_END_ALLOW_THREADS;
7412 } _resultobj = Py_BuildValue("i",_result);
7413 return _resultobj;
7414 }
7415
7416 #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7417 static PyObject *_wrap_wxPyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject * _resultobj;
7419 wxPyShape * _arg0;
7420 wxDC * _arg1;
7421 double _arg2;
7422 double _arg3;
7423 double _arg4;
7424 double _arg5;
7425 bool _arg6 = (bool ) TRUE;
7426 PyObject * _argo0 = 0;
7427 PyObject * _argo1 = 0;
7428 int tempbool6 = (int) TRUE;
7429 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
7430
7431 self = self;
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
7433 return NULL;
7434 if (_argo0) {
7435 if (_argo0 == Py_None) { _arg0 = NULL; }
7436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p.");
7438 return NULL;
7439 }
7440 }
7441 if (_argo1) {
7442 if (_argo1 == Py_None) { _arg1 = NULL; }
7443 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7444 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p.");
7445 return NULL;
7446 }
7447 }
7448 _arg6 = (bool ) tempbool6;
7449 {
7450 wxPy_BEGIN_ALLOW_THREADS;
7451 wxPyShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7452
7453 wxPy_END_ALLOW_THREADS;
7454 } Py_INCREF(Py_None);
7455 _resultobj = Py_None;
7456 return _resultobj;
7457 }
7458
7459 #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7460 static PyObject *_wrap_wxPyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7461 PyObject * _resultobj;
7462 wxPyShape * _arg0;
7463 bool _arg1;
7464 double _arg2;
7465 double _arg3;
7466 int _arg4 = (int ) 0;
7467 int _arg5 = (int ) 0;
7468 PyObject * _argo0 = 0;
7469 int tempbool1;
7470 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7471
7472 self = self;
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7474 return NULL;
7475 if (_argo0) {
7476 if (_argo0 == Py_None) { _arg0 = NULL; }
7477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p.");
7479 return NULL;
7480 }
7481 }
7482 _arg1 = (bool ) tempbool1;
7483 {
7484 wxPy_BEGIN_ALLOW_THREADS;
7485 wxPyShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7486
7487 wxPy_END_ALLOW_THREADS;
7488 } Py_INCREF(Py_None);
7489 _resultobj = Py_None;
7490 return _resultobj;
7491 }
7492
7493 #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7494 static PyObject *_wrap_wxPyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject * _resultobj;
7496 wxPyShape * _arg0;
7497 double _arg1;
7498 double _arg2;
7499 int _arg3 = (int ) 0;
7500 int _arg4 = (int ) 0;
7501 PyObject * _argo0 = 0;
7502 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7503
7504 self = self;
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7506 return NULL;
7507 if (_argo0) {
7508 if (_argo0 == Py_None) { _arg0 = NULL; }
7509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p.");
7511 return NULL;
7512 }
7513 }
7514 {
7515 wxPy_BEGIN_ALLOW_THREADS;
7516 wxPyShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7517
7518 wxPy_END_ALLOW_THREADS;
7519 } Py_INCREF(Py_None);
7520 _resultobj = Py_None;
7521 return _resultobj;
7522 }
7523
7524 #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7525 static PyObject *_wrap_wxPyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7526 PyObject * _resultobj;
7527 wxPyShape * _arg0;
7528 double _arg1;
7529 double _arg2;
7530 int _arg3 = (int ) 0;
7531 int _arg4 = (int ) 0;
7532 PyObject * _argo0 = 0;
7533 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7534
7535 self = self;
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7537 return NULL;
7538 if (_argo0) {
7539 if (_argo0 == Py_None) { _arg0 = NULL; }
7540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p.");
7542 return NULL;
7543 }
7544 }
7545 {
7546 wxPy_BEGIN_ALLOW_THREADS;
7547 wxPyShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7548
7549 wxPy_END_ALLOW_THREADS;
7550 } Py_INCREF(Py_None);
7551 _resultobj = Py_None;
7552 return _resultobj;
7553 }
7554
7555 #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7556 static PyObject *_wrap_wxPyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject * _resultobj;
7558 wxPyShape * _arg0;
7559 bool _arg1;
7560 double _arg2;
7561 double _arg3;
7562 int _arg4 = (int ) 0;
7563 int _arg5 = (int ) 0;
7564 PyObject * _argo0 = 0;
7565 int tempbool1;
7566 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7567
7568 self = self;
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7570 return NULL;
7571 if (_argo0) {
7572 if (_argo0 == Py_None) { _arg0 = NULL; }
7573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p.");
7575 return NULL;
7576 }
7577 }
7578 _arg1 = (bool ) tempbool1;
7579 {
7580 wxPy_BEGIN_ALLOW_THREADS;
7581 wxPyShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7582
7583 wxPy_END_ALLOW_THREADS;
7584 } Py_INCREF(Py_None);
7585 _resultobj = Py_None;
7586 return _resultobj;
7587 }
7588
7589 #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7590 static PyObject *_wrap_wxPyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject * _resultobj;
7592 wxPyShape * _arg0;
7593 double _arg1;
7594 double _arg2;
7595 int _arg3 = (int ) 0;
7596 int _arg4 = (int ) 0;
7597 PyObject * _argo0 = 0;
7598 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7599
7600 self = self;
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7602 return NULL;
7603 if (_argo0) {
7604 if (_argo0 == Py_None) { _arg0 = NULL; }
7605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p.");
7607 return NULL;
7608 }
7609 }
7610 {
7611 wxPy_BEGIN_ALLOW_THREADS;
7612 wxPyShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7613
7614 wxPy_END_ALLOW_THREADS;
7615 } Py_INCREF(Py_None);
7616 _resultobj = Py_None;
7617 return _resultobj;
7618 }
7619
7620 #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7621 static PyObject *_wrap_wxPyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject * _resultobj;
7623 wxPyShape * _arg0;
7624 double _arg1;
7625 double _arg2;
7626 int _arg3 = (int ) 0;
7627 int _arg4 = (int ) 0;
7628 PyObject * _argo0 = 0;
7629 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7630
7631 self = self;
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7633 return NULL;
7634 if (_argo0) {
7635 if (_argo0 == Py_None) { _arg0 = NULL; }
7636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p.");
7638 return NULL;
7639 }
7640 }
7641 {
7642 wxPy_BEGIN_ALLOW_THREADS;
7643 wxPyShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7644
7645 wxPy_END_ALLOW_THREADS;
7646 } Py_INCREF(Py_None);
7647 _resultobj = Py_None;
7648 return _resultobj;
7649 }
7650
7651 #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7652 static PyObject *_wrap_wxPyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7653 PyObject * _resultobj;
7654 wxPyShape * _arg0;
7655 wxDC * _arg1;
7656 double _arg2;
7657 double _arg3;
7658 double _arg4;
7659 double _arg5;
7660 PyObject * _argo0 = 0;
7661 PyObject * _argo1 = 0;
7662 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7663
7664 self = self;
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7666 return NULL;
7667 if (_argo0) {
7668 if (_argo0 == Py_None) { _arg0 = NULL; }
7669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p.");
7671 return NULL;
7672 }
7673 }
7674 if (_argo1) {
7675 if (_argo1 == Py_None) { _arg1 = NULL; }
7676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p.");
7678 return NULL;
7679 }
7680 }
7681 {
7682 wxPy_BEGIN_ALLOW_THREADS;
7683 wxPyShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7684
7685 wxPy_END_ALLOW_THREADS;
7686 } Py_INCREF(Py_None);
7687 _resultobj = Py_None;
7688 return _resultobj;
7689 }
7690
7691 #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7692 static PyObject *_wrap_wxPyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7693 PyObject * _resultobj;
7694 wxPyShape * _arg0;
7695 wxDC * _arg1;
7696 PyObject * _argo0 = 0;
7697 PyObject * _argo1 = 0;
7698 char *_kwnames[] = { "self","dc", NULL };
7699
7700 self = self;
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7702 return NULL;
7703 if (_argo0) {
7704 if (_argo0 == Py_None) { _arg0 = NULL; }
7705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p.");
7707 return NULL;
7708 }
7709 }
7710 if (_argo1) {
7711 if (_argo1 == Py_None) { _arg1 = NULL; }
7712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7714 return NULL;
7715 }
7716 }
7717 {
7718 wxPy_BEGIN_ALLOW_THREADS;
7719 wxPyShape_base_OnDrawControlPoints(_arg0,*_arg1);
7720
7721 wxPy_END_ALLOW_THREADS;
7722 } Py_INCREF(Py_None);
7723 _resultobj = Py_None;
7724 return _resultobj;
7725 }
7726
7727 #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7728 static PyObject *_wrap_wxPyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7729 PyObject * _resultobj;
7730 wxPyShape * _arg0;
7731 wxDC * _arg1;
7732 PyObject * _argo0 = 0;
7733 PyObject * _argo1 = 0;
7734 char *_kwnames[] = { "self","dc", NULL };
7735
7736 self = self;
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7738 return NULL;
7739 if (_argo0) {
7740 if (_argo0 == Py_None) { _arg0 = NULL; }
7741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p.");
7743 return NULL;
7744 }
7745 }
7746 if (_argo1) {
7747 if (_argo1 == Py_None) { _arg1 = NULL; }
7748 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7749 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7750 return NULL;
7751 }
7752 }
7753 {
7754 wxPy_BEGIN_ALLOW_THREADS;
7755 wxPyShape_base_OnEraseControlPoints(_arg0,*_arg1);
7756
7757 wxPy_END_ALLOW_THREADS;
7758 } Py_INCREF(Py_None);
7759 _resultobj = Py_None;
7760 return _resultobj;
7761 }
7762
7763 #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7764 static PyObject *_wrap_wxPyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject * _resultobj;
7766 wxPyShape * _arg0;
7767 wxDC * _arg1;
7768 bool _arg2 = (bool ) TRUE;
7769 PyObject * _argo0 = 0;
7770 PyObject * _argo1 = 0;
7771 int tempbool2 = (int) TRUE;
7772 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7773
7774 self = self;
7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
7776 return NULL;
7777 if (_argo0) {
7778 if (_argo0 == Py_None) { _arg0 = NULL; }
7779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p.");
7781 return NULL;
7782 }
7783 }
7784 if (_argo1) {
7785 if (_argo1 == Py_None) { _arg1 = NULL; }
7786 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7787 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p.");
7788 return NULL;
7789 }
7790 }
7791 _arg2 = (bool ) tempbool2;
7792 {
7793 wxPy_BEGIN_ALLOW_THREADS;
7794 wxPyShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7795
7796 wxPy_END_ALLOW_THREADS;
7797 } Py_INCREF(Py_None);
7798 _resultobj = Py_None;
7799 return _resultobj;
7800 }
7801
7802 #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7803 static PyObject *_wrap_wxPyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject * _resultobj;
7805 wxPyShape * _arg0;
7806 wxPyControlPoint * _arg1;
7807 bool _arg2;
7808 double _arg3;
7809 double _arg4;
7810 int _arg5 = (int ) 0;
7811 int _arg6 = (int ) 0;
7812 PyObject * _argo0 = 0;
7813 PyObject * _argo1 = 0;
7814 int tempbool2;
7815 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
7816
7817 self = self;
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
7819 return NULL;
7820 if (_argo0) {
7821 if (_argo0 == Py_None) { _arg0 = NULL; }
7822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p.");
7824 return NULL;
7825 }
7826 }
7827 if (_argo1) {
7828 if (_argo1 == Py_None) { _arg1 = NULL; }
7829 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7830 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7831 return NULL;
7832 }
7833 }
7834 _arg2 = (bool ) tempbool2;
7835 {
7836 wxPy_BEGIN_ALLOW_THREADS;
7837 wxPyShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7838
7839 wxPy_END_ALLOW_THREADS;
7840 } Py_INCREF(Py_None);
7841 _resultobj = Py_None;
7842 return _resultobj;
7843 }
7844
7845 #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7846 static PyObject *_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject * _resultobj;
7848 wxPyShape * _arg0;
7849 wxPyControlPoint * _arg1;
7850 double _arg2;
7851 double _arg3;
7852 int _arg4 = (int ) 0;
7853 int _arg5 = (int ) 0;
7854 PyObject * _argo0 = 0;
7855 PyObject * _argo1 = 0;
7856 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7857
7858 self = self;
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7860 return NULL;
7861 if (_argo0) {
7862 if (_argo0 == Py_None) { _arg0 = NULL; }
7863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p.");
7865 return NULL;
7866 }
7867 }
7868 if (_argo1) {
7869 if (_argo1 == Py_None) { _arg1 = NULL; }
7870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7872 return NULL;
7873 }
7874 }
7875 {
7876 wxPy_BEGIN_ALLOW_THREADS;
7877 wxPyShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7878
7879 wxPy_END_ALLOW_THREADS;
7880 } Py_INCREF(Py_None);
7881 _resultobj = Py_None;
7882 return _resultobj;
7883 }
7884
7885 #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7886 static PyObject *_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7887 PyObject * _resultobj;
7888 wxPyShape * _arg0;
7889 wxPyControlPoint * _arg1;
7890 double _arg2;
7891 double _arg3;
7892 int _arg4 = (int ) 0;
7893 int _arg5 = (int ) 0;
7894 PyObject * _argo0 = 0;
7895 PyObject * _argo1 = 0;
7896 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7897
7898 self = self;
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7900 return NULL;
7901 if (_argo0) {
7902 if (_argo0 == Py_None) { _arg0 = NULL; }
7903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p.");
7905 return NULL;
7906 }
7907 }
7908 if (_argo1) {
7909 if (_argo1 == Py_None) { _arg1 = NULL; }
7910 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7911 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7912 return NULL;
7913 }
7914 }
7915 {
7916 wxPy_BEGIN_ALLOW_THREADS;
7917 wxPyShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7918
7919 wxPy_END_ALLOW_THREADS;
7920 } Py_INCREF(Py_None);
7921 _resultobj = Py_None;
7922 return _resultobj;
7923 }
7924
7925 #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7926 static PyObject *_wrap_wxPyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject * _resultobj;
7928 wxPyShape * _arg0;
7929 double _arg1;
7930 double _arg2;
7931 PyObject * _argo0 = 0;
7932 char *_kwnames[] = { "self","w","h", NULL };
7933
7934 self = self;
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
7936 return NULL;
7937 if (_argo0) {
7938 if (_argo0 == Py_None) { _arg0 = NULL; }
7939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p.");
7941 return NULL;
7942 }
7943 }
7944 {
7945 wxPy_BEGIN_ALLOW_THREADS;
7946 wxPyShape_base_OnBeginSize(_arg0,_arg1,_arg2);
7947
7948 wxPy_END_ALLOW_THREADS;
7949 } Py_INCREF(Py_None);
7950 _resultobj = Py_None;
7951 return _resultobj;
7952 }
7953
7954 #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7955 static PyObject *_wrap_wxPyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject * _resultobj;
7957 wxPyShape * _arg0;
7958 double _arg1;
7959 double _arg2;
7960 PyObject * _argo0 = 0;
7961 char *_kwnames[] = { "self","w","h", NULL };
7962
7963 self = self;
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
7965 return NULL;
7966 if (_argo0) {
7967 if (_argo0 == Py_None) { _arg0 = NULL; }
7968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) {
7969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p.");
7970 return NULL;
7971 }
7972 }
7973 {
7974 wxPy_BEGIN_ALLOW_THREADS;
7975 wxPyShape_base_OnEndSize(_arg0,_arg1,_arg2);
7976
7977 wxPy_END_ALLOW_THREADS;
7978 } Py_INCREF(Py_None);
7979 _resultobj = Py_None;
7980 return _resultobj;
7981 }
7982
7983 static PyMethodDef oglbasiccMethods[] = {
7984 { "wxPyShape_base_OnEndSize", (PyCFunction) _wrap_wxPyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
7985 { "wxPyShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
7986 { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
7987 { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
7988 { "wxPyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
7989 { "wxPyShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
7990 { "wxPyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
7991 { "wxPyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
7992 { "wxPyShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
7993 { "wxPyShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
7994 { "wxPyShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
7995 { "wxPyShape_base_OnDragRight", (PyCFunction) _wrap_wxPyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
7996 { "wxPyShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
7997 { "wxPyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
7998 { "wxPyShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
7999 { "wxPyShape_base_OnMovePost", (PyCFunction) _wrap_wxPyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
8000 { "wxPyShape_base_OnMovePre", (PyCFunction) _wrap_wxPyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
8001 { "wxPyShape_base_OnSize", (PyCFunction) _wrap_wxPyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
8002 { "wxPyShape_base_OnRightClick", (PyCFunction) _wrap_wxPyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
8003 { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
8004 { "wxPyShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
8005 { "wxPyShape_base_OnHighlight", (PyCFunction) _wrap_wxPyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
8006 { "wxPyShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
8007 { "wxPyShape_base_OnErase", (PyCFunction) _wrap_wxPyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
8008 { "wxPyShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
8009 { "wxPyShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
8010 { "wxPyShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
8011 { "wxPyShape_base_OnDraw", (PyCFunction) _wrap_wxPyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
8012 { "wxPyShape_base_OnDelete", (PyCFunction) _wrap_wxPyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
8013 { "wxPyShape_ClearPointList", (PyCFunction) _wrap_wxPyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
8014 { "wxPyShape_Recentre", (PyCFunction) _wrap_wxPyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
8015 { "wxPyShape_ClearAttachments", (PyCFunction) _wrap_wxPyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
8016 { "wxPyShape_GetRotation", (PyCFunction) _wrap_wxPyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
8017 { "wxPyShape_Rotate", (PyCFunction) _wrap_wxPyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
8018 { "wxPyShape_CopyWithHandler", (PyCFunction) _wrap_wxPyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
8019 { "wxPyShape_Copy", (PyCFunction) _wrap_wxPyShape_Copy, METH_VARARGS | METH_KEYWORDS },
8020 { "wxPyShape_CreateNewCopy", (PyCFunction) _wrap_wxPyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
8021 { "wxPyShape_HasDescendant", (PyCFunction) _wrap_wxPyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
8022 { "wxPyShape_Draggable", (PyCFunction) _wrap_wxPyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
8023 { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_wxPyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
8024 { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_wxPyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
8025 { "wxPyShape_GetBranchStyle", (PyCFunction) _wrap_wxPyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
8026 { "wxPyShape_SetBranchStyle", (PyCFunction) _wrap_wxPyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
8027 { "wxPyShape_GetBranchSpacing", (PyCFunction) _wrap_wxPyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
8028 { "wxPyShape_SetBranchSpacing", (PyCFunction) _wrap_wxPyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
8029 { "wxPyShape_GetBranchStemLength", (PyCFunction) _wrap_wxPyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
8030 { "wxPyShape_SetBranchStemLength", (PyCFunction) _wrap_wxPyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
8031 { "wxPyShape_GetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
8032 { "wxPyShape_SetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
8033 { "wxPyShape_GetAttachmentLineCount", (PyCFunction) _wrap_wxPyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
8034 { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
8035 { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
8036 { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
8037 { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_wxPyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
8038 { "wxPyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_wxPyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
8039 { "wxPyShape_DrawLinks", (PyCFunction) _wrap_wxPyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
8040 { "wxPyShape_EraseLinks", (PyCFunction) _wrap_wxPyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
8041 { "wxPyShape_AttachmentSortTest", (PyCFunction) _wrap_wxPyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
8042 { "wxPyShape_CalcSimpleAttachment", (PyCFunction) _wrap_wxPyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
8043 { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_wxPyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
8044 { "wxPyShape_AttachmentIsValid", (PyCFunction) _wrap_wxPyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
8045 { "wxPyShape_GetNumberOfAttachments", (PyCFunction) _wrap_wxPyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
8046 { "wxPyShape_GetAttachmentPosition", (PyCFunction) _wrap_wxPyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
8047 { "wxPyShape_RemoveLine", (PyCFunction) _wrap_wxPyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
8048 { "wxPyShape_ClearText", (PyCFunction) _wrap_wxPyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
8049 { "wxPyShape_FindRegionNames", (PyCFunction) _wrap_wxPyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
8050 { "wxPyShape_FindRegion", (PyCFunction) _wrap_wxPyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
8051 { "wxPyShape_AssignNewIds", (PyCFunction) _wrap_wxPyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
8052 { "wxPyShape_ClearRegions", (PyCFunction) _wrap_wxPyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
8053 { "wxPyShape_AddRegion", (PyCFunction) _wrap_wxPyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
8054 { "wxPyShape_GetRegions", (PyCFunction) _wrap_wxPyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
8055 { "wxPyShape_NameRegions", (PyCFunction) _wrap_wxPyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
8056 { "wxPyShape_GetRegionId", (PyCFunction) _wrap_wxPyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
8057 { "wxPyShape_GetRegionName", (PyCFunction) _wrap_wxPyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
8058 { "wxPyShape_SetRegionName", (PyCFunction) _wrap_wxPyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
8059 { "wxPyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_wxPyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
8060 { "wxPyShape_GetTextColour", (PyCFunction) _wrap_wxPyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
8061 { "wxPyShape_SetTextColour", (PyCFunction) _wrap_wxPyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
8062 { "wxPyShape_GetFont", (PyCFunction) _wrap_wxPyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
8063 { "wxPyShape_SetFont", (PyCFunction) _wrap_wxPyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
8064 { "wxPyShape_GetFormatMode", (PyCFunction) _wrap_wxPyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
8065 { "wxPyShape_SetFormatMode", (PyCFunction) _wrap_wxPyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
8066 { "wxPyShape_FormatText", (PyCFunction) _wrap_wxPyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
8067 { "wxPyShape_SetDefaultRegionSize", (PyCFunction) _wrap_wxPyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
8068 { "wxPyShape_GetBrush", (PyCFunction) _wrap_wxPyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
8069 { "wxPyShape_GetPen", (PyCFunction) _wrap_wxPyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
8070 { "wxPyShape_AddText", (PyCFunction) _wrap_wxPyShape_AddText, METH_VARARGS | METH_KEYWORDS },
8071 { "wxPyShape_GetLinePosition", (PyCFunction) _wrap_wxPyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
8072 { "wxPyShape_AddLine", (PyCFunction) _wrap_wxPyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
8073 { "wxPyShape_Constrain", (PyCFunction) _wrap_wxPyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
8074 { "wxPyShape_Detach", (PyCFunction) _wrap_wxPyShape_Detach, METH_VARARGS | METH_KEYWORDS },
8075 { "wxPyShape_Attach", (PyCFunction) _wrap_wxPyShape_Attach, METH_VARARGS | METH_KEYWORDS },
8076 { "wxPyShape_SetAttachmentSize", (PyCFunction) _wrap_wxPyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
8077 { "wxPyShape_SetSize", (PyCFunction) _wrap_wxPyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
8078 { "wxPyShape_DrawContents", (PyCFunction) _wrap_wxPyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
8079 { "wxPyShape_MoveLinks", (PyCFunction) _wrap_wxPyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
8080 { "wxPyShape_Flash", (PyCFunction) _wrap_wxPyShape_Flash, METH_VARARGS | METH_KEYWORDS },
8081 { "wxPyShape_Draw", (PyCFunction) _wrap_wxPyShape_Draw, METH_VARARGS | METH_KEYWORDS },
8082 { "wxPyShape_EraseContents", (PyCFunction) _wrap_wxPyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
8083 { "wxPyShape_Erase", (PyCFunction) _wrap_wxPyShape_Erase, METH_VARARGS | METH_KEYWORDS },
8084 { "wxPyShape_Move", (PyCFunction) _wrap_wxPyShape_Move, METH_VARARGS | METH_KEYWORDS },
8085 { "wxPyShape_IsShown", (PyCFunction) _wrap_wxPyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
8086 { "wxPyShape_Show", (PyCFunction) _wrap_wxPyShape_Show, METH_VARARGS | METH_KEYWORDS },
8087 { "wxPyShape_GetClientData", (PyCFunction) _wrap_wxPyShape_GetClientData, METH_VARARGS | METH_KEYWORDS },
8088 { "wxPyShape_SetClientData", (PyCFunction) _wrap_wxPyShape_SetClientData, METH_VARARGS | METH_KEYWORDS },
8089 { "wxPyShape_SetBrush", (PyCFunction) _wrap_wxPyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
8090 { "wxPyShape_SetPen", (PyCFunction) _wrap_wxPyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
8091 { "wxPyShape_GetId", (PyCFunction) _wrap_wxPyShape_GetId, METH_VARARGS | METH_KEYWORDS },
8092 { "wxPyShape_SetId", (PyCFunction) _wrap_wxPyShape_SetId, METH_VARARGS | METH_KEYWORDS },
8093 { "wxPyShape_GetAttachmentMode", (PyCFunction) _wrap_wxPyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
8094 { "wxPyShape_SetAttachmentMode", (PyCFunction) _wrap_wxPyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
8095 { "wxPyShape_GetDisableLabel", (PyCFunction) _wrap_wxPyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
8096 { "wxPyShape_SetDisableLabel", (PyCFunction) _wrap_wxPyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
8097 { "wxPyShape_GetLines", (PyCFunction) _wrap_wxPyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
8098 { "wxPyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
8099 { "wxPyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
8100 { "wxPyShape_GetCentreResize", (PyCFunction) _wrap_wxPyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
8101 { "wxPyShape_SetCentreResize", (PyCFunction) _wrap_wxPyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
8102 { "wxPyShape_HitTest", (PyCFunction) _wrap_wxPyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
8103 { "wxPyShape_GetShadowMode", (PyCFunction) _wrap_wxPyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
8104 { "wxPyShape_SetShadowMode", (PyCFunction) _wrap_wxPyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
8105 { "wxPyShape_GetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
8106 { "wxPyShape_SetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
8107 { "wxPyShape_GetFixedHeight", (PyCFunction) _wrap_wxPyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
8108 { "wxPyShape_GetFixedWidth", (PyCFunction) _wrap_wxPyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
8109 { "wxPyShape_GetFixedSize", (PyCFunction) _wrap_wxPyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
8110 { "wxPyShape_SetFixedSize", (PyCFunction) _wrap_wxPyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
8111 { "wxPyShape_SetDraggable", (PyCFunction) _wrap_wxPyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
8112 { "wxPyShape_GetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
8113 { "wxPyShape_SetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
8114 { "wxPyShape_AncestorSelected", (PyCFunction) _wrap_wxPyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
8115 { "wxPyShape_Selected", (PyCFunction) _wrap_wxPyShape_Selected, METH_VARARGS | METH_KEYWORDS },
8116 { "wxPyShape_IsHighlighted", (PyCFunction) _wrap_wxPyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
8117 { "wxPyShape_SetHighlight", (PyCFunction) _wrap_wxPyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
8118 { "wxPyShape_Select", (PyCFunction) _wrap_wxPyShape_Select, METH_VARARGS | METH_KEYWORDS },
8119 { "wxPyShape_CalculateSize", (PyCFunction) _wrap_wxPyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
8120 { "wxPyShape_Recompute", (PyCFunction) _wrap_wxPyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
8121 { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
8122 { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
8123 { "wxPyShape_SetEventHandler", (PyCFunction) _wrap_wxPyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
8124 { "wxPyShape_GetEventHandler", (PyCFunction) _wrap_wxPyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
8125 { "wxPyShape_ResetControlPoints", (PyCFunction) _wrap_wxPyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
8126 { "wxPyShape_DeleteControlPoints", (PyCFunction) _wrap_wxPyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
8127 { "wxPyShape_MakeControlPoints", (PyCFunction) _wrap_wxPyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
8128 { "wxPyShape_GetDrawHandles", (PyCFunction) _wrap_wxPyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
8129 { "wxPyShape_SetDrawHandles", (PyCFunction) _wrap_wxPyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
8130 { "wxPyShape_Unlink", (PyCFunction) _wrap_wxPyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
8131 { "wxPyShape_GetChildren", (PyCFunction) _wrap_wxPyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
8132 { "wxPyShape_GetTopAncestor", (PyCFunction) _wrap_wxPyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
8133 { "wxPyShape_SetParent", (PyCFunction) _wrap_wxPyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
8134 { "wxPyShape_GetParent", (PyCFunction) _wrap_wxPyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
8135 { "wxPyShape_SetY", (PyCFunction) _wrap_wxPyShape_SetY, METH_VARARGS | METH_KEYWORDS },
8136 { "wxPyShape_SetX", (PyCFunction) _wrap_wxPyShape_SetX, METH_VARARGS | METH_KEYWORDS },
8137 { "wxPyShape_GetY", (PyCFunction) _wrap_wxPyShape_GetY, METH_VARARGS | METH_KEYWORDS },
8138 { "wxPyShape_GetX", (PyCFunction) _wrap_wxPyShape_GetX, METH_VARARGS | METH_KEYWORDS },
8139 { "wxPyShape_RemoveFromCanvas", (PyCFunction) _wrap_wxPyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
8140 { "wxPyShape_InsertInCanvas", (PyCFunction) _wrap_wxPyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
8141 { "wxPyShape_AddToCanvas", (PyCFunction) _wrap_wxPyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
8142 { "wxPyShape_SetCanvas", (PyCFunction) _wrap_wxPyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
8143 { "wxPyShape_GetCanvas", (PyCFunction) _wrap_wxPyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
8144 { "wxPyShape_GetPerimeterPoint", (PyCFunction) _wrap_wxPyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
8145 { "wxPyShape_GetBoundingBoxMin", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
8146 { "wxPyShape_GetBoundingBoxMax", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
8147 { "wxPyShape_Destroy", (PyCFunction) _wrap_wxPyShape_Destroy, METH_VARARGS | METH_KEYWORDS },
8148 { "wxPyShape__setSelf", (PyCFunction) _wrap_wxPyShape__setSelf, METH_VARARGS | METH_KEYWORDS },
8149 { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
8150 { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
8151 { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
8152 { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
8153 { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
8154 { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
8155 { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
8156 { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
8157 { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
8158 { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
8159 { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
8160 { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
8161 { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
8162 { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
8163 { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
8164 { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
8165 { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
8166 { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
8167 { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
8168 { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
8169 { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
8170 { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
8171 { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
8172 { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
8173 { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
8174 { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
8175 { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
8176 { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
8177 { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
8178 { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_wxPyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
8179 { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
8180 { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
8181 { "wxPyShapeEvtHandler_GetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
8182 { "wxPyShapeEvtHandler_SetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
8183 { "wxPyShapeEvtHandler_Destroy", (PyCFunction) _wrap_wxPyShapeEvtHandler_Destroy, METH_VARARGS | METH_KEYWORDS },
8184 { "wxPyShapeEvtHandler__setSelf", (PyCFunction) _wrap_wxPyShapeEvtHandler__setSelf, METH_VARARGS | METH_KEYWORDS },
8185 { "new_wxPyShapeEvtHandler", (PyCFunction) _wrap_new_wxPyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
8186 { "wxShapeRegion_ClearText", (PyCFunction) _wrap_wxShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
8187 { "wxShapeRegion_GetHeight", (PyCFunction) _wrap_wxShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
8188 { "wxShapeRegion_GetWidth", (PyCFunction) _wrap_wxShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
8189 { "wxShapeRegion_GetActualPen", (PyCFunction) _wrap_wxShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
8190 { "wxShapeRegion_SetPenColour", (PyCFunction) _wrap_wxShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
8191 { "wxShapeRegion_SetPenStyle", (PyCFunction) _wrap_wxShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
8192 { "wxShapeRegion_GetPenStyle", (PyCFunction) _wrap_wxShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
8193 { "wxShapeRegion_GetPenColour", (PyCFunction) _wrap_wxShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
8194 { "wxShapeRegion_GetFormattedText", (PyCFunction) _wrap_wxShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
8195 { "wxShapeRegion_GetActualColourObject", (PyCFunction) _wrap_wxShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
8196 { "wxShapeRegion_GetColour", (PyCFunction) _wrap_wxShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
8197 { "wxShapeRegion_GetName", (PyCFunction) _wrap_wxShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
8198 { "wxShapeRegion_GetFormatMode", (PyCFunction) _wrap_wxShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
8199 { "wxShapeRegion_GetPosition", (PyCFunction) _wrap_wxShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
8200 { "wxShapeRegion_GetSize", (PyCFunction) _wrap_wxShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
8201 { "wxShapeRegion_GetProportion", (PyCFunction) _wrap_wxShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
8202 { "wxShapeRegion_GetMinSize", (PyCFunction) _wrap_wxShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
8203 { "wxShapeRegion_GetFont", (PyCFunction) _wrap_wxShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
8204 { "wxShapeRegion_GetText", (PyCFunction) _wrap_wxShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
8205 { "wxShapeRegion_SetColour", (PyCFunction) _wrap_wxShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
8206 { "wxShapeRegion_SetName", (PyCFunction) _wrap_wxShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
8207 { "wxShapeRegion_SetFormatMode", (PyCFunction) _wrap_wxShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
8208 { "wxShapeRegion_SetProportions", (PyCFunction) _wrap_wxShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
8209 { "wxShapeRegion_SetPosition", (PyCFunction) _wrap_wxShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
8210 { "wxShapeRegion_SetSize", (PyCFunction) _wrap_wxShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
8211 { "wxShapeRegion_SetMinSize", (PyCFunction) _wrap_wxShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
8212 { "wxShapeRegion_SetFont", (PyCFunction) _wrap_wxShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
8213 { "wxShapeRegion_SetText", (PyCFunction) _wrap_wxShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
8214 { "new_wxShapeRegion", (PyCFunction) _wrap_new_wxShapeRegion, METH_VARARGS | METH_KEYWORDS },
8215 { NULL, NULL }
8216 };
8217 #ifdef __cplusplus
8218 }
8219 #endif
8220 /*
8221 * This table is used by the pointer type-checker
8222 */
8223 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
8224 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8225 { "_wxEvent","_class_wxEvent",0},
8226 { "_class_wxActivateEvent","_wxActivateEvent",0},
8227 { "_signed_long","_long",0},
8228 { "_wxMenuEvent","_class_wxMenuEvent",0},
8229 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
8230 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8231 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8232 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8233 { "_wxBMPHandler","_class_wxBMPHandler",0},
8234 { "_wxImage","_class_wxImage",0},
8235 { "_wxPrintQuality","_wxCoord",0},
8236 { "_wxPrintQuality","_int",0},
8237 { "_wxPrintQuality","_signed_int",0},
8238 { "_wxPrintQuality","_unsigned_int",0},
8239 { "_wxPrintQuality","_wxWindowID",0},
8240 { "_wxPrintQuality","_uint",0},
8241 { "_wxPrintQuality","_EBool",0},
8242 { "_wxPrintQuality","_size_t",0},
8243 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8244 { "_wxFontData","_class_wxFontData",0},
8245 { "_class_wxRegionIterator","_wxRegionIterator",0},
8246 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8247 { "_class_wxMenuBar","_wxMenuBar",0},
8248 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8249 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
8250 { "_class_wxEvtHandler","_wxEvtHandler",0},
8251 { "_wxPaintEvent","_class_wxPaintEvent",0},
8252 { "_wxGIFHandler","_class_wxGIFHandler",0},
8253 { "_wxPySizer","_class_wxPySizer",0},
8254 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8255 { "_wxCursor","_class_wxCursor",0},
8256 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8257 { "_wxImageHandler","_class_wxImageHandler",0},
8258 { "_class_wxToolBarBase","_wxToolBarBase",0},
8259 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
8260 { "_wxMask","_class_wxMask",0},
8261 { "_wxToolTip","_class_wxToolTip",0},
8262 { "_wxPNGHandler","_class_wxPNGHandler",0},
8263 { "_class_wxColourData","_wxColourData",0},
8264 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8265 { "_wxPrinter","_class_wxPrinter",0},
8266 { "_wxPen","_class_wxPen",0},
8267 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8268 { "_byte","_unsigned_char",0},
8269 { "_wxDataObject","_class_wxDataObject",0},
8270 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
8271 { "_wxStaticBox","_class_wxStaticBox",0},
8272 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8273 { "_wxPyDropSource","_class_wxPyDropSource",0},
8274 { "_wxChoice","_class_wxChoice",0},
8275 { "_wxSlider","_class_wxSlider",0},
8276 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8277 { "_wxPyPrintout","_class_wxPyPrintout",0},
8278 { "_wxShapeRegion","_class_wxShapeRegion",0},
8279 { "_long","_unsigned_long",0},
8280 { "_long","_signed_long",0},
8281 { "_wxImageList","_class_wxImageList",0},
8282 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8283 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8284 { "_wxBitmapButton","_class_wxBitmapButton",0},
8285 { "_wxSashWindow","_class_wxSashWindow",0},
8286 { "_class_wxSizer","_wxSizer",0},
8287 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
8288 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8289 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8290 { "_class_wxClipboard","_wxClipboard",0},
8291 { "_class_wxGauge","_wxGauge",0},
8292 { "_class_wxSashEvent","_wxSashEvent",0},
8293 { "_wxDC","_class_wxDC",0},
8294 { "_wxSizerItem","_class_wxSizerItem",0},
8295 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8296 { "_wxListEvent","_class_wxListEvent",0},
8297 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8298 { "_wxProgressDialog","_class_wxProgressDialog",0},
8299 { "_class_wxBMPHandler","_wxBMPHandler",0},
8300 { "_wxPrintPreview","_class_wxPrintPreview",0},
8301 { "_wxSpinEvent","_class_wxSpinEvent",0},
8302 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8303 { "_size_t","_wxCoord",0},
8304 { "_size_t","_wxPrintQuality",0},
8305 { "_size_t","_unsigned_int",0},
8306 { "_size_t","_int",0},
8307 { "_size_t","_wxWindowID",0},
8308 { "_size_t","_uint",0},
8309 { "_class_wxRealPoint","_wxRealPoint",0},
8310 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8311 { "_wxPNMHandler","_class_wxPNMHandler",0},
8312 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8313 { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler},
8314 { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler},
8315 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
8316 { "_class_wxMenuItem","_wxMenuItem",0},
8317 { "_class_wxPaintEvent","_wxPaintEvent",0},
8318 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8319 { "_class_wxStatusBar","_wxStatusBar",0},
8320 { "_class_wxGIFHandler","_wxGIFHandler",0},
8321 { "_class_wxPySizer","_wxPySizer",0},
8322 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8323 { "_wxPanel","_class_wxPanel",0},
8324 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8325 { "_wxCheckBox","_class_wxCheckBox",0},
8326 { "_wxPyEvent","_class_wxPyEvent",0},
8327 { "_wxTextCtrl","_class_wxTextCtrl",0},
8328 { "_class_wxMask","_wxMask",0},
8329 { "_wxTextDataObject","_class_wxTextDataObject",0},
8330 { "_class_wxKeyEvent","_wxKeyEvent",0},
8331 { "_class_wxToolTip","_wxToolTip",0},
8332 { "_class_wxPNGHandler","_wxPNGHandler",0},
8333 { "_wxColour","_class_wxColour",0},
8334 { "_class_wxDialog","_wxDialog",0},
8335 { "_wxBusyCursor","_class_wxBusyCursor",0},
8336 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8337 { "_class_wxPrinter","_wxPrinter",0},
8338 { "_class_wxFileDataObject","_wxFileDataObject",0},
8339 { "_wxIdleEvent","_class_wxIdleEvent",0},
8340 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8341 { "_wxToolBar","_class_wxToolBar",0},
8342 { "_class_wxDataObject","_wxDataObject",0},
8343 { "_wxCaret","_class_wxCaret",0},
8344 { "_wxStaticLine","_class_wxStaticLine",0},
8345 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8346 { "_wxBrush","_class_wxBrush",0},
8347 { "_wxMiniFrame","_class_wxMiniFrame",0},
8348 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8349 { "_class_wxPyPrintout","_wxPyPrintout",0},
8350 { "_wxDataFormat","_class_wxDataFormat",0},
8351 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8352 { "_class_wxSashWindow","_wxSashWindow",0},
8353 { "_wxShowEvent","_class_wxShowEvent",0},
8354 { "_uint","_wxCoord",0},
8355 { "_uint","_wxPrintQuality",0},
8356 { "_uint","_size_t",0},
8357 { "_uint","_unsigned_int",0},
8358 { "_uint","_int",0},
8359 { "_uint","_wxWindowID",0},
8360 { "_wxPyValidator","_class_wxPyValidator",0},
8361 { "_class_wxEvent","_wxEvent",0},
8362 { "_wxCheckListBox","_class_wxCheckListBox",0},
8363 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8364 { "_wxRect","_class_wxRect",0},
8365 { "_wxCommandEvent","_class_wxCommandEvent",0},
8366 { "_wxSizeEvent","_class_wxSizeEvent",0},
8367 { "_class_wxImage","_wxImage",0},
8368 { "_wxPoint","_class_wxPoint",0},
8369 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8370 { "_class_wxButton","_wxButton",0},
8371 { "_wxRadioBox","_class_wxRadioBox",0},
8372 { "_class_wxFontData","_wxFontData",0},
8373 { "_class_wxPNMHandler","_wxPNMHandler",0},
8374 { "_wxBoxSizer","_class_wxBoxSizer",0},
8375 { "_wxBitmap","_class_wxBitmap",0},
8376 { "_char","_wxDash",0},
8377 { "_wxPrintDialog","_class_wxPrintDialog",0},
8378 { "_wxPyTimer","_class_wxPyTimer",0},
8379 { "_wxWindowDC","_class_wxWindowDC",0},
8380 { "_wxScrollBar","_class_wxScrollBar",0},
8381 { "_wxSpinButton","_class_wxSpinButton",0},
8382 { "_wxColourDialog","_class_wxColourDialog",0},
8383 { "_wxPrintData","_class_wxPrintData",0},
8384 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8385 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8386 { "_wxMessageDialog","_class_wxMessageDialog",0},
8387 { "_class_wxValidator","_wxValidator",0},
8388 { "_class_wxPyEvent","_wxPyEvent",0},
8389 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
8390 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8391 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8392 { "_class_wxBusyCursor","_wxBusyCursor",0},
8393 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
8394 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8395 { "_wxListItem","_class_wxListItem",0},
8396 { "_class_wxToolBar","_wxToolBar",0},
8397 { "_wxDropTarget","_class_wxDropTarget",0},
8398 { "_class_wxStaticLine","_wxStaticLine",0},
8399 { "_wxScrollEvent","_class_wxScrollEvent",0},
8400 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
8401 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
8402 { "_class_wxShapeRegion","_wxShapeRegion",0},
8403 { "_EBool","_wxCoord",0},
8404 { "_EBool","_wxPrintQuality",0},
8405 { "_EBool","_signed_int",0},
8406 { "_EBool","_int",0},
8407 { "_EBool","_wxWindowID",0},
8408 { "_class_wxRegion","_wxRegion",0},
8409 { "_class_wxDataFormat","_wxDataFormat",0},
8410 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8411 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8412 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8413 { "_wxStaticText","_class_wxStaticText",0},
8414 { "_wxFont","_class_wxFont",0},
8415 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8416 { "_wxCloseEvent","_class_wxCloseEvent",0},
8417 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
8418 { "_wxNotebook","_class_wxNotebook",0},
8419 { "_unsigned_long","_long",0},
8420 { "_class_wxRect","_wxRect",0},
8421 { "_class_wxDC","_wxDC",0},
8422 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8423 { "_class_wxProgressDialog","_wxProgressDialog",0},
8424 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8425 { "_wxPyApp","_class_wxPyApp",0},
8426 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8427 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8428 { "_class_wxTreeEvent","_wxTreeEvent",0},
8429 { "_class_wxDirDialog","_wxDirDialog",0},
8430 { "_class_wxPyTimer","_wxPyTimer",0},
8431 { "_wxFocusEvent","_class_wxFocusEvent",0},
8432 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8433 { "_class_wxSpinButton","_wxSpinButton",0},
8434 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8435 { "_class_wxPanel","_wxPanel",0},
8436 { "_class_wxCheckBox","_wxCheckBox",0},
8437 { "_wxComboBox","_class_wxComboBox",0},
8438 { "_wxRadioButton","_class_wxRadioButton",0},
8439 { "_class_wxMessageDialog","_wxMessageDialog",0},
8440 { "_signed_int","_wxCoord",0},
8441 { "_signed_int","_wxPrintQuality",0},
8442 { "_signed_int","_EBool",0},
8443 { "_signed_int","_wxWindowID",0},
8444 { "_signed_int","_int",0},
8445 { "_class_wxTextCtrl","_wxTextCtrl",0},
8446 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8447 { "_class_wxTextDataObject","_wxTextDataObject",0},
8448 { "_wxMenu","_class_wxMenu",0},
8449 { "_class_wxMoveEvent","_wxMoveEvent",0},
8450 { "_wxListBox","_class_wxListBox",0},
8451 { "_wxScreenDC","_class_wxScreenDC",0},
8452 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
8453 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
8454 { "_WXTYPE","_short",0},
8455 { "_WXTYPE","_signed_short",0},
8456 { "_WXTYPE","_unsigned_short",0},
8457 { "_wxFileDialog","_class_wxFileDialog",0},
8458 { "_class_wxDropTarget","_wxDropTarget",0},
8459 { "_class_wxCaret","_wxCaret",0},
8460 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8461 { "_class_wxBrush","_wxBrush",0},
8462 { "_unsigned_short","_WXTYPE",0},
8463 { "_unsigned_short","_short",0},
8464 { "_class_wxWindow","_wxWindow",0},
8465 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
8466 { "_class_wxStaticText","_wxStaticText",0},
8467 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8468 { "_class_wxFont","_wxFont",0},
8469 { "_wxClipboard","_class_wxClipboard",0},
8470 { "_class_wxPyValidator","_wxPyValidator",0},
8471 { "_class_wxCloseEvent","_wxCloseEvent",0},
8472 { "_wxSashEvent","_class_wxSashEvent",0},
8473 { "_wxBusyInfo","_class_wxBusyInfo",0},
8474 { "_class_wxMenuEvent","_wxMenuEvent",0},
8475 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8476 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8477 { "_wxClientDC","_class_wxClientDC",0},
8478 { "_wxMouseEvent","_class_wxMouseEvent",0},
8479 { "_wxListCtrl","_class_wxListCtrl",0},
8480 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8481 { "_class_wxPoint","_wxPoint",0},
8482 { "_wxRealPoint","_class_wxRealPoint",0},
8483 { "_class_wxRadioBox","_wxRadioBox",0},
8484 { "_class_wxBoxSizer","_wxBoxSizer",0},
8485 { "_signed_short","_WXTYPE",0},
8486 { "_signed_short","_short",0},
8487 { "_wxMemoryDC","_class_wxMemoryDC",0},
8488 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8489 { "_class_wxPrintDialog","_wxPrintDialog",0},
8490 { "_wxPaintDC","_class_wxPaintDC",0},
8491 { "_class_wxWindowDC","_wxWindowDC",0},
8492 { "_class_wxFocusEvent","_wxFocusEvent",0},
8493 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8494 { "_wxStatusBar","_class_wxStatusBar",0},
8495 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8496 { "_class_wxCursor","_wxCursor",0},
8497 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8498 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8499 { "_class_wxImageHandler","_wxImageHandler",0},
8500 { "_wxPyShape","_class_wxPyShape",0},
8501 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8502 { "_wxTreeItemId","_class_wxTreeItemId",0},
8503 { "_unsigned_char","_byte",0},
8504 { "_class_wxMenu","_wxMenu",0},
8505 { "_wxControl","_class_wxControl",0},
8506 { "_class_wxListBox","_wxListBox",0},
8507 { "_unsigned_int","_wxCoord",0},
8508 { "_unsigned_int","_wxPrintQuality",0},
8509 { "_unsigned_int","_size_t",0},
8510 { "_unsigned_int","_uint",0},
8511 { "_unsigned_int","_wxWindowID",0},
8512 { "_unsigned_int","_int",0},
8513 { "_wxIcon","_class_wxIcon",0},
8514 { "_wxDialog","_class_wxDialog",0},
8515 { "_class_wxListItem","_wxListItem",0},
8516 { "_class_wxPen","_wxPen",0},
8517 { "_class_wxFileDialog","_wxFileDialog",0},
8518 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
8519 { "_short","_WXTYPE",0},
8520 { "_short","_unsigned_short",0},
8521 { "_short","_signed_short",0},
8522 { "_class_wxStaticBox","_wxStaticBox",0},
8523 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8524 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8525 { "_class_wxPyDropSource","_wxPyDropSource",0},
8526 { "_class_wxScrollEvent","_wxScrollEvent",0},
8527 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8528 { "_class_wxChoice","_wxChoice",0},
8529 { "_class_wxSlider","_wxSlider",0},
8530 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8531 { "_class_wxImageList","_wxImageList",0},
8532 { "_class_wxBitmapButton","_wxBitmapButton",0},
8533 { "_wxFrame","_class_wxFrame",0},
8534 { "_wxPCXHandler","_class_wxPCXHandler",0},
8535 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8536 { "_class_wxNotebook","_wxNotebook",0},
8537 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8538 { "_wxWindowID","_wxCoord",0},
8539 { "_wxWindowID","_wxPrintQuality",0},
8540 { "_wxWindowID","_size_t",0},
8541 { "_wxWindowID","_EBool",0},
8542 { "_wxWindowID","_uint",0},
8543 { "_wxWindowID","_int",0},
8544 { "_wxWindowID","_signed_int",0},
8545 { "_wxWindowID","_unsigned_int",0},
8546 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8547 { "_class_wxSizerItem","_wxSizerItem",0},
8548 { "_int","_wxCoord",0},
8549 { "_int","_wxPrintQuality",0},
8550 { "_int","_size_t",0},
8551 { "_int","_EBool",0},
8552 { "_int","_uint",0},
8553 { "_int","_wxWindowID",0},
8554 { "_int","_unsigned_int",0},
8555 { "_int","_signed_int",0},
8556 { "_class_wxMouseEvent","_wxMouseEvent",0},
8557 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8558 { "_class_wxListEvent","_wxListEvent",0},
8559 { "_class_wxPrintPreview","_wxPrintPreview",0},
8560 { "_class_wxSpinEvent","_wxSpinEvent",0},
8561 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8562 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8563 { "_wxButton","_class_wxButton",0},
8564 { "_class_wxPyApp","_wxPyApp",0},
8565 { "_wxSize","_class_wxSize",0},
8566 { "_wxRegionIterator","_class_wxRegionIterator",0},
8567 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8568 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8569 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8570 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
8571 { "_class_wxPaintDC","_wxPaintDC",0},
8572 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8573 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8574 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8575 { "_class_wxComboBox","_wxComboBox",0},
8576 { "_class_wxRadioButton","_wxRadioButton",0},
8577 { "_class_wxPyShape","_wxPyShape",0},
8578 { "_wxValidator","_class_wxValidator",0},
8579 { "_wxToolBarBase","_class_wxToolBarBase",0},
8580 { "_class_wxTreeItemId","_wxTreeItemId",0},
8581 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
8582 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8583 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8584 { "_class_wxControl","_wxControl",0},
8585 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8586 { "_class_wxIcon","_wxIcon",0},
8587 { "_class_wxColour","_wxColour",0},
8588 { "_class_wxScreenDC","_wxScreenDC",0},
8589 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8590 { "_wxPalette","_class_wxPalette",0},
8591 { "_class_wxIdleEvent","_wxIdleEvent",0},
8592 { "_wxCoord","_int",0},
8593 { "_wxCoord","_signed_int",0},
8594 { "_wxCoord","_unsigned_int",0},
8595 { "_wxCoord","_wxWindowID",0},
8596 { "_wxCoord","_uint",0},
8597 { "_wxCoord","_EBool",0},
8598 { "_wxCoord","_size_t",0},
8599 { "_wxCoord","_wxPrintQuality",0},
8600 { "_wxEraseEvent","_class_wxEraseEvent",0},
8601 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8602 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8603 { "_class_wxMiniFrame","_wxMiniFrame",0},
8604 { "_wxFontDialog","_class_wxFontDialog",0},
8605 { "_wxRegion","_class_wxRegion",0},
8606 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8607 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8608 { "_wxSizer","_class_wxSizer",0},
8609 { "_class_wxShowEvent","_wxShowEvent",0},
8610 { "_class_wxPCXHandler","_wxPCXHandler",0},
8611 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
8612 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8613 { "_wxActivateEvent","_class_wxActivateEvent",0},
8614 { "_wxGauge","_class_wxGauge",0},
8615 { "_class_wxCheckListBox","_wxCheckListBox",0},
8616 { "_class_wxBusyInfo","_wxBusyInfo",0},
8617 { "_class_wxCommandEvent","_wxCommandEvent",0},
8618 { "_class_wxClientDC","_wxClientDC",0},
8619 { "_class_wxSizeEvent","_wxSizeEvent",0},
8620 { "_class_wxListCtrl","_wxListCtrl",0},
8621 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8622 { "_class_wxSize","_wxSize",0},
8623 { "_class_wxBitmap","_wxBitmap",0},
8624 { "_class_wxMemoryDC","_wxMemoryDC",0},
8625 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8626 { "_wxMenuBar","_class_wxMenuBar",0},
8627 { "_wxTreeEvent","_class_wxTreeEvent",0},
8628 { "_wxDirDialog","_class_wxDirDialog",0},
8629 { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler},
8630 { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler},
8631 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
8632 { "_wxEvtHandler","_class_wxEvtHandler",0},
8633 { "_wxMenuItem","_class_wxMenuItem",0},
8634 { "_class_wxScrollBar","_wxScrollBar",0},
8635 { "_class_wxColourDialog","_wxColourDialog",0},
8636 { "_class_wxPrintData","_wxPrintData",0},
8637 { "_wxDash","_char",0},
8638 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8639 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
8640 { "_wxKeyEvent","_class_wxKeyEvent",0},
8641 { "_wxMoveEvent","_class_wxMoveEvent",0},
8642 { "_wxColourData","_class_wxColourData",0},
8643 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
8644 { "_class_wxPalette","_wxPalette",0},
8645 { "_wxFileDataObject","_class_wxFileDataObject",0},
8646 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
8647 { "_class_wxEraseEvent","_wxEraseEvent",0},
8648 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
8649 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
8650 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8651 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
8652 { "_class_wxFontDialog","_wxFontDialog",0},
8653 { "_wxWindow","_class_wxWindow",0},
8654 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8655 { "_class_wxFrame","_wxFrame",0},
8656 {0,0,0}};
8657
8658 static PyObject *SWIG_globals;
8659 #ifdef __cplusplus
8660 extern "C"
8661 #endif
8662 SWIGEXPORT(void) initoglbasicc() {
8663 PyObject *m, *d;
8664 SWIG_globals = SWIG_newvarlink();
8665 m = Py_InitModule("oglbasicc", oglbasiccMethods);
8666 d = PyModule_GetDict(m);
8667 {
8668 int i;
8669 for (i = 0; _swig_mapping[i].n1; i++)
8670 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8671 }
8672 }