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