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