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