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