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