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