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