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