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