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