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