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