]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/msw/ogl_wrap.cpp
Typo
[wxWidgets.git] / wxPython / contrib / ogl / msw / ogl_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 3 * Version 1.3.22
44127b65
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
44127b65
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
44127b65
RD
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
f0983263
RD
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
44127b65 83#else
f0983263
RD
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
44127b65
RD
86#endif
87
88#ifdef SWIG_GLOBAL
f0983263 89# define SWIGRUNTIME(a) SWIGEXPORT(a)
44127b65 90#else
f0983263 91# define SWIGRUNTIME(a) static a
44127b65
RD
92#endif
93
44127b65
RD
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
f0983263 102 const char *name;
44127b65
RD
103 swig_converter_func converter;
104 const char *str;
f0983263 105 void *clientdata;
44127b65
RD
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
44127b65
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
f0983263
RD
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
44127b65
RD
122
123
124#ifdef __cplusplus
125}
44127b65
RD
126#endif
127
c32bde28 128
44127b65
RD
129/***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
44127b65
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
44127b65
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
83448d71 174
44127b65
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
44127b65
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
8edf1c75 187typedef double (*py_objasdbl_conv)(PyObject *obj);
44127b65 188
f0983263
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
44127b65 197
44127b65
RD
198
199/* Contract support */
200
201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
44127b65
RD
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
44127b65
RD
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxOGLConstraint swig_types[0]
212#define SWIGTYPE_p_wxBrush swig_types[1]
213#define SWIGTYPE_p_wxColour swig_types[2]
214#define SWIGTYPE_p_wxShapeRegion swig_types[3]
215#define SWIGTYPE_p_wxDC swig_types[4]
216#define SWIGTYPE_p_wxRealPoint swig_types[5]
217#define SWIGTYPE_p_wxPyControlPoint swig_types[6]
218#define SWIGTYPE_p_wxArrowHead swig_types[7]
8edf1c75
RD
219#define SWIGTYPE_p_char swig_types[8]
220#define SWIGTYPE_p_wxStringList swig_types[9]
221#define SWIGTYPE_p_wxPanel swig_types[10]
222#define SWIGTYPE_p_bool swig_types[11]
223#define SWIGTYPE_p_wxList swig_types[12]
224#define SWIGTYPE_p_wxFont swig_types[13]
225#define SWIGTYPE_p_wxScrolledWindow swig_types[14]
226#define SWIGTYPE_p_wxWindow swig_types[15]
227#define SWIGTYPE_p_double swig_types[16]
4e760a36
RD
228#define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
229#define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
8edf1c75
RD
230#define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
231#define SWIGTYPE_p_wxBitmap swig_types[20]
232#define SWIGTYPE_p_wxObject swig_types[21]
233#define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
4e760a36
RD
234#define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
235#define SWIGTYPE_p_wxEvtHandler swig_types[24]
236#define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
237#define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
238#define SWIGTYPE_p_wxPoint swig_types[27]
239#define SWIGTYPE_p_wxDiagram swig_types[28]
240#define SWIGTYPE_p_wxPyShape swig_types[29]
241#define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
242#define SWIGTYPE_p_wxClassInfo swig_types[31]
243#define SWIGTYPE_p_wxPyLineShape swig_types[32]
244#define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
245#define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
246#define SWIGTYPE_p_wxPyCircleShape swig_types[35]
247#define SWIGTYPE_p_wxPen swig_types[36]
248#define SWIGTYPE_p_int swig_types[37]
249#define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
250#define SWIGTYPE_p_wxPyTextShape swig_types[39]
251#define SWIGTYPE_p_wxPyDividedShape swig_types[40]
252static swig_type_info *swig_types[42];
44127b65
RD
253
254/* -------- TYPES TABLE (END) -------- */
255
256
257/*-----------------------------------------------
258 @(target):= _ogl.so
259 ------------------------------------------------*/
260#define SWIG_init init_ogl
261
262#define SWIG_name "_ogl"
263
c32bde28
RD
264/* Auxiliar swig macros that appear in the header */
265
266#define SWIG_OLDOBJ 1
267#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
268#define SWIG_PYSTR SWIG_NEWOBJ + 1
8edf1c75 269
8edf1c75 270#ifdef __cplusplus
2f4c0a16 271#define SWIGSTATICINLINE(a) static inline a
8edf1c75 272#define SWIGSTATIC(a) static a
c32bde28
RD
273#define swig_new_array(size,Type) (new Type[(size)])
274#define swig_delete(cptr) delete cptr
2f4c0a16 275#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
276#define swig_const_cast(a,Type) const_cast<Type >(a)
277#define swig_static_cast(a,Type) static_cast<Type >(a)
278#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
279#define swig_new_copy(ptr,Type) (new Type(*ptr))
280#define swig_numeric_cast(a,Type) static_cast<Type >(a)
8edf1c75 281
2f4c0a16
RD
282#else /* C case */
283
284#define SWIGSTATICINLINE(a) static a
285#define SWIGSTATIC(a) static a
c32bde28
RD
286#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
287#define swig_delete(cptr) free((char*)cptr)
2f4c0a16 288#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
289#define swig_const_cast(a,Type) (Type)(a)
290#define swig_static_cast(a,Type) (Type)(a)
291#define swig_reinterpret_cast(a,Type) (Type)(a)
292#define swig_numeric_cast(a,Type) (Type)(a)
293#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
2f4c0a16
RD
294
295#endif /* __cplusplus */
8edf1c75
RD
296
297
c32bde28
RD
298/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
299#define SWIG_From_signed_SS_char PyInt_FromLong
300/*@@*/
301/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
302#define SWIG_From_unsigned_SS_char PyInt_FromLong
303/*@@*/
304/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
305#define SWIG_From_short PyInt_FromLong
306/*@@*/
307/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
308#define SWIG_From_unsigned_SS_short PyInt_FromLong
309/*@@*/
310/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
311#define SWIG_From_int PyInt_FromLong
312/*@@*/
313/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
314#define SWIG_From_long PyInt_FromLong
315/*@@*/
316/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
317#define SWIG_From_float PyFloat_FromDouble
318/*@@*/
319/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
320#define SWIG_From_double PyFloat_FromDouble
321/*@@*/
8edf1c75
RD
322
323
44127b65
RD
324#include "wx/wxPython/wxPython.h"
325#include "wx/wxPython/pyclasses.h"
326#include "oglhelpers.h"
327
328
d03fd34d 329 static const wxString wxPyEmptyString(wxEmptyString);
44127b65 330
c32bde28
RD
331// See my_fragments.i
332SWIGSTATICINLINE(int)
333SWIG_AsVal_double(PyObject *obj, double* val)
8edf1c75 334{
c32bde28
RD
335 if (PyNumber_Check(obj)) {
336 if (val) *val = PyFloat_AsDouble(obj);
337 return 1;
338 }
69223c70
RD
339 else {
340 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
341 obj->ob_type->tp_name);
342 PyErr_SetObject(PyExc_TypeError, errmsg);
343 Py_DECREF(errmsg);
69223c70 344 }
c32bde28 345 return 0;
2f4c0a16
RD
346}
347
348
c32bde28
RD
349SWIGSTATICINLINE(double)
350SWIG_As_double(PyObject* obj)
2f4c0a16 351{
c32bde28
RD
352 double v;
353 if (!SWIG_AsVal_double(obj, &v)) {
354 /*
355 this is needed to make valgrind/purify happier. the other
356 solution is throw an exception, but since this code should work
357 with plain C ....
358 */
359 memset((void*)&v, 0, sizeof(double));
2f4c0a16 360 }
c32bde28
RD
361 return v;
362}
363
364
365SWIGSTATICINLINE(int)
366SWIG_Check_double(PyObject* obj)
367{
368 return SWIG_AsVal_double(obj, (double*)0);
2f4c0a16
RD
369}
370
371
372#include <limits.h>
373
374
c32bde28
RD
375SWIGSTATICINLINE(int)
376 SWIG_CheckLongInRange(long value, long min_value, long max_value,
377 const char *errmsg)
2f4c0a16 378{
c32bde28
RD
379 if (value < min_value) {
380 if (errmsg) {
381 PyErr_Format(PyExc_OverflowError,
382 "value %ld is less than '%s' minimum %ld",
383 value, errmsg, min_value);
384 }
385 return 0;
386 } else if (value > max_value) {
387 if (errmsg) {
388 PyErr_Format(PyExc_OverflowError,
389 "value %ld is greater than '%s' maximum %ld",
390 value, errmsg, max_value);
2f4c0a16 391 }
c32bde28 392 return 0;
2f4c0a16 393 }
c32bde28 394 return 1;
8edf1c75
RD
395}
396
397
c32bde28
RD
398// See my_fragments.i
399SWIGSTATICINLINE(int)
400SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 401{
c32bde28
RD
402 if (PyNumber_Check(obj)) {
403 if (val) *val = PyInt_AsLong(obj);
404 return 1;
405 }
69223c70
RD
406 else {
407 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
408 obj->ob_type->tp_name);
409 PyErr_SetObject(PyExc_TypeError, errmsg);
410 Py_DECREF(errmsg);
69223c70 411 }
c32bde28 412 return 0;
2f4c0a16
RD
413}
414
415
416#if INT_MAX != LONG_MAX
417SWIGSTATICINLINE(int)
c32bde28 418 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 419{
c32bde28
RD
420 const char* errmsg = val ? "int" : 0;
421 long v;
422 if (SWIG_AsVal_long(obj, &v)) {
423 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
424 if (val) *val = swig_numeric_cast(v, int);
425 return 1;
426 } else {
427 return 0;
428 }
429 } else {
430 PyErr_Clear();
431 }
432 if (val) {
433 PyErr_SetString(PyExc_TypeError, "an int is expected");
434 }
435 return 0;
2f4c0a16
RD
436}
437#else
c32bde28
RD
438SWIGSTATICINLINE(int)
439 SWIG_AsVal_int(PyObject *obj, int *val)
440{
441 return SWIG_AsVal_long(obj,(long*)val);
442}
2f4c0a16
RD
443#endif
444
445
446SWIGSTATICINLINE(int)
c32bde28 447SWIG_As_int(PyObject* obj)
2f4c0a16 448{
c32bde28
RD
449 int v;
450 if (!SWIG_AsVal_int(obj, &v)) {
451 /*
452 this is needed to make valgrind/purify happier. the other
453 solution is throw an exception, but since this code should work
454 with plain C ....
455 */
456 memset((void*)&v, 0, sizeof(int));
2f4c0a16 457 }
c32bde28 458 return v;
8edf1c75
RD
459}
460
c32bde28
RD
461
462SWIGSTATICINLINE(int)
463SWIG_Check_int(PyObject* obj)
464{
465 return SWIG_AsVal_int(obj, (int*)0);
466}
8edf1c75 467
c32bde28
RD
468
469 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
44127b65
RD
470 PyObject* o2;
471 PyObject* o3;
c32bde28 472
44127b65
RD
473 if (!target) {
474 target = o;
475 } else if (target == Py_None) {
476 Py_DECREF(Py_None);
477 target = o;
7e63a440
RD
478 } else {
479 if (!PyTuple_Check(target)) {
480 o2 = target;
481 target = PyTuple_New(1);
482 PyTuple_SetItem(target, 0, o2);
483 }
44127b65
RD
484 o3 = PyTuple_New(1);
485 PyTuple_SetItem(o3, 0, o);
486
487 o2 = target;
488 target = PySequence_Concat(o2, o3);
489 Py_DECREF(o2);
490 Py_DECREF(o3);
491 }
492 return target;
7e63a440 493 }
44127b65
RD
494
495
c32bde28 496
44127b65
RD
497 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
498
499void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
500 self->SetClientObject(new wxPyOORClientData(_self));
501 }
502
c32bde28
RD
503SWIGSTATICINLINE(int)
504 SWIG_AsVal_bool(PyObject *obj, bool *val)
8edf1c75 505{
c32bde28
RD
506 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
507 if (obj == Py_True) {
508 if (val) *val = true;
509 return 1;
510 }
511 if (obj == Py_False) {
512 if (val) *val = false;
513 return 1;
514 }
515 int res = 0;
516 if (SWIG_AsVal_int(obj, &res)) {
517 if (val) *val = (bool)res;
518 return 1;
519 }
520 if (val) {
521 PyErr_SetString(PyExc_TypeError, "a bool is expected");
522 }
523 return 0;
8edf1c75
RD
524}
525
526
c32bde28
RD
527SWIGSTATICINLINE(bool)
528SWIG_As_bool(PyObject* obj)
2f4c0a16 529{
c32bde28
RD
530 bool v;
531 if (!SWIG_AsVal_bool(obj, &v)) {
532 /*
533 this is needed to make valgrind/purify happier. the other
534 solution is throw an exception, but since this code should work
535 with plain C ....
536 */
537 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 538 }
c32bde28
RD
539 return v;
540}
541
542
543SWIGSTATICINLINE(int)
544SWIG_Check_bool(PyObject* obj)
545{
546 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
547}
548
549
44127b65
RD
550 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
551
552PyObject *wxPyShape_GetChildren(wxPyShape *self){
553 wxList& list = self->GetChildren();
554 return wxPy_ConvertShapeList(&list);
555 }
c32bde28
RD
556
557SWIGSTATICINLINE(PyObject*)
558 SWIG_From_bool(bool value)
559{
560 PyObject *obj = value ? Py_True : Py_False;
561 Py_INCREF(obj);
562 return obj;
563}
564
565
566
44127b65
RD
567PyObject *wxPyShape_GetLines(wxPyShape *self){
568 wxList& list = self->GetLines();
569 return wxPy_ConvertShapeList(&list);
570 }
8edf1c75 571
c32bde28
RD
572SWIGSTATICINLINE(long)
573SWIG_As_long(PyObject* obj)
8edf1c75 574{
c32bde28
RD
575 long v;
576 if (!SWIG_AsVal_long(obj, &v)) {
577 /*
578 this is needed to make valgrind/purify happier. the other
579 solution is throw an exception, but since this code should work
580 with plain C ....
581 */
582 memset((void*)&v, 0, sizeof(long));
2f4c0a16 583 }
c32bde28
RD
584 return v;
585}
586
587
588SWIGSTATICINLINE(int)
589SWIG_Check_long(PyObject* obj)
590{
591 return SWIG_AsVal_long(obj, (long*)0);
8edf1c75
RD
592}
593
44127b65
RD
594PyObject *wxPyShape_GetRegions(wxPyShape *self){
595 wxList& list = self->GetRegions();
596 return wxPy_ConvertList(&list);
597 }
7a0a63ae
RD
598PyObject *wxPyShape_GetAttachments(wxPyShape *self){
599 wxList& list = self->GetAttachments();
600 return wxPy_ConvertList(&list);
601 }
44127b65
RD
602void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
603 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
604 self->ApplyAttachmentOrdering(*list);
605 delete list;
606 }
607
608// Using this macro can sometimes provoke an Internal Compiler Error in MSVC
609// 6, so instead I'l just expand it out by hand...
610// WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
611
612 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
613 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
614 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
615 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
616 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
617 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
618 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
619 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
620 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
621 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
622 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
623 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
624 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
625 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
626 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
627 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
628 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
629 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
630 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
631 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
632 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
633 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
634 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
635 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
636 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
637 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
638 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
639 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
640 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
641
642
643
644 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
645
646
647 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
648
649
650 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
651
652wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
653 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
654 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
655 delete list;
656 return rv;
657 }
658
659 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
660
661wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
662 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
663 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
664 delete list;
665 return rv;
666 }
667PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
668 wxList& list = self->GetConstraints();
669 return wxPy_ConvertList(&list);
670 }
671PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
672 wxList& list = self->GetDivisions();
673 return wxPy_ConvertShapeList(&list);
674 }
675
676 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
677
678
679 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
680
681
682 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
683
684
685 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
686
687
688 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
689
690void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
691 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
692 self->AddArrowOrdered(arrow, *list, end);
693 delete list;
694 }
695PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
696 wxList* list = self->GetLineControlPoints();
b1f29bf7
RD
697 return wxPy_ConvertRealPointList(list);
698 }
699void wxPyLineShape_SetLineControlPoints(wxPyLineShape *self,PyObject *list){
700 wxList* real_point_list = wxPy_wxRealPoint_ListHelper(list);
701 self->MakeLineControlPoints((int)(real_point_list->GetCount()));
702 wxList* old_control_points = self->GetLineControlPoints();
703 wxNode* old_node = old_control_points->GetFirst();
704 wxNode* real_node = real_point_list->GetFirst();
705 while(old_node)
706 {
707 wxRealPoint* old_point = (wxRealPoint*)old_node->GetData();
708 wxRealPoint* new_point = (wxRealPoint*)real_node->GetData();
709 old_point->x = new_point->x;
710 old_point->y = new_point->y;
711 old_node = old_node->GetNext();
712 real_node = real_node->GetNext();
713 }
714 self->ClearPointList(*real_point_list);
715 delete real_point_list;
44127b65
RD
716 }
717
718 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
719
720PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
721 wxList* list = wxPy_wxRealPoint_ListHelper(points);
722 if (list) {
723 self->Create(list);
724 Py_INCREF(Py_None);
725 return Py_None;
726 }
727 else return NULL;
728 }
729PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
730 wxList* list = self->GetPoints();
b1f29bf7 731 return wxPy_ConvertRealPointList(list);
7a0a63ae
RD
732 }
733PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
734 wxList* list = self->GetOriginalPoints();
735 PyObject* pyList;
736 PyObject* pyObj;
737 wxObject* wxObj;
738 wxNode* node = list->GetFirst();
739
4f89f6a3 740 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
741 pyList = PyList_New(0);
742 while (node) {
743 wxObj = node->GetData();
744 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
745 PyList_Append(pyList, pyObj);
746 node = node->GetNext();
747 }
4f89f6a3 748 wxPyEndBlockThreads(blocked);
44127b65
RD
749 return pyList;
750 }
751
752 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
753
754
755 // Put some wx default wxChar* values into wxStrings.
756 DECLARE_DEF_STRING(ShapeCanvasNameStr);
757
758PyObject *wxDiagram_GetShapeList(wxDiagram *self){
759 wxList* list = self->GetShapeList();
760 return wxPy_ConvertShapeList(list);
761 }
762
763 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
764 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
765 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
766 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
767 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
768 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
769 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
770 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
771
772
773//---------------------------------------------------------------------------
774
775// Convert from a Python list to a list of className objects. This one will
776// work for any class for the VERY generic cases, but beyond that the helper
777// needs to know more about the type.
778wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
4f89f6a3 779 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
780 if (!PyList_Check(pyList)) {
781 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
4f89f6a3 782 wxPyEndBlockThreads(blocked);
44127b65
RD
783 return NULL;
784 }
785 int count = PyList_Size(pyList);
786 wxList* list = new wxList;
787 if (! list) {
788 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
4f89f6a3 789 wxPyEndBlockThreads(blocked);
44127b65
RD
790 return NULL;
791 }
792 for (int x=0; x<count; x++) {
793 PyObject* pyo = PyList_GetItem(pyList, x);
794 wxObject* wxo = NULL;
795
796 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
797 wxString errmsg;
798 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
799 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
4f89f6a3 800 wxPyEndBlockThreads(blocked);
44127b65
RD
801 return NULL;
802 }
803 list->Append(wxo);
804 }
4f89f6a3 805 wxPyEndBlockThreads(blocked);
44127b65
RD
806 return list;
807}
808
809//---------------------------------------------------------------------------
810
811wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
4f89f6a3 812 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
813 if (!PyList_Check(pyList)) {
814 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
4f89f6a3 815 wxPyEndBlockThreads(blocked);
44127b65
RD
816 return NULL;
817 }
818 int count = PyList_Size(pyList);
819 wxList* list = new wxList;
820 if (! list) {
821 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
4f89f6a3 822 wxPyEndBlockThreads(blocked);
44127b65
RD
823 return NULL;
824 }
825 for (int x=0; x<count; x++) {
826 PyObject* pyo = PyList_GetItem(pyList, x);
827
828 if (PyTuple_Check(pyo)) {
829 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
830 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
831
832 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
833 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
834
835 list->Append((wxObject*) new wxRealPoint(val1, val2));
836
837 } else {
838 wxRealPoint* wxo = NULL;
839 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
840 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
4f89f6a3 841 wxPyEndBlockThreads(blocked);
44127b65
RD
842 return NULL;
843 }
844 list->Append((wxObject*) new wxRealPoint(*wxo));
845 }
846 }
4f89f6a3 847 wxPyEndBlockThreads(blocked);
44127b65
RD
848 return list;
849}
850
851//---------------------------------------------------------------------------
852
412d302d 853PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source, bool setThisOwn) {
44127b65
RD
854 PyObject* target = NULL;
855
856 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
857 // If it's derived from wxShapeEvtHandler then there may
858 // already be a pointer to a Python object that we can use
859 // in the OOR data.
860 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
861 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
862 if (data) {
863 target = data->m_obj;
864 Py_INCREF(target);
865 }
866 }
867 if (! target) {
412d302d 868 target = wxPyMake_wxObject2(source, setThisOwn, false);
44127b65
RD
869 if (target != Py_None)
870 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
871 }
872 return target;
873}
874
875//---------------------------------------------------------------------------
876
b1f29bf7
RD
877PyObject* wxPy_ConvertRealPointList(wxListBase* listbase) {
878 wxList* list = (wxList*)listbase;
879 PyObject* pyList;
880 PyObject* pyObj;
881 wxObject* wxObj;
882 wxNode* node = list->GetFirst();
883
884 bool blocked = wxPyBeginBlockThreads();
885 pyList = PyList_New(0);
886 while (node) {
887 wxObj = node->GetData();
888 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
889 PyList_Append(pyList, pyObj);
890 node = node->GetNext();
891 }
892 wxPyEndBlockThreads(blocked);
893 return pyList;
894}
895
896//---------------------------------------------------------------------------
897
44127b65
RD
898PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
899 wxList* list = (wxList*)listbase;
900 PyObject* pyList;
901 PyObject* pyObj;
902 wxObject* wxObj;
903 wxNode* node = list->GetFirst();
904
4f89f6a3 905 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
906 pyList = PyList_New(0);
907 while (node) {
908 wxObj = node->GetData();
412d302d 909 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj, false);
44127b65
RD
910 PyList_Append(pyList, pyObj);
911 node = node->GetNext();
912 }
4f89f6a3 913 wxPyEndBlockThreads(blocked);
44127b65
RD
914 return pyList;
915}
916
917
918//---------------------------------------------------------------------------
919
920IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
921IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
922IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
923IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
924IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
925IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
926IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
927IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
928IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
929IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
930IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
931IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
932IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
933IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
934IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
935
936//---------------------------------------------------------------------------
937
938// extern "C" SWIGEXPORT(void) initoglbasicc();
939// extern "C" SWIGEXPORT(void) initoglshapesc();
940// extern "C" SWIGEXPORT(void) initoglshapes2c();
941// extern "C" SWIGEXPORT(void) initoglcanvasc();
942
943#ifdef __cplusplus
944extern "C" {
945#endif
c32bde28 946static PyObject *_wrap_new_ShapeRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
947 PyObject *resultobj;
948 wxShapeRegion *result;
949 char *kwnames[] = {
950 NULL
951 };
952
953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
954 {
955 PyThreadState* __tstate = wxPyBeginAllowThreads();
956 result = (wxShapeRegion *)new wxShapeRegion();
957
958 wxPyEndAllowThreads(__tstate);
959 if (PyErr_Occurred()) SWIG_fail;
960 }
2f4c0a16 961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShapeRegion, 1);
44127b65
RD
962 return resultobj;
963 fail:
964 return NULL;
965}
966
967
c32bde28 968static PyObject *_wrap_ShapeRegion_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
969 PyObject *resultobj;
970 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
971 wxString *arg2 = 0 ;
ae8162c8 972 bool temp2 = false ;
44127b65
RD
973 PyObject * obj0 = 0 ;
974 PyObject * obj1 = 0 ;
975 char *kwnames[] = {
976 (char *) "self",(char *) "s", NULL
977 };
978
979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
982 {
983 arg2 = wxString_in_helper(obj1);
984 if (arg2 == NULL) SWIG_fail;
ae8162c8 985 temp2 = true;
44127b65
RD
986 }
987 {
988 PyThreadState* __tstate = wxPyBeginAllowThreads();
989 (arg1)->SetText((wxString const &)*arg2);
990
991 wxPyEndAllowThreads(__tstate);
992 if (PyErr_Occurred()) SWIG_fail;
993 }
994 Py_INCREF(Py_None); resultobj = Py_None;
995 {
996 if (temp2)
997 delete arg2;
998 }
999 return resultobj;
1000 fail:
1001 {
1002 if (temp2)
1003 delete arg2;
1004 }
1005 return NULL;
1006}
1007
1008
c32bde28 1009static PyObject *_wrap_ShapeRegion_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1010 PyObject *resultobj;
1011 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1012 wxFont *arg2 = (wxFont *) 0 ;
1013 PyObject * obj0 = 0 ;
1014 PyObject * obj1 = 0 ;
1015 char *kwnames[] = {
1016 (char *) "self",(char *) "f", NULL
1017 };
1018
1019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1022 {
1023 wxFont* temp;
1024 if (obj1) {
1025 if (obj1 == Py_None) {
1026 temp = NULL;
1027 }
1028 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
1029 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
1030 return NULL;
1031 }
1032 }
1033 if (temp)
1034 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
1035 temp->GetFamily(),
1036 temp->GetStyle(),
1037 temp->GetWeight(),
1038 temp->GetUnderlined(),
1039 temp->GetFaceName(),
1040 temp->GetEncoding());
1041 else
1042 arg2 = NULL;
1043 }
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 (arg1)->SetFont(arg2);
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) SWIG_fail;
1050 }
1051 Py_INCREF(Py_None); resultobj = Py_None;
1052 return resultobj;
1053 fail:
1054 return NULL;
1055}
1056
1057
c32bde28 1058static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1059 PyObject *resultobj;
1060 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1061 double arg2 ;
1062 double arg3 ;
1063 PyObject * obj0 = 0 ;
8edf1c75
RD
1064 PyObject * obj1 = 0 ;
1065 PyObject * obj2 = 0 ;
44127b65
RD
1066 char *kwnames[] = {
1067 (char *) "self",(char *) "w",(char *) "h", NULL
1068 };
1069
8edf1c75 1070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1073 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 1074 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1075 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 1076 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1077 {
1078 PyThreadState* __tstate = wxPyBeginAllowThreads();
1079 (arg1)->SetMinSize(arg2,arg3);
1080
1081 wxPyEndAllowThreads(__tstate);
1082 if (PyErr_Occurred()) SWIG_fail;
1083 }
1084 Py_INCREF(Py_None); resultobj = Py_None;
1085 return resultobj;
1086 fail:
1087 return NULL;
1088}
1089
1090
c32bde28 1091static PyObject *_wrap_ShapeRegion_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1092 PyObject *resultobj;
1093 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1094 double arg2 ;
1095 double arg3 ;
1096 PyObject * obj0 = 0 ;
8edf1c75
RD
1097 PyObject * obj1 = 0 ;
1098 PyObject * obj2 = 0 ;
44127b65
RD
1099 char *kwnames[] = {
1100 (char *) "self",(char *) "w",(char *) "h", NULL
1101 };
1102
8edf1c75 1103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1106 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 1107 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1108 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 1109 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 (arg1)->SetSize(arg2,arg3);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 Py_INCREF(Py_None); resultobj = Py_None;
1118 return resultobj;
1119 fail:
1120 return NULL;
1121}
1122
1123
c32bde28 1124static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1125 PyObject *resultobj;
1126 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1127 double arg2 ;
1128 double arg3 ;
1129 PyObject * obj0 = 0 ;
8edf1c75
RD
1130 PyObject * obj1 = 0 ;
1131 PyObject * obj2 = 0 ;
44127b65
RD
1132 char *kwnames[] = {
1133 (char *) "self",(char *) "x",(char *) "y", NULL
1134 };
1135
8edf1c75 1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1139 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 1140 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1141 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 1142 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1143 {
1144 PyThreadState* __tstate = wxPyBeginAllowThreads();
1145 (arg1)->SetPosition(arg2,arg3);
1146
1147 wxPyEndAllowThreads(__tstate);
1148 if (PyErr_Occurred()) SWIG_fail;
1149 }
1150 Py_INCREF(Py_None); resultobj = Py_None;
1151 return resultobj;
1152 fail:
1153 return NULL;
1154}
1155
1156
c32bde28 1157static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1158 PyObject *resultobj;
1159 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1160 double arg2 ;
1161 double arg3 ;
1162 PyObject * obj0 = 0 ;
8edf1c75
RD
1163 PyObject * obj1 = 0 ;
1164 PyObject * obj2 = 0 ;
44127b65
RD
1165 char *kwnames[] = {
1166 (char *) "self",(char *) "x",(char *) "y", NULL
1167 };
1168
8edf1c75 1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1172 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 1173 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1174 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 1175 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1176 {
1177 PyThreadState* __tstate = wxPyBeginAllowThreads();
1178 (arg1)->SetProportions(arg2,arg3);
1179
1180 wxPyEndAllowThreads(__tstate);
1181 if (PyErr_Occurred()) SWIG_fail;
1182 }
1183 Py_INCREF(Py_None); resultobj = Py_None;
1184 return resultobj;
1185 fail:
1186 return NULL;
1187}
1188
1189
c32bde28 1190static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1191 PyObject *resultobj;
1192 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1193 int arg2 ;
1194 PyObject * obj0 = 0 ;
8edf1c75 1195 PyObject * obj1 = 0 ;
44127b65
RD
1196 char *kwnames[] = {
1197 (char *) "self",(char *) "mode", NULL
1198 };
1199
8edf1c75 1200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1203 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 1204 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1205 {
1206 PyThreadState* __tstate = wxPyBeginAllowThreads();
1207 (arg1)->SetFormatMode(arg2);
1208
1209 wxPyEndAllowThreads(__tstate);
1210 if (PyErr_Occurred()) SWIG_fail;
1211 }
1212 Py_INCREF(Py_None); resultobj = Py_None;
1213 return resultobj;
1214 fail:
1215 return NULL;
1216}
1217
1218
c32bde28 1219static PyObject *_wrap_ShapeRegion_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1220 PyObject *resultobj;
1221 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1222 wxString *arg2 = 0 ;
ae8162c8 1223 bool temp2 = false ;
44127b65
RD
1224 PyObject * obj0 = 0 ;
1225 PyObject * obj1 = 0 ;
1226 char *kwnames[] = {
1227 (char *) "self",(char *) "s", NULL
1228 };
1229
1230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1233 {
1234 arg2 = wxString_in_helper(obj1);
1235 if (arg2 == NULL) SWIG_fail;
ae8162c8 1236 temp2 = true;
44127b65
RD
1237 }
1238 {
1239 PyThreadState* __tstate = wxPyBeginAllowThreads();
1240 (arg1)->SetName((wxString const &)*arg2);
1241
1242 wxPyEndAllowThreads(__tstate);
1243 if (PyErr_Occurred()) SWIG_fail;
1244 }
1245 Py_INCREF(Py_None); resultobj = Py_None;
1246 {
1247 if (temp2)
1248 delete arg2;
1249 }
1250 return resultobj;
1251 fail:
1252 {
1253 if (temp2)
1254 delete arg2;
1255 }
1256 return NULL;
1257}
1258
1259
c32bde28 1260static PyObject *_wrap_ShapeRegion_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1261 PyObject *resultobj;
1262 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1263 wxString *arg2 = 0 ;
ae8162c8 1264 bool temp2 = false ;
44127b65
RD
1265 PyObject * obj0 = 0 ;
1266 PyObject * obj1 = 0 ;
1267 char *kwnames[] = {
1268 (char *) "self",(char *) "col", NULL
1269 };
1270
1271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1274 {
1275 arg2 = wxString_in_helper(obj1);
1276 if (arg2 == NULL) SWIG_fail;
ae8162c8 1277 temp2 = true;
44127b65
RD
1278 }
1279 {
1280 PyThreadState* __tstate = wxPyBeginAllowThreads();
1281 (arg1)->SetColour((wxString const &)*arg2);
1282
1283 wxPyEndAllowThreads(__tstate);
1284 if (PyErr_Occurred()) SWIG_fail;
1285 }
1286 Py_INCREF(Py_None); resultobj = Py_None;
1287 {
1288 if (temp2)
1289 delete arg2;
1290 }
1291 return resultobj;
1292 fail:
1293 {
1294 if (temp2)
1295 delete arg2;
1296 }
1297 return NULL;
1298}
1299
1300
c32bde28 1301static PyObject *_wrap_ShapeRegion_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1302 PyObject *resultobj;
1303 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1304 wxString result;
1305 PyObject * obj0 = 0 ;
1306 char *kwnames[] = {
1307 (char *) "self", NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1313 {
1314 PyThreadState* __tstate = wxPyBeginAllowThreads();
1315 result = (arg1)->GetText();
1316
1317 wxPyEndAllowThreads(__tstate);
1318 if (PyErr_Occurred()) SWIG_fail;
1319 }
1320 {
1321#if wxUSE_UNICODE
1322 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1323#else
1324 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1325#endif
1326 }
1327 return resultobj;
1328 fail:
1329 return NULL;
1330}
1331
1332
c32bde28 1333static PyObject *_wrap_ShapeRegion_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1334 PyObject *resultobj;
1335 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1336 wxFont *result;
1337 PyObject * obj0 = 0 ;
1338 char *kwnames[] = {
1339 (char *) "self", NULL
1340 };
1341
1342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1345 {
1346 PyThreadState* __tstate = wxPyBeginAllowThreads();
1347 result = (wxFont *)(arg1)->GetFont();
1348
1349 wxPyEndAllowThreads(__tstate);
1350 if (PyErr_Occurred()) SWIG_fail;
1351 }
2f4c0a16 1352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
44127b65
RD
1353 return resultobj;
1354 fail:
1355 return NULL;
1356}
1357
1358
c32bde28 1359static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1360 PyObject *resultobj;
1361 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1362 double *arg2 = (double *) 0 ;
1363 double *arg3 = (double *) 0 ;
1364 double temp2 ;
c32bde28 1365 int res2 = 0 ;
44127b65 1366 double temp3 ;
c32bde28 1367 int res3 = 0 ;
44127b65
RD
1368 PyObject * obj0 = 0 ;
1369 char *kwnames[] = {
1370 (char *) "self", NULL
1371 };
1372
c32bde28
RD
1373 arg2 = &temp2; res2 = SWIG_NEWOBJ;
1374 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 1375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1378 {
1379 PyThreadState* __tstate = wxPyBeginAllowThreads();
1380 (arg1)->GetMinSize(arg2,arg3);
1381
1382 wxPyEndAllowThreads(__tstate);
1383 if (PyErr_Occurred()) SWIG_fail;
1384 }
1385 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
1386 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
1387 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
1388 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
1389 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
1390 return resultobj;
1391 fail:
1392 return NULL;
1393}
1394
1395
c32bde28 1396static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1397 PyObject *resultobj;
1398 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1399 double *arg2 = (double *) 0 ;
1400 double *arg3 = (double *) 0 ;
1401 double temp2 ;
c32bde28 1402 int res2 = 0 ;
44127b65 1403 double temp3 ;
c32bde28 1404 int res3 = 0 ;
44127b65
RD
1405 PyObject * obj0 = 0 ;
1406 char *kwnames[] = {
1407 (char *) "self", NULL
1408 };
1409
c32bde28
RD
1410 arg2 = &temp2; res2 = SWIG_NEWOBJ;
1411 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1415 {
1416 PyThreadState* __tstate = wxPyBeginAllowThreads();
1417 (arg1)->GetProportion(arg2,arg3);
1418
1419 wxPyEndAllowThreads(__tstate);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
1423 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
1424 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
1425 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
1426 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
1427 return resultobj;
1428 fail:
1429 return NULL;
1430}
1431
1432
c32bde28 1433static PyObject *_wrap_ShapeRegion_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1434 PyObject *resultobj;
1435 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1436 double *arg2 = (double *) 0 ;
1437 double *arg3 = (double *) 0 ;
1438 double temp2 ;
c32bde28 1439 int res2 = 0 ;
44127b65 1440 double temp3 ;
c32bde28 1441 int res3 = 0 ;
44127b65
RD
1442 PyObject * obj0 = 0 ;
1443 char *kwnames[] = {
1444 (char *) "self", NULL
1445 };
1446
c32bde28
RD
1447 arg2 = &temp2; res2 = SWIG_NEWOBJ;
1448 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 1449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 (arg1)->GetSize(arg2,arg3);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) SWIG_fail;
1458 }
1459 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
1460 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
1461 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
1462 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
1463 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
1464 return resultobj;
1465 fail:
1466 return NULL;
1467}
1468
1469
c32bde28 1470static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1471 PyObject *resultobj;
1472 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1473 double *arg2 = (double *) 0 ;
1474 double *arg3 = (double *) 0 ;
1475 double temp2 ;
c32bde28 1476 int res2 = 0 ;
44127b65 1477 double temp3 ;
c32bde28 1478 int res3 = 0 ;
44127b65
RD
1479 PyObject * obj0 = 0 ;
1480 char *kwnames[] = {
1481 (char *) "self", NULL
1482 };
1483
c32bde28
RD
1484 arg2 = &temp2; res2 = SWIG_NEWOBJ;
1485 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1489 {
1490 PyThreadState* __tstate = wxPyBeginAllowThreads();
1491 (arg1)->GetPosition(arg2,arg3);
1492
1493 wxPyEndAllowThreads(__tstate);
1494 if (PyErr_Occurred()) SWIG_fail;
1495 }
1496 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
1497 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
1498 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
1499 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
1500 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
1501 return resultobj;
1502 fail:
1503 return NULL;
1504}
1505
1506
c32bde28 1507static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1508 PyObject *resultobj;
1509 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1510 int result;
1511 PyObject * obj0 = 0 ;
1512 char *kwnames[] = {
1513 (char *) "self", NULL
1514 };
1515
1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 result = (int)(arg1)->GetFormatMode();
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
c32bde28 1526 resultobj = SWIG_From_int((int)result);
44127b65
RD
1527 return resultobj;
1528 fail:
1529 return NULL;
1530}
1531
1532
c32bde28 1533static PyObject *_wrap_ShapeRegion_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1534 PyObject *resultobj;
1535 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1536 wxString result;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1545 {
1546 PyThreadState* __tstate = wxPyBeginAllowThreads();
1547 result = (arg1)->GetName();
1548
1549 wxPyEndAllowThreads(__tstate);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 {
1553#if wxUSE_UNICODE
1554 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1555#else
1556 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1557#endif
1558 }
1559 return resultobj;
1560 fail:
1561 return NULL;
1562}
1563
1564
c32bde28 1565static PyObject *_wrap_ShapeRegion_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1566 PyObject *resultobj;
1567 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1568 wxString result;
1569 PyObject * obj0 = 0 ;
1570 char *kwnames[] = {
1571 (char *) "self", NULL
1572 };
1573
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1577 {
1578 PyThreadState* __tstate = wxPyBeginAllowThreads();
1579 result = (arg1)->GetColour();
1580
1581 wxPyEndAllowThreads(__tstate);
1582 if (PyErr_Occurred()) SWIG_fail;
1583 }
1584 {
1585#if wxUSE_UNICODE
1586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1587#else
1588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1589#endif
1590 }
1591 return resultobj;
1592 fail:
1593 return NULL;
1594}
1595
1596
c32bde28 1597static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1598 PyObject *resultobj;
1599 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
eb9b6107 1600 wxColour result;
44127b65
RD
1601 PyObject * obj0 = 0 ;
1602 char *kwnames[] = {
1603 (char *) "self", NULL
1604 };
1605
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1609 {
1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
eb9b6107 1611 result = (arg1)->GetActualColourObject();
44127b65
RD
1612
1613 wxPyEndAllowThreads(__tstate);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 }
eb9b6107
RD
1616 {
1617 wxColour * resultptr;
1618 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
eb9b6107 1620 }
44127b65
RD
1621 return resultobj;
1622 fail:
1623 return NULL;
1624}
1625
1626
c32bde28 1627static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1628 PyObject *resultobj;
1629 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1630 wxList *result;
1631 PyObject * obj0 = 0 ;
1632 char *kwnames[] = {
1633 (char *) "self", NULL
1634 };
1635
1636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1639 {
1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
1641 {
1642 wxList &_result_ref = (arg1)->GetFormattedText();
1643 result = (wxList *) &_result_ref;
1644 }
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
2f4c0a16 1649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxList, 0);
44127b65
RD
1650 return resultobj;
1651 fail:
1652 return NULL;
1653}
1654
1655
c32bde28 1656static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1657 PyObject *resultobj;
1658 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1659 wxString result;
1660 PyObject * obj0 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "self", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1668 {
1669 PyThreadState* __tstate = wxPyBeginAllowThreads();
1670 result = (arg1)->GetPenColour();
1671
1672 wxPyEndAllowThreads(__tstate);
1673 if (PyErr_Occurred()) SWIG_fail;
1674 }
1675 {
1676#if wxUSE_UNICODE
1677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1678#else
1679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1680#endif
1681 }
1682 return resultobj;
1683 fail:
1684 return NULL;
1685}
1686
1687
c32bde28 1688static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1689 PyObject *resultobj;
1690 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1691 int result;
1692 PyObject * obj0 = 0 ;
1693 char *kwnames[] = {
1694 (char *) "self", NULL
1695 };
1696
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 result = (int)(arg1)->GetPenStyle();
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
c32bde28 1707 resultobj = SWIG_From_int((int)result);
44127b65
RD
1708 return resultobj;
1709 fail:
1710 return NULL;
1711}
1712
1713
c32bde28 1714static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1715 PyObject *resultobj;
1716 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1717 int arg2 ;
1718 PyObject * obj0 = 0 ;
8edf1c75 1719 PyObject * obj1 = 0 ;
44127b65
RD
1720 char *kwnames[] = {
1721 (char *) "self",(char *) "style", NULL
1722 };
1723
8edf1c75 1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1727 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 1728 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1729 {
1730 PyThreadState* __tstate = wxPyBeginAllowThreads();
1731 (arg1)->SetPenStyle(arg2);
1732
1733 wxPyEndAllowThreads(__tstate);
1734 if (PyErr_Occurred()) SWIG_fail;
1735 }
1736 Py_INCREF(Py_None); resultobj = Py_None;
1737 return resultobj;
1738 fail:
1739 return NULL;
1740}
1741
1742
c32bde28 1743static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1744 PyObject *resultobj;
1745 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1746 wxString *arg2 = 0 ;
ae8162c8 1747 bool temp2 = false ;
44127b65
RD
1748 PyObject * obj0 = 0 ;
1749 PyObject * obj1 = 0 ;
1750 char *kwnames[] = {
1751 (char *) "self",(char *) "col", NULL
1752 };
1753
1754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1757 {
1758 arg2 = wxString_in_helper(obj1);
1759 if (arg2 == NULL) SWIG_fail;
ae8162c8 1760 temp2 = true;
44127b65
RD
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 (arg1)->SetPenColour((wxString const &)*arg2);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 Py_INCREF(Py_None); resultobj = Py_None;
1770 {
1771 if (temp2)
1772 delete arg2;
1773 }
1774 return resultobj;
1775 fail:
1776 {
1777 if (temp2)
1778 delete arg2;
1779 }
1780 return NULL;
1781}
1782
1783
c32bde28 1784static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1785 PyObject *resultobj;
1786 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1787 wxPen *result;
1788 PyObject * obj0 = 0 ;
1789 char *kwnames[] = {
1790 (char *) "self", NULL
1791 };
1792
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1796 {
1797 PyThreadState* __tstate = wxPyBeginAllowThreads();
1798 result = (wxPen *)(arg1)->GetActualPen();
1799
1800 wxPyEndAllowThreads(__tstate);
1801 if (PyErr_Occurred()) SWIG_fail;
1802 }
2f4c0a16 1803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
1804 return resultobj;
1805 fail:
1806 return NULL;
1807}
1808
1809
c32bde28 1810static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1811 PyObject *resultobj;
1812 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1813 double result;
1814 PyObject * obj0 = 0 ;
1815 char *kwnames[] = {
1816 (char *) "self", NULL
1817 };
1818
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = (double)(arg1)->GetWidth();
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
c32bde28 1829 resultobj = SWIG_From_double((double)result);
44127b65
RD
1830 return resultobj;
1831 fail:
1832 return NULL;
1833}
1834
1835
c32bde28 1836static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1837 PyObject *resultobj;
1838 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1839 double result;
1840 PyObject * obj0 = 0 ;
1841 char *kwnames[] = {
1842 (char *) "self", NULL
1843 };
1844
1845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1848 {
1849 PyThreadState* __tstate = wxPyBeginAllowThreads();
1850 result = (double)(arg1)->GetHeight();
1851
1852 wxPyEndAllowThreads(__tstate);
1853 if (PyErr_Occurred()) SWIG_fail;
1854 }
c32bde28 1855 resultobj = SWIG_From_double((double)result);
44127b65
RD
1856 return resultobj;
1857 fail:
1858 return NULL;
1859}
1860
1861
c32bde28 1862static PyObject *_wrap_ShapeRegion_ClearText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
1863 PyObject *resultobj;
1864 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1865 PyObject * obj0 = 0 ;
1866 char *kwnames[] = {
1867 (char *) "self", NULL
1868 };
1869
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1873 {
1874 PyThreadState* __tstate = wxPyBeginAllowThreads();
1875 (arg1)->ClearText();
1876
1877 wxPyEndAllowThreads(__tstate);
1878 if (PyErr_Occurred()) SWIG_fail;
1879 }
1880 Py_INCREF(Py_None); resultobj = Py_None;
1881 return resultobj;
1882 fail:
1883 return NULL;
1884}
1885
1886
c32bde28 1887static PyObject * ShapeRegion_swigregister(PyObject *, PyObject *args) {
44127b65
RD
1888 PyObject *obj;
1889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1890 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1891 Py_INCREF(obj);
1892 return Py_BuildValue((char *)"");
1893}
c32bde28 1894static PyObject *_wrap_new_AttachmentPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1895 PyObject *resultobj;
1896 int arg1 = (int) 0 ;
1897 double arg2 = (double) 0.0 ;
1898 double arg3 = (double) 0.0 ;
1899 wxAttachmentPoint *result;
8edf1c75
RD
1900 PyObject * obj0 = 0 ;
1901 PyObject * obj1 = 0 ;
1902 PyObject * obj2 = 0 ;
7a0a63ae
RD
1903 char *kwnames[] = {
1904 (char *) "id",(char *) "x",(char *) "y", NULL
1905 };
1906
8edf1c75
RD
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
1908 if (obj0) {
c32bde28 1909 arg1 = (int)SWIG_As_int(obj0);
2f4c0a16 1910 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1911 }
1912 if (obj1) {
c32bde28 1913 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 1914 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1915 }
1916 if (obj2) {
c32bde28 1917 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 1918 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1919 }
7a0a63ae
RD
1920 {
1921 PyThreadState* __tstate = wxPyBeginAllowThreads();
1922 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1923
1924 wxPyEndAllowThreads(__tstate);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
2f4c0a16 1927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAttachmentPoint, 1);
7a0a63ae
RD
1928 return resultobj;
1929 fail:
1930 return NULL;
1931}
1932
1933
c32bde28 1934static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1935 PyObject *resultobj;
1936 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1937 int arg2 ;
1938 PyObject * obj0 = 0 ;
8edf1c75 1939 PyObject * obj1 = 0 ;
7a0a63ae
RD
1940 char *kwnames[] = {
1941 (char *) "self",(char *) "m_id", NULL
1942 };
1943
8edf1c75 1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1947 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 1948 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
1949 if (arg1) (arg1)->m_id = arg2;
1950
1951 Py_INCREF(Py_None); resultobj = Py_None;
1952 return resultobj;
1953 fail:
1954 return NULL;
1955}
1956
1957
c32bde28 1958static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1959 PyObject *resultobj;
1960 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1961 int result;
1962 PyObject * obj0 = 0 ;
1963 char *kwnames[] = {
1964 (char *) "self", NULL
1965 };
1966
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
1970 result = (int) ((arg1)->m_id);
1971
c32bde28 1972 resultobj = SWIG_From_int((int)result);
7a0a63ae
RD
1973 return resultobj;
1974 fail:
1975 return NULL;
1976}
1977
1978
c32bde28 1979static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1980 PyObject *resultobj;
1981 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1982 double arg2 ;
1983 PyObject * obj0 = 0 ;
8edf1c75 1984 PyObject * obj1 = 0 ;
7a0a63ae
RD
1985 char *kwnames[] = {
1986 (char *) "self",(char *) "m_x", NULL
1987 };
1988
8edf1c75 1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1992 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 1993 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
1994 if (arg1) (arg1)->m_x = arg2;
1995
1996 Py_INCREF(Py_None); resultobj = Py_None;
1997 return resultobj;
1998 fail:
1999 return NULL;
2000}
2001
2002
c32bde28 2003static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
2004 PyObject *resultobj;
2005 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
2006 double result;
2007 PyObject * obj0 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
2014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
2015 result = (double) ((arg1)->m_x);
2016
c32bde28 2017 resultobj = SWIG_From_double((double)result);
7a0a63ae
RD
2018 return resultobj;
2019 fail:
2020 return NULL;
2021}
2022
2023
c32bde28 2024static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
2025 PyObject *resultobj;
2026 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
2027 double arg2 ;
2028 PyObject * obj0 = 0 ;
8edf1c75 2029 PyObject * obj1 = 0 ;
7a0a63ae
RD
2030 char *kwnames[] = {
2031 (char *) "self",(char *) "m_y", NULL
2032 };
2033
8edf1c75 2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
2036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2037 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 2038 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
2039 if (arg1) (arg1)->m_y = arg2;
2040
2041 Py_INCREF(Py_None); resultobj = Py_None;
2042 return resultobj;
2043 fail:
2044 return NULL;
2045}
2046
2047
c32bde28 2048static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
2049 PyObject *resultobj;
2050 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
2051 double result;
2052 PyObject * obj0 = 0 ;
2053 char *kwnames[] = {
2054 (char *) "self", NULL
2055 };
2056
2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
2059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
2060 result = (double) ((arg1)->m_y);
2061
c32bde28 2062 resultobj = SWIG_From_double((double)result);
7a0a63ae
RD
2063 return resultobj;
2064 fail:
2065 return NULL;
2066}
2067
2068
c32bde28 2069static PyObject * AttachmentPoint_swigregister(PyObject *, PyObject *args) {
7a0a63ae
RD
2070 PyObject *obj;
2071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2072 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
2073 Py_INCREF(obj);
2074 return Py_BuildValue((char *)"");
2075}
c32bde28 2076static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2077 PyObject *resultobj;
2078 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
2079 wxPyShape *arg2 = (wxPyShape *) NULL ;
2080 wxPyShapeEvtHandler *result;
2081 PyObject * obj0 = 0 ;
2082 PyObject * obj1 = 0 ;
2083 char *kwnames[] = {
2084 (char *) "prev",(char *) "shape", NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
2088 if (obj0) {
2f4c0a16
RD
2089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2091 }
2092 if (obj1) {
2f4c0a16
RD
2093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
2094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2095 }
2096 {
2097 PyThreadState* __tstate = wxPyBeginAllowThreads();
2098 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
2099
2100 wxPyEndAllowThreads(__tstate);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
b0f7404b 2103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShapeEvtHandler, 1);
44127b65
RD
2104 return resultobj;
2105 fail:
2106 return NULL;
2107}
2108
2109
c32bde28 2110static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2111 PyObject *resultobj;
2112 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2113 PyObject *arg2 = (PyObject *) 0 ;
2114 PyObject *arg3 = (PyObject *) 0 ;
2115 PyObject * obj0 = 0 ;
2116 PyObject * obj1 = 0 ;
2117 PyObject * obj2 = 0 ;
2118 char *kwnames[] = {
2119 (char *) "self",(char *) "self",(char *) "_class", NULL
2120 };
2121
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2125 arg2 = obj1;
2126 arg3 = obj2;
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 (arg1)->_setCallbackInfo(arg2,arg3);
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 Py_INCREF(Py_None); resultobj = Py_None;
2135 return resultobj;
2136 fail:
2137 return NULL;
2138}
2139
2140
c32bde28 2141static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2142 PyObject *resultobj;
2143 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2144 PyObject *arg2 = (PyObject *) 0 ;
2145 PyObject * obj0 = 0 ;
2146 PyObject * obj1 = 0 ;
2147 char *kwnames[] = {
2148 (char *) "self",(char *) "_self", NULL
2149 };
2150
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2154 arg2 = obj1;
2155 {
2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
2157 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
2158
2159 wxPyEndAllowThreads(__tstate);
2160 if (PyErr_Occurred()) SWIG_fail;
2161 }
2162 Py_INCREF(Py_None); resultobj = Py_None;
2163 return resultobj;
2164 fail:
2165 return NULL;
2166}
2167
2168
c32bde28 2169static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2170 PyObject *resultobj;
2171 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2172 wxPyShape *arg2 = (wxPyShape *) 0 ;
2173 PyObject * obj0 = 0 ;
2174 PyObject * obj1 = 0 ;
2175 char *kwnames[] = {
2176 (char *) "self",(char *) "sh", NULL
2177 };
2178
2179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
2183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2184 {
2185 PyThreadState* __tstate = wxPyBeginAllowThreads();
2186 (arg1)->SetShape(arg2);
2187
2188 wxPyEndAllowThreads(__tstate);
2189 if (PyErr_Occurred()) SWIG_fail;
2190 }
2191 Py_INCREF(Py_None); resultobj = Py_None;
2192 return resultobj;
2193 fail:
2194 return NULL;
2195}
2196
2197
c32bde28 2198static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2199 PyObject *resultobj;
2200 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2201 wxPyShape *result;
2202 PyObject * obj0 = 0 ;
2203 char *kwnames[] = {
2204 (char *) "self", NULL
2205 };
2206
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2210 {
2211 PyThreadState* __tstate = wxPyBeginAllowThreads();
2212 result = (wxPyShape *)(arg1)->GetShape();
2213
2214 wxPyEndAllowThreads(__tstate);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 }
2217 {
412d302d 2218 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
2219 }
2220 return resultobj;
2221 fail:
2222 return NULL;
2223}
2224
2225
c32bde28 2226static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2227 PyObject *resultobj;
2228 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2229 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2230 PyObject * obj0 = 0 ;
2231 PyObject * obj1 = 0 ;
2232 char *kwnames[] = {
2233 (char *) "self",(char *) "handler", NULL
2234 };
2235
2236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
2240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 (arg1)->SetPreviousHandler(arg2);
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 Py_INCREF(Py_None); resultobj = Py_None;
2249 return resultobj;
2250 fail:
2251 return NULL;
2252}
2253
2254
c32bde28 2255static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2256 PyObject *resultobj;
2257 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2258 wxPyShapeEvtHandler *result;
2259 PyObject * obj0 = 0 ;
2260 char *kwnames[] = {
2261 (char *) "self", NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2267 {
2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
2269 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2270
2271 wxPyEndAllowThreads(__tstate);
2272 if (PyErr_Occurred()) SWIG_fail;
2273 }
2274 {
412d302d 2275 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
2276 }
2277 return resultobj;
2278 fail:
2279 return NULL;
2280}
2281
2282
c32bde28 2283static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2284 PyObject *resultobj;
2285 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2286 wxPyShapeEvtHandler *result;
2287 PyObject * obj0 = 0 ;
2288 char *kwnames[] = {
2289 (char *) "self", NULL
2290 };
2291
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
2302 {
412d302d 2303 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
2304 }
2305 return resultobj;
2306 fail:
2307 return NULL;
2308}
2309
2310
c32bde28 2311static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2312 PyObject *resultobj;
2313 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2314 PyObject * obj0 = 0 ;
2315 char *kwnames[] = {
2316 (char *) "self", NULL
2317 };
2318
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2322 {
2323 PyThreadState* __tstate = wxPyBeginAllowThreads();
2324 (arg1)->base_OnDelete();
2325
2326 wxPyEndAllowThreads(__tstate);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 }
2329 Py_INCREF(Py_None); resultobj = Py_None;
2330 return resultobj;
2331 fail:
2332 return NULL;
2333}
2334
2335
c32bde28 2336static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2337 PyObject *resultobj;
2338 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2339 wxDC *arg2 = 0 ;
2340 PyObject * obj0 = 0 ;
2341 PyObject * obj1 = 0 ;
2342 char *kwnames[] = {
2343 (char *) "self",(char *) "dc", NULL
2344 };
2345
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2350 SWIG_POINTER_EXCEPTION | 0)) == -1)
2351 SWIG_fail;
44127b65 2352 if (arg2 == NULL) {
2f4c0a16
RD
2353 PyErr_SetString(PyExc_TypeError,"null reference");
2354 SWIG_fail;
44127b65
RD
2355 }
2356 {
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 (arg1)->base_OnDraw(*arg2);
2359
2360 wxPyEndAllowThreads(__tstate);
2361 if (PyErr_Occurred()) SWIG_fail;
2362 }
2363 Py_INCREF(Py_None); resultobj = Py_None;
2364 return resultobj;
2365 fail:
2366 return NULL;
2367}
2368
2369
c32bde28 2370static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2371 PyObject *resultobj;
2372 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2373 wxDC *arg2 = 0 ;
2374 PyObject * obj0 = 0 ;
2375 PyObject * obj1 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "self",(char *) "dc", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2384 SWIG_POINTER_EXCEPTION | 0)) == -1)
2385 SWIG_fail;
44127b65 2386 if (arg2 == NULL) {
2f4c0a16
RD
2387 PyErr_SetString(PyExc_TypeError,"null reference");
2388 SWIG_fail;
44127b65
RD
2389 }
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 (arg1)->base_OnDrawContents(*arg2);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 Py_INCREF(Py_None); resultobj = Py_None;
2398 return resultobj;
2399 fail:
2400 return NULL;
2401}
2402
2403
c32bde28 2404static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2405 PyObject *resultobj;
2406 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2407 wxDC *arg2 = 0 ;
ae8162c8 2408 bool arg3 = (bool) false ;
44127b65
RD
2409 PyObject * obj0 = 0 ;
2410 PyObject * obj1 = 0 ;
2411 PyObject * obj2 = 0 ;
2412 char *kwnames[] = {
2413 (char *) "self",(char *) "dc",(char *) "erase", NULL
2414 };
2415
2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2420 SWIG_POINTER_EXCEPTION | 0)) == -1)
2421 SWIG_fail;
44127b65 2422 if (arg2 == NULL) {
2f4c0a16
RD
2423 PyErr_SetString(PyExc_TypeError,"null reference");
2424 SWIG_fail;
44127b65
RD
2425 }
2426 if (obj2) {
c32bde28 2427 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 2428 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2429 }
2430 {
2431 PyThreadState* __tstate = wxPyBeginAllowThreads();
2432 (arg1)->base_OnDrawBranches(*arg2,arg3);
2433
2434 wxPyEndAllowThreads(__tstate);
2435 if (PyErr_Occurred()) SWIG_fail;
2436 }
2437 Py_INCREF(Py_None); resultobj = Py_None;
2438 return resultobj;
2439 fail:
2440 return NULL;
2441}
2442
2443
c32bde28 2444static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2445 PyObject *resultobj;
2446 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2447 wxDC *arg2 = 0 ;
2448 PyObject * obj0 = 0 ;
2449 PyObject * obj1 = 0 ;
2450 char *kwnames[] = {
2451 (char *) "self",(char *) "dc", NULL
2452 };
2453
2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2458 SWIG_POINTER_EXCEPTION | 0)) == -1)
2459 SWIG_fail;
44127b65 2460 if (arg2 == NULL) {
2f4c0a16
RD
2461 PyErr_SetString(PyExc_TypeError,"null reference");
2462 SWIG_fail;
44127b65
RD
2463 }
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 (arg1)->base_OnMoveLinks(*arg2);
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 Py_INCREF(Py_None); resultobj = Py_None;
2472 return resultobj;
2473 fail:
2474 return NULL;
2475}
2476
2477
c32bde28 2478static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2479 PyObject *resultobj;
2480 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2481 wxDC *arg2 = 0 ;
2482 PyObject * obj0 = 0 ;
2483 PyObject * obj1 = 0 ;
2484 char *kwnames[] = {
2485 (char *) "self",(char *) "dc", NULL
2486 };
2487
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2492 SWIG_POINTER_EXCEPTION | 0)) == -1)
2493 SWIG_fail;
44127b65 2494 if (arg2 == NULL) {
2f4c0a16
RD
2495 PyErr_SetString(PyExc_TypeError,"null reference");
2496 SWIG_fail;
44127b65
RD
2497 }
2498 {
2499 PyThreadState* __tstate = wxPyBeginAllowThreads();
2500 (arg1)->base_OnErase(*arg2);
2501
2502 wxPyEndAllowThreads(__tstate);
2503 if (PyErr_Occurred()) SWIG_fail;
2504 }
2505 Py_INCREF(Py_None); resultobj = Py_None;
2506 return resultobj;
2507 fail:
2508 return NULL;
2509}
2510
2511
c32bde28 2512static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2513 PyObject *resultobj;
2514 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2515 wxDC *arg2 = 0 ;
2516 PyObject * obj0 = 0 ;
2517 PyObject * obj1 = 0 ;
2518 char *kwnames[] = {
2519 (char *) "self",(char *) "dc", NULL
2520 };
2521
2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2526 SWIG_POINTER_EXCEPTION | 0)) == -1)
2527 SWIG_fail;
44127b65 2528 if (arg2 == NULL) {
2f4c0a16
RD
2529 PyErr_SetString(PyExc_TypeError,"null reference");
2530 SWIG_fail;
44127b65
RD
2531 }
2532 {
2533 PyThreadState* __tstate = wxPyBeginAllowThreads();
2534 (arg1)->base_OnEraseContents(*arg2);
2535
2536 wxPyEndAllowThreads(__tstate);
2537 if (PyErr_Occurred()) SWIG_fail;
2538 }
2539 Py_INCREF(Py_None); resultobj = Py_None;
2540 return resultobj;
2541 fail:
2542 return NULL;
2543}
2544
2545
c32bde28 2546static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2547 PyObject *resultobj;
2548 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2549 wxDC *arg2 = 0 ;
2550 PyObject * obj0 = 0 ;
2551 PyObject * obj1 = 0 ;
2552 char *kwnames[] = {
2553 (char *) "self",(char *) "dc", NULL
2554 };
2555
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2560 SWIG_POINTER_EXCEPTION | 0)) == -1)
2561 SWIG_fail;
44127b65 2562 if (arg2 == NULL) {
2f4c0a16
RD
2563 PyErr_SetString(PyExc_TypeError,"null reference");
2564 SWIG_fail;
44127b65
RD
2565 }
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 (arg1)->base_OnHighlight(*arg2);
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 Py_INCREF(Py_None); resultobj = Py_None;
2574 return resultobj;
2575 fail:
2576 return NULL;
2577}
2578
2579
c32bde28 2580static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2581 PyObject *resultobj;
2582 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2583 double arg2 ;
2584 double arg3 ;
2585 int arg4 = (int) 0 ;
2586 int arg5 = (int) 0 ;
2587 PyObject * obj0 = 0 ;
8edf1c75
RD
2588 PyObject * obj1 = 0 ;
2589 PyObject * obj2 = 0 ;
2590 PyObject * obj3 = 0 ;
2591 PyObject * obj4 = 0 ;
44127b65
RD
2592 char *kwnames[] = {
2593 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2594 };
2595
8edf1c75 2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2599 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 2600 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2601 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2602 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2603 if (obj3) {
c32bde28 2604 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 2605 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2606 }
2607 if (obj4) {
c32bde28 2608 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 2609 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2610 }
44127b65
RD
2611 {
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
2613 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
2618 Py_INCREF(Py_None); resultobj = Py_None;
2619 return resultobj;
2620 fail:
2621 return NULL;
2622}
2623
2624
c32bde28 2625static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2626 PyObject *resultobj;
2627 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2628 double arg2 ;
2629 double arg3 ;
2630 int arg4 = (int) 0 ;
2631 int arg5 = (int) 0 ;
2632 PyObject * obj0 = 0 ;
8edf1c75
RD
2633 PyObject * obj1 = 0 ;
2634 PyObject * obj2 = 0 ;
2635 PyObject * obj3 = 0 ;
2636 PyObject * obj4 = 0 ;
44127b65
RD
2637 char *kwnames[] = {
2638 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2639 };
2640
8edf1c75 2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2644 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 2645 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2646 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2647 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2648 if (obj3) {
c32bde28 2649 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 2650 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2651 }
2652 if (obj4) {
c32bde28 2653 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 2654 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2655 }
44127b65
RD
2656 {
2657 PyThreadState* __tstate = wxPyBeginAllowThreads();
2658 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2659
2660 wxPyEndAllowThreads(__tstate);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 }
2663 Py_INCREF(Py_None); resultobj = Py_None;
2664 return resultobj;
2665 fail:
2666 return NULL;
2667}
2668
2669
c32bde28 2670static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2671 PyObject *resultobj;
2672 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2673 double arg2 ;
2674 double arg3 ;
2675 int arg4 = (int) 0 ;
2676 int arg5 = (int) 0 ;
2677 PyObject * obj0 = 0 ;
8edf1c75
RD
2678 PyObject * obj1 = 0 ;
2679 PyObject * obj2 = 0 ;
2680 PyObject * obj3 = 0 ;
2681 PyObject * obj4 = 0 ;
44127b65
RD
2682 char *kwnames[] = {
2683 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2684 };
2685
8edf1c75 2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2689 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 2690 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2691 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2692 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2693 if (obj3) {
c32bde28 2694 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 2695 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2696 }
2697 if (obj4) {
c32bde28 2698 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 2699 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2700 }
44127b65
RD
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 Py_INCREF(Py_None); resultobj = Py_None;
2709 return resultobj;
2710 fail:
2711 return NULL;
2712}
2713
2714
c32bde28 2715static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2716 PyObject *resultobj;
2717 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2718 double arg2 ;
2719 double arg3 ;
2720 PyObject * obj0 = 0 ;
8edf1c75
RD
2721 PyObject * obj1 = 0 ;
2722 PyObject * obj2 = 0 ;
44127b65
RD
2723 char *kwnames[] = {
2724 (char *) "self",(char *) "x",(char *) "y", NULL
2725 };
2726
8edf1c75 2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2730 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 2731 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2732 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2733 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 (arg1)->base_OnSize(arg2,arg3);
2737
2738 wxPyEndAllowThreads(__tstate);
44127b65
RD
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 Py_INCREF(Py_None); resultobj = Py_None;
2742 return resultobj;
2743 fail:
2744 return NULL;
2745}
2746
2747
c32bde28 2748static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2749 PyObject *resultobj;
2750 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2751 wxDC *arg2 = 0 ;
2752 double arg3 ;
2753 double arg4 ;
2754 double arg5 ;
2755 double arg6 ;
ae8162c8 2756 bool arg7 = (bool) true ;
44127b65
RD
2757 bool result;
2758 PyObject * obj0 = 0 ;
2759 PyObject * obj1 = 0 ;
8edf1c75
RD
2760 PyObject * obj2 = 0 ;
2761 PyObject * obj3 = 0 ;
2762 PyObject * obj4 = 0 ;
2763 PyObject * obj5 = 0 ;
44127b65
RD
2764 PyObject * obj6 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2767 };
2768
8edf1c75 2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
2770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2773 SWIG_POINTER_EXCEPTION | 0)) == -1)
2774 SWIG_fail;
44127b65 2775 if (arg2 == NULL) {
2f4c0a16
RD
2776 PyErr_SetString(PyExc_TypeError,"null reference");
2777 SWIG_fail;
2778 }
c32bde28 2779 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2780 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2781 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 2782 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2783 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 2784 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2785 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 2786 if (PyErr_Occurred()) SWIG_fail;
44127b65 2787 if (obj6) {
c32bde28 2788 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 2789 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2790 }
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
4f89f6a3
RD
2798 {
2799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2800 }
44127b65
RD
2801 return resultobj;
2802 fail:
2803 return NULL;
2804}
2805
2806
c32bde28 2807static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2808 PyObject *resultobj;
2809 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2810 wxDC *arg2 = 0 ;
2811 double arg3 ;
2812 double arg4 ;
2813 double arg5 ;
2814 double arg6 ;
ae8162c8 2815 bool arg7 = (bool) true ;
44127b65
RD
2816 PyObject * obj0 = 0 ;
2817 PyObject * obj1 = 0 ;
8edf1c75
RD
2818 PyObject * obj2 = 0 ;
2819 PyObject * obj3 = 0 ;
2820 PyObject * obj4 = 0 ;
2821 PyObject * obj5 = 0 ;
44127b65
RD
2822 PyObject * obj6 = 0 ;
2823 char *kwnames[] = {
2824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2825 };
2826
8edf1c75 2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
2828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2831 SWIG_POINTER_EXCEPTION | 0)) == -1)
2832 SWIG_fail;
44127b65 2833 if (arg2 == NULL) {
2f4c0a16
RD
2834 PyErr_SetString(PyExc_TypeError,"null reference");
2835 SWIG_fail;
2836 }
c32bde28 2837 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2838 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2839 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 2840 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2841 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 2842 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2843 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 2844 if (PyErr_Occurred()) SWIG_fail;
44127b65 2845 if (obj6) {
c32bde28 2846 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 2847 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 return resultobj;
2858 fail:
2859 return NULL;
2860}
2861
2862
c32bde28 2863static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2864 PyObject *resultobj;
2865 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2866 bool arg2 ;
2867 double arg3 ;
2868 double arg4 ;
2869 int arg5 = (int) 0 ;
2870 int arg6 = (int) 0 ;
2871 PyObject * obj0 = 0 ;
2872 PyObject * obj1 = 0 ;
8edf1c75
RD
2873 PyObject * obj2 = 0 ;
2874 PyObject * obj3 = 0 ;
2875 PyObject * obj4 = 0 ;
2876 PyObject * obj5 = 0 ;
44127b65
RD
2877 char *kwnames[] = {
2878 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2879 };
2880
8edf1c75 2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
2882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2884 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 2885 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2886 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2887 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2888 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 2889 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2890 if (obj4) {
c32bde28 2891 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 2892 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2893 }
2894 if (obj5) {
c32bde28 2895 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 2896 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2897 }
44127b65
RD
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 }
2905 Py_INCREF(Py_None); resultobj = Py_None;
2906 return resultobj;
2907 fail:
2908 return NULL;
2909}
2910
2911
c32bde28 2912static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2913 PyObject *resultobj;
2914 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2915 double arg2 ;
2916 double arg3 ;
2917 int arg4 = (int) 0 ;
2918 int arg5 = (int) 0 ;
2919 PyObject * obj0 = 0 ;
8edf1c75
RD
2920 PyObject * obj1 = 0 ;
2921 PyObject * obj2 = 0 ;
2922 PyObject * obj3 = 0 ;
2923 PyObject * obj4 = 0 ;
44127b65
RD
2924 char *kwnames[] = {
2925 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2926 };
2927
8edf1c75 2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2931 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 2932 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2933 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2934 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2935 if (obj3) {
c32bde28 2936 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 2937 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2938 }
2939 if (obj4) {
c32bde28 2940 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 2941 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2942 }
44127b65
RD
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 Py_INCREF(Py_None); resultobj = Py_None;
2951 return resultobj;
2952 fail:
2953 return NULL;
2954}
2955
2956
c32bde28 2957static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2958 PyObject *resultobj;
2959 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2960 double arg2 ;
2961 double arg3 ;
2962 int arg4 = (int) 0 ;
2963 int arg5 = (int) 0 ;
2964 PyObject * obj0 = 0 ;
8edf1c75
RD
2965 PyObject * obj1 = 0 ;
2966 PyObject * obj2 = 0 ;
2967 PyObject * obj3 = 0 ;
2968 PyObject * obj4 = 0 ;
44127b65
RD
2969 char *kwnames[] = {
2970 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2971 };
2972
8edf1c75 2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2976 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 2977 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2978 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 2979 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2980 if (obj3) {
c32bde28 2981 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 2982 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2983 }
2984 if (obj4) {
c32bde28 2985 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 2986 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2987 }
44127b65
RD
2988 {
2989 PyThreadState* __tstate = wxPyBeginAllowThreads();
2990 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2991
2992 wxPyEndAllowThreads(__tstate);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 }
2995 Py_INCREF(Py_None); resultobj = Py_None;
2996 return resultobj;
2997 fail:
2998 return NULL;
2999}
3000
3001
c32bde28 3002static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3003 PyObject *resultobj;
3004 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3005 bool arg2 ;
3006 double arg3 ;
3007 double arg4 ;
3008 int arg5 = (int) 0 ;
3009 int arg6 = (int) 0 ;
3010 PyObject * obj0 = 0 ;
3011 PyObject * obj1 = 0 ;
8edf1c75
RD
3012 PyObject * obj2 = 0 ;
3013 PyObject * obj3 = 0 ;
3014 PyObject * obj4 = 0 ;
3015 PyObject * obj5 = 0 ;
44127b65
RD
3016 char *kwnames[] = {
3017 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3018 };
3019
8edf1c75 3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3023 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 3024 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3025 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 3026 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3027 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 3028 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3029 if (obj4) {
c32bde28 3030 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 3031 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3032 }
3033 if (obj5) {
c32bde28 3034 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 3035 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3036 }
44127b65
RD
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 Py_INCREF(Py_None); resultobj = Py_None;
3045 return resultobj;
3046 fail:
3047 return NULL;
3048}
3049
3050
c32bde28 3051static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3052 PyObject *resultobj;
3053 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3054 double arg2 ;
3055 double arg3 ;
3056 int arg4 = (int) 0 ;
3057 int arg5 = (int) 0 ;
3058 PyObject * obj0 = 0 ;
8edf1c75
RD
3059 PyObject * obj1 = 0 ;
3060 PyObject * obj2 = 0 ;
3061 PyObject * obj3 = 0 ;
3062 PyObject * obj4 = 0 ;
44127b65
RD
3063 char *kwnames[] = {
3064 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3065 };
3066
8edf1c75 3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3070 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 3071 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3072 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 3073 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3074 if (obj3) {
c32bde28 3075 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 3076 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3077 }
3078 if (obj4) {
c32bde28 3079 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 3080 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3081 }
44127b65
RD
3082 {
3083 PyThreadState* __tstate = wxPyBeginAllowThreads();
3084 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
3085
3086 wxPyEndAllowThreads(__tstate);
3087 if (PyErr_Occurred()) SWIG_fail;
3088 }
3089 Py_INCREF(Py_None); resultobj = Py_None;
3090 return resultobj;
3091 fail:
3092 return NULL;
3093}
3094
3095
c32bde28 3096static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3097 PyObject *resultobj;
3098 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3099 double arg2 ;
3100 double arg3 ;
3101 int arg4 = (int) 0 ;
3102 int arg5 = (int) 0 ;
3103 PyObject * obj0 = 0 ;
8edf1c75
RD
3104 PyObject * obj1 = 0 ;
3105 PyObject * obj2 = 0 ;
3106 PyObject * obj3 = 0 ;
3107 PyObject * obj4 = 0 ;
44127b65
RD
3108 char *kwnames[] = {
3109 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3110 };
3111
8edf1c75 3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3115 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 3116 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3117 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16
RD
3118 if (PyErr_Occurred()) SWIG_fail;
3119 if (obj3) {
c32bde28 3120 arg4 = (int)SWIG_As_int(obj3);
8edf1c75
RD
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
2f4c0a16 3123 if (obj4) {
c32bde28 3124 arg5 = (int)SWIG_As_int(obj4);
8edf1c75
RD
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
44127b65
RD
3127 {
3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
3129 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
3130
3131 wxPyEndAllowThreads(__tstate);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 Py_INCREF(Py_None); resultobj = Py_None;
3135 return resultobj;
3136 fail:
3137 return NULL;
3138}
3139
3140
c32bde28 3141static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3142 PyObject *resultobj;
3143 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3144 wxDC *arg2 = 0 ;
3145 double arg3 ;
3146 double arg4 ;
3147 double arg5 ;
3148 double arg6 ;
3149 PyObject * obj0 = 0 ;
3150 PyObject * obj1 = 0 ;
8edf1c75
RD
3151 PyObject * obj2 = 0 ;
3152 PyObject * obj3 = 0 ;
3153 PyObject * obj4 = 0 ;
3154 PyObject * obj5 = 0 ;
44127b65
RD
3155 char *kwnames[] = {
3156 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3157 };
3158
8edf1c75 3159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3163 SWIG_POINTER_EXCEPTION | 0)) == -1)
3164 SWIG_fail;
44127b65 3165 if (arg2 == NULL) {
2f4c0a16
RD
3166 PyErr_SetString(PyExc_TypeError,"null reference");
3167 SWIG_fail;
8edf1c75 3168 }
c32bde28 3169 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 3170 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3171 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 3172 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3173 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 3174 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3175 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 3176 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 Py_INCREF(Py_None); resultobj = Py_None;
3185 return resultobj;
3186 fail:
3187 return NULL;
3188}
3189
3190
c32bde28 3191static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3192 PyObject *resultobj;
3193 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3194 wxDC *arg2 = 0 ;
3195 PyObject * obj0 = 0 ;
3196 PyObject * obj1 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self",(char *) "dc", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3205 SWIG_POINTER_EXCEPTION | 0)) == -1)
3206 SWIG_fail;
44127b65 3207 if (arg2 == NULL) {
2f4c0a16
RD
3208 PyErr_SetString(PyExc_TypeError,"null reference");
3209 SWIG_fail;
44127b65
RD
3210 }
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 (arg1)->base_OnDrawControlPoints(*arg2);
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 Py_INCREF(Py_None); resultobj = Py_None;
3219 return resultobj;
3220 fail:
3221 return NULL;
3222}
3223
3224
c32bde28 3225static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3226 PyObject *resultobj;
3227 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3228 wxDC *arg2 = 0 ;
3229 PyObject * obj0 = 0 ;
3230 PyObject * obj1 = 0 ;
3231 char *kwnames[] = {
3232 (char *) "self",(char *) "dc", NULL
3233 };
3234
3235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3239 SWIG_POINTER_EXCEPTION | 0)) == -1)
3240 SWIG_fail;
44127b65 3241 if (arg2 == NULL) {
2f4c0a16
RD
3242 PyErr_SetString(PyExc_TypeError,"null reference");
3243 SWIG_fail;
44127b65
RD
3244 }
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 (arg1)->base_OnEraseControlPoints(*arg2);
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 Py_INCREF(Py_None); resultobj = Py_None;
3253 return resultobj;
3254 fail:
3255 return NULL;
3256}
3257
3258
c32bde28 3259static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3260 PyObject *resultobj;
3261 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3262 wxDC *arg2 = 0 ;
ae8162c8 3263 bool arg3 = (bool) true ;
44127b65
RD
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 PyObject * obj2 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3275 SWIG_POINTER_EXCEPTION | 0)) == -1)
3276 SWIG_fail;
44127b65 3277 if (arg2 == NULL) {
2f4c0a16
RD
3278 PyErr_SetString(PyExc_TypeError,"null reference");
3279 SWIG_fail;
44127b65
RD
3280 }
3281 if (obj2) {
c32bde28 3282 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 3283 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3284 }
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 (arg1)->base_OnMoveLink(*arg2,arg3);
3288
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 Py_INCREF(Py_None); resultobj = Py_None;
3293 return resultobj;
3294 fail:
3295 return NULL;
3296}
3297
3298
c32bde28 3299static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3300 PyObject *resultobj;
3301 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3302 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3303 bool arg3 ;
3304 double arg4 ;
3305 double arg5 ;
3306 int arg6 = (int) 0 ;
3307 int arg7 = (int) 0 ;
3308 PyObject * obj0 = 0 ;
3309 PyObject * obj1 = 0 ;
3310 PyObject * obj2 = 0 ;
8edf1c75
RD
3311 PyObject * obj3 = 0 ;
3312 PyObject * obj4 = 0 ;
3313 PyObject * obj5 = 0 ;
3314 PyObject * obj6 = 0 ;
44127b65
RD
3315 char *kwnames[] = {
3316 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3317 };
3318
8edf1c75 3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
3320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3324 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 3325 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3326 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 3327 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3328 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 3329 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3330 if (obj5) {
c32bde28 3331 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 3332 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3333 }
3334 if (obj6) {
c32bde28 3335 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 3336 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3337 }
44127b65
RD
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 Py_INCREF(Py_None); resultobj = Py_None;
3346 return resultobj;
3347 fail:
3348 return NULL;
3349}
3350
3351
c32bde28 3352static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3353 PyObject *resultobj;
3354 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3355 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3356 double arg3 ;
3357 double arg4 ;
3358 int arg5 = (int) 0 ;
3359 int arg6 = (int) 0 ;
3360 PyObject * obj0 = 0 ;
3361 PyObject * obj1 = 0 ;
8edf1c75
RD
3362 PyObject * obj2 = 0 ;
3363 PyObject * obj3 = 0 ;
3364 PyObject * obj4 = 0 ;
3365 PyObject * obj5 = 0 ;
44127b65
RD
3366 char *kwnames[] = {
3367 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3368 };
3369
8edf1c75 3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3375 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 3376 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3377 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 3378 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3379 if (obj4) {
c32bde28 3380 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 3381 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3382 }
3383 if (obj5) {
c32bde28 3384 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 3385 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3386 }
44127b65
RD
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 Py_INCREF(Py_None); resultobj = Py_None;
3395 return resultobj;
3396 fail:
3397 return NULL;
3398}
3399
3400
c32bde28 3401static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3402 PyObject *resultobj;
3403 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3404 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3405 double arg3 ;
3406 double arg4 ;
3407 int arg5 = (int) 0 ;
3408 int arg6 = (int) 0 ;
3409 PyObject * obj0 = 0 ;
3410 PyObject * obj1 = 0 ;
8edf1c75
RD
3411 PyObject * obj2 = 0 ;
3412 PyObject * obj3 = 0 ;
3413 PyObject * obj4 = 0 ;
3414 PyObject * obj5 = 0 ;
44127b65
RD
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3417 };
3418
8edf1c75 3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3424 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 3425 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3426 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 3427 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3428 if (obj4) {
c32bde28 3429 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 3430 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3431 }
3432 if (obj5) {
c32bde28 3433 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 3434 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3435 }
44127b65
RD
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 Py_INCREF(Py_None); resultobj = Py_None;
3444 return resultobj;
3445 fail:
3446 return NULL;
3447}
3448
3449
c32bde28 3450static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3451 PyObject *resultobj;
3452 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3453 double arg2 ;
3454 double arg3 ;
3455 PyObject * obj0 = 0 ;
8edf1c75
RD
3456 PyObject * obj1 = 0 ;
3457 PyObject * obj2 = 0 ;
44127b65
RD
3458 char *kwnames[] = {
3459 (char *) "self",(char *) "w",(char *) "h", NULL
3460 };
3461
8edf1c75 3462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3465 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 3466 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3467 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 3468 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 (arg1)->base_OnBeginSize(arg2,arg3);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 Py_INCREF(Py_None); resultobj = Py_None;
3477 return resultobj;
3478 fail:
3479 return NULL;
3480}
3481
3482
c32bde28 3483static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3484 PyObject *resultobj;
3485 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3486 double arg2 ;
3487 double arg3 ;
3488 PyObject * obj0 = 0 ;
8edf1c75
RD
3489 PyObject * obj1 = 0 ;
3490 PyObject * obj2 = 0 ;
44127b65
RD
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "w",(char *) "h", NULL
3493 };
3494
8edf1c75 3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3498 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 3499 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3500 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 3501 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3502 {
3503 PyThreadState* __tstate = wxPyBeginAllowThreads();
3504 (arg1)->base_OnEndSize(arg2,arg3);
3505
3506 wxPyEndAllowThreads(__tstate);
3507 if (PyErr_Occurred()) SWIG_fail;
3508 }
3509 Py_INCREF(Py_None); resultobj = Py_None;
3510 return resultobj;
3511 fail:
3512 return NULL;
3513}
3514
3515
c32bde28 3516static PyObject * PyShapeEvtHandler_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3517 PyObject *obj;
3518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3519 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3520 Py_INCREF(obj);
3521 return Py_BuildValue((char *)"");
3522}
c32bde28 3523static PyObject *_wrap_new_PyShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3524 PyObject *resultobj;
3525 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3526 wxPyShape *result;
3527 PyObject * obj0 = 0 ;
3528 char *kwnames[] = {
3529 (char *) "can", NULL
3530 };
3531
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3533 if (obj0) {
2f4c0a16
RD
3534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
3535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3536 }
3537 {
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 result = (wxPyShape *)new wxPyShape(arg1);
3540
3541 wxPyEndAllowThreads(__tstate);
3542 if (PyErr_Occurred()) SWIG_fail;
3543 }
b0f7404b 3544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShape, 1);
44127b65
RD
3545 return resultobj;
3546 fail:
3547 return NULL;
3548}
3549
3550
c32bde28 3551static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3552 PyObject *resultobj;
3553 wxPyShape *arg1 = (wxPyShape *) 0 ;
3554 PyObject *arg2 = (PyObject *) 0 ;
3555 PyObject *arg3 = (PyObject *) 0 ;
3556 PyObject * obj0 = 0 ;
3557 PyObject * obj1 = 0 ;
3558 PyObject * obj2 = 0 ;
3559 char *kwnames[] = {
3560 (char *) "self",(char *) "self",(char *) "_class", NULL
3561 };
3562
3563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3566 arg2 = obj1;
3567 arg3 = obj2;
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 (arg1)->_setCallbackInfo(arg2,arg3);
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 Py_INCREF(Py_None); resultobj = Py_None;
3576 return resultobj;
3577 fail:
3578 return NULL;
3579}
3580
3581
c32bde28 3582static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3583 PyObject *resultobj;
3584 wxPyShape *arg1 = (wxPyShape *) 0 ;
3585 double *arg2 = (double *) 0 ;
3586 double *arg3 = (double *) 0 ;
3587 double temp2 ;
c32bde28 3588 int res2 = 0 ;
44127b65 3589 double temp3 ;
c32bde28 3590 int res3 = 0 ;
44127b65
RD
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
c32bde28
RD
3596 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3597 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 (arg1)->GetBoundingBoxMax(arg2,arg3);
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3609 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3610 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
3611 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3612 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
3613 return resultobj;
3614 fail:
3615 return NULL;
3616}
3617
3618
c32bde28 3619static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3620 PyObject *resultobj;
3621 wxPyShape *arg1 = (wxPyShape *) 0 ;
3622 double *arg2 = (double *) 0 ;
3623 double *arg3 = (double *) 0 ;
3624 double temp2 ;
c32bde28 3625 int res2 = 0 ;
44127b65 3626 double temp3 ;
c32bde28 3627 int res3 = 0 ;
44127b65
RD
3628 PyObject * obj0 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self", NULL
3631 };
3632
c32bde28
RD
3633 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3634 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 (arg1)->GetBoundingBoxMin(arg2,arg3);
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3646 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3647 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
3648 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3649 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
3650 return resultobj;
3651 fail:
3652 return NULL;
3653}
3654
3655
c32bde28 3656static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3657 PyObject *resultobj;
3658 wxPyShape *arg1 = (wxPyShape *) 0 ;
3659 double arg2 ;
3660 double arg3 ;
3661 double arg4 ;
3662 double arg5 ;
3663 double *arg6 = (double *) 0 ;
3664 double *arg7 = (double *) 0 ;
3665 bool result;
3666 double temp6 ;
c32bde28 3667 int res6 = 0 ;
44127b65 3668 double temp7 ;
c32bde28 3669 int res7 = 0 ;
44127b65 3670 PyObject * obj0 = 0 ;
8edf1c75
RD
3671 PyObject * obj1 = 0 ;
3672 PyObject * obj2 = 0 ;
3673 PyObject * obj3 = 0 ;
3674 PyObject * obj4 = 0 ;
3675 char *kwnames[] = {
3676 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
44127b65
RD
3677 };
3678
c32bde28
RD
3679 arg6 = &temp6; res6 = SWIG_NEWOBJ;
3680 arg7 = &temp7; res7 = SWIG_NEWOBJ;
8edf1c75 3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3684 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 3685 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3686 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 3687 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3688 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 3689 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3690 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 3691 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
4f89f6a3
RD
3699 {
3700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3701 }
c32bde28
RD
3702 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
3703 SWIG_From_double((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, 0)));
3704 resultobj = t_output_helper(resultobj, ((res7 == SWIG_NEWOBJ) ?
3705 SWIG_From_double((*arg7)) : SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, 0)));
44127b65
RD
3706 return resultobj;
3707 fail:
3708 return NULL;
3709}
3710
3711
c32bde28 3712static PyObject *_wrap_PyShape_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3713 PyObject *resultobj;
3714 wxPyShape *arg1 = (wxPyShape *) 0 ;
3715 wxPyShapeCanvas *result;
3716 PyObject * obj0 = 0 ;
3717 char *kwnames[] = {
3718 (char *) "self", NULL
3719 };
3720
3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 {
412d302d 3732 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
3733 }
3734 return resultobj;
3735 fail:
3736 return NULL;
3737}
3738
3739
c32bde28 3740static PyObject *_wrap_PyShape_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3741 PyObject *resultobj;
3742 wxPyShape *arg1 = (wxPyShape *) 0 ;
3743 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3744 PyObject * obj0 = 0 ;
3745 PyObject * obj1 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self",(char *) "the_canvas", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 (arg1)->SetCanvas(arg2);
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 Py_INCREF(Py_None); resultobj = Py_None;
3763 return resultobj;
3764 fail:
3765 return NULL;
3766}
3767
3768
c32bde28 3769static PyObject *_wrap_PyShape_AddToCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3770 PyObject *resultobj;
3771 wxPyShape *arg1 = (wxPyShape *) 0 ;
3772 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3773 wxPyShape *arg3 = (wxPyShape *) NULL ;
3774 PyObject * obj0 = 0 ;
3775 PyObject * obj1 = 0 ;
3776 PyObject * obj2 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 3786 if (obj2) {
2f4c0a16
RD
3787 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
3788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3789 }
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 (arg1)->AddToCanvas(arg2,arg3);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
c32bde28 3804static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3805 PyObject *resultobj;
3806 wxPyShape *arg1 = (wxPyShape *) 0 ;
3807 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3808 PyObject * obj0 = 0 ;
3809 PyObject * obj1 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "self",(char *) "the_canvas", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 (arg1)->InsertInCanvas(arg2);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830}
3831
3832
c32bde28 3833static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3834 PyObject *resultobj;
3835 wxPyShape *arg1 = (wxPyShape *) 0 ;
3836 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3837 PyObject * obj0 = 0 ;
3838 PyObject * obj1 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self",(char *) "the_canvas", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 (arg1)->RemoveFromCanvas(arg2);
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 Py_INCREF(Py_None); resultobj = Py_None;
3856 return resultobj;
3857 fail:
3858 return NULL;
3859}
3860
3861
c32bde28 3862static PyObject *_wrap_PyShape_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3863 PyObject *resultobj;
3864 wxPyShape *arg1 = (wxPyShape *) 0 ;
3865 double result;
3866 PyObject * obj0 = 0 ;
3867 char *kwnames[] = {
3868 (char *) "self", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 result = (double)(arg1)->GetX();
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
c32bde28 3881 resultobj = SWIG_From_double((double)result);
44127b65
RD
3882 return resultobj;
3883 fail:
3884 return NULL;
3885}
3886
3887
c32bde28 3888static PyObject *_wrap_PyShape_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3889 PyObject *resultobj;
3890 wxPyShape *arg1 = (wxPyShape *) 0 ;
3891 double result;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (double)(arg1)->GetY();
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
c32bde28 3907 resultobj = SWIG_From_double((double)result);
44127b65
RD
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
c32bde28 3914static PyObject *_wrap_PyShape_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3915 PyObject *resultobj;
3916 wxPyShape *arg1 = (wxPyShape *) 0 ;
3917 double arg2 ;
3918 PyObject * obj0 = 0 ;
8edf1c75 3919 PyObject * obj1 = 0 ;
44127b65
RD
3920 char *kwnames[] = {
3921 (char *) "self",(char *) "x", NULL
3922 };
3923
8edf1c75 3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3927 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 3928 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->SetX(arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940}
3941
3942
c32bde28 3943static PyObject *_wrap_PyShape_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3944 PyObject *resultobj;
3945 wxPyShape *arg1 = (wxPyShape *) 0 ;
3946 double arg2 ;
3947 PyObject * obj0 = 0 ;
8edf1c75 3948 PyObject * obj1 = 0 ;
44127b65
RD
3949 char *kwnames[] = {
3950 (char *) "self",(char *) "y", NULL
3951 };
3952
8edf1c75 3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3956 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 3957 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 (arg1)->SetY(arg2);
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 Py_INCREF(Py_None); resultobj = Py_None;
3966 return resultobj;
3967 fail:
3968 return NULL;
3969}
3970
3971
c32bde28 3972static PyObject *_wrap_PyShape_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3973 PyObject *resultobj;
3974 wxPyShape *arg1 = (wxPyShape *) 0 ;
3975 wxPyShape *result;
3976 PyObject * obj0 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "self", NULL
3979 };
3980
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 result = (wxPyShape *)(arg1)->GetParent();
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 {
412d302d 3992 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
3993 }
3994 return resultobj;
3995 fail:
3996 return NULL;
3997}
3998
3999
c32bde28 4000static PyObject *_wrap_PyShape_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4001 PyObject *resultobj;
4002 wxPyShape *arg1 = (wxPyShape *) 0 ;
4003 wxPyShape *arg2 = (wxPyShape *) 0 ;
4004 PyObject * obj0 = 0 ;
4005 PyObject * obj1 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "self",(char *) "p", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
4014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 (arg1)->SetParent(arg2);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026}
4027
4028
c32bde28 4029static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4030 PyObject *resultobj;
4031 wxPyShape *arg1 = (wxPyShape *) 0 ;
4032 wxPyShape *result;
4033 PyObject * obj0 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 result = (wxPyShape *)(arg1)->GetTopAncestor();
4044
4045 wxPyEndAllowThreads(__tstate);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 }
4048 {
412d302d 4049 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
4050 }
4051 return resultobj;
4052 fail:
4053 return NULL;
4054}
4055
4056
c32bde28 4057static PyObject *_wrap_PyShape_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4058 PyObject *resultobj;
4059 wxPyShape *arg1 = (wxPyShape *) 0 ;
4060 PyObject *result;
4061 PyObject * obj0 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4069 {
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4071 result = (PyObject *)wxPyShape_GetChildren(arg1);
4072
4073 wxPyEndAllowThreads(__tstate);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
4076 resultobj = result;
4077 return resultobj;
4078 fail:
4079 return NULL;
4080}
4081
4082
c32bde28 4083static PyObject *_wrap_PyShape_Unlink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4084 PyObject *resultobj;
4085 wxPyShape *arg1 = (wxPyShape *) 0 ;
4086 PyObject * obj0 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self", NULL
4089 };
4090
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4094 {
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 (arg1)->Unlink();
4097
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 Py_INCREF(Py_None); resultobj = Py_None;
4102 return resultobj;
4103 fail:
4104 return NULL;
4105}
4106
4107
c32bde28 4108static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4109 PyObject *resultobj;
4110 wxPyShape *arg1 = (wxPyShape *) 0 ;
4111 bool arg2 ;
4112 PyObject * obj0 = 0 ;
4113 PyObject * obj1 = 0 ;
4114 char *kwnames[] = {
4115 (char *) "self",(char *) "drawH", NULL
4116 };
4117
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4121 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 4122 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 (arg1)->SetDrawHandles(arg2);
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 Py_INCREF(Py_None); resultobj = Py_None;
4131 return resultobj;
4132 fail:
4133 return NULL;
4134}
4135
4136
c32bde28 4137static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4138 PyObject *resultobj;
4139 wxPyShape *arg1 = (wxPyShape *) 0 ;
4140 bool result;
4141 PyObject * obj0 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "self", NULL
4144 };
4145
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 result = (bool)(arg1)->GetDrawHandles();
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4f89f6a3
RD
4156 {
4157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4158 }
44127b65
RD
4159 return resultobj;
4160 fail:
4161 return NULL;
4162}
4163
4164
c32bde28 4165static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4166 PyObject *resultobj;
4167 wxPyShape *arg1 = (wxPyShape *) 0 ;
4168 PyObject * obj0 = 0 ;
4169 char *kwnames[] = {
4170 (char *) "self", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 (arg1)->MakeControlPoints();
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 Py_INCREF(Py_None); resultobj = Py_None;
4184 return resultobj;
4185 fail:
4186 return NULL;
4187}
4188
4189
c32bde28 4190static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4191 PyObject *resultobj;
4192 wxPyShape *arg1 = (wxPyShape *) 0 ;
4193 wxDC *arg2 = (wxDC *) NULL ;
4194 PyObject * obj0 = 0 ;
4195 PyObject * obj1 = 0 ;
4196 char *kwnames[] = {
4197 (char *) "self",(char *) "dc", NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4203 if (obj1) {
2f4c0a16
RD
4204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4206 }
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 (arg1)->DeleteControlPoints(arg2);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 Py_INCREF(Py_None); resultobj = Py_None;
4215 return resultobj;
4216 fail:
4217 return NULL;
4218}
4219
4220
c32bde28 4221static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4222 PyObject *resultobj;
4223 wxPyShape *arg1 = (wxPyShape *) 0 ;
4224 PyObject * obj0 = 0 ;
4225 char *kwnames[] = {
4226 (char *) "self", NULL
4227 };
4228
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 (arg1)->ResetControlPoints();
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 Py_INCREF(Py_None); resultobj = Py_None;
4240 return resultobj;
4241 fail:
4242 return NULL;
4243}
4244
4245
c32bde28 4246static PyObject *_wrap_PyShape_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4247 PyObject *resultobj;
4248 wxPyShape *arg1 = (wxPyShape *) 0 ;
4249 wxPyShapeEvtHandler *result;
4250 PyObject * obj0 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 {
412d302d 4266 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
4267 }
4268 return resultobj;
4269 fail:
4270 return NULL;
4271}
4272
4273
c32bde28 4274static PyObject *_wrap_PyShape_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4275 PyObject *resultobj;
4276 wxPyShape *arg1 = (wxPyShape *) 0 ;
4277 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4278 PyObject * obj0 = 0 ;
4279 PyObject * obj1 = 0 ;
4280 char *kwnames[] = {
4281 (char *) "self",(char *) "handler", NULL
4282 };
4283
4284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
4288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 (arg1)->SetEventHandler(arg2);
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 Py_INCREF(Py_None); resultobj = Py_None;
4297 return resultobj;
4298 fail:
4299 return NULL;
4300}
4301
4302
c32bde28 4303static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4304 PyObject *resultobj;
4305 wxPyShape *arg1 = (wxPyShape *) 0 ;
4306 PyObject * obj0 = 0 ;
4307 char *kwnames[] = {
4308 (char *) "self", NULL
4309 };
4310
4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4314 {
4315 PyThreadState* __tstate = wxPyBeginAllowThreads();
4316 (arg1)->MakeMandatoryControlPoints();
4317
4318 wxPyEndAllowThreads(__tstate);
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 Py_INCREF(Py_None); resultobj = Py_None;
4322 return resultobj;
4323 fail:
4324 return NULL;
4325}
4326
4327
c32bde28 4328static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4329 PyObject *resultobj;
4330 wxPyShape *arg1 = (wxPyShape *) 0 ;
4331 PyObject * obj0 = 0 ;
4332 char *kwnames[] = {
4333 (char *) "self", NULL
4334 };
4335
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 (arg1)->ResetMandatoryControlPoints();
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 Py_INCREF(Py_None); resultobj = Py_None;
4347 return resultobj;
4348 fail:
4349 return NULL;
4350}
4351
4352
c32bde28 4353static PyObject *_wrap_PyShape_Recompute(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4354 PyObject *resultobj;
4355 wxPyShape *arg1 = (wxPyShape *) 0 ;
4356 bool result;
4357 PyObject * obj0 = 0 ;
4358 char *kwnames[] = {
4359 (char *) "self", NULL
4360 };
4361
4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4365 {
4366 PyThreadState* __tstate = wxPyBeginAllowThreads();
4367 result = (bool)(arg1)->Recompute();
4368
4369 wxPyEndAllowThreads(__tstate);
4370 if (PyErr_Occurred()) SWIG_fail;
4371 }
4f89f6a3
RD
4372 {
4373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4374 }
44127b65
RD
4375 return resultobj;
4376 fail:
4377 return NULL;
4378}
4379
4380
c32bde28 4381static PyObject *_wrap_PyShape_CalculateSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4382 PyObject *resultobj;
4383 wxPyShape *arg1 = (wxPyShape *) 0 ;
4384 PyObject * obj0 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "self", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 (arg1)->CalculateSize();
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 }
4399 Py_INCREF(Py_None); resultobj = Py_None;
4400 return resultobj;
4401 fail:
4402 return NULL;
4403}
4404
4405
c32bde28 4406static PyObject *_wrap_PyShape_Select(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4407 PyObject *resultobj;
4408 wxPyShape *arg1 = (wxPyShape *) 0 ;
ae8162c8 4409 bool arg2 = (bool) true ;
44127b65
RD
4410 wxDC *arg3 = (wxDC *) NULL ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 PyObject * obj2 = 0 ;
4414 char *kwnames[] = {
4415 (char *) "self",(char *) "select",(char *) "dc", NULL
4416 };
4417
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4421 if (obj1) {
c32bde28 4422 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 4423 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4424 }
4425 if (obj2) {
2f4c0a16
RD
4426 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
4427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4428 }
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 (arg1)->Select(arg2,arg3);
4432
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 Py_INCREF(Py_None); resultobj = Py_None;
4437 return resultobj;
4438 fail:
4439 return NULL;
4440}
4441
4442
c32bde28 4443static PyObject *_wrap_PyShape_SetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4444 PyObject *resultobj;
4445 wxPyShape *arg1 = (wxPyShape *) 0 ;
ae8162c8
RD
4446 bool arg2 = (bool) true ;
4447 bool arg3 = (bool) false ;
44127b65
RD
4448 PyObject * obj0 = 0 ;
4449 PyObject * obj1 = 0 ;
4450 PyObject * obj2 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4458 if (obj1) {
c32bde28 4459 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 4460 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4461 }
4462 if (obj2) {
c32bde28 4463 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 4464 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4465 }
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetHighlight(arg2,arg3);
4469
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 Py_INCREF(Py_None); resultobj = Py_None;
4474 return resultobj;
4475 fail:
4476 return NULL;
4477}
4478
4479
c32bde28 4480static PyObject *_wrap_PyShape_IsHighlighted(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4481 PyObject *resultobj;
4482 wxPyShape *arg1 = (wxPyShape *) 0 ;
4483 bool result;
4484 PyObject * obj0 = 0 ;
4485 char *kwnames[] = {
4486 (char *) "self", NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 result = (bool)(arg1)->IsHighlighted();
4495
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4f89f6a3
RD
4499 {
4500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4501 }
44127b65
RD
4502 return resultobj;
4503 fail:
4504 return NULL;
4505}
4506
4507
c32bde28 4508static PyObject *_wrap_PyShape_Selected(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4509 PyObject *resultobj;
4510 wxPyShape *arg1 = (wxPyShape *) 0 ;
4511 bool result;
4512 PyObject * obj0 = 0 ;
4513 char *kwnames[] = {
4514 (char *) "self", NULL
4515 };
4516
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = (bool)(arg1)->Selected();
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4f89f6a3
RD
4527 {
4528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4529 }
44127b65
RD
4530 return resultobj;
4531 fail:
4532 return NULL;
4533}
4534
4535
c32bde28 4536static PyObject *_wrap_PyShape_AncestorSelected(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4537 PyObject *resultobj;
4538 wxPyShape *arg1 = (wxPyShape *) 0 ;
4539 bool result;
4540 PyObject * obj0 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "self", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 result = (bool)(arg1)->AncestorSelected();
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4f89f6a3
RD
4555 {
4556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4557 }
44127b65
RD
4558 return resultobj;
4559 fail:
4560 return NULL;
4561}
4562
4563
c32bde28 4564static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4565 PyObject *resultobj;
4566 wxPyShape *arg1 = (wxPyShape *) 0 ;
4567 int arg2 = (int) OP_ALL ;
ae8162c8 4568 bool arg3 = (bool) false ;
44127b65 4569 PyObject * obj0 = 0 ;
8edf1c75 4570 PyObject * obj1 = 0 ;
44127b65
RD
4571 PyObject * obj2 = 0 ;
4572 char *kwnames[] = {
4573 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4574 };
4575
8edf1c75 4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4579 if (obj1) {
c32bde28 4580 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 4581 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4582 }
44127b65 4583 if (obj2) {
c32bde28 4584 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 4585 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4586 }
4587 {
4588 PyThreadState* __tstate = wxPyBeginAllowThreads();
4589 (arg1)->SetSensitivityFilter(arg2,arg3);
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 Py_INCREF(Py_None); resultobj = Py_None;
4595 return resultobj;
4596 fail:
4597 return NULL;
4598}
4599
4600
c32bde28 4601static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4602 PyObject *resultobj;
4603 wxPyShape *arg1 = (wxPyShape *) 0 ;
4604 int result;
4605 PyObject * obj0 = 0 ;
4606 char *kwnames[] = {
4607 (char *) "self", NULL
4608 };
4609
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4613 {
4614 PyThreadState* __tstate = wxPyBeginAllowThreads();
4615 result = (int)(arg1)->GetSensitivityFilter();
4616
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
c32bde28 4620 resultobj = SWIG_From_int((int)result);
44127b65
RD
4621 return resultobj;
4622 fail:
4623 return NULL;
4624}
4625
4626
c32bde28 4627static PyObject *_wrap_PyShape_SetDraggable(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4628 PyObject *resultobj;
4629 wxPyShape *arg1 = (wxPyShape *) 0 ;
4630 bool arg2 ;
ae8162c8 4631 bool arg3 = (bool) false ;
44127b65
RD
4632 PyObject * obj0 = 0 ;
4633 PyObject * obj1 = 0 ;
4634 PyObject * obj2 = 0 ;
4635 char *kwnames[] = {
4636 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4637 };
4638
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4642 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 4643 if (PyErr_Occurred()) SWIG_fail;
83448d71 4644 if (obj2) {
c32bde28 4645 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 4646 if (PyErr_Occurred()) SWIG_fail;
83448d71 4647 }
44127b65
RD
4648 {
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 (arg1)->SetDraggable(arg2,arg3);
4651
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 Py_INCREF(Py_None); resultobj = Py_None;
4656 return resultobj;
4657 fail:
4658 return NULL;
4659}
4660
4661
c32bde28 4662static PyObject *_wrap_PyShape_SetFixedSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4663 PyObject *resultobj;
4664 wxPyShape *arg1 = (wxPyShape *) 0 ;
4665 bool arg2 ;
4666 bool arg3 ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 PyObject * obj2 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "self",(char *) "x",(char *) "y", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4677 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 4678 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4679 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 4680 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4681 {
4682 PyThreadState* __tstate = wxPyBeginAllowThreads();
4683 (arg1)->SetFixedSize(arg2,arg3);
4684
4685 wxPyEndAllowThreads(__tstate);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 Py_INCREF(Py_None); resultobj = Py_None;
4689 return resultobj;
4690 fail:
4691 return NULL;
4692}
4693
4694
c32bde28 4695static PyObject *_wrap_PyShape_GetFixedSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4696 PyObject *resultobj;
4697 wxPyShape *arg1 = (wxPyShape *) 0 ;
4698 bool *arg2 = (bool *) 0 ;
4699 bool *arg3 = (bool *) 0 ;
4700 bool temp2 ;
c32bde28 4701 int res2 = 0 ;
44127b65 4702 bool temp3 ;
c32bde28 4703 int res3 = 0 ;
44127b65
RD
4704 PyObject * obj0 = 0 ;
4705 char *kwnames[] = {
4706 (char *) "self", NULL
4707 };
4708
c32bde28
RD
4709 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4710 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 4711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4714 {
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 (arg1)->GetFixedSize(arg2,arg3);
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
4722 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4723 SWIG_From_bool((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_bool, 0)));
4724 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4725 SWIG_From_bool((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, 0)));
44127b65
RD
4726 return resultobj;
4727 fail:
4728 return NULL;
4729}
4730
4731
c32bde28 4732static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4733 PyObject *resultobj;
4734 wxPyShape *arg1 = (wxPyShape *) 0 ;
4735 bool result;
4736 PyObject * obj0 = 0 ;
4737 char *kwnames[] = {
4738 (char *) "self", NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (bool)(arg1)->GetFixedWidth();
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4f89f6a3
RD
4751 {
4752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4753 }
44127b65
RD
4754 return resultobj;
4755 fail:
4756 return NULL;
4757}
4758
4759
c32bde28 4760static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4761 PyObject *resultobj;
4762 wxPyShape *arg1 = (wxPyShape *) 0 ;
4763 bool result;
4764 PyObject * obj0 = 0 ;
4765 char *kwnames[] = {
4766 (char *) "self", NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 result = (bool)(arg1)->GetFixedHeight();
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4f89f6a3
RD
4779 {
4780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4781 }
44127b65
RD
4782 return resultobj;
4783 fail:
4784 return NULL;
4785}
4786
4787
c32bde28 4788static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4789 PyObject *resultobj;
4790 wxPyShape *arg1 = (wxPyShape *) 0 ;
4791 bool arg2 ;
4792 PyObject * obj0 = 0 ;
4793 PyObject * obj1 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self",(char *) "sp", NULL
4796 };
4797
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4801 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 4802 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 (arg1)->SetSpaceAttachments(arg2);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 Py_INCREF(Py_None); resultobj = Py_None;
4811 return resultobj;
4812 fail:
4813 return NULL;
4814}
4815
4816
c32bde28 4817static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4818 PyObject *resultobj;
4819 wxPyShape *arg1 = (wxPyShape *) 0 ;
4820 bool result;
4821 PyObject * obj0 = 0 ;
4822 char *kwnames[] = {
4823 (char *) "self", NULL
4824 };
4825
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (bool)(arg1)->GetSpaceAttachments();
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4f89f6a3
RD
4836 {
4837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4838 }
44127b65
RD
4839 return resultobj;
4840 fail:
4841 return NULL;
4842}
4843
4844
c32bde28 4845static PyObject *_wrap_PyShape_SetShadowMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4846 PyObject *resultobj;
4847 wxPyShape *arg1 = (wxPyShape *) 0 ;
4848 int arg2 ;
ae8162c8 4849 bool arg3 = (bool) false ;
44127b65 4850 PyObject * obj0 = 0 ;
8edf1c75 4851 PyObject * obj1 = 0 ;
44127b65
RD
4852 PyObject * obj2 = 0 ;
4853 char *kwnames[] = {
4854 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4855 };
4856
8edf1c75 4857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4860 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 4861 if (PyErr_Occurred()) SWIG_fail;
44127b65 4862 if (obj2) {
c32bde28 4863 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 4864 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4865 }
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 (arg1)->SetShadowMode(arg2,arg3);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 Py_INCREF(Py_None); resultobj = Py_None;
4874 return resultobj;
4875 fail:
4876 return NULL;
4877}
4878
4879
c32bde28 4880static PyObject *_wrap_PyShape_GetShadowMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4881 PyObject *resultobj;
4882 wxPyShape *arg1 = (wxPyShape *) 0 ;
4883 int result;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 result = (int)(arg1)->GetShadowMode();
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
c32bde28 4899 resultobj = SWIG_From_int((int)result);
44127b65
RD
4900 return resultobj;
4901 fail:
4902 return NULL;
4903}
4904
4905
c32bde28 4906static PyObject *_wrap_PyShape_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4907 PyObject *resultobj;
4908 wxPyShape *arg1 = (wxPyShape *) 0 ;
4909 double arg2 ;
4910 double arg3 ;
4911 int *arg4 = (int *) 0 ;
4912 double *arg5 = (double *) 0 ;
4913 bool result;
4914 int temp4 ;
c32bde28 4915 int res4 = 0 ;
44127b65 4916 double temp5 ;
c32bde28 4917 int res5 = 0 ;
44127b65 4918 PyObject * obj0 = 0 ;
8edf1c75
RD
4919 PyObject * obj1 = 0 ;
4920 PyObject * obj2 = 0 ;
44127b65
RD
4921 char *kwnames[] = {
4922 (char *) "self",(char *) "x",(char *) "y", NULL
4923 };
4924
c32bde28
RD
4925 arg4 = &temp4; res4 = SWIG_NEWOBJ;
4926 arg5 = &temp5; res5 = SWIG_NEWOBJ;
8edf1c75 4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4930 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 4931 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4932 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 4933 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4934 {
4935 PyThreadState* __tstate = wxPyBeginAllowThreads();
4936 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4937
4938 wxPyEndAllowThreads(__tstate);
4939 if (PyErr_Occurred()) SWIG_fail;
4940 }
4f89f6a3
RD
4941 {
4942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4943 }
c32bde28
RD
4944 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
4945 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
4946 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
4947 SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
44127b65
RD
4948 return resultobj;
4949 fail:
4950 return NULL;
4951}
4952
4953
c32bde28 4954static PyObject *_wrap_PyShape_SetCentreResize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4955 PyObject *resultobj;
4956 wxPyShape *arg1 = (wxPyShape *) 0 ;
4957 bool arg2 ;
4958 PyObject * obj0 = 0 ;
4959 PyObject * obj1 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self",(char *) "cr", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4967 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 4968 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 (arg1)->SetCentreResize(arg2);
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 Py_INCREF(Py_None); resultobj = Py_None;
4977 return resultobj;
4978 fail:
4979 return NULL;
4980}
4981
4982
c32bde28 4983static PyObject *_wrap_PyShape_GetCentreResize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4984 PyObject *resultobj;
4985 wxPyShape *arg1 = (wxPyShape *) 0 ;
4986 bool result;
4987 PyObject * obj0 = 0 ;
4988 char *kwnames[] = {
4989 (char *) "self", NULL
4990 };
4991
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4995 {
4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
4997 result = (bool)(arg1)->GetCentreResize();
4998
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
4f89f6a3
RD
5002 {
5003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5004 }
44127b65
RD
5005 return resultobj;
5006 fail:
5007 return NULL;
5008}
5009
5010
c32bde28 5011static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5012 PyObject *resultobj;
5013 wxPyShape *arg1 = (wxPyShape *) 0 ;
5014 bool arg2 ;
5015 PyObject * obj0 = 0 ;
5016 PyObject * obj1 = 0 ;
5017 char *kwnames[] = {
5018 (char *) "self",(char *) "ar", NULL
5019 };
5020
5021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5024 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 5025 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 (arg1)->SetMaintainAspectRatio(arg2);
5029
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 Py_INCREF(Py_None); resultobj = Py_None;
5034 return resultobj;
5035 fail:
5036 return NULL;
5037}
5038
5039
c32bde28 5040static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5041 PyObject *resultobj;
5042 wxPyShape *arg1 = (wxPyShape *) 0 ;
5043 bool result;
5044 PyObject * obj0 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 result = (bool)(arg1)->GetMaintainAspectRatio();
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 }
4f89f6a3
RD
5059 {
5060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5061 }
44127b65
RD
5062 return resultobj;
5063 fail:
5064 return NULL;
5065}
5066
5067
c32bde28 5068static PyObject *_wrap_PyShape_GetLines(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5069 PyObject *resultobj;
5070 wxPyShape *arg1 = (wxPyShape *) 0 ;
5071 PyObject *result;
5072 PyObject * obj0 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "self", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 result = (PyObject *)wxPyShape_GetLines(arg1);
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 resultobj = result;
5088 return resultobj;
5089 fail:
5090 return NULL;
5091}
5092
5093
c32bde28 5094static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5095 PyObject *resultobj;
5096 wxPyShape *arg1 = (wxPyShape *) 0 ;
5097 bool arg2 ;
5098 PyObject * obj0 = 0 ;
5099 PyObject * obj1 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "self",(char *) "flag", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5107 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 5108 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5109 {
5110 PyThreadState* __tstate = wxPyBeginAllowThreads();
5111 (arg1)->SetDisableLabel(arg2);
5112
5113 wxPyEndAllowThreads(__tstate);
5114 if (PyErr_Occurred()) SWIG_fail;
5115 }
5116 Py_INCREF(Py_None); resultobj = Py_None;
5117 return resultobj;
5118 fail:
5119 return NULL;
5120}
5121
5122
c32bde28 5123static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5124 PyObject *resultobj;
5125 wxPyShape *arg1 = (wxPyShape *) 0 ;
5126 bool result;
5127 PyObject * obj0 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (bool)(arg1)->GetDisableLabel();
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
4f89f6a3
RD
5142 {
5143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5144 }
44127b65
RD
5145 return resultobj;
5146 fail:
5147 return NULL;
5148}
5149
5150
c32bde28 5151static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5152 PyObject *resultobj;
5153 wxPyShape *arg1 = (wxPyShape *) 0 ;
5154 int arg2 ;
5155 PyObject * obj0 = 0 ;
8edf1c75 5156 PyObject * obj1 = 0 ;
44127b65
RD
5157 char *kwnames[] = {
5158 (char *) "self",(char *) "mode", NULL
5159 };
5160
8edf1c75 5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5164 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 5165 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 (arg1)->SetAttachmentMode(arg2);
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 Py_INCREF(Py_None); resultobj = Py_None;
5174 return resultobj;
5175 fail:
5176 return NULL;
5177}
5178
5179
c32bde28 5180static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5181 PyObject *resultobj;
5182 wxPyShape *arg1 = (wxPyShape *) 0 ;
5183 int result;
5184 PyObject * obj0 = 0 ;
5185 char *kwnames[] = {
5186 (char *) "self", NULL
5187 };
5188
5189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = (int)(arg1)->GetAttachmentMode();
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
c32bde28 5199 resultobj = SWIG_From_int((int)result);
44127b65
RD
5200 return resultobj;
5201 fail:
5202 return NULL;
5203}
5204
5205
c32bde28 5206static PyObject *_wrap_PyShape_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5207 PyObject *resultobj;
5208 wxPyShape *arg1 = (wxPyShape *) 0 ;
5209 long arg2 ;
5210 PyObject * obj0 = 0 ;
8edf1c75 5211 PyObject * obj1 = 0 ;
44127b65
RD
5212 char *kwnames[] = {
5213 (char *) "self",(char *) "i", NULL
5214 };
5215
8edf1c75 5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5219 arg2 = (long)SWIG_As_long(obj1);
2f4c0a16 5220 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 (arg1)->SetId(arg2);
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 Py_INCREF(Py_None); resultobj = Py_None;
5229 return resultobj;
5230 fail:
5231 return NULL;
5232}
5233
5234
c32bde28 5235static PyObject *_wrap_PyShape_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5236 PyObject *resultobj;
5237 wxPyShape *arg1 = (wxPyShape *) 0 ;
5238 long result;
5239 PyObject * obj0 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 result = (long)(arg1)->GetId();
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
c32bde28 5254 resultobj = SWIG_From_long((long)result);
44127b65
RD
5255 return resultobj;
5256 fail:
5257 return NULL;
5258}
5259
5260
c32bde28 5261static PyObject *_wrap_PyShape_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5262 PyObject *resultobj;
5263 wxPyShape *arg1 = (wxPyShape *) 0 ;
5264 wxPen *arg2 = (wxPen *) 0 ;
5265 PyObject * obj0 = 0 ;
5266 PyObject * obj1 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self",(char *) "pen", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5274 {
5275 wxPen* temp;
5276 if (obj1) {
5277 if (obj1 == Py_None) {
5278 temp = NULL;
5279 }
5280 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5281 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5282 return NULL;
5283 }
5284 }
5285 if (temp)
5286 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5287 temp->GetWidth(),
5288 temp->GetStyle());
5289 else
5290 arg2 = NULL;
5291 }
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 (arg1)->SetPen(arg2);
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 Py_INCREF(Py_None); resultobj = Py_None;
5300 return resultobj;
5301 fail:
5302 return NULL;
5303}
5304
5305
c32bde28 5306static PyObject *_wrap_PyShape_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5307 PyObject *resultobj;
5308 wxPyShape *arg1 = (wxPyShape *) 0 ;
5309 wxBrush *arg2 = (wxBrush *) 0 ;
5310 PyObject * obj0 = 0 ;
5311 PyObject * obj1 = 0 ;
5312 char *kwnames[] = {
5313 (char *) "self",(char *) "brush", NULL
5314 };
5315
5316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5319 {
5320 wxBrush* temp;
5321 if (obj1) {
5322 if (obj1 == Py_None) {
5323 temp = NULL;
5324 }
5325 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5326 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5327 return NULL;
5328 }
5329 }
5330 if (temp)
5331 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5332 else
5333 arg2 = NULL;
5334 }
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 (arg1)->SetBrush(arg2);
5338
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
5342 Py_INCREF(Py_None); resultobj = Py_None;
5343 return resultobj;
5344 fail:
5345 return NULL;
5346}
5347
5348
c32bde28 5349static PyObject *_wrap_PyShape_Show(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5350 PyObject *resultobj;
5351 wxPyShape *arg1 = (wxPyShape *) 0 ;
5352 bool arg2 ;
5353 PyObject * obj0 = 0 ;
5354 PyObject * obj1 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self",(char *) "show", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5362 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 5363 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 (arg1)->Show(arg2);
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 Py_INCREF(Py_None); resultobj = Py_None;
5372 return resultobj;
5373 fail:
5374 return NULL;
5375}
5376
5377
c32bde28 5378static PyObject *_wrap_PyShape_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5379 PyObject *resultobj;
5380 wxPyShape *arg1 = (wxPyShape *) 0 ;
5381 bool result;
5382 PyObject * obj0 = 0 ;
5383 char *kwnames[] = {
5384 (char *) "self", NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 result = (bool)(arg1)->IsShown();
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
4f89f6a3
RD
5397 {
5398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5399 }
44127b65
RD
5400 return resultobj;
5401 fail:
5402 return NULL;
5403}
5404
5405
c32bde28 5406static PyObject *_wrap_PyShape_Move(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5407 PyObject *resultobj;
5408 wxPyShape *arg1 = (wxPyShape *) 0 ;
5409 wxDC *arg2 = 0 ;
5410 double arg3 ;
5411 double arg4 ;
ae8162c8 5412 bool arg5 = (bool) true ;
44127b65
RD
5413 PyObject * obj0 = 0 ;
5414 PyObject * obj1 = 0 ;
8edf1c75
RD
5415 PyObject * obj2 = 0 ;
5416 PyObject * obj3 = 0 ;
44127b65
RD
5417 PyObject * obj4 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5420 };
5421
8edf1c75 5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
5423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5426 SWIG_POINTER_EXCEPTION | 0)) == -1)
5427 SWIG_fail;
44127b65 5428 if (arg2 == NULL) {
2f4c0a16
RD
5429 PyErr_SetString(PyExc_TypeError,"null reference");
5430 SWIG_fail;
8edf1c75 5431 }
c32bde28 5432 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 5433 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5434 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 5435 if (PyErr_Occurred()) SWIG_fail;
44127b65 5436 if (obj4) {
c32bde28 5437 arg5 = (bool)SWIG_As_bool(obj4);
2f4c0a16 5438 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5439 }
5440 {
5441 PyThreadState* __tstate = wxPyBeginAllowThreads();
5442 (arg1)->Move(*arg2,arg3,arg4,arg5);
5443
5444 wxPyEndAllowThreads(__tstate);
5445 if (PyErr_Occurred()) SWIG_fail;
5446 }
5447 Py_INCREF(Py_None); resultobj = Py_None;
5448 return resultobj;
5449 fail:
5450 return NULL;
5451}
5452
5453
c32bde28 5454static PyObject *_wrap_PyShape_Erase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5455 PyObject *resultobj;
5456 wxPyShape *arg1 = (wxPyShape *) 0 ;
5457 wxDC *arg2 = 0 ;
5458 PyObject * obj0 = 0 ;
5459 PyObject * obj1 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self",(char *) "dc", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5468 SWIG_POINTER_EXCEPTION | 0)) == -1)
5469 SWIG_fail;
44127b65 5470 if (arg2 == NULL) {
2f4c0a16
RD
5471 PyErr_SetString(PyExc_TypeError,"null reference");
5472 SWIG_fail;
44127b65
RD
5473 }
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 (arg1)->Erase(*arg2);
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 Py_INCREF(Py_None); resultobj = Py_None;
5482 return resultobj;
5483 fail:
5484 return NULL;
5485}
5486
5487
c32bde28 5488static PyObject *_wrap_PyShape_EraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5489 PyObject *resultobj;
5490 wxPyShape *arg1 = (wxPyShape *) 0 ;
5491 wxDC *arg2 = 0 ;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self",(char *) "dc", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5502 SWIG_POINTER_EXCEPTION | 0)) == -1)
5503 SWIG_fail;
44127b65 5504 if (arg2 == NULL) {
2f4c0a16
RD
5505 PyErr_SetString(PyExc_TypeError,"null reference");
5506 SWIG_fail;
44127b65
RD
5507 }
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 (arg1)->EraseContents(*arg2);
5511
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 Py_INCREF(Py_None); resultobj = Py_None;
5516 return resultobj;
5517 fail:
5518 return NULL;
5519}
5520
5521
c32bde28 5522static PyObject *_wrap_PyShape_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5523 PyObject *resultobj;
5524 wxPyShape *arg1 = (wxPyShape *) 0 ;
5525 wxDC *arg2 = 0 ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 char *kwnames[] = {
5529 (char *) "self",(char *) "dc", NULL
5530 };
5531
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5536 SWIG_POINTER_EXCEPTION | 0)) == -1)
5537 SWIG_fail;
44127b65 5538 if (arg2 == NULL) {
2f4c0a16
RD
5539 PyErr_SetString(PyExc_TypeError,"null reference");
5540 SWIG_fail;
44127b65
RD
5541 }
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 (arg1)->Draw(*arg2);
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 Py_INCREF(Py_None); resultobj = Py_None;
5550 return resultobj;
5551 fail:
5552 return NULL;
5553}
5554
5555
c32bde28 5556static PyObject *_wrap_PyShape_Flash(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5557 PyObject *resultobj;
5558 wxPyShape *arg1 = (wxPyShape *) 0 ;
5559 PyObject * obj0 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->Flash();
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578}
5579
5580
c32bde28 5581static PyObject *_wrap_PyShape_MoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5582 PyObject *resultobj;
5583 wxPyShape *arg1 = (wxPyShape *) 0 ;
5584 wxDC *arg2 = 0 ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "dc", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5595 SWIG_POINTER_EXCEPTION | 0)) == -1)
5596 SWIG_fail;
44127b65 5597 if (arg2 == NULL) {
2f4c0a16
RD
5598 PyErr_SetString(PyExc_TypeError,"null reference");
5599 SWIG_fail;
44127b65
RD
5600 }
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 (arg1)->MoveLinks(*arg2);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 Py_INCREF(Py_None); resultobj = Py_None;
5609 return resultobj;
5610 fail:
5611 return NULL;
5612}
5613
5614
c32bde28 5615static PyObject *_wrap_PyShape_DrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5616 PyObject *resultobj;
5617 wxPyShape *arg1 = (wxPyShape *) 0 ;
5618 wxDC *arg2 = 0 ;
5619 PyObject * obj0 = 0 ;
5620 PyObject * obj1 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "self",(char *) "dc", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5629 SWIG_POINTER_EXCEPTION | 0)) == -1)
5630 SWIG_fail;
44127b65 5631 if (arg2 == NULL) {
2f4c0a16
RD
5632 PyErr_SetString(PyExc_TypeError,"null reference");
5633 SWIG_fail;
44127b65
RD
5634 }
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 (arg1)->DrawContents(*arg2);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 Py_INCREF(Py_None); resultobj = Py_None;
5643 return resultobj;
5644 fail:
5645 return NULL;
5646}
5647
5648
c32bde28 5649static PyObject *_wrap_PyShape_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5650 PyObject *resultobj;
5651 wxPyShape *arg1 = (wxPyShape *) 0 ;
5652 double arg2 ;
5653 double arg3 ;
ae8162c8 5654 bool arg4 = (bool) true ;
44127b65 5655 PyObject * obj0 = 0 ;
8edf1c75
RD
5656 PyObject * obj1 = 0 ;
5657 PyObject * obj2 = 0 ;
44127b65
RD
5658 PyObject * obj3 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5661 };
5662
8edf1c75 5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5666 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 5667 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5668 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 5669 if (PyErr_Occurred()) SWIG_fail;
44127b65 5670 if (obj3) {
c32bde28 5671 arg4 = (bool)SWIG_As_bool(obj3);
2f4c0a16 5672 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5673 }
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 (arg1)->SetSize(arg2,arg3,arg4);
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 Py_INCREF(Py_None); resultobj = Py_None;
5682 return resultobj;
5683 fail:
5684 return NULL;
5685}
5686
5687
c32bde28 5688static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5689 PyObject *resultobj;
5690 wxPyShape *arg1 = (wxPyShape *) 0 ;
5691 double arg2 ;
5692 double arg3 ;
5693 PyObject * obj0 = 0 ;
8edf1c75
RD
5694 PyObject * obj1 = 0 ;
5695 PyObject * obj2 = 0 ;
44127b65
RD
5696 char *kwnames[] = {
5697 (char *) "self",(char *) "x",(char *) "y", NULL
5698 };
5699
8edf1c75 5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5703 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 5704 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5705 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 5706 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 (arg1)->SetAttachmentSize(arg2,arg3);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 Py_INCREF(Py_None); resultobj = Py_None;
5715 return resultobj;
5716 fail:
5717 return NULL;
5718}
5719
5720
c32bde28 5721static PyObject *_wrap_PyShape_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5722 PyObject *resultobj;
5723 wxPyShape *arg1 = (wxPyShape *) 0 ;
5724 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "can", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
5735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 (arg1)->Attach(arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 Py_INCREF(Py_None); resultobj = Py_None;
5744 return resultobj;
5745 fail:
5746 return NULL;
5747}
5748
5749
c32bde28 5750static PyObject *_wrap_PyShape_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5751 PyObject *resultobj;
5752 wxPyShape *arg1 = (wxPyShape *) 0 ;
5753 PyObject * obj0 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 (arg1)->Detach();
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 Py_INCREF(Py_None); resultobj = Py_None;
5769 return resultobj;
5770 fail:
5771 return NULL;
5772}
5773
5774
c32bde28 5775static PyObject *_wrap_PyShape_Constrain(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5776 PyObject *resultobj;
5777 wxPyShape *arg1 = (wxPyShape *) 0 ;
5778 bool result;
5779 PyObject * obj0 = 0 ;
5780 char *kwnames[] = {
5781 (char *) "self", NULL
5782 };
5783
5784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (bool)(arg1)->Constrain();
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
4f89f6a3
RD
5794 {
5795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5796 }
44127b65
RD
5797 return resultobj;
5798 fail:
5799 return NULL;
5800}
5801
5802
c32bde28 5803static PyObject *_wrap_PyShape_AddLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5804 PyObject *resultobj;
5805 wxPyShape *arg1 = (wxPyShape *) 0 ;
5806 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5807 wxPyShape *arg3 = (wxPyShape *) 0 ;
5808 int arg4 = (int) 0 ;
5809 int arg5 = (int) 0 ;
5810 int arg6 = (int) -1 ;
5811 int arg7 = (int) -1 ;
5812 PyObject * obj0 = 0 ;
5813 PyObject * obj1 = 0 ;
5814 PyObject * obj2 = 0 ;
8edf1c75
RD
5815 PyObject * obj3 = 0 ;
5816 PyObject * obj4 = 0 ;
5817 PyObject * obj5 = 0 ;
5818 PyObject * obj6 = 0 ;
44127b65
RD
5819 char *kwnames[] = {
5820 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5821 };
5822
8edf1c75 5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
5824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5828 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
5829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5830 if (obj3) {
c32bde28 5831 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 5832 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5833 }
5834 if (obj4) {
c32bde28 5835 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 5836 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5837 }
5838 if (obj5) {
c32bde28 5839 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 5840 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5841 }
5842 if (obj6) {
c32bde28 5843 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 5844 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5845 }
44127b65
RD
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857}
5858
5859
c32bde28 5860static PyObject *_wrap_PyShape_GetLinePosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5861 PyObject *resultobj;
5862 wxPyShape *arg1 = (wxPyShape *) 0 ;
5863 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5864 int result;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 char *kwnames[] = {
5868 (char *) "self",(char *) "line", NULL
5869 };
5870
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 result = (int)(arg1)->GetLinePosition(arg2);
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
c32bde28 5883 resultobj = SWIG_From_int((int)result);
44127b65
RD
5884 return resultobj;
5885 fail:
5886 return NULL;
5887}
5888
5889
c32bde28 5890static PyObject *_wrap_PyShape_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5891 PyObject *resultobj;
5892 wxPyShape *arg1 = (wxPyShape *) 0 ;
5893 wxString *arg2 = 0 ;
ae8162c8 5894 bool temp2 = false ;
44127b65
RD
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self",(char *) "string", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5904 {
5905 arg2 = wxString_in_helper(obj1);
5906 if (arg2 == NULL) SWIG_fail;
ae8162c8 5907 temp2 = true;
44127b65
RD
5908 }
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 (arg1)->AddText((wxString const &)*arg2);
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 Py_INCREF(Py_None); resultobj = Py_None;
5917 {
5918 if (temp2)
5919 delete arg2;
5920 }
5921 return resultobj;
5922 fail:
5923 {
5924 if (temp2)
5925 delete arg2;
5926 }
5927 return NULL;
5928}
5929
5930
c32bde28 5931static PyObject *_wrap_PyShape_GetPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5932 PyObject *resultobj;
5933 wxPyShape *arg1 = (wxPyShape *) 0 ;
5934 wxPen *result;
5935 PyObject * obj0 = 0 ;
5936 char *kwnames[] = {
5937 (char *) "self", NULL
5938 };
5939
5940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 result = (wxPen *)(arg1)->GetPen();
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
2f4c0a16 5950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
5951 return resultobj;
5952 fail:
5953 return NULL;
5954}
5955
5956
c32bde28 5957static PyObject *_wrap_PyShape_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5958 PyObject *resultobj;
5959 wxPyShape *arg1 = (wxPyShape *) 0 ;
5960 wxBrush *result;
5961 PyObject * obj0 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 result = (wxBrush *)(arg1)->GetBrush();
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
2f4c0a16 5976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
44127b65
RD
5977 return resultobj;
5978 fail:
5979 return NULL;
5980}
5981
5982
c32bde28 5983static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5984 PyObject *resultobj;
5985 wxPyShape *arg1 = (wxPyShape *) 0 ;
5986 PyObject * obj0 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->SetDefaultRegionSize();
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
c32bde28 6008static PyObject *_wrap_PyShape_FormatText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6009 PyObject *resultobj;
6010 wxPyShape *arg1 = (wxPyShape *) 0 ;
6011 wxDC *arg2 = 0 ;
6012 wxString *arg3 = 0 ;
6013 int arg4 = (int) 0 ;
ae8162c8 6014 bool temp3 = false ;
44127b65
RD
6015 PyObject * obj0 = 0 ;
6016 PyObject * obj1 = 0 ;
6017 PyObject * obj2 = 0 ;
8edf1c75 6018 PyObject * obj3 = 0 ;
44127b65
RD
6019 char *kwnames[] = {
6020 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
6021 };
6022
8edf1c75 6023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6027 SWIG_POINTER_EXCEPTION | 0)) == -1)
6028 SWIG_fail;
44127b65 6029 if (arg2 == NULL) {
2f4c0a16
RD
6030 PyErr_SetString(PyExc_TypeError,"null reference");
6031 SWIG_fail;
44127b65
RD
6032 }
6033 {
6034 arg3 = wxString_in_helper(obj2);
6035 if (arg3 == NULL) SWIG_fail;
ae8162c8 6036 temp3 = true;
44127b65 6037 }
8edf1c75 6038 if (obj3) {
c32bde28 6039 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 6040 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6041 }
44127b65
RD
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 Py_INCREF(Py_None); resultobj = Py_None;
6050 {
6051 if (temp3)
6052 delete arg3;
6053 }
6054 return resultobj;
6055 fail:
6056 {
6057 if (temp3)
6058 delete arg3;
6059 }
6060 return NULL;
6061}
6062
6063
c32bde28 6064static PyObject *_wrap_PyShape_SetFormatMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6065 PyObject *resultobj;
6066 wxPyShape *arg1 = (wxPyShape *) 0 ;
6067 int arg2 ;
6068 int arg3 = (int) 0 ;
6069 PyObject * obj0 = 0 ;
8edf1c75
RD
6070 PyObject * obj1 = 0 ;
6071 PyObject * obj2 = 0 ;
44127b65
RD
6072 char *kwnames[] = {
6073 (char *) "self",(char *) "mode",(char *) "regionId", NULL
6074 };
6075
8edf1c75 6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6079 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6080 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6081 if (obj2) {
c32bde28 6082 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 6083 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6084 }
44127b65
RD
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 (arg1)->SetFormatMode(arg2,arg3);
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 Py_INCREF(Py_None); resultobj = Py_None;
6093 return resultobj;
6094 fail:
6095 return NULL;
6096}
6097
6098
c32bde28 6099static PyObject *_wrap_PyShape_GetFormatMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6100 PyObject *resultobj;
6101 wxPyShape *arg1 = (wxPyShape *) 0 ;
6102 int arg2 = (int) 0 ;
6103 int result;
6104 PyObject * obj0 = 0 ;
8edf1c75 6105 PyObject * obj1 = 0 ;
44127b65
RD
6106 char *kwnames[] = {
6107 (char *) "self",(char *) "regionId", NULL
6108 };
6109
8edf1c75 6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6113 if (obj1) {
c32bde28 6114 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6115 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6116 }
44127b65
RD
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 result = (int)(arg1)->GetFormatMode(arg2);
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
c32bde28 6124 resultobj = SWIG_From_int((int)result);
44127b65
RD
6125 return resultobj;
6126 fail:
6127 return NULL;
6128}
6129
6130
c32bde28 6131static PyObject *_wrap_PyShape_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6132 PyObject *resultobj;
6133 wxPyShape *arg1 = (wxPyShape *) 0 ;
6134 wxFont *arg2 = (wxFont *) 0 ;
6135 int arg3 = (int) 0 ;
6136 PyObject * obj0 = 0 ;
6137 PyObject * obj1 = 0 ;
8edf1c75 6138 PyObject * obj2 = 0 ;
44127b65
RD
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "font",(char *) "regionId", NULL
6141 };
6142
8edf1c75 6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6146 {
6147 wxFont* temp;
6148 if (obj1) {
6149 if (obj1 == Py_None) {
6150 temp = NULL;
6151 }
6152 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
6153 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
6154 return NULL;
6155 }
6156 }
6157 if (temp)
6158 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6159 temp->GetFamily(),
6160 temp->GetStyle(),
6161 temp->GetWeight(),
6162 temp->GetUnderlined(),
6163 temp->GetFaceName(),
6164 temp->GetEncoding());
6165 else
6166 arg2 = NULL;
6167 }
8edf1c75 6168 if (obj2) {
c32bde28 6169 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 6170 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6171 }
44127b65
RD
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetFont(arg2,arg3);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 return resultobj;
6181 fail:
6182 return NULL;
6183}
6184
6185
c32bde28 6186static PyObject *_wrap_PyShape_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6187 PyObject *resultobj;
6188 wxPyShape *arg1 = (wxPyShape *) 0 ;
6189 int arg2 = (int) 0 ;
6190 wxFont *result;
6191 PyObject * obj0 = 0 ;
8edf1c75 6192 PyObject * obj1 = 0 ;
44127b65
RD
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "regionId", NULL
6195 };
6196
8edf1c75 6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6200 if (obj1) {
c32bde28 6201 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6202 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6203 }
44127b65
RD
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 result = (wxFont *)(arg1)->GetFont(arg2);
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
2f4c0a16 6211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
44127b65
RD
6212 return resultobj;
6213 fail:
6214 return NULL;
6215}
6216
6217
c32bde28 6218static PyObject *_wrap_PyShape_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6219 PyObject *resultobj;
6220 wxPyShape *arg1 = (wxPyShape *) 0 ;
6221 wxString *arg2 = 0 ;
6222 int arg3 = (int) 0 ;
ae8162c8 6223 bool temp2 = false ;
44127b65
RD
6224 PyObject * obj0 = 0 ;
6225 PyObject * obj1 = 0 ;
8edf1c75 6226 PyObject * obj2 = 0 ;
44127b65
RD
6227 char *kwnames[] = {
6228 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6229 };
6230
8edf1c75 6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6234 {
6235 arg2 = wxString_in_helper(obj1);
6236 if (arg2 == NULL) SWIG_fail;
ae8162c8 6237 temp2 = true;
44127b65 6238 }
8edf1c75 6239 if (obj2) {
c32bde28 6240 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 6241 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6242 }
44127b65
RD
6243 {
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6245 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6246
6247 wxPyEndAllowThreads(__tstate);
6248 if (PyErr_Occurred()) SWIG_fail;
6249 }
6250 Py_INCREF(Py_None); resultobj = Py_None;
6251 {
6252 if (temp2)
6253 delete arg2;
6254 }
6255 return resultobj;
6256 fail:
6257 {
6258 if (temp2)
6259 delete arg2;
6260 }
6261 return NULL;
6262}
6263
6264
c32bde28 6265static PyObject *_wrap_PyShape_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6266 PyObject *resultobj;
6267 wxPyShape *arg1 = (wxPyShape *) 0 ;
6268 int arg2 = (int) 0 ;
6269 wxString result;
6270 PyObject * obj0 = 0 ;
8edf1c75 6271 PyObject * obj1 = 0 ;
44127b65
RD
6272 char *kwnames[] = {
6273 (char *) "self",(char *) "regionId", NULL
6274 };
6275
8edf1c75 6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6279 if (obj1) {
c32bde28 6280 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6281 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6282 }
44127b65
RD
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = (arg1)->GetTextColour(arg2);
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
6291#if wxUSE_UNICODE
6292 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6293#else
6294 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6295#endif
6296 }
6297 return resultobj;
6298 fail:
6299 return NULL;
6300}
6301
6302
c32bde28 6303static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6304 PyObject *resultobj;
6305 wxPyShape *arg1 = (wxPyShape *) 0 ;
6306 int result;
6307 PyObject * obj0 = 0 ;
6308 char *kwnames[] = {
6309 (char *) "self", NULL
6310 };
6311
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 result = (int)(arg1)->GetNumberOfTextRegions();
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
c32bde28 6322 resultobj = SWIG_From_int((int)result);
44127b65
RD
6323 return resultobj;
6324 fail:
6325 return NULL;
6326}
6327
6328
c32bde28 6329static PyObject *_wrap_PyShape_SetRegionName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6330 PyObject *resultobj;
6331 wxPyShape *arg1 = (wxPyShape *) 0 ;
6332 wxString *arg2 = 0 ;
6333 int arg3 = (int) 0 ;
ae8162c8 6334 bool temp2 = false ;
44127b65
RD
6335 PyObject * obj0 = 0 ;
6336 PyObject * obj1 = 0 ;
8edf1c75 6337 PyObject * obj2 = 0 ;
44127b65
RD
6338 char *kwnames[] = {
6339 (char *) "self",(char *) "name",(char *) "regionId", NULL
6340 };
6341
8edf1c75 6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6345 {
6346 arg2 = wxString_in_helper(obj1);
6347 if (arg2 == NULL) SWIG_fail;
ae8162c8 6348 temp2 = true;
44127b65 6349 }
8edf1c75 6350 if (obj2) {
c32bde28 6351 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 6352 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6353 }
44127b65
RD
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6357
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 Py_INCREF(Py_None); resultobj = Py_None;
6362 {
6363 if (temp2)
6364 delete arg2;
6365 }
6366 return resultobj;
6367 fail:
6368 {
6369 if (temp2)
6370 delete arg2;
6371 }
6372 return NULL;
6373}
6374
6375
c32bde28 6376static PyObject *_wrap_PyShape_GetRegionName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6377 PyObject *resultobj;
6378 wxPyShape *arg1 = (wxPyShape *) 0 ;
6379 int arg2 ;
6380 wxString result;
6381 PyObject * obj0 = 0 ;
8edf1c75 6382 PyObject * obj1 = 0 ;
44127b65
RD
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "regionId", NULL
6385 };
6386
8edf1c75 6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6390 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6391 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 result = (arg1)->GetRegionName(arg2);
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 {
6400#if wxUSE_UNICODE
6401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6402#else
6403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6404#endif
6405 }
6406 return resultobj;
6407 fail:
6408 return NULL;
6409}
6410
6411
c32bde28 6412static PyObject *_wrap_PyShape_GetRegionId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6413 PyObject *resultobj;
6414 wxPyShape *arg1 = (wxPyShape *) 0 ;
6415 wxString *arg2 = 0 ;
6416 int result;
ae8162c8 6417 bool temp2 = false ;
44127b65
RD
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "name", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6427 {
6428 arg2 = wxString_in_helper(obj1);
6429 if (arg2 == NULL) SWIG_fail;
ae8162c8 6430 temp2 = true;
44127b65
RD
6431 }
6432 {
6433 PyThreadState* __tstate = wxPyBeginAllowThreads();
6434 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6435
6436 wxPyEndAllowThreads(__tstate);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 }
c32bde28 6439 resultobj = SWIG_From_int((int)result);
44127b65
RD
6440 {
6441 if (temp2)
6442 delete arg2;
6443 }
6444 return resultobj;
6445 fail:
6446 {
6447 if (temp2)
6448 delete arg2;
6449 }
6450 return NULL;
6451}
6452
6453
c32bde28 6454static PyObject *_wrap_PyShape_NameRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6455 PyObject *resultobj;
6456 wxPyShape *arg1 = (wxPyShape *) 0 ;
a64def11 6457 wxString const &arg2_defvalue = wxPyEmptyString ;
44127b65 6458 wxString *arg2 = (wxString *) &arg2_defvalue ;
ae8162c8 6459 bool temp2 = false ;
44127b65
RD
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self",(char *) "parentName", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6469 if (obj1) {
6470 {
6471 arg2 = wxString_in_helper(obj1);
6472 if (arg2 == NULL) SWIG_fail;
ae8162c8 6473 temp2 = true;
44127b65
RD
6474 }
6475 }
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->NameRegions((wxString const &)*arg2);
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 Py_INCREF(Py_None); resultobj = Py_None;
6484 {
6485 if (temp2)
6486 delete arg2;
6487 }
6488 return resultobj;
6489 fail:
6490 {
6491 if (temp2)
6492 delete arg2;
6493 }
6494 return NULL;
6495}
6496
6497
c32bde28 6498static PyObject *_wrap_PyShape_GetRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6499 PyObject *resultobj;
6500 wxPyShape *arg1 = (wxPyShape *) 0 ;
6501 PyObject *result;
6502 PyObject * obj0 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 result = (PyObject *)wxPyShape_GetRegions(arg1);
6513
6514 wxPyEndAllowThreads(__tstate);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 resultobj = result;
6518 return resultobj;
6519 fail:
6520 return NULL;
6521}
6522
6523
c32bde28 6524static PyObject *_wrap_PyShape_AddRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6525 PyObject *resultobj;
6526 wxPyShape *arg1 = (wxPyShape *) 0 ;
6527 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6528 PyObject * obj0 = 0 ;
6529 PyObject * obj1 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "self",(char *) "region", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxShapeRegion,
6538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 (arg1)->AddRegion(arg2);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 Py_INCREF(Py_None); resultobj = Py_None;
6547 return resultobj;
6548 fail:
6549 return NULL;
6550}
6551
6552
c32bde28 6553static PyObject *_wrap_PyShape_ClearRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6554 PyObject *resultobj;
6555 wxPyShape *arg1 = (wxPyShape *) 0 ;
6556 PyObject * obj0 = 0 ;
6557 char *kwnames[] = {
6558 (char *) "self", NULL
6559 };
6560
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 (arg1)->ClearRegions();
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 Py_INCREF(Py_None); resultobj = Py_None;
6572 return resultobj;
6573 fail:
6574 return NULL;
6575}
6576
6577
c32bde28 6578static PyObject *_wrap_PyShape_AssignNewIds(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6579 PyObject *resultobj;
6580 wxPyShape *arg1 = (wxPyShape *) 0 ;
6581 PyObject * obj0 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "self", NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 (arg1)->AssignNewIds();
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 Py_INCREF(Py_None); resultobj = Py_None;
6597 return resultobj;
6598 fail:
6599 return NULL;
6600}
6601
6602
c32bde28 6603static PyObject *_wrap_PyShape_FindRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6604 PyObject *resultobj;
6605 wxPyShape *arg1 = (wxPyShape *) 0 ;
6606 wxString *arg2 = 0 ;
6607 int *arg3 = (int *) 0 ;
6608 wxPyShape *result;
ae8162c8 6609 bool temp2 = false ;
44127b65 6610 int temp3 ;
c32bde28 6611 int res3 = 0 ;
44127b65
RD
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "self",(char *) "regionName", NULL
6616 };
6617
c32bde28 6618 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6622 {
6623 arg2 = wxString_in_helper(obj1);
6624 if (arg2 == NULL) SWIG_fail;
ae8162c8 6625 temp2 = true;
44127b65
RD
6626 }
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 {
412d302d 6635 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65 6636 }
c32bde28
RD
6637 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6638 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
44127b65
RD
6639 {
6640 if (temp2)
6641 delete arg2;
6642 }
6643 return resultobj;
6644 fail:
6645 {
6646 if (temp2)
6647 delete arg2;
6648 }
6649 return NULL;
6650}
6651
6652
c32bde28 6653static PyObject *_wrap_PyShape_FindRegionNames(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6654 PyObject *resultobj;
6655 wxPyShape *arg1 = (wxPyShape *) 0 ;
6656 wxStringList *arg2 = 0 ;
6657 PyObject * obj0 = 0 ;
6658 PyObject * obj1 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "self",(char *) "list", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStringList,
6667 SWIG_POINTER_EXCEPTION | 0)) == -1)
6668 SWIG_fail;
44127b65 6669 if (arg2 == NULL) {
2f4c0a16
RD
6670 PyErr_SetString(PyExc_TypeError,"null reference");
6671 SWIG_fail;
44127b65
RD
6672 }
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 (arg1)->FindRegionNames(*arg2);
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 Py_INCREF(Py_None); resultobj = Py_None;
6681 return resultobj;
6682 fail:
6683 return NULL;
6684}
6685
6686
c32bde28 6687static PyObject *_wrap_PyShape_ClearText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6688 PyObject *resultobj;
6689 wxPyShape *arg1 = (wxPyShape *) 0 ;
6690 int arg2 = (int) 0 ;
6691 PyObject * obj0 = 0 ;
8edf1c75 6692 PyObject * obj1 = 0 ;
44127b65
RD
6693 char *kwnames[] = {
6694 (char *) "self",(char *) "regionId", NULL
6695 };
6696
8edf1c75 6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6700 if (obj1) {
c32bde28 6701 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6702 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6703 }
44127b65
RD
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 (arg1)->ClearText(arg2);
6707
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 Py_INCREF(Py_None); resultobj = Py_None;
6712 return resultobj;
6713 fail:
6714 return NULL;
6715}
6716
6717
c32bde28 6718static PyObject *_wrap_PyShape_RemoveLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6719 PyObject *resultobj;
6720 wxPyShape *arg1 = (wxPyShape *) 0 ;
6721 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 char *kwnames[] = {
6725 (char *) "self",(char *) "line", NULL
6726 };
6727
6728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
6732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 (arg1)->RemoveLine(arg2);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 Py_INCREF(Py_None); resultobj = Py_None;
6741 return resultobj;
6742 fail:
6743 return NULL;
6744}
6745
6746
c32bde28 6747static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6748 PyObject *resultobj;
6749 wxPyShape *arg1 = (wxPyShape *) 0 ;
6750 int arg2 ;
6751 double *arg3 = (double *) 0 ;
6752 double *arg4 = (double *) 0 ;
6753 int arg5 = (int) 0 ;
6754 int arg6 = (int) 1 ;
6755 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6756 bool result;
6757 double temp3 ;
c32bde28 6758 int res3 = 0 ;
44127b65 6759 double temp4 ;
c32bde28 6760 int res4 = 0 ;
44127b65 6761 PyObject * obj0 = 0 ;
8edf1c75
RD
6762 PyObject * obj1 = 0 ;
6763 PyObject * obj2 = 0 ;
6764 PyObject * obj3 = 0 ;
44127b65
RD
6765 PyObject * obj4 = 0 ;
6766 char *kwnames[] = {
6767 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6768 };
6769
c32bde28
RD
6770 arg3 = &temp3; res3 = SWIG_NEWOBJ;
6771 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
6773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6775 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6776 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6777 if (obj2) {
c32bde28 6778 arg5 = (int)SWIG_As_int(obj2);
2f4c0a16 6779 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6780 }
6781 if (obj3) {
c32bde28 6782 arg6 = (int)SWIG_As_int(obj3);
2f4c0a16 6783 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6784 }
44127b65 6785 if (obj4) {
2f4c0a16
RD
6786 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6788 }
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
4f89f6a3
RD
6796 {
6797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6798 }
c32bde28
RD
6799 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6800 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
6801 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
6802 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
44127b65
RD
6803 return resultobj;
6804 fail:
6805 return NULL;
6806}
6807
6808
c32bde28 6809static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6810 PyObject *resultobj;
6811 wxPyShape *arg1 = (wxPyShape *) 0 ;
6812 int result;
6813 PyObject * obj0 = 0 ;
6814 char *kwnames[] = {
6815 (char *) "self", NULL
6816 };
6817
6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6821 {
6822 PyThreadState* __tstate = wxPyBeginAllowThreads();
6823 result = (int)(arg1)->GetNumberOfAttachments();
6824
6825 wxPyEndAllowThreads(__tstate);
6826 if (PyErr_Occurred()) SWIG_fail;
6827 }
c32bde28 6828 resultobj = SWIG_From_int((int)result);
44127b65
RD
6829 return resultobj;
6830 fail:
6831 return NULL;
6832}
6833
6834
c32bde28 6835static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6836 PyObject *resultobj;
6837 wxPyShape *arg1 = (wxPyShape *) 0 ;
6838 int arg2 ;
6839 bool result;
6840 PyObject * obj0 = 0 ;
8edf1c75 6841 PyObject * obj1 = 0 ;
44127b65
RD
6842 char *kwnames[] = {
6843 (char *) "self",(char *) "attachment", NULL
6844 };
6845
8edf1c75 6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6849 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6850 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 result = (bool)(arg1)->AttachmentIsValid(arg2);
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
4f89f6a3
RD
6858 {
6859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6860 }
44127b65
RD
6861 return resultobj;
6862 fail:
6863 return NULL;
6864}
6865
6866
c32bde28 6867static PyObject *_wrap_PyShape_GetAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
6868 PyObject *resultobj;
6869 wxPyShape *arg1 = (wxPyShape *) 0 ;
6870 PyObject *result;
6871 PyObject * obj0 = 0 ;
6872 char *kwnames[] = {
6873 (char *) "self", NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 resultobj = result;
6887 return resultobj;
6888 fail:
6889 return NULL;
6890}
6891
6892
c32bde28 6893static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6894 PyObject *resultobj;
6895 wxPyShape *arg1 = (wxPyShape *) 0 ;
6896 int arg2 ;
6897 double *arg3 = (double *) 0 ;
6898 double *arg4 = (double *) 0 ;
6899 int arg5 = (int) 0 ;
6900 int arg6 = (int) 1 ;
6901 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6902 bool result;
6903 double temp3 ;
c32bde28 6904 int res3 = 0 ;
44127b65 6905 double temp4 ;
c32bde28 6906 int res4 = 0 ;
44127b65 6907 PyObject * obj0 = 0 ;
8edf1c75
RD
6908 PyObject * obj1 = 0 ;
6909 PyObject * obj2 = 0 ;
6910 PyObject * obj3 = 0 ;
44127b65
RD
6911 PyObject * obj4 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6914 };
6915
c32bde28
RD
6916 arg3 = &temp3; res3 = SWIG_NEWOBJ;
6917 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
6919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6921 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 6922 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6923 if (obj2) {
c32bde28 6924 arg5 = (int)SWIG_As_int(obj2);
2f4c0a16 6925 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6926 }
6927 if (obj3) {
c32bde28 6928 arg6 = (int)SWIG_As_int(obj3);
2f4c0a16 6929 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6930 }
44127b65 6931 if (obj4) {
2f4c0a16
RD
6932 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6934 }
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
4f89f6a3
RD
6942 {
6943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6944 }
c32bde28
RD
6945 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6946 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
6947 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
6948 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
44127b65
RD
6949 return resultobj;
6950 fail:
6951 return NULL;
6952}
6953
6954
c32bde28 6955static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6956 PyObject *resultobj;
6957 wxPyShape *arg1 = (wxPyShape *) 0 ;
6958 wxRealPoint *arg2 = 0 ;
6959 wxRealPoint *arg3 = 0 ;
6960 int arg4 ;
6961 int arg5 ;
6962 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6963 wxRealPoint result;
6964 wxRealPoint temp2 ;
6965 wxRealPoint temp3 ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 PyObject * obj2 = 0 ;
8edf1c75
RD
6969 PyObject * obj3 = 0 ;
6970 PyObject * obj4 = 0 ;
44127b65
RD
6971 PyObject * obj5 = 0 ;
6972 char *kwnames[] = {
6973 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6974 };
6975
8edf1c75 6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
6977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6979 {
6980 arg2 = &temp2;
6981 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6982 }
6983 {
6984 arg3 = &temp3;
6985 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6986 }
c32bde28 6987 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 6988 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6989 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16
RD
6990 if (PyErr_Occurred()) SWIG_fail;
6991 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyLineShape,
6992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 {
7001 wxRealPoint * resultptr;
7002 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 7003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
44127b65
RD
7004 }
7005 return resultobj;
7006 fail:
7007 return NULL;
7008}
7009
7010
c32bde28 7011static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7012 PyObject *resultobj;
7013 wxPyShape *arg1 = (wxPyShape *) 0 ;
7014 int arg2 ;
7015 wxRealPoint *arg3 = 0 ;
7016 wxRealPoint *arg4 = 0 ;
7017 bool result;
7018 wxRealPoint temp3 ;
7019 wxRealPoint temp4 ;
7020 PyObject * obj0 = 0 ;
8edf1c75 7021 PyObject * obj1 = 0 ;
44127b65
RD
7022 PyObject * obj2 = 0 ;
7023 PyObject * obj3 = 0 ;
7024 char *kwnames[] = {
7025 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
7026 };
7027
8edf1c75 7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7031 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7032 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7033 {
7034 arg3 = &temp3;
7035 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7036 }
7037 {
7038 arg4 = &temp4;
7039 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
4f89f6a3
RD
7048 {
7049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7050 }
44127b65
RD
7051 return resultobj;
7052 fail:
7053 return NULL;
7054}
7055
7056
c32bde28 7057static PyObject *_wrap_PyShape_EraseLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7058 PyObject *resultobj;
7059 wxPyShape *arg1 = (wxPyShape *) 0 ;
7060 wxDC *arg2 = 0 ;
7061 int arg3 = (int) -1 ;
ae8162c8 7062 bool arg4 = (bool) false ;
44127b65
RD
7063 PyObject * obj0 = 0 ;
7064 PyObject * obj1 = 0 ;
8edf1c75 7065 PyObject * obj2 = 0 ;
44127b65
RD
7066 PyObject * obj3 = 0 ;
7067 char *kwnames[] = {
7068 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7069 };
7070
8edf1c75 7071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7075 SWIG_POINTER_EXCEPTION | 0)) == -1)
7076 SWIG_fail;
44127b65 7077 if (arg2 == NULL) {
2f4c0a16
RD
7078 PyErr_SetString(PyExc_TypeError,"null reference");
7079 SWIG_fail;
44127b65 7080 }
8edf1c75 7081 if (obj2) {
c32bde28 7082 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 7083 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7084 }
44127b65 7085 if (obj3) {
c32bde28 7086 arg4 = (bool)SWIG_As_bool(obj3);
2f4c0a16 7087 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7088 }
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 (arg1)->EraseLinks(*arg2,arg3,arg4);
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 Py_INCREF(Py_None); resultobj = Py_None;
7097 return resultobj;
7098 fail:
7099 return NULL;
7100}
7101
7102
c32bde28 7103static PyObject *_wrap_PyShape_DrawLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7104 PyObject *resultobj;
7105 wxPyShape *arg1 = (wxPyShape *) 0 ;
7106 wxDC *arg2 = 0 ;
7107 int arg3 = (int) -1 ;
ae8162c8 7108 bool arg4 = (bool) false ;
44127b65
RD
7109 PyObject * obj0 = 0 ;
7110 PyObject * obj1 = 0 ;
8edf1c75 7111 PyObject * obj2 = 0 ;
44127b65
RD
7112 PyObject * obj3 = 0 ;
7113 char *kwnames[] = {
7114 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7115 };
7116
8edf1c75 7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7121 SWIG_POINTER_EXCEPTION | 0)) == -1)
7122 SWIG_fail;
44127b65 7123 if (arg2 == NULL) {
2f4c0a16
RD
7124 PyErr_SetString(PyExc_TypeError,"null reference");
7125 SWIG_fail;
44127b65 7126 }
8edf1c75 7127 if (obj2) {
c32bde28 7128 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 7129 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7130 }
44127b65 7131 if (obj3) {
c32bde28 7132 arg4 = (bool)SWIG_As_bool(obj3);
2f4c0a16 7133 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7134 }
7135 {
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 (arg1)->DrawLinks(*arg2,arg3,arg4);
7138
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 Py_INCREF(Py_None); resultobj = Py_None;
7143 return resultobj;
7144 fail:
7145 return NULL;
7146}
7147
7148
c32bde28 7149static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7150 PyObject *resultobj;
7151 wxPyShape *arg1 = (wxPyShape *) 0 ;
7152 wxDC *arg2 = 0 ;
7153 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
7154 double arg4 ;
7155 double arg5 ;
7156 bool result;
7157 PyObject * obj0 = 0 ;
7158 PyObject * obj1 = 0 ;
7159 PyObject * obj2 = 0 ;
8edf1c75
RD
7160 PyObject * obj3 = 0 ;
7161 PyObject * obj4 = 0 ;
44127b65
RD
7162 char *kwnames[] = {
7163 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7164 };
7165
8edf1c75 7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7170 SWIG_POINTER_EXCEPTION | 0)) == -1)
7171 SWIG_fail;
44127b65 7172 if (arg2 == NULL) {
2f4c0a16
RD
7173 PyErr_SetString(PyExc_TypeError,"null reference");
7174 SWIG_fail;
8edf1c75 7175 }
2f4c0a16
RD
7176 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyLineShape,
7177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7178 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 7179 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7180 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 7181 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
4f89f6a3
RD
7189 {
7190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7191 }
44127b65
RD
7192 return resultobj;
7193 fail:
7194 return NULL;
7195}
7196
7197
c32bde28 7198static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7199 PyObject *resultobj;
7200 wxPyShape *arg1 = (wxPyShape *) 0 ;
7201 PyObject *arg2 = (PyObject *) 0 ;
7202 PyObject * obj0 = 0 ;
7203 PyObject * obj1 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "linesToSort", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7211 arg2 = obj1;
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 Py_INCREF(Py_None); resultobj = Py_None;
7220 return resultobj;
7221 fail:
7222 return NULL;
7223}
7224
7225
c32bde28 7226static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7227 PyObject *resultobj;
7228 wxPyShape *arg1 = (wxPyShape *) 0 ;
7229 int arg2 ;
7230 wxRealPoint result;
7231 PyObject * obj0 = 0 ;
8edf1c75 7232 PyObject * obj1 = 0 ;
44127b65
RD
7233 char *kwnames[] = {
7234 (char *) "self",(char *) "attachment", NULL
7235 };
7236
8edf1c75 7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7240 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7241 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 {
7250 wxRealPoint * resultptr;
7251 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 7252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
44127b65
RD
7253 }
7254 return resultobj;
7255 fail:
7256 return NULL;
7257}
7258
7259
c32bde28 7260static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7261 PyObject *resultobj;
7262 wxPyShape *arg1 = (wxPyShape *) 0 ;
7263 int arg2 ;
7264 wxRealPoint *arg3 = 0 ;
7265 wxRealPoint *arg4 = 0 ;
7266 wxRealPoint *arg5 = 0 ;
7267 wxRealPoint *arg6 = 0 ;
7268 bool result;
7269 wxRealPoint temp3 ;
7270 wxRealPoint temp4 ;
7271 wxRealPoint temp5 ;
7272 wxRealPoint temp6 ;
7273 PyObject * obj0 = 0 ;
8edf1c75 7274 PyObject * obj1 = 0 ;
44127b65
RD
7275 PyObject * obj2 = 0 ;
7276 PyObject * obj3 = 0 ;
7277 PyObject * obj4 = 0 ;
7278 PyObject * obj5 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7281 };
7282
8edf1c75 7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
7284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7286 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7287 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7288 {
7289 arg3 = &temp3;
7290 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7291 }
7292 {
7293 arg4 = &temp4;
7294 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7295 }
7296 {
7297 arg5 = &temp5;
7298 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7299 }
7300 {
7301 arg6 = &temp6;
7302 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7303 }
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
4f89f6a3
RD
7311 {
7312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7313 }
44127b65
RD
7314 return resultobj;
7315 fail:
7316 return NULL;
7317}
7318
7319
c32bde28 7320static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7321 PyObject *resultobj;
7322 wxPyShape *arg1 = (wxPyShape *) 0 ;
7323 int arg2 ;
7324 int arg3 ;
7325 wxRealPoint *arg4 = 0 ;
7326 wxRealPoint *arg5 = 0 ;
7327 bool result;
7328 wxRealPoint temp4 ;
7329 wxRealPoint temp5 ;
7330 PyObject * obj0 = 0 ;
8edf1c75
RD
7331 PyObject * obj1 = 0 ;
7332 PyObject * obj2 = 0 ;
44127b65
RD
7333 PyObject * obj3 = 0 ;
7334 PyObject * obj4 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7337 };
7338
8edf1c75 7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7342 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7343 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7344 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 7345 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7346 {
7347 arg4 = &temp4;
7348 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7349 }
7350 {
7351 arg5 = &temp5;
7352 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
4f89f6a3
RD
7361 {
7362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7363 }
44127b65
RD
7364 return resultobj;
7365 fail:
7366 return NULL;
7367}
7368
7369
c32bde28 7370static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7371 PyObject *resultobj;
7372 wxPyShape *arg1 = (wxPyShape *) 0 ;
7373 int arg2 ;
7374 int result;
7375 PyObject * obj0 = 0 ;
8edf1c75 7376 PyObject * obj1 = 0 ;
44127b65
RD
7377 char *kwnames[] = {
7378 (char *) "self",(char *) "attachment", NULL
7379 };
7380
8edf1c75 7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7384 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7385 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
c32bde28 7393 resultobj = SWIG_From_int((int)result);
44127b65
RD
7394 return resultobj;
7395 fail:
7396 return NULL;
7397}
7398
7399
c32bde28 7400static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7401 PyObject *resultobj;
7402 wxPyShape *arg1 = (wxPyShape *) 0 ;
7403 int arg2 ;
7404 PyObject * obj0 = 0 ;
8edf1c75 7405 PyObject * obj1 = 0 ;
44127b65
RD
7406 char *kwnames[] = {
7407 (char *) "self",(char *) "len", NULL
7408 };
7409
8edf1c75 7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7413 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7414 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 (arg1)->SetBranchNeckLength(arg2);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 return resultobj;
7424 fail:
7425 return NULL;
7426}
7427
7428
c32bde28 7429static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7430 PyObject *resultobj;
7431 wxPyShape *arg1 = (wxPyShape *) 0 ;
7432 int result;
7433 PyObject * obj0 = 0 ;
7434 char *kwnames[] = {
7435 (char *) "self", NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (int)(arg1)->GetBranchNeckLength();
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
c32bde28 7448 resultobj = SWIG_From_int((int)result);
44127b65
RD
7449 return resultobj;
7450 fail:
7451 return NULL;
7452}
7453
7454
c32bde28 7455static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7456 PyObject *resultobj;
7457 wxPyShape *arg1 = (wxPyShape *) 0 ;
7458 int arg2 ;
7459 PyObject * obj0 = 0 ;
8edf1c75 7460 PyObject * obj1 = 0 ;
44127b65
RD
7461 char *kwnames[] = {
7462 (char *) "self",(char *) "len", NULL
7463 };
7464
8edf1c75 7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7468 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7469 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65
RD
7472 (arg1)->SetBranchStemLength(arg2);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 Py_INCREF(Py_None); resultobj = Py_None;
7478 return resultobj;
7479 fail:
7480 return NULL;
7481}
7482
7483
c32bde28 7484static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7485 PyObject *resultobj;
7486 wxPyShape *arg1 = (wxPyShape *) 0 ;
7487 int result;
7488 PyObject * obj0 = 0 ;
7489 char *kwnames[] = {
7490 (char *) "self", NULL
7491 };
7492
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (int)(arg1)->GetBranchStemLength();
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
c32bde28 7503 resultobj = SWIG_From_int((int)result);
44127b65
RD
7504 return resultobj;
7505 fail:
7506 return NULL;
7507}
7508
7509
c32bde28 7510static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7511 PyObject *resultobj;
7512 wxPyShape *arg1 = (wxPyShape *) 0 ;
7513 int arg2 ;
7514 PyObject * obj0 = 0 ;
8edf1c75 7515 PyObject * obj1 = 0 ;
44127b65
RD
7516 char *kwnames[] = {
7517 (char *) "self",(char *) "len", NULL
7518 };
7519
8edf1c75 7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7523 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7524 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 (arg1)->SetBranchSpacing(arg2);
7528
7529 wxPyEndAllowThreads(__tstate);
7530 if (PyErr_Occurred()) SWIG_fail;
7531 }
7532 Py_INCREF(Py_None); resultobj = Py_None;
7533 return resultobj;
7534 fail:
7535 return NULL;
7536}
7537
7538
c32bde28 7539static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7540 PyObject *resultobj;
7541 wxPyShape *arg1 = (wxPyShape *) 0 ;
7542 int result;
7543 PyObject * obj0 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 result = (int)(arg1)->GetBranchSpacing();
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
c32bde28 7558 resultobj = SWIG_From_int((int)result);
44127b65
RD
7559 return resultobj;
7560 fail:
7561 return NULL;
7562}
7563
7564
c32bde28 7565static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7566 PyObject *resultobj;
7567 wxPyShape *arg1 = (wxPyShape *) 0 ;
7568 long arg2 ;
7569 PyObject * obj0 = 0 ;
8edf1c75 7570 PyObject * obj1 = 0 ;
44127b65
RD
7571 char *kwnames[] = {
7572 (char *) "self",(char *) "style", NULL
7573 };
7574
8edf1c75 7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7578 arg2 = (long)SWIG_As_long(obj1);
2f4c0a16 7579 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 (arg1)->SetBranchStyle(arg2);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 Py_INCREF(Py_None); resultobj = Py_None;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591}
7592
7593
c32bde28 7594static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7595 PyObject *resultobj;
7596 wxPyShape *arg1 = (wxPyShape *) 0 ;
7597 long result;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (long)(arg1)->GetBranchStyle();
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
c32bde28 7613 resultobj = SWIG_From_long((long)result);
44127b65
RD
7614 return resultobj;
7615 fail:
7616 return NULL;
7617}
7618
7619
c32bde28 7620static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7621 PyObject *resultobj;
7622 wxPyShape *arg1 = (wxPyShape *) 0 ;
7623 int arg2 ;
7624 int result;
7625 PyObject * obj0 = 0 ;
8edf1c75 7626 PyObject * obj1 = 0 ;
44127b65
RD
7627 char *kwnames[] = {
7628 (char *) "self",(char *) "physicalAttachment", NULL
7629 };
7630
8edf1c75 7631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7634 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7635 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
c32bde28 7643 resultobj = SWIG_From_int((int)result);
44127b65
RD
7644 return resultobj;
7645 fail:
7646 return NULL;
7647}
7648
7649
c32bde28 7650static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7651 PyObject *resultobj;
7652 wxPyShape *arg1 = (wxPyShape *) 0 ;
7653 int arg2 ;
7654 int result;
7655 PyObject * obj0 = 0 ;
8edf1c75 7656 PyObject * obj1 = 0 ;
44127b65
RD
7657 char *kwnames[] = {
7658 (char *) "self",(char *) "logicalAttachment", NULL
7659 };
7660
8edf1c75 7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7664 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 7665 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
c32bde28 7673 resultobj = SWIG_From_int((int)result);
44127b65
RD
7674 return resultobj;
7675 fail:
7676 return NULL;
7677}
7678
7679
c32bde28 7680static PyObject *_wrap_PyShape_Draggable(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7681 PyObject *resultobj;
7682 wxPyShape *arg1 = (wxPyShape *) 0 ;
7683 bool result;
7684 PyObject * obj0 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "self", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 result = (bool)(arg1)->Draggable();
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
4f89f6a3
RD
7699 {
7700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7701 }
44127b65
RD
7702 return resultobj;
7703 fail:
7704 return NULL;
7705}
7706
7707
c32bde28 7708static PyObject *_wrap_PyShape_HasDescendant(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7709 PyObject *resultobj;
7710 wxPyShape *arg1 = (wxPyShape *) 0 ;
7711 wxPyShape *arg2 = (wxPyShape *) 0 ;
7712 bool result;
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self",(char *) "image", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7724 {
7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
7726 result = (bool)(arg1)->HasDescendant(arg2);
7727
7728 wxPyEndAllowThreads(__tstate);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 }
4f89f6a3
RD
7731 {
7732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7733 }
44127b65
RD
7734 return resultobj;
7735 fail:
7736 return NULL;
7737}
7738
7739
c32bde28 7740static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7741 PyObject *resultobj;
7742 wxPyShape *arg1 = (wxPyShape *) 0 ;
ae8162c8
RD
7743 bool arg2 = (bool) true ;
7744 bool arg3 = (bool) true ;
44127b65
RD
7745 wxPyShape *result;
7746 PyObject * obj0 = 0 ;
7747 PyObject * obj1 = 0 ;
7748 PyObject * obj2 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 7756 if (obj1) {
c32bde28 7757 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 7758 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7759 }
7760 if (obj2) {
c32bde28 7761 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 7762 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7763 }
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 {
412d302d 7772 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
7773 }
7774 return resultobj;
7775 fail:
7776 return NULL;
7777}
7778
7779
c32bde28 7780static PyObject *_wrap_PyShape_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7781 PyObject *resultobj;
7782 wxPyShape *arg1 = (wxPyShape *) 0 ;
7783 wxPyShape *arg2 = 0 ;
7784 PyObject * obj0 = 0 ;
7785 PyObject * obj1 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self",(char *) "copy", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7794 SWIG_POINTER_EXCEPTION | 0)) == -1)
7795 SWIG_fail;
44127b65 7796 if (arg2 == NULL) {
2f4c0a16
RD
7797 PyErr_SetString(PyExc_TypeError,"null reference");
7798 SWIG_fail;
44127b65
RD
7799 }
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 (arg1)->Copy(*arg2);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
c32bde28 7814static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7815 PyObject *resultobj;
7816 wxPyShape *arg1 = (wxPyShape *) 0 ;
7817 wxPyShape *arg2 = 0 ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self",(char *) "copy", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7828 SWIG_POINTER_EXCEPTION | 0)) == -1)
7829 SWIG_fail;
44127b65 7830 if (arg2 == NULL) {
2f4c0a16
RD
7831 PyErr_SetString(PyExc_TypeError,"null reference");
7832 SWIG_fail;
44127b65
RD
7833 }
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 (arg1)->CopyWithHandler(*arg2);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 Py_INCREF(Py_None); resultobj = Py_None;
7842 return resultobj;
7843 fail:
7844 return NULL;
7845}
7846
7847
c32bde28 7848static PyObject *_wrap_PyShape_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7849 PyObject *resultobj;
7850 wxPyShape *arg1 = (wxPyShape *) 0 ;
7851 double arg2 ;
7852 double arg3 ;
7853 double arg4 ;
7854 PyObject * obj0 = 0 ;
8edf1c75
RD
7855 PyObject * obj1 = 0 ;
7856 PyObject * obj2 = 0 ;
7857 PyObject * obj3 = 0 ;
44127b65
RD
7858 char *kwnames[] = {
7859 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7860 };
7861
8edf1c75 7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7865 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 7866 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7867 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 7868 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7869 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 7870 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7871 {
7872 PyThreadState* __tstate = wxPyBeginAllowThreads();
7873 (arg1)->Rotate(arg2,arg3,arg4);
7874
7875 wxPyEndAllowThreads(__tstate);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 Py_INCREF(Py_None); resultobj = Py_None;
7879 return resultobj;
7880 fail:
7881 return NULL;
7882}
7883
7884
c32bde28 7885static PyObject *_wrap_PyShape_GetRotation(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7886 PyObject *resultobj;
7887 wxPyShape *arg1 = (wxPyShape *) 0 ;
7888 double result;
7889 PyObject * obj0 = 0 ;
7890 char *kwnames[] = {
7891 (char *) "self", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 result = (double)(arg1)->GetRotation();
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
c32bde28 7904 resultobj = SWIG_From_double((double)result);
44127b65
RD
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
c32bde28 7911static PyObject *_wrap_PyShape_SetRotation(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
7912 PyObject *resultobj;
7913 wxPyShape *arg1 = (wxPyShape *) 0 ;
7914 double arg2 ;
7915 PyObject * obj0 = 0 ;
8edf1c75 7916 PyObject * obj1 = 0 ;
7a0a63ae
RD
7917 char *kwnames[] = {
7918 (char *) "self",(char *) "rotation", NULL
7919 };
7920
8edf1c75 7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7924 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 7925 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
7926 {
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 (arg1)->SetRotation(arg2);
7929
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 Py_INCREF(Py_None); resultobj = Py_None;
7934 return resultobj;
7935 fail:
7936 return NULL;
7937}
7938
7939
c32bde28 7940static PyObject *_wrap_PyShape_ClearAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7941 PyObject *resultobj;
7942 wxPyShape *arg1 = (wxPyShape *) 0 ;
7943 PyObject * obj0 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "self", NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 (arg1)->ClearAttachments();
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 Py_INCREF(Py_None); resultobj = Py_None;
7959 return resultobj;
7960 fail:
7961 return NULL;
7962}
7963
7964
c32bde28 7965static PyObject *_wrap_PyShape_Recentre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7966 PyObject *resultobj;
7967 wxPyShape *arg1 = (wxPyShape *) 0 ;
7968 wxDC *arg2 = 0 ;
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "dc", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7979 SWIG_POINTER_EXCEPTION | 0)) == -1)
7980 SWIG_fail;
44127b65 7981 if (arg2 == NULL) {
2f4c0a16
RD
7982 PyErr_SetString(PyExc_TypeError,"null reference");
7983 SWIG_fail;
44127b65
RD
7984 }
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 (arg1)->Recentre(*arg2);
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 Py_INCREF(Py_None); resultobj = Py_None;
7993 return resultobj;
7994 fail:
7995 return NULL;
7996}
7997
7998
c32bde28 7999static PyObject *_wrap_PyShape_ClearPointList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8000 PyObject *resultobj;
8001 wxPyShape *arg1 = (wxPyShape *) 0 ;
8002 wxList *arg2 = 0 ;
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 char *kwnames[] = {
8006 (char *) "self",(char *) "list", NULL
8007 };
8008
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxList,
8013 SWIG_POINTER_EXCEPTION | 0)) == -1)
8014 SWIG_fail;
44127b65 8015 if (arg2 == NULL) {
2f4c0a16
RD
8016 PyErr_SetString(PyExc_TypeError,"null reference");
8017 SWIG_fail;
44127b65
RD
8018 }
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 (arg1)->ClearPointList(*arg2);
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 Py_INCREF(Py_None); resultobj = Py_None;
8027 return resultobj;
8028 fail:
8029 return NULL;
8030}
8031
8032
c32bde28 8033static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8034 PyObject *resultobj;
8035 wxPyShape *arg1 = (wxPyShape *) 0 ;
8036 wxPen result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (arg1)->GetBackgroundPen();
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 {
8053 wxPen * resultptr;
8054 resultptr = new wxPen((wxPen &) result);
2f4c0a16 8055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPen, 1);
44127b65
RD
8056 }
8057 return resultobj;
8058 fail:
8059 return NULL;
8060}
8061
8062
c32bde28 8063static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8064 PyObject *resultobj;
8065 wxPyShape *arg1 = (wxPyShape *) 0 ;
8066 wxBrush result;
8067 PyObject * obj0 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (arg1)->GetBackgroundBrush();
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 {
8083 wxBrush * resultptr;
8084 resultptr = new wxBrush((wxBrush &) result);
2f4c0a16 8085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBrush, 1);
44127b65
RD
8086 }
8087 return resultobj;
8088 fail:
8089 return NULL;
8090}
8091
8092
c32bde28 8093static PyObject *_wrap_PyShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8094 PyObject *resultobj;
8095 wxPyShape *arg1 = (wxPyShape *) 0 ;
8096 PyObject * obj0 = 0 ;
8097 char *kwnames[] = {
8098 (char *) "self", NULL
8099 };
8100
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->base_OnDelete();
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 return resultobj;
8113 fail:
8114 return NULL;
8115}
8116
8117
c32bde28 8118static PyObject *_wrap_PyShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8119 PyObject *resultobj;
8120 wxPyShape *arg1 = (wxPyShape *) 0 ;
8121 wxDC *arg2 = 0 ;
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self",(char *) "dc", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1)
8133 SWIG_fail;
44127b65 8134 if (arg2 == NULL) {
2f4c0a16
RD
8135 PyErr_SetString(PyExc_TypeError,"null reference");
8136 SWIG_fail;
44127b65
RD
8137 }
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 (arg1)->base_OnDraw(*arg2);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 Py_INCREF(Py_None); resultobj = Py_None;
8146 return resultobj;
8147 fail:
8148 return NULL;
8149}
8150
8151
c32bde28 8152static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8153 PyObject *resultobj;
8154 wxPyShape *arg1 = (wxPyShape *) 0 ;
8155 wxDC *arg2 = 0 ;
8156 PyObject * obj0 = 0 ;
8157 PyObject * obj1 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self",(char *) "dc", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8166 SWIG_POINTER_EXCEPTION | 0)) == -1)
8167 SWIG_fail;
44127b65 8168 if (arg2 == NULL) {
2f4c0a16
RD
8169 PyErr_SetString(PyExc_TypeError,"null reference");
8170 SWIG_fail;
44127b65
RD
8171 }
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 (arg1)->base_OnDrawContents(*arg2);
8175
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 Py_INCREF(Py_None); resultobj = Py_None;
8180 return resultobj;
8181 fail:
8182 return NULL;
8183}
8184
8185
c32bde28 8186static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8187 PyObject *resultobj;
8188 wxPyShape *arg1 = (wxPyShape *) 0 ;
8189 wxDC *arg2 = 0 ;
ae8162c8 8190 bool arg3 = (bool) false ;
44127b65
RD
8191 PyObject * obj0 = 0 ;
8192 PyObject * obj1 = 0 ;
8193 PyObject * obj2 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self",(char *) "dc",(char *) "erase", NULL
8196 };
8197
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8202 SWIG_POINTER_EXCEPTION | 0)) == -1)
8203 SWIG_fail;
44127b65 8204 if (arg2 == NULL) {
2f4c0a16
RD
8205 PyErr_SetString(PyExc_TypeError,"null reference");
8206 SWIG_fail;
44127b65
RD
8207 }
8208 if (obj2) {
c32bde28 8209 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 8210 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8211 }
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 (arg1)->base_OnDrawBranches(*arg2,arg3);
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 Py_INCREF(Py_None); resultobj = Py_None;
8220 return resultobj;
8221 fail:
8222 return NULL;
8223}
8224
8225
c32bde28 8226static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8227 PyObject *resultobj;
8228 wxPyShape *arg1 = (wxPyShape *) 0 ;
8229 wxDC *arg2 = 0 ;
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
8232 char *kwnames[] = {
8233 (char *) "self",(char *) "dc", NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8240 SWIG_POINTER_EXCEPTION | 0)) == -1)
8241 SWIG_fail;
44127b65 8242 if (arg2 == NULL) {
2f4c0a16
RD
8243 PyErr_SetString(PyExc_TypeError,"null reference");
8244 SWIG_fail;
44127b65
RD
8245 }
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 (arg1)->base_OnMoveLinks(*arg2);
8249
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 Py_INCREF(Py_None); resultobj = Py_None;
8254 return resultobj;
8255 fail:
8256 return NULL;
8257}
8258
8259
c32bde28 8260static PyObject *_wrap_PyShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8261 PyObject *resultobj;
8262 wxPyShape *arg1 = (wxPyShape *) 0 ;
8263 wxDC *arg2 = 0 ;
8264 PyObject * obj0 = 0 ;
8265 PyObject * obj1 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self",(char *) "dc", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8274 SWIG_POINTER_EXCEPTION | 0)) == -1)
8275 SWIG_fail;
44127b65 8276 if (arg2 == NULL) {
2f4c0a16
RD
8277 PyErr_SetString(PyExc_TypeError,"null reference");
8278 SWIG_fail;
44127b65
RD
8279 }
8280 {
8281 PyThreadState* __tstate = wxPyBeginAllowThreads();
8282 (arg1)->base_OnErase(*arg2);
8283
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 Py_INCREF(Py_None); resultobj = Py_None;
8288 return resultobj;
8289 fail:
8290 return NULL;
8291}
8292
8293
c32bde28 8294static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8295 PyObject *resultobj;
8296 wxPyShape *arg1 = (wxPyShape *) 0 ;
8297 wxDC *arg2 = 0 ;
8298 PyObject * obj0 = 0 ;
8299 PyObject * obj1 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self",(char *) "dc", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8308 SWIG_POINTER_EXCEPTION | 0)) == -1)
8309 SWIG_fail;
44127b65 8310 if (arg2 == NULL) {
2f4c0a16
RD
8311 PyErr_SetString(PyExc_TypeError,"null reference");
8312 SWIG_fail;
44127b65
RD
8313 }
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 (arg1)->base_OnEraseContents(*arg2);
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 Py_INCREF(Py_None); resultobj = Py_None;
8322 return resultobj;
8323 fail:
8324 return NULL;
8325}
8326
8327
c32bde28 8328static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8329 PyObject *resultobj;
8330 wxPyShape *arg1 = (wxPyShape *) 0 ;
8331 wxDC *arg2 = 0 ;
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "dc", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8342 SWIG_POINTER_EXCEPTION | 0)) == -1)
8343 SWIG_fail;
44127b65 8344 if (arg2 == NULL) {
2f4c0a16
RD
8345 PyErr_SetString(PyExc_TypeError,"null reference");
8346 SWIG_fail;
44127b65
RD
8347 }
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 (arg1)->base_OnHighlight(*arg2);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 Py_INCREF(Py_None); resultobj = Py_None;
8356 return resultobj;
8357 fail:
8358 return NULL;
8359}
8360
8361
c32bde28 8362static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8363 PyObject *resultobj;
8364 wxPyShape *arg1 = (wxPyShape *) 0 ;
8365 double arg2 ;
8366 double arg3 ;
8367 int arg4 = (int) 0 ;
8368 int arg5 = (int) 0 ;
8369 PyObject * obj0 = 0 ;
8edf1c75
RD
8370 PyObject * obj1 = 0 ;
8371 PyObject * obj2 = 0 ;
8372 PyObject * obj3 = 0 ;
8373 PyObject * obj4 = 0 ;
44127b65
RD
8374 char *kwnames[] = {
8375 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8376 };
8377
8edf1c75 8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8381 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 8382 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8383 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8384 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8385 if (obj3) {
c32bde28 8386 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 8387 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8388 }
8389 if (obj4) {
c32bde28 8390 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8391 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8392 }
44127b65
RD
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 Py_INCREF(Py_None); resultobj = Py_None;
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
c32bde28 8407static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8408 PyObject *resultobj;
8409 wxPyShape *arg1 = (wxPyShape *) 0 ;
8410 double arg2 ;
8411 double arg3 ;
8412 int arg4 = (int) 0 ;
8413 int arg5 = (int) 0 ;
8414 PyObject * obj0 = 0 ;
8edf1c75
RD
8415 PyObject * obj1 = 0 ;
8416 PyObject * obj2 = 0 ;
8417 PyObject * obj3 = 0 ;
8418 PyObject * obj4 = 0 ;
44127b65
RD
8419 char *kwnames[] = {
8420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8421 };
8422
8edf1c75 8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8426 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 8427 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8428 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8429 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8430 if (obj3) {
c32bde28 8431 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 8432 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8433 }
8434 if (obj4) {
c32bde28 8435 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8436 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8437 }
44127b65
RD
8438 {
8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
8440 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8441
8442 wxPyEndAllowThreads(__tstate);
8443 if (PyErr_Occurred()) SWIG_fail;
8444 }
8445 Py_INCREF(Py_None); resultobj = Py_None;
8446 return resultobj;
8447 fail:
8448 return NULL;
8449}
8450
8451
c32bde28 8452static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8453 PyObject *resultobj;
8454 wxPyShape *arg1 = (wxPyShape *) 0 ;
8455 double arg2 ;
8456 double arg3 ;
8457 int arg4 = (int) 0 ;
8458 int arg5 = (int) 0 ;
8459 PyObject * obj0 = 0 ;
8edf1c75
RD
8460 PyObject * obj1 = 0 ;
8461 PyObject * obj2 = 0 ;
8462 PyObject * obj3 = 0 ;
8463 PyObject * obj4 = 0 ;
44127b65
RD
8464 char *kwnames[] = {
8465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8466 };
8467
8edf1c75 8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8471 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 8472 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8473 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8474 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8475 if (obj3) {
c32bde28 8476 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 8477 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8478 }
8479 if (obj4) {
c32bde28 8480 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8481 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8482 }
44127b65
RD
8483 {
8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
8485 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8486
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 Py_INCREF(Py_None); resultobj = Py_None;
8491 return resultobj;
8492 fail:
8493 return NULL;
8494}
8495
8496
c32bde28 8497static PyObject *_wrap_PyShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8498 PyObject *resultobj;
8499 wxPyShape *arg1 = (wxPyShape *) 0 ;
8500 double arg2 ;
8501 double arg3 ;
8502 PyObject * obj0 = 0 ;
8edf1c75
RD
8503 PyObject * obj1 = 0 ;
8504 PyObject * obj2 = 0 ;
44127b65
RD
8505 char *kwnames[] = {
8506 (char *) "self",(char *) "x",(char *) "y", NULL
8507 };
8508
8edf1c75 8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8512 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 8513 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8514 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8515 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 (arg1)->base_OnSize(arg2,arg3);
8519
8520 wxPyEndAllowThreads(__tstate);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 Py_INCREF(Py_None); resultobj = Py_None;
8524 return resultobj;
8525 fail:
8526 return NULL;
8527}
8528
8529
c32bde28 8530static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8531 PyObject *resultobj;
8532 wxPyShape *arg1 = (wxPyShape *) 0 ;
8533 wxDC *arg2 = 0 ;
8534 double arg3 ;
8535 double arg4 ;
8536 double arg5 ;
8537 double arg6 ;
ae8162c8 8538 bool arg7 = (bool) true ;
44127b65
RD
8539 bool result;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8edf1c75
RD
8542 PyObject * obj2 = 0 ;
8543 PyObject * obj3 = 0 ;
8544 PyObject * obj4 = 0 ;
8545 PyObject * obj5 = 0 ;
44127b65
RD
8546 PyObject * obj6 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8549 };
8550
8edf1c75 8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
8552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8555 SWIG_POINTER_EXCEPTION | 0)) == -1)
8556 SWIG_fail;
44127b65 8557 if (arg2 == NULL) {
2f4c0a16
RD
8558 PyErr_SetString(PyExc_TypeError,"null reference");
8559 SWIG_fail;
8560 }
c32bde28 8561 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8562 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8563 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 8564 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8565 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 8566 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8567 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 8568 if (PyErr_Occurred()) SWIG_fail;
44127b65 8569 if (obj6) {
c32bde28 8570 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 8571 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8572 }
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
4f89f6a3
RD
8580 {
8581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8582 }
44127b65
RD
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
c32bde28 8589static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8590 PyObject *resultobj;
8591 wxPyShape *arg1 = (wxPyShape *) 0 ;
8592 wxDC *arg2 = 0 ;
8593 double arg3 ;
8594 double arg4 ;
8595 double arg5 ;
8596 double arg6 ;
ae8162c8 8597 bool arg7 = (bool) true ;
44127b65
RD
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8edf1c75
RD
8600 PyObject * obj2 = 0 ;
8601 PyObject * obj3 = 0 ;
8602 PyObject * obj4 = 0 ;
8603 PyObject * obj5 = 0 ;
44127b65
RD
8604 PyObject * obj6 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8607 };
8608
8edf1c75 8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
8610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8613 SWIG_POINTER_EXCEPTION | 0)) == -1)
8614 SWIG_fail;
44127b65 8615 if (arg2 == NULL) {
2f4c0a16
RD
8616 PyErr_SetString(PyExc_TypeError,"null reference");
8617 SWIG_fail;
8618 }
c32bde28 8619 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8620 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8621 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 8622 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8623 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 8624 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8625 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 8626 if (PyErr_Occurred()) SWIG_fail;
44127b65 8627 if (obj6) {
c32bde28 8628 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 8629 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8630 }
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 Py_INCREF(Py_None); resultobj = Py_None;
8639 return resultobj;
8640 fail:
8641 return NULL;
8642}
8643
8644
c32bde28 8645static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8646 PyObject *resultobj;
8647 wxPyShape *arg1 = (wxPyShape *) 0 ;
8648 bool arg2 ;
8649 double arg3 ;
8650 double arg4 ;
8651 int arg5 = (int) 0 ;
8652 int arg6 = (int) 0 ;
8653 PyObject * obj0 = 0 ;
8654 PyObject * obj1 = 0 ;
8edf1c75
RD
8655 PyObject * obj2 = 0 ;
8656 PyObject * obj3 = 0 ;
8657 PyObject * obj4 = 0 ;
8658 PyObject * obj5 = 0 ;
44127b65
RD
8659 char *kwnames[] = {
8660 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8661 };
8662
8edf1c75 8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8666 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 8667 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8668 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8669 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8670 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 8671 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8672 if (obj4) {
c32bde28 8673 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8674 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8675 }
8676 if (obj5) {
c32bde28 8677 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 8678 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8679 }
44127b65
RD
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 Py_INCREF(Py_None); resultobj = Py_None;
8688 return resultobj;
8689 fail:
8690 return NULL;
8691}
8692
8693
c32bde28 8694static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8695 PyObject *resultobj;
8696 wxPyShape *arg1 = (wxPyShape *) 0 ;
8697 double arg2 ;
8698 double arg3 ;
8699 int arg4 = (int) 0 ;
8700 int arg5 = (int) 0 ;
8701 PyObject * obj0 = 0 ;
8edf1c75
RD
8702 PyObject * obj1 = 0 ;
8703 PyObject * obj2 = 0 ;
8704 PyObject * obj3 = 0 ;
8705 PyObject * obj4 = 0 ;
44127b65
RD
8706 char *kwnames[] = {
8707 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8708 };
8709
8edf1c75 8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8713 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 8714 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8715 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8716 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8717 if (obj3) {
c32bde28 8718 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 8719 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8720 }
8721 if (obj4) {
c32bde28 8722 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8723 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8724 }
44127b65
RD
8725 {
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8728
8729 wxPyEndAllowThreads(__tstate);
8730 if (PyErr_Occurred()) SWIG_fail;
8731 }
8732 Py_INCREF(Py_None); resultobj = Py_None;
8733 return resultobj;
8734 fail:
8735 return NULL;
8736}
8737
8738
c32bde28 8739static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8740 PyObject *resultobj;
8741 wxPyShape *arg1 = (wxPyShape *) 0 ;
8742 double arg2 ;
8743 double arg3 ;
8744 int arg4 = (int) 0 ;
8745 int arg5 = (int) 0 ;
8746 PyObject * obj0 = 0 ;
8edf1c75
RD
8747 PyObject * obj1 = 0 ;
8748 PyObject * obj2 = 0 ;
8749 PyObject * obj3 = 0 ;
8750 PyObject * obj4 = 0 ;
44127b65
RD
8751 char *kwnames[] = {
8752 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8753 };
8754
8edf1c75 8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8758 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 8759 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8760 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8761 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8762 if (obj3) {
c32bde28 8763 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 8764 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8765 }
8766 if (obj4) {
c32bde28 8767 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8768 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8769 }
44127b65
RD
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 Py_INCREF(Py_None); resultobj = Py_None;
8778 return resultobj;
8779 fail:
8780 return NULL;
8781}
8782
8783
c32bde28 8784static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8785 PyObject *resultobj;
8786 wxPyShape *arg1 = (wxPyShape *) 0 ;
8787 bool arg2 ;
8788 double arg3 ;
8789 double arg4 ;
8790 int arg5 = (int) 0 ;
8791 int arg6 = (int) 0 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8edf1c75
RD
8794 PyObject * obj2 = 0 ;
8795 PyObject * obj3 = 0 ;
8796 PyObject * obj4 = 0 ;
8797 PyObject * obj5 = 0 ;
44127b65
RD
8798 char *kwnames[] = {
8799 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8800 };
8801
8edf1c75 8802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8805 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 8806 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8807 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8808 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8809 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 8810 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8811 if (obj4) {
c32bde28 8812 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8813 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8814 }
8815 if (obj5) {
c32bde28 8816 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 8817 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8818 }
44127b65
RD
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
8821 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8822
8823 wxPyEndAllowThreads(__tstate);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 }
8826 Py_INCREF(Py_None); resultobj = Py_None;
8827 return resultobj;
8828 fail:
8829 return NULL;
8830}
8831
8832
c32bde28 8833static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8834 PyObject *resultobj;
8835 wxPyShape *arg1 = (wxPyShape *) 0 ;
8836 double arg2 ;
8837 double arg3 ;
8838 int arg4 = (int) 0 ;
8839 int arg5 = (int) 0 ;
8840 PyObject * obj0 = 0 ;
8edf1c75
RD
8841 PyObject * obj1 = 0 ;
8842 PyObject * obj2 = 0 ;
8843 PyObject * obj3 = 0 ;
8844 PyObject * obj4 = 0 ;
44127b65
RD
8845 char *kwnames[] = {
8846 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8847 };
8848
8edf1c75 8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8852 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 8853 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8854 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8855 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8856 if (obj3) {
c32bde28 8857 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 8858 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8859 }
8860 if (obj4) {
c32bde28 8861 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8862 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8863 }
44127b65
RD
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 Py_INCREF(Py_None); resultobj = Py_None;
8872 return resultobj;
8873 fail:
8874 return NULL;
8875}
8876
8877
c32bde28 8878static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8879 PyObject *resultobj;
8880 wxPyShape *arg1 = (wxPyShape *) 0 ;
8881 double arg2 ;
8882 double arg3 ;
8883 int arg4 = (int) 0 ;
8884 int arg5 = (int) 0 ;
8885 PyObject * obj0 = 0 ;
8edf1c75
RD
8886 PyObject * obj1 = 0 ;
8887 PyObject * obj2 = 0 ;
8888 PyObject * obj3 = 0 ;
8889 PyObject * obj4 = 0 ;
44127b65
RD
8890 char *kwnames[] = {
8891 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8892 };
8893
8edf1c75 8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8897 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 8898 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8899 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8900 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8901 if (obj3) {
c32bde28 8902 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 8903 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8904 }
8905 if (obj4) {
c32bde28 8906 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 8907 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8908 }
44127b65
RD
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 Py_INCREF(Py_None); resultobj = Py_None;
8917 return resultobj;
8918 fail:
8919 return NULL;
8920}
8921
8922
c32bde28 8923static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8924 PyObject *resultobj;
8925 wxPyShape *arg1 = (wxPyShape *) 0 ;
8926 wxDC *arg2 = 0 ;
8927 double arg3 ;
8928 double arg4 ;
8929 double arg5 ;
8930 double arg6 ;
8931 PyObject * obj0 = 0 ;
8932 PyObject * obj1 = 0 ;
8edf1c75
RD
8933 PyObject * obj2 = 0 ;
8934 PyObject * obj3 = 0 ;
8935 PyObject * obj4 = 0 ;
8936 PyObject * obj5 = 0 ;
44127b65
RD
8937 char *kwnames[] = {
8938 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8939 };
8940
8edf1c75 8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8945 SWIG_POINTER_EXCEPTION | 0)) == -1)
8946 SWIG_fail;
44127b65 8947 if (arg2 == NULL) {
2f4c0a16
RD
8948 PyErr_SetString(PyExc_TypeError,"null reference");
8949 SWIG_fail;
8edf1c75 8950 }
c32bde28 8951 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 8952 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8953 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 8954 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8955 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 8956 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8957 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 8958 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
c32bde28 8973static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8974 PyObject *resultobj;
8975 wxPyShape *arg1 = (wxPyShape *) 0 ;
8976 wxDC *arg2 = 0 ;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self",(char *) "dc", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1)
8988 SWIG_fail;
44127b65 8989 if (arg2 == NULL) {
2f4c0a16
RD
8990 PyErr_SetString(PyExc_TypeError,"null reference");
8991 SWIG_fail;
44127b65
RD
8992 }
8993 {
8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
8995 (arg1)->base_OnDrawControlPoints(*arg2);
8996
8997 wxPyEndAllowThreads(__tstate);
8998 if (PyErr_Occurred()) SWIG_fail;
8999 }
9000 Py_INCREF(Py_None); resultobj = Py_None;
9001 return resultobj;
9002 fail:
9003 return NULL;
9004}
9005
9006
c32bde28 9007static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9008 PyObject *resultobj;
9009 wxPyShape *arg1 = (wxPyShape *) 0 ;
9010 wxDC *arg2 = 0 ;
9011 PyObject * obj0 = 0 ;
9012 PyObject * obj1 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self",(char *) "dc", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9021 SWIG_POINTER_EXCEPTION | 0)) == -1)
9022 SWIG_fail;
44127b65 9023 if (arg2 == NULL) {
2f4c0a16
RD
9024 PyErr_SetString(PyExc_TypeError,"null reference");
9025 SWIG_fail;
44127b65
RD
9026 }
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->base_OnEraseControlPoints(*arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038}
9039
9040
c32bde28 9041static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9042 PyObject *resultobj;
9043 wxPyShape *arg1 = (wxPyShape *) 0 ;
9044 wxDC *arg2 = 0 ;
ae8162c8 9045 bool arg3 = (bool) true ;
44127b65
RD
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 PyObject * obj2 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1)
9058 SWIG_fail;
44127b65 9059 if (arg2 == NULL) {
2f4c0a16
RD
9060 PyErr_SetString(PyExc_TypeError,"null reference");
9061 SWIG_fail;
44127b65
RD
9062 }
9063 if (obj2) {
c32bde28 9064 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 9065 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9066 }
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 (arg1)->base_OnMoveLink(*arg2,arg3);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 Py_INCREF(Py_None); resultobj = Py_None;
9075 return resultobj;
9076 fail:
9077 return NULL;
9078}
9079
9080
c32bde28 9081static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9082 PyObject *resultobj;
9083 wxPyShape *arg1 = (wxPyShape *) 0 ;
9084 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9085 bool arg3 ;
9086 double arg4 ;
9087 double arg5 ;
9088 int arg6 = (int) 0 ;
9089 int arg7 = (int) 0 ;
9090 PyObject * obj0 = 0 ;
9091 PyObject * obj1 = 0 ;
9092 PyObject * obj2 = 0 ;
8edf1c75
RD
9093 PyObject * obj3 = 0 ;
9094 PyObject * obj4 = 0 ;
9095 PyObject * obj5 = 0 ;
9096 PyObject * obj6 = 0 ;
44127b65
RD
9097 char *kwnames[] = {
9098 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9099 };
9100
8edf1c75 9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
9102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9106 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 9107 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9108 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 9109 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9110 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 9111 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9112 if (obj5) {
c32bde28 9113 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 9114 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9115 }
9116 if (obj6) {
c32bde28 9117 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 9118 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9119 }
44127b65
RD
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 Py_INCREF(Py_None); resultobj = Py_None;
9128 return resultobj;
9129 fail:
9130 return NULL;
9131}
9132
9133
c32bde28 9134static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9135 PyObject *resultobj;
9136 wxPyShape *arg1 = (wxPyShape *) 0 ;
9137 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9138 double arg3 ;
9139 double arg4 ;
9140 int arg5 = (int) 0 ;
9141 int arg6 = (int) 0 ;
9142 PyObject * obj0 = 0 ;
9143 PyObject * obj1 = 0 ;
8edf1c75
RD
9144 PyObject * obj2 = 0 ;
9145 PyObject * obj3 = 0 ;
9146 PyObject * obj4 = 0 ;
9147 PyObject * obj5 = 0 ;
44127b65
RD
9148 char *kwnames[] = {
9149 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9150 };
9151
8edf1c75 9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9157 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9158 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9159 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16
RD
9160 if (PyErr_Occurred()) SWIG_fail;
9161 if (obj4) {
c32bde28 9162 arg5 = (int)SWIG_As_int(obj4);
8edf1c75
RD
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
2f4c0a16 9165 if (obj5) {
c32bde28 9166 arg6 = (int)SWIG_As_int(obj5);
8edf1c75
RD
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
44127b65
RD
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 Py_INCREF(Py_None); resultobj = Py_None;
9177 return resultobj;
9178 fail:
9179 return NULL;
9180}
9181
9182
c32bde28 9183static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9184 PyObject *resultobj;
9185 wxPyShape *arg1 = (wxPyShape *) 0 ;
9186 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9187 double arg3 ;
9188 double arg4 ;
9189 int arg5 = (int) 0 ;
9190 int arg6 = (int) 0 ;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
8edf1c75
RD
9193 PyObject * obj2 = 0 ;
9194 PyObject * obj3 = 0 ;
9195 PyObject * obj4 = 0 ;
9196 PyObject * obj5 = 0 ;
44127b65
RD
9197 char *kwnames[] = {
9198 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9199 };
9200
8edf1c75 9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9206 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9207 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9208 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 9209 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9210 if (obj4) {
c32bde28 9211 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 9212 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9213 }
9214 if (obj5) {
c32bde28 9215 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 9216 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9217 }
44127b65
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 Py_INCREF(Py_None); resultobj = Py_None;
9226 return resultobj;
9227 fail:
9228 return NULL;
9229}
9230
9231
c32bde28 9232static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9233 PyObject *resultobj;
9234 wxPyShape *arg1 = (wxPyShape *) 0 ;
9235 double arg2 ;
9236 double arg3 ;
9237 PyObject * obj0 = 0 ;
8edf1c75
RD
9238 PyObject * obj1 = 0 ;
9239 PyObject * obj2 = 0 ;
44127b65
RD
9240 char *kwnames[] = {
9241 (char *) "self",(char *) "w",(char *) "h", NULL
9242 };
9243
8edf1c75 9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9247 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 9248 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9249 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9250 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->base_OnBeginSize(arg2,arg3);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262}
9263
9264
c32bde28 9265static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9266 PyObject *resultobj;
9267 wxPyShape *arg1 = (wxPyShape *) 0 ;
9268 double arg2 ;
9269 double arg3 ;
9270 PyObject * obj0 = 0 ;
8edf1c75
RD
9271 PyObject * obj1 = 0 ;
9272 PyObject * obj2 = 0 ;
44127b65
RD
9273 char *kwnames[] = {
9274 (char *) "self",(char *) "w",(char *) "h", NULL
9275 };
9276
8edf1c75 9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9280 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 9281 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9282 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9283 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 (arg1)->base_OnEndSize(arg2,arg3);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 Py_INCREF(Py_None); resultobj = Py_None;
9292 return resultobj;
9293 fail:
9294 return NULL;
9295}
9296
9297
c32bde28 9298static PyObject * PyShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
9299 PyObject *obj;
9300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9301 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9302 Py_INCREF(obj);
9303 return Py_BuildValue((char *)"");
9304}
c32bde28 9305static PyObject *_wrap_new_PseudoMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9306 PyObject *resultobj;
9307 wxPseudoMetaFile *result;
9308 char *kwnames[] = {
9309 NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 {
412d302d 9321 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
9322 }
9323 return resultobj;
9324 fail:
9325 return NULL;
9326}
9327
9328
c32bde28 9329static PyObject *_wrap_delete_PseudoMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9330 PyObject *resultobj;
9331 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9332 PyObject * obj0 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 delete arg1;
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 Py_INCREF(Py_None); resultobj = Py_None;
9348 return resultobj;
9349 fail:
9350 return NULL;
9351}
9352
9353
c32bde28 9354static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9355 PyObject *resultobj;
9356 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9357 wxDC *arg2 = 0 ;
9358 double arg3 ;
9359 double arg4 ;
9360 PyObject * obj0 = 0 ;
9361 PyObject * obj1 = 0 ;
8edf1c75
RD
9362 PyObject * obj2 = 0 ;
9363 PyObject * obj3 = 0 ;
44127b65
RD
9364 char *kwnames[] = {
9365 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9366 };
9367
8edf1c75 9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9371 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9372 SWIG_POINTER_EXCEPTION | 0)) == -1)
9373 SWIG_fail;
44127b65 9374 if (arg2 == NULL) {
2f4c0a16
RD
9375 PyErr_SetString(PyExc_TypeError,"null reference");
9376 SWIG_fail;
8edf1c75 9377 }
c32bde28 9378 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9379 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9380 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 9381 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 (arg1)->Draw(*arg2,arg3,arg4);
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 Py_INCREF(Py_None); resultobj = Py_None;
9390 return resultobj;
9391 fail:
9392 return NULL;
9393}
9394
9395
c32bde28 9396static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9397 PyObject *resultobj;
9398 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9399 PyObject * obj0 = 0 ;
9400 char *kwnames[] = {
9401 (char *) "self", NULL
9402 };
9403
9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 (arg1)->Clear();
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 Py_INCREF(Py_None); resultobj = Py_None;
9415 return resultobj;
9416 fail:
9417 return NULL;
9418}
9419
9420
c32bde28 9421static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9422 PyObject *resultobj;
9423 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9424 wxPseudoMetaFile *arg2 = 0 ;
9425 PyObject * obj0 = 0 ;
9426 PyObject * obj1 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self",(char *) "copy", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPseudoMetaFile,
9435 SWIG_POINTER_EXCEPTION | 0)) == -1)
9436 SWIG_fail;
44127b65 9437 if (arg2 == NULL) {
2f4c0a16
RD
9438 PyErr_SetString(PyExc_TypeError,"null reference");
9439 SWIG_fail;
44127b65
RD
9440 }
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 (arg1)->Copy(*arg2);
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 Py_INCREF(Py_None); resultobj = Py_None;
9449 return resultobj;
9450 fail:
9451 return NULL;
9452}
9453
9454
c32bde28 9455static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9456 PyObject *resultobj;
9457 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9458 double arg2 ;
9459 double arg3 ;
9460 PyObject * obj0 = 0 ;
8edf1c75
RD
9461 PyObject * obj1 = 0 ;
9462 PyObject * obj2 = 0 ;
44127b65
RD
9463 char *kwnames[] = {
9464 (char *) "self",(char *) "sx",(char *) "sy", NULL
9465 };
9466
8edf1c75 9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9470 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 9471 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9472 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9473 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 (arg1)->Scale(arg2,arg3);
9477
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 Py_INCREF(Py_None); resultobj = Py_None;
9482 return resultobj;
9483 fail:
9484 return NULL;
9485}
9486
9487
c32bde28 9488static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9489 PyObject *resultobj;
9490 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9491 double arg2 ;
9492 double arg3 ;
9493 PyObject * obj0 = 0 ;
8edf1c75
RD
9494 PyObject * obj1 = 0 ;
9495 PyObject * obj2 = 0 ;
44127b65
RD
9496 char *kwnames[] = {
9497 (char *) "self",(char *) "w",(char *) "h", NULL
9498 };
9499
8edf1c75 9500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9503 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 9504 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9505 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9506 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 (arg1)->ScaleTo(arg2,arg3);
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 Py_INCREF(Py_None); resultobj = Py_None;
9515 return resultobj;
9516 fail:
9517 return NULL;
9518}
9519
9520
c32bde28 9521static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9522 PyObject *resultobj;
9523 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9524 double arg2 ;
9525 double arg3 ;
9526 PyObject * obj0 = 0 ;
8edf1c75
RD
9527 PyObject * obj1 = 0 ;
9528 PyObject * obj2 = 0 ;
44127b65
RD
9529 char *kwnames[] = {
9530 (char *) "self",(char *) "x",(char *) "y", NULL
9531 };
9532
8edf1c75 9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9536 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 9537 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9538 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9539 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 (arg1)->Translate(arg2,arg3);
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 Py_INCREF(Py_None); resultobj = Py_None;
9548 return resultobj;
9549 fail:
9550 return NULL;
9551}
9552
9553
c32bde28 9554static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9555 PyObject *resultobj;
9556 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9557 double arg2 ;
9558 double arg3 ;
9559 double arg4 ;
9560 PyObject * obj0 = 0 ;
8edf1c75
RD
9561 PyObject * obj1 = 0 ;
9562 PyObject * obj2 = 0 ;
9563 PyObject * obj3 = 0 ;
44127b65
RD
9564 char *kwnames[] = {
9565 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9566 };
9567
8edf1c75 9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9571 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 9572 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9573 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9574 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9575 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 9576 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 (arg1)->Rotate(arg2,arg3,arg4);
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 Py_INCREF(Py_None); resultobj = Py_None;
9585 return resultobj;
9586 fail:
9587 return NULL;
9588}
9589
9590
c32bde28 9591static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9592 PyObject *resultobj;
9593 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9594 wxString *arg2 = 0 ;
9595 double *arg3 = (double *) 0 ;
9596 double *arg4 = (double *) 0 ;
9597 bool result;
ae8162c8 9598 bool temp2 = false ;
44127b65
RD
9599 PyObject * obj0 = 0 ;
9600 PyObject * obj1 = 0 ;
9601 PyObject * obj2 = 0 ;
9602 PyObject * obj3 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9610 {
9611 arg2 = wxString_in_helper(obj1);
9612 if (arg2 == NULL) SWIG_fail;
ae8162c8 9613 temp2 = true;
44127b65 9614 }
2f4c0a16
RD
9615 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9617 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
4f89f6a3
RD
9626 {
9627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9628 }
44127b65
RD
9629 {
9630 if (temp2)
9631 delete arg2;
9632 }
9633 return resultobj;
9634 fail:
9635 {
9636 if (temp2)
9637 delete arg2;
9638 }
9639 return NULL;
9640}
9641
9642
c32bde28 9643static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9644 PyObject *resultobj;
9645 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9646 double *arg2 = (double *) 0 ;
9647 double *arg3 = (double *) 0 ;
9648 double *arg4 = (double *) 0 ;
9649 double *arg5 = (double *) 0 ;
9650 PyObject * obj0 = 0 ;
9651 PyObject * obj1 = 0 ;
9652 PyObject * obj2 = 0 ;
9653 PyObject * obj3 = 0 ;
9654 PyObject * obj4 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
9660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,
9663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9664 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9666 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9668 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_double,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 Py_INCREF(Py_None); resultobj = Py_None;
9678 return resultobj;
9679 fail:
9680 return NULL;
9681}
9682
9683
c32bde28 9684static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9685 PyObject *resultobj;
9686 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9687 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9688 PyObject * obj0 = 0 ;
9689 PyObject * obj1 = 0 ;
9690 char *kwnames[] = {
9691 (char *) "self",(char *) "shape", NULL
9692 };
9693
9694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDrawnShape,
9698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 (arg1)->CalculateSize(arg2);
9702
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 Py_INCREF(Py_None); resultobj = Py_None;
9707 return resultobj;
9708 fail:
9709 return NULL;
9710}
9711
9712
c32bde28 9713static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9714 PyObject *resultobj;
9715 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9716 bool arg2 ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self",(char *) "rot", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9726 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 9727 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 (arg1)->SetRotateable(arg2);
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 Py_INCREF(Py_None); resultobj = Py_None;
9736 return resultobj;
9737 fail:
9738 return NULL;
9739}
9740
9741
c32bde28 9742static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9743 PyObject *resultobj;
9744 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9745 bool result;
9746 PyObject * obj0 = 0 ;
9747 char *kwnames[] = {
9748 (char *) "self", NULL
9749 };
9750
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 result = (bool)(arg1)->GetRotateable();
9757
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
4f89f6a3
RD
9761 {
9762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9763 }
44127b65
RD
9764 return resultobj;
9765 fail:
9766 return NULL;
9767}
9768
9769
c32bde28 9770static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9771 PyObject *resultobj;
9772 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9773 double arg2 ;
9774 double arg3 ;
9775 PyObject * obj0 = 0 ;
8edf1c75
RD
9776 PyObject * obj1 = 0 ;
9777 PyObject * obj2 = 0 ;
44127b65
RD
9778 char *kwnames[] = {
9779 (char *) "self",(char *) "w",(char *) "h", NULL
9780 };
9781
8edf1c75 9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9785 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 9786 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9787 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 9788 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 (arg1)->SetSize(arg2,arg3);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 Py_INCREF(Py_None); resultobj = Py_None;
9797 return resultobj;
9798 fail:
9799 return NULL;
9800}
9801
9802
c32bde28 9803static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9804 PyObject *resultobj;
9805 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9806 wxBrush *arg2 = (wxBrush *) 0 ;
9807 PyObject * obj0 = 0 ;
9808 PyObject * obj1 = 0 ;
9809 char *kwnames[] = {
9810 (char *) "self",(char *) "brush", NULL
9811 };
9812
9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9816 {
9817 wxBrush* temp;
9818 if (obj1) {
9819 if (obj1 == Py_None) {
9820 temp = NULL;
9821 }
9822 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9823 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9824 return NULL;
9825 }
9826 }
9827 if (temp)
9828 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9829 else
9830 arg2 = NULL;
9831 }
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 (arg1)->SetFillBrush(arg2);
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 Py_INCREF(Py_None); resultobj = Py_None;
9840 return resultobj;
9841 fail:
9842 return NULL;
9843}
9844
9845
c32bde28 9846static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9847 PyObject *resultobj;
9848 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9849 wxBrush *result;
9850 PyObject * obj0 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 result = (wxBrush *)(arg1)->GetFillBrush();
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
2f4c0a16 9865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
44127b65
RD
9866 return resultobj;
9867 fail:
9868 return NULL;
9869}
9870
9871
c32bde28 9872static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9873 PyObject *resultobj;
9874 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9875 wxPen *arg2 = (wxPen *) 0 ;
9876 PyObject * obj0 = 0 ;
9877 PyObject * obj1 = 0 ;
9878 char *kwnames[] = {
9879 (char *) "self",(char *) "pen", NULL
9880 };
9881
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9885 {
9886 wxPen* temp;
9887 if (obj1) {
9888 if (obj1 == Py_None) {
9889 temp = NULL;
9890 }
9891 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9892 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9893 return NULL;
9894 }
9895 }
9896 if (temp)
9897 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9898 temp->GetWidth(),
9899 temp->GetStyle());
9900 else
9901 arg2 = NULL;
9902 }
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 (arg1)->SetOutlinePen(arg2);
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 Py_INCREF(Py_None); resultobj = Py_None;
9911 return resultobj;
9912 fail:
9913 return NULL;
9914}
9915
9916
c32bde28 9917static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9918 PyObject *resultobj;
9919 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9920 wxPen *result;
9921 PyObject * obj0 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (wxPen *)(arg1)->GetOutlinePen();
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
2f4c0a16 9936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
9937 return resultobj;
9938 fail:
9939 return NULL;
9940}
9941
9942
c32bde28 9943static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9944 PyObject *resultobj;
9945 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9946 int arg2 ;
9947 PyObject * obj0 = 0 ;
8edf1c75 9948 PyObject * obj1 = 0 ;
44127b65
RD
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "op", NULL
9951 };
9952
8edf1c75 9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9956 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 9957 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 (arg1)->SetOutlineOp(arg2);
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 Py_INCREF(Py_None); resultobj = Py_None;
9966 return resultobj;
9967 fail:
9968 return NULL;
9969}
9970
9971
c32bde28 9972static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9973 PyObject *resultobj;
9974 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9975 int result;
9976 PyObject * obj0 = 0 ;
9977 char *kwnames[] = {
9978 (char *) "self", NULL
9979 };
9980
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (int)(arg1)->GetOutlineOp();
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
c32bde28 9991 resultobj = SWIG_From_int((int)result);
44127b65
RD
9992 return resultobj;
9993 fail:
9994 return NULL;
9995}
9996
9997
c32bde28 9998static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9999 PyObject *resultobj;
10000 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10001 bool result;
10002 PyObject * obj0 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (bool)(arg1)->IsValid();
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
4f89f6a3
RD
10017 {
10018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10019 }
44127b65
RD
10020 return resultobj;
10021 fail:
10022 return NULL;
10023}
10024
10025
c32bde28 10026static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10027 PyObject *resultobj;
10028 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10029 wxPoint *arg2 = 0 ;
10030 wxPoint *arg3 = 0 ;
10031 wxPoint temp2 ;
10032 wxPoint temp3 ;
10033 PyObject * obj0 = 0 ;
10034 PyObject * obj1 = 0 ;
10035 PyObject * obj2 = 0 ;
10036 char *kwnames[] = {
10037 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10038 };
10039
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10043 {
10044 arg2 = &temp2;
10045 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10046 }
10047 {
10048 arg3 = &temp3;
10049 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10050 }
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 Py_INCREF(Py_None); resultobj = Py_None;
10059 return resultobj;
10060 fail:
10061 return NULL;
10062}
10063
10064
c32bde28 10065static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10066 PyObject *resultobj;
10067 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10068 wxRect *arg2 = 0 ;
10069 wxRect temp2 ;
10070 PyObject * obj0 = 0 ;
10071 PyObject * obj1 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self",(char *) "rect", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10079 {
10080 arg2 = &temp2;
10081 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10082 }
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 (arg1)->DrawRectangle((wxRect const &)*arg2);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 Py_INCREF(Py_None); resultobj = Py_None;
10091 return resultobj;
10092 fail:
10093 return NULL;
10094}
10095
10096
c32bde28 10097static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10098 PyObject *resultobj;
10099 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10100 wxRect *arg2 = 0 ;
10101 double arg3 ;
10102 wxRect temp2 ;
10103 PyObject * obj0 = 0 ;
10104 PyObject * obj1 = 0 ;
8edf1c75 10105 PyObject * obj2 = 0 ;
44127b65
RD
10106 char *kwnames[] = {
10107 (char *) "self",(char *) "rect",(char *) "radius", NULL
10108 };
10109
8edf1c75 10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10113 {
10114 arg2 = &temp2;
10115 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10116 }
c32bde28 10117 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 10118 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10119 {
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
10121 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
10122
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 Py_INCREF(Py_None); resultobj = Py_None;
10127 return resultobj;
10128 fail:
10129 return NULL;
10130}
10131
10132
c32bde28 10133static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10134 PyObject *resultobj;
10135 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10136 wxPoint *arg2 = 0 ;
10137 wxPoint *arg3 = 0 ;
10138 wxPoint *arg4 = 0 ;
10139 wxPoint temp2 ;
10140 wxPoint temp3 ;
10141 wxPoint temp4 ;
10142 PyObject * obj0 = 0 ;
10143 PyObject * obj1 = 0 ;
10144 PyObject * obj2 = 0 ;
10145 PyObject * obj3 = 0 ;
10146 char *kwnames[] = {
10147 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10148 };
10149
10150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10153 {
10154 arg2 = &temp2;
10155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10156 }
10157 {
10158 arg3 = &temp3;
10159 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10160 }
10161 {
10162 arg4 = &temp4;
10163 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10164 }
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 Py_INCREF(Py_None); resultobj = Py_None;
10173 return resultobj;
10174 fail:
10175 return NULL;
10176}
10177
10178
c32bde28 10179static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10180 PyObject *resultobj;
10181 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10182 wxRect *arg2 = 0 ;
10183 double arg3 ;
10184 double arg4 ;
10185 wxRect temp2 ;
10186 PyObject * obj0 = 0 ;
10187 PyObject * obj1 = 0 ;
8edf1c75
RD
10188 PyObject * obj2 = 0 ;
10189 PyObject * obj3 = 0 ;
44127b65
RD
10190 char *kwnames[] = {
10191 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10192 };
10193
8edf1c75 10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10197 {
10198 arg2 = &temp2;
10199 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10200 }
c32bde28 10201 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 10202 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10203 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 10204 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 Py_INCREF(Py_None); resultobj = Py_None;
10213 return resultobj;
10214 fail:
10215 return NULL;
10216}
10217
10218
c32bde28 10219static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10220 PyObject *resultobj;
10221 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10222 wxRect *arg2 = 0 ;
10223 wxRect temp2 ;
10224 PyObject * obj0 = 0 ;
10225 PyObject * obj1 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self",(char *) "rect", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10233 {
10234 arg2 = &temp2;
10235 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10236 }
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 (arg1)->DrawEllipse((wxRect const &)*arg2);
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 Py_INCREF(Py_None); resultobj = Py_None;
10245 return resultobj;
10246 fail:
10247 return NULL;
10248}
10249
10250
c32bde28 10251static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10252 PyObject *resultobj;
10253 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10254 wxPoint *arg2 = 0 ;
10255 wxPoint temp2 ;
10256 PyObject * obj0 = 0 ;
10257 PyObject * obj1 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self",(char *) "pt", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10265 {
10266 arg2 = &temp2;
10267 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10268 }
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 (arg1)->DrawPoint((wxPoint const &)*arg2);
10272
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 Py_INCREF(Py_None); resultobj = Py_None;
10277 return resultobj;
10278 fail:
10279 return NULL;
10280}
10281
10282
c32bde28 10283static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10284 PyObject *resultobj;
10285 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10286 wxString *arg2 = 0 ;
10287 wxPoint *arg3 = 0 ;
ae8162c8 10288 bool temp2 = false ;
44127b65
RD
10289 wxPoint temp3 ;
10290 PyObject * obj0 = 0 ;
10291 PyObject * obj1 = 0 ;
10292 PyObject * obj2 = 0 ;
10293 char *kwnames[] = {
10294 (char *) "self",(char *) "text",(char *) "pt", NULL
10295 };
10296
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10300 {
10301 arg2 = wxString_in_helper(obj1);
10302 if (arg2 == NULL) SWIG_fail;
ae8162c8 10303 temp2 = true;
44127b65
RD
10304 }
10305 {
10306 arg3 = &temp3;
10307 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10308 }
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 Py_INCREF(Py_None); resultobj = Py_None;
10317 {
10318 if (temp2)
10319 delete arg2;
10320 }
10321 return resultobj;
10322 fail:
10323 {
10324 if (temp2)
10325 delete arg2;
10326 }
10327 return NULL;
10328}
10329
10330
c32bde28 10331static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10332 PyObject *resultobj;
10333 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10334 int arg2 ;
10335 wxPoint *arg3 = (wxPoint *) 0 ;
10336 PyObject * obj0 = 0 ;
8edf1c75 10337 PyObject * obj1 = 0 ;
44127b65 10338 char *kwnames[] = {
baaa1d1a 10339 (char *) "self",(char *) "points", NULL
44127b65
RD
10340 };
10341
baaa1d1a 10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
baaa1d1a
RD
10345 {
10346 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10347 if (arg3 == NULL) SWIG_fail;
10348 }
44127b65
RD
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->DrawLines(arg2,arg3);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
baaa1d1a
RD
10357 {
10358 if (arg3) delete [] arg3;
10359 }
44127b65
RD
10360 return resultobj;
10361 fail:
baaa1d1a
RD
10362 {
10363 if (arg3) delete [] arg3;
10364 }
44127b65
RD
10365 return NULL;
10366}
10367
10368
c32bde28 10369static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10370 PyObject *resultobj;
10371 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10372 int arg2 ;
10373 wxPoint *arg3 = (wxPoint *) 0 ;
10374 int arg4 = (int) 0 ;
10375 PyObject * obj0 = 0 ;
8edf1c75 10376 PyObject * obj1 = 0 ;
44127b65
RD
10377 PyObject * obj2 = 0 ;
10378 char *kwnames[] = {
baaa1d1a 10379 (char *) "self",(char *) "points",(char *) "flags", NULL
44127b65
RD
10380 };
10381
baaa1d1a 10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
baaa1d1a
RD
10385 {
10386 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10387 if (arg3 == NULL) SWIG_fail;
10388 }
10389 if (obj2) {
c32bde28 10390 arg4 = (int)SWIG_As_int(obj2);
2f4c0a16 10391 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10392 }
44127b65
RD
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 (arg1)->DrawPolygon(arg2,arg3,arg4);
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 Py_INCREF(Py_None); resultobj = Py_None;
baaa1d1a
RD
10401 {
10402 if (arg3) delete [] arg3;
10403 }
44127b65
RD
10404 return resultobj;
10405 fail:
baaa1d1a
RD
10406 {
10407 if (arg3) delete [] arg3;
10408 }
44127b65
RD
10409 return NULL;
10410}
10411
10412
c32bde28 10413static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10414 PyObject *resultobj;
10415 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10416 int arg2 ;
10417 wxPoint *arg3 = (wxPoint *) 0 ;
10418 PyObject * obj0 = 0 ;
8edf1c75 10419 PyObject * obj1 = 0 ;
44127b65 10420 char *kwnames[] = {
baaa1d1a 10421 (char *) "self",(char *) "points", NULL
44127b65
RD
10422 };
10423
baaa1d1a 10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
baaa1d1a
RD
10427 {
10428 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10429 if (arg3 == NULL) SWIG_fail;
10430 }
44127b65
RD
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 (arg1)->DrawSpline(arg2,arg3);
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 Py_INCREF(Py_None); resultobj = Py_None;
baaa1d1a
RD
10439 {
10440 if (arg3) delete [] arg3;
10441 }
44127b65
RD
10442 return resultobj;
10443 fail:
baaa1d1a
RD
10444 {
10445 if (arg3) delete [] arg3;
10446 }
44127b65
RD
10447 return NULL;
10448}
10449
10450
c32bde28 10451static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10452 PyObject *resultobj;
10453 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10454 wxRect *arg2 = 0 ;
10455 wxRect temp2 ;
10456 PyObject * obj0 = 0 ;
10457 PyObject * obj1 = 0 ;
10458 char *kwnames[] = {
10459 (char *) "self",(char *) "rect", NULL
10460 };
10461
10462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10465 {
10466 arg2 = &temp2;
10467 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10468 }
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->SetClippingRect((wxRect const &)*arg2);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480}
10481
10482
c32bde28 10483static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10484 PyObject *resultobj;
10485 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10486 PyObject * obj0 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 (arg1)->DestroyClippingRect();
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 Py_INCREF(Py_None); resultobj = Py_None;
10502 return resultobj;
10503 fail:
10504 return NULL;
10505}
10506
10507
c32bde28 10508static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10509 PyObject *resultobj;
10510 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10511 wxPen *arg2 = (wxPen *) 0 ;
10512 bool arg3 = (bool) FALSE ;
10513 PyObject * obj0 = 0 ;
10514 PyObject * obj1 = 0 ;
10515 PyObject * obj2 = 0 ;
10516 char *kwnames[] = {
10517 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10518 };
10519
10520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10523 {
10524 wxPen* temp;
10525 if (obj1) {
10526 if (obj1 == Py_None) {
10527 temp = NULL;
10528 }
10529 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10530 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10531 return NULL;
10532 }
10533 }
10534 if (temp)
10535 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10536 temp->GetWidth(),
10537 temp->GetStyle());
10538 else
10539 arg2 = NULL;
10540 }
10541 if (obj2) {
c32bde28 10542 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 10543 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10544 }
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 (arg1)->SetPen(arg2,arg3);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 Py_INCREF(Py_None); resultobj = Py_None;
10553 return resultobj;
10554 fail:
10555 return NULL;
10556}
10557
10558
c32bde28 10559static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10560 PyObject *resultobj;
10561 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10562 wxBrush *arg2 = (wxBrush *) 0 ;
10563 bool arg3 = (bool) FALSE ;
10564 PyObject * obj0 = 0 ;
10565 PyObject * obj1 = 0 ;
10566 PyObject * obj2 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10574 {
10575 wxBrush* temp;
10576 if (obj1) {
10577 if (obj1 == Py_None) {
10578 temp = NULL;
10579 }
10580 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10581 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10582 return NULL;
10583 }
10584 }
10585 if (temp)
10586 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10587 else
10588 arg2 = NULL;
10589 }
10590 if (obj2) {
c32bde28 10591 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 10592 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10593 }
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 (arg1)->SetBrush(arg2,arg3);
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 Py_INCREF(Py_None); resultobj = Py_None;
10602 return resultobj;
10603 fail:
10604 return NULL;
10605}
10606
10607
c32bde28 10608static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10609 PyObject *resultobj;
10610 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10611 wxFont *arg2 = (wxFont *) 0 ;
10612 PyObject * obj0 = 0 ;
10613 PyObject * obj1 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "self",(char *) "font", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10621 {
10622 wxFont* temp;
10623 if (obj1) {
10624 if (obj1 == Py_None) {
10625 temp = NULL;
10626 }
10627 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10628 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10629 return NULL;
10630 }
10631 }
10632 if (temp)
10633 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10634 temp->GetFamily(),
10635 temp->GetStyle(),
10636 temp->GetWeight(),
10637 temp->GetUnderlined(),
10638 temp->GetFaceName(),
10639 temp->GetEncoding());
10640 else
10641 arg2 = NULL;
10642 }
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 (arg1)->SetFont(arg2);
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 Py_INCREF(Py_None); resultobj = Py_None;
10651 return resultobj;
10652 fail:
10653 return NULL;
10654}
10655
10656
c32bde28 10657static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10658 PyObject *resultobj;
10659 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10660 wxColour *arg2 = 0 ;
10661 wxColour temp2 ;
10662 PyObject * obj0 = 0 ;
10663 PyObject * obj1 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self",(char *) "colour", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10671 {
10672 arg2 = &temp2;
10673 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10674 }
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 (arg1)->SetTextColour((wxColour const &)*arg2);
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 Py_INCREF(Py_None); resultobj = Py_None;
10683 return resultobj;
10684 fail:
10685 return NULL;
10686}
10687
10688
c32bde28 10689static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10690 PyObject *resultobj;
10691 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10692 wxColour *arg2 = 0 ;
10693 wxColour temp2 ;
10694 PyObject * obj0 = 0 ;
10695 PyObject * obj1 = 0 ;
10696 char *kwnames[] = {
10697 (char *) "self",(char *) "colour", NULL
10698 };
10699
10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10703 {
10704 arg2 = &temp2;
10705 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10706 }
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 Py_INCREF(Py_None); resultobj = Py_None;
10715 return resultobj;
10716 fail:
10717 return NULL;
10718}
10719
10720
c32bde28 10721static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10722 PyObject *resultobj;
10723 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10724 int arg2 ;
10725 PyObject * obj0 = 0 ;
8edf1c75 10726 PyObject * obj1 = 0 ;
44127b65
RD
10727 char *kwnames[] = {
10728 (char *) "self",(char *) "mode", NULL
10729 };
10730
8edf1c75 10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10734 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 10735 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 (arg1)->SetBackgroundMode(arg2);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 Py_INCREF(Py_None); resultobj = Py_None;
10744 return resultobj;
10745 fail:
10746 return NULL;
10747}
10748
10749
c32bde28 10750static PyObject * PseudoMetaFile_swigregister(PyObject *, PyObject *args) {
44127b65
RD
10751 PyObject *obj;
10752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10753 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10754 Py_INCREF(obj);
10755 return Py_BuildValue((char *)"");
10756}
c32bde28 10757static PyObject *_wrap_new_PyRectangleShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10758 PyObject *resultobj;
10759 double arg1 = (double) 0.0 ;
10760 double arg2 = (double) 0.0 ;
10761 wxPyRectangleShape *result;
8edf1c75
RD
10762 PyObject * obj0 = 0 ;
10763 PyObject * obj1 = 0 ;
44127b65
RD
10764 char *kwnames[] = {
10765 (char *) "width",(char *) "height", NULL
10766 };
10767
8edf1c75
RD
10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10769 if (obj0) {
c32bde28 10770 arg1 = (double)SWIG_As_double(obj0);
2f4c0a16 10771 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10772 }
10773 if (obj1) {
c32bde28 10774 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 10775 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10776 }
44127b65
RD
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
2f4c0a16 10784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyRectangleShape, 1);
44127b65
RD
10785 return resultobj;
10786 fail:
10787 return NULL;
10788}
10789
10790
c32bde28 10791static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10792 PyObject *resultobj;
10793 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10794 PyObject *arg2 = (PyObject *) 0 ;
10795 PyObject *arg3 = (PyObject *) 0 ;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 PyObject * obj2 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self",(char *) "self",(char *) "_class", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10806 arg2 = obj1;
10807 arg3 = obj2;
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 (arg1)->_setCallbackInfo(arg2,arg3);
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 Py_INCREF(Py_None); resultobj = Py_None;
10816 return resultobj;
10817 fail:
10818 return NULL;
10819}
10820
10821
c32bde28 10822static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10823 PyObject *resultobj;
10824 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10825 double arg2 ;
10826 PyObject * obj0 = 0 ;
8edf1c75 10827 PyObject * obj1 = 0 ;
44127b65
RD
10828 char *kwnames[] = {
10829 (char *) "self",(char *) "radius", NULL
10830 };
10831
8edf1c75 10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10835 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 10836 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 (arg1)->SetCornerRadius(arg2);
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 Py_INCREF(Py_None); resultobj = Py_None;
10845 return resultobj;
10846 fail:
10847 return NULL;
10848}
10849
10850
c32bde28 10851static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
10852 PyObject *resultobj;
10853 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10854 double result;
10855 PyObject * obj0 = 0 ;
10856 char *kwnames[] = {
10857 (char *) "self", NULL
10858 };
10859
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 result = (double)(arg1)->GetCornerRadius();
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
c32bde28 10870 resultobj = SWIG_From_double((double)result);
7a0a63ae
RD
10871 return resultobj;
10872 fail:
10873 return NULL;
10874}
10875
10876
c32bde28 10877static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10878 PyObject *resultobj;
10879 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10880 PyObject * obj0 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 (arg1)->base_OnDelete();
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 Py_INCREF(Py_None); resultobj = Py_None;
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
c32bde28 10902static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10903 PyObject *resultobj;
10904 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10905 wxDC *arg2 = 0 ;
10906 PyObject * obj0 = 0 ;
10907 PyObject * obj1 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self",(char *) "dc", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10916 SWIG_POINTER_EXCEPTION | 0)) == -1)
10917 SWIG_fail;
44127b65 10918 if (arg2 == NULL) {
2f4c0a16
RD
10919 PyErr_SetString(PyExc_TypeError,"null reference");
10920 SWIG_fail;
44127b65
RD
10921 }
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 (arg1)->base_OnDraw(*arg2);
10925
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 Py_INCREF(Py_None); resultobj = Py_None;
10930 return resultobj;
10931 fail:
10932 return NULL;
10933}
10934
10935
c32bde28 10936static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10937 PyObject *resultobj;
10938 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10939 wxDC *arg2 = 0 ;
10940 PyObject * obj0 = 0 ;
10941 PyObject * obj1 = 0 ;
10942 char *kwnames[] = {
10943 (char *) "self",(char *) "dc", NULL
10944 };
10945
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10950 SWIG_POINTER_EXCEPTION | 0)) == -1)
10951 SWIG_fail;
44127b65 10952 if (arg2 == NULL) {
2f4c0a16
RD
10953 PyErr_SetString(PyExc_TypeError,"null reference");
10954 SWIG_fail;
44127b65
RD
10955 }
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 (arg1)->base_OnDrawContents(*arg2);
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 Py_INCREF(Py_None); resultobj = Py_None;
10964 return resultobj;
10965 fail:
10966 return NULL;
10967}
10968
10969
c32bde28 10970static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10971 PyObject *resultobj;
10972 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10973 wxDC *arg2 = 0 ;
10974 bool arg3 = (bool) FALSE ;
10975 PyObject * obj0 = 0 ;
10976 PyObject * obj1 = 0 ;
10977 PyObject * obj2 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self",(char *) "dc",(char *) "erase", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10986 SWIG_POINTER_EXCEPTION | 0)) == -1)
10987 SWIG_fail;
44127b65 10988 if (arg2 == NULL) {
2f4c0a16
RD
10989 PyErr_SetString(PyExc_TypeError,"null reference");
10990 SWIG_fail;
44127b65
RD
10991 }
10992 if (obj2) {
c32bde28 10993 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 10994 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10995 }
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 (arg1)->base_OnDrawBranches(*arg2,arg3);
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 Py_INCREF(Py_None); resultobj = Py_None;
11004 return resultobj;
11005 fail:
11006 return NULL;
11007}
11008
11009
c32bde28 11010static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11011 PyObject *resultobj;
11012 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11013 wxDC *arg2 = 0 ;
11014 PyObject * obj0 = 0 ;
11015 PyObject * obj1 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self",(char *) "dc", NULL
11018 };
11019
11020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1)
11025 SWIG_fail;
44127b65 11026 if (arg2 == NULL) {
2f4c0a16
RD
11027 PyErr_SetString(PyExc_TypeError,"null reference");
11028 SWIG_fail;
44127b65
RD
11029 }
11030 {
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 (arg1)->base_OnMoveLinks(*arg2);
11033
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 Py_INCREF(Py_None); resultobj = Py_None;
11038 return resultobj;
11039 fail:
11040 return NULL;
11041}
11042
11043
c32bde28 11044static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11045 PyObject *resultobj;
11046 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11047 wxDC *arg2 = 0 ;
11048 PyObject * obj0 = 0 ;
11049 PyObject * obj1 = 0 ;
11050 char *kwnames[] = {
11051 (char *) "self",(char *) "dc", NULL
11052 };
11053
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11058 SWIG_POINTER_EXCEPTION | 0)) == -1)
11059 SWIG_fail;
44127b65 11060 if (arg2 == NULL) {
2f4c0a16
RD
11061 PyErr_SetString(PyExc_TypeError,"null reference");
11062 SWIG_fail;
44127b65
RD
11063 }
11064 {
11065 PyThreadState* __tstate = wxPyBeginAllowThreads();
11066 (arg1)->base_OnErase(*arg2);
11067
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 Py_INCREF(Py_None); resultobj = Py_None;
11072 return resultobj;
11073 fail:
11074 return NULL;
11075}
11076
11077
c32bde28 11078static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11079 PyObject *resultobj;
11080 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11081 wxDC *arg2 = 0 ;
11082 PyObject * obj0 = 0 ;
11083 PyObject * obj1 = 0 ;
11084 char *kwnames[] = {
11085 (char *) "self",(char *) "dc", NULL
11086 };
11087
11088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11092 SWIG_POINTER_EXCEPTION | 0)) == -1)
11093 SWIG_fail;
44127b65 11094 if (arg2 == NULL) {
2f4c0a16
RD
11095 PyErr_SetString(PyExc_TypeError,"null reference");
11096 SWIG_fail;
44127b65
RD
11097 }
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 (arg1)->base_OnEraseContents(*arg2);
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 Py_INCREF(Py_None); resultobj = Py_None;
11106 return resultobj;
11107 fail:
11108 return NULL;
11109}
11110
11111
c32bde28 11112static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11113 PyObject *resultobj;
11114 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11115 wxDC *arg2 = 0 ;
11116 PyObject * obj0 = 0 ;
11117 PyObject * obj1 = 0 ;
11118 char *kwnames[] = {
11119 (char *) "self",(char *) "dc", NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11126 SWIG_POINTER_EXCEPTION | 0)) == -1)
11127 SWIG_fail;
44127b65 11128 if (arg2 == NULL) {
2f4c0a16
RD
11129 PyErr_SetString(PyExc_TypeError,"null reference");
11130 SWIG_fail;
44127b65
RD
11131 }
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 (arg1)->base_OnHighlight(*arg2);
11135
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 Py_INCREF(Py_None); resultobj = Py_None;
11140 return resultobj;
11141 fail:
11142 return NULL;
11143}
11144
11145
c32bde28 11146static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11147 PyObject *resultobj;
11148 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11149 double arg2 ;
11150 double arg3 ;
11151 int arg4 = (int) 0 ;
11152 int arg5 = (int) 0 ;
11153 PyObject * obj0 = 0 ;
8edf1c75
RD
11154 PyObject * obj1 = 0 ;
11155 PyObject * obj2 = 0 ;
11156 PyObject * obj3 = 0 ;
11157 PyObject * obj4 = 0 ;
44127b65
RD
11158 char *kwnames[] = {
11159 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11160 };
11161
8edf1c75 11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11165 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 11166 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11167 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11168 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11169 if (obj3) {
c32bde28 11170 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 11171 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11172 }
11173 if (obj4) {
c32bde28 11174 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11175 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11176 }
44127b65
RD
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 Py_INCREF(Py_None); resultobj = Py_None;
11185 return resultobj;
11186 fail:
11187 return NULL;
11188}
11189
11190
c32bde28 11191static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11192 PyObject *resultobj;
11193 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11194 double arg2 ;
11195 double arg3 ;
11196 int arg4 = (int) 0 ;
11197 int arg5 = (int) 0 ;
11198 PyObject * obj0 = 0 ;
8edf1c75
RD
11199 PyObject * obj1 = 0 ;
11200 PyObject * obj2 = 0 ;
11201 PyObject * obj3 = 0 ;
11202 PyObject * obj4 = 0 ;
44127b65
RD
11203 char *kwnames[] = {
11204 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11205 };
11206
8edf1c75 11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11210 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 11211 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11212 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11213 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11214 if (obj3) {
c32bde28 11215 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 11216 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11217 }
11218 if (obj4) {
c32bde28 11219 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11220 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11221 }
44127b65
RD
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 Py_INCREF(Py_None); resultobj = Py_None;
11230 return resultobj;
11231 fail:
11232 return NULL;
11233}
11234
11235
c32bde28 11236static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11237 PyObject *resultobj;
11238 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11239 double arg2 ;
11240 double arg3 ;
11241 int arg4 = (int) 0 ;
11242 int arg5 = (int) 0 ;
11243 PyObject * obj0 = 0 ;
8edf1c75
RD
11244 PyObject * obj1 = 0 ;
11245 PyObject * obj2 = 0 ;
11246 PyObject * obj3 = 0 ;
11247 PyObject * obj4 = 0 ;
44127b65
RD
11248 char *kwnames[] = {
11249 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11250 };
11251
8edf1c75 11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11255 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 11256 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11257 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11258 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11259 if (obj3) {
c32bde28 11260 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 11261 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11262 }
11263 if (obj4) {
c32bde28 11264 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11265 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11266 }
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 Py_INCREF(Py_None); resultobj = Py_None;
11275 return resultobj;
11276 fail:
11277 return NULL;
11278}
11279
11280
c32bde28 11281static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
11282 PyObject *resultobj;
11283 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
44127b65
RD
11284 double arg2 ;
11285 double arg3 ;
11286 PyObject * obj0 = 0 ;
8edf1c75
RD
11287 PyObject * obj1 = 0 ;
11288 PyObject * obj2 = 0 ;
44127b65
RD
11289 char *kwnames[] = {
11290 (char *) "self",(char *) "x",(char *) "y", NULL
11291 };
11292
8edf1c75 11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11296 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 11297 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11298 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11299 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 (arg1)->base_OnSize(arg2,arg3);
11303
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 Py_INCREF(Py_None); resultobj = Py_None;
11308 return resultobj;
11309 fail:
11310 return NULL;
11311}
11312
11313
c32bde28 11314static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11315 PyObject *resultobj;
11316 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11317 wxDC *arg2 = 0 ;
11318 double arg3 ;
11319 double arg4 ;
11320 double arg5 ;
11321 double arg6 ;
ae8162c8 11322 bool arg7 = (bool) true ;
44127b65
RD
11323 bool result;
11324 PyObject * obj0 = 0 ;
11325 PyObject * obj1 = 0 ;
8edf1c75
RD
11326 PyObject * obj2 = 0 ;
11327 PyObject * obj3 = 0 ;
11328 PyObject * obj4 = 0 ;
11329 PyObject * obj5 = 0 ;
44127b65
RD
11330 PyObject * obj6 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11333 };
11334
8edf1c75 11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11339 SWIG_POINTER_EXCEPTION | 0)) == -1)
11340 SWIG_fail;
44127b65 11341 if (arg2 == NULL) {
2f4c0a16
RD
11342 PyErr_SetString(PyExc_TypeError,"null reference");
11343 SWIG_fail;
11344 }
c32bde28 11345 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11346 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11347 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 11348 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11349 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 11350 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11351 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 11352 if (PyErr_Occurred()) SWIG_fail;
44127b65 11353 if (obj6) {
c32bde28 11354 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 11355 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11356 }
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11360
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
4f89f6a3
RD
11364 {
11365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11366 }
44127b65
RD
11367 return resultobj;
11368 fail:
11369 return NULL;
11370}
11371
11372
c32bde28 11373static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11374 PyObject *resultobj;
11375 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11376 wxDC *arg2 = 0 ;
11377 double arg3 ;
11378 double arg4 ;
11379 double arg5 ;
11380 double arg6 ;
ae8162c8 11381 bool arg7 = (bool) true ;
44127b65
RD
11382 PyObject * obj0 = 0 ;
11383 PyObject * obj1 = 0 ;
8edf1c75
RD
11384 PyObject * obj2 = 0 ;
11385 PyObject * obj3 = 0 ;
11386 PyObject * obj4 = 0 ;
11387 PyObject * obj5 = 0 ;
44127b65
RD
11388 PyObject * obj6 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11391 };
11392
8edf1c75 11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11397 SWIG_POINTER_EXCEPTION | 0)) == -1)
11398 SWIG_fail;
44127b65 11399 if (arg2 == NULL) {
2f4c0a16
RD
11400 PyErr_SetString(PyExc_TypeError,"null reference");
11401 SWIG_fail;
11402 }
c32bde28 11403 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11404 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11405 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 11406 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11407 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 11408 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11409 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 11410 if (PyErr_Occurred()) SWIG_fail;
44127b65 11411 if (obj6) {
c32bde28 11412 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 11413 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11414 }
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 Py_INCREF(Py_None); resultobj = Py_None;
11423 return resultobj;
11424 fail:
11425 return NULL;
11426}
11427
11428
c32bde28 11429static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11430 PyObject *resultobj;
11431 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11432 bool arg2 ;
11433 double arg3 ;
11434 double arg4 ;
11435 int arg5 = (int) 0 ;
11436 int arg6 = (int) 0 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
8edf1c75
RD
11439 PyObject * obj2 = 0 ;
11440 PyObject * obj3 = 0 ;
11441 PyObject * obj4 = 0 ;
11442 PyObject * obj5 = 0 ;
44127b65
RD
11443 char *kwnames[] = {
11444 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11445 };
11446
8edf1c75 11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11450 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 11451 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11452 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11453 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11454 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 11455 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11456 if (obj4) {
c32bde28 11457 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11458 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11459 }
11460 if (obj5) {
c32bde28 11461 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 11462 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11463 }
44127b65
RD
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 Py_INCREF(Py_None); resultobj = Py_None;
11472 return resultobj;
11473 fail:
11474 return NULL;
11475}
11476
11477
c32bde28 11478static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11479 PyObject *resultobj;
11480 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11481 double arg2 ;
11482 double arg3 ;
11483 int arg4 = (int) 0 ;
11484 int arg5 = (int) 0 ;
11485 PyObject * obj0 = 0 ;
8edf1c75
RD
11486 PyObject * obj1 = 0 ;
11487 PyObject * obj2 = 0 ;
11488 PyObject * obj3 = 0 ;
11489 PyObject * obj4 = 0 ;
44127b65
RD
11490 char *kwnames[] = {
11491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11492 };
11493
8edf1c75 11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11497 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 11498 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11499 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11500 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11501 if (obj3) {
c32bde28 11502 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 11503 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11504 }
11505 if (obj4) {
c32bde28 11506 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11507 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11508 }
44127b65
RD
11509 {
11510 PyThreadState* __tstate = wxPyBeginAllowThreads();
11511 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11512
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 Py_INCREF(Py_None); resultobj = Py_None;
11517 return resultobj;
11518 fail:
11519 return NULL;
11520}
11521
11522
c32bde28 11523static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11524 PyObject *resultobj;
11525 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11526 double arg2 ;
11527 double arg3 ;
11528 int arg4 = (int) 0 ;
11529 int arg5 = (int) 0 ;
11530 PyObject * obj0 = 0 ;
8edf1c75
RD
11531 PyObject * obj1 = 0 ;
11532 PyObject * obj2 = 0 ;
11533 PyObject * obj3 = 0 ;
11534 PyObject * obj4 = 0 ;
44127b65
RD
11535 char *kwnames[] = {
11536 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11537 };
11538
8edf1c75 11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11542 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 11543 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11544 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11545 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11546 if (obj3) {
c32bde28 11547 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 11548 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11549 }
11550 if (obj4) {
c32bde28 11551 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11552 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11553 }
44127b65
RD
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 Py_INCREF(Py_None); resultobj = Py_None;
11562 return resultobj;
11563 fail:
11564 return NULL;
11565}
11566
11567
c32bde28 11568static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11569 PyObject *resultobj;
11570 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11571 bool arg2 ;
11572 double arg3 ;
11573 double arg4 ;
11574 int arg5 = (int) 0 ;
11575 int arg6 = (int) 0 ;
11576 PyObject * obj0 = 0 ;
11577 PyObject * obj1 = 0 ;
8edf1c75
RD
11578 PyObject * obj2 = 0 ;
11579 PyObject * obj3 = 0 ;
11580 PyObject * obj4 = 0 ;
11581 PyObject * obj5 = 0 ;
44127b65
RD
11582 char *kwnames[] = {
11583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11584 };
11585
8edf1c75 11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11589 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 11590 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11591 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11592 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11593 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 11594 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11595 if (obj4) {
c32bde28 11596 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11597 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11598 }
11599 if (obj5) {
c32bde28 11600 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 11601 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11602 }
44127b65
RD
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 Py_INCREF(Py_None); resultobj = Py_None;
11611 return resultobj;
11612 fail:
11613 return NULL;
11614}
11615
11616
c32bde28 11617static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11618 PyObject *resultobj;
11619 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11620 double arg2 ;
11621 double arg3 ;
11622 int arg4 = (int) 0 ;
11623 int arg5 = (int) 0 ;
11624 PyObject * obj0 = 0 ;
8edf1c75
RD
11625 PyObject * obj1 = 0 ;
11626 PyObject * obj2 = 0 ;
11627 PyObject * obj3 = 0 ;
11628 PyObject * obj4 = 0 ;
44127b65
RD
11629 char *kwnames[] = {
11630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11631 };
11632
8edf1c75 11633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11636 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 11637 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11638 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11639 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11640 if (obj3) {
c32bde28 11641 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 11642 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11643 }
11644 if (obj4) {
c32bde28 11645 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11646 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11647 }
44127b65
RD
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11651
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 Py_INCREF(Py_None); resultobj = Py_None;
11656 return resultobj;
11657 fail:
11658 return NULL;
11659}
11660
11661
c32bde28 11662static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11663 PyObject *resultobj;
11664 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11665 double arg2 ;
11666 double arg3 ;
11667 int arg4 = (int) 0 ;
11668 int arg5 = (int) 0 ;
11669 PyObject * obj0 = 0 ;
8edf1c75
RD
11670 PyObject * obj1 = 0 ;
11671 PyObject * obj2 = 0 ;
11672 PyObject * obj3 = 0 ;
11673 PyObject * obj4 = 0 ;
44127b65
RD
11674 char *kwnames[] = {
11675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11676 };
11677
8edf1c75 11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11681 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 11682 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11683 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11684 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11685 if (obj3) {
c32bde28 11686 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 11687 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11688 }
11689 if (obj4) {
c32bde28 11690 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11691 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11692 }
44127b65
RD
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 Py_INCREF(Py_None); resultobj = Py_None;
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
c32bde28 11707static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11708 PyObject *resultobj;
11709 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11710 wxDC *arg2 = 0 ;
11711 double arg3 ;
11712 double arg4 ;
11713 double arg5 ;
11714 double arg6 ;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
8edf1c75
RD
11717 PyObject * obj2 = 0 ;
11718 PyObject * obj3 = 0 ;
11719 PyObject * obj4 = 0 ;
11720 PyObject * obj5 = 0 ;
44127b65
RD
11721 char *kwnames[] = {
11722 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11723 };
11724
8edf1c75 11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11729 SWIG_POINTER_EXCEPTION | 0)) == -1)
11730 SWIG_fail;
44127b65 11731 if (arg2 == NULL) {
2f4c0a16
RD
11732 PyErr_SetString(PyExc_TypeError,"null reference");
11733 SWIG_fail;
8edf1c75 11734 }
c32bde28 11735 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11736 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11737 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 11738 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11739 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 11740 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11741 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 11742 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 Py_INCREF(Py_None); resultobj = Py_None;
11751 return resultobj;
11752 fail:
11753 return NULL;
11754}
11755
11756
c32bde28 11757static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11758 PyObject *resultobj;
11759 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11760 wxDC *arg2 = 0 ;
11761 PyObject * obj0 = 0 ;
11762 PyObject * obj1 = 0 ;
11763 char *kwnames[] = {
11764 (char *) "self",(char *) "dc", NULL
11765 };
11766
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11771 SWIG_POINTER_EXCEPTION | 0)) == -1)
11772 SWIG_fail;
44127b65 11773 if (arg2 == NULL) {
2f4c0a16
RD
11774 PyErr_SetString(PyExc_TypeError,"null reference");
11775 SWIG_fail;
44127b65
RD
11776 }
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 (arg1)->base_OnDrawControlPoints(*arg2);
11780
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 Py_INCREF(Py_None); resultobj = Py_None;
11785 return resultobj;
11786 fail:
11787 return NULL;
11788}
11789
11790
c32bde28 11791static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11792 PyObject *resultobj;
11793 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11794 wxDC *arg2 = 0 ;
11795 PyObject * obj0 = 0 ;
11796 PyObject * obj1 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self",(char *) "dc", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11805 SWIG_POINTER_EXCEPTION | 0)) == -1)
11806 SWIG_fail;
44127b65 11807 if (arg2 == NULL) {
2f4c0a16
RD
11808 PyErr_SetString(PyExc_TypeError,"null reference");
11809 SWIG_fail;
44127b65
RD
11810 }
11811 {
11812 PyThreadState* __tstate = wxPyBeginAllowThreads();
11813 (arg1)->base_OnEraseControlPoints(*arg2);
11814
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 Py_INCREF(Py_None); resultobj = Py_None;
11819 return resultobj;
11820 fail:
11821 return NULL;
11822}
11823
11824
c32bde28 11825static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11826 PyObject *resultobj;
11827 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11828 wxDC *arg2 = 0 ;
ae8162c8 11829 bool arg3 = (bool) true ;
44127b65
RD
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj1 = 0 ;
11832 PyObject * obj2 = 0 ;
11833 char *kwnames[] = {
11834 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11835 };
11836
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11841 SWIG_POINTER_EXCEPTION | 0)) == -1)
11842 SWIG_fail;
44127b65 11843 if (arg2 == NULL) {
2f4c0a16
RD
11844 PyErr_SetString(PyExc_TypeError,"null reference");
11845 SWIG_fail;
44127b65
RD
11846 }
11847 if (obj2) {
c32bde28 11848 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 11849 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->base_OnMoveLink(*arg2,arg3);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 Py_INCREF(Py_None); resultobj = Py_None;
11859 return resultobj;
11860 fail:
11861 return NULL;
11862}
11863
11864
c32bde28 11865static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11866 PyObject *resultobj;
11867 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11868 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11869 bool arg3 ;
11870 double arg4 ;
11871 double arg5 ;
11872 int arg6 = (int) 0 ;
11873 int arg7 = (int) 0 ;
11874 PyObject * obj0 = 0 ;
11875 PyObject * obj1 = 0 ;
11876 PyObject * obj2 = 0 ;
8edf1c75
RD
11877 PyObject * obj3 = 0 ;
11878 PyObject * obj4 = 0 ;
11879 PyObject * obj5 = 0 ;
11880 PyObject * obj6 = 0 ;
44127b65
RD
11881 char *kwnames[] = {
11882 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11883 };
11884
8edf1c75 11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11890 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 11891 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11892 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 11893 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11894 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 11895 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11896 if (obj5) {
c32bde28 11897 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 11898 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11899 }
11900 if (obj6) {
c32bde28 11901 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 11902 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11903 }
44127b65
RD
11904 {
11905 PyThreadState* __tstate = wxPyBeginAllowThreads();
11906 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11907
11908 wxPyEndAllowThreads(__tstate);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 }
11911 Py_INCREF(Py_None); resultobj = Py_None;
11912 return resultobj;
11913 fail:
11914 return NULL;
11915}
11916
11917
c32bde28 11918static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11919 PyObject *resultobj;
11920 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11921 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11922 double arg3 ;
11923 double arg4 ;
11924 int arg5 = (int) 0 ;
11925 int arg6 = (int) 0 ;
11926 PyObject * obj0 = 0 ;
11927 PyObject * obj1 = 0 ;
8edf1c75
RD
11928 PyObject * obj2 = 0 ;
11929 PyObject * obj3 = 0 ;
11930 PyObject * obj4 = 0 ;
11931 PyObject * obj5 = 0 ;
44127b65
RD
11932 char *kwnames[] = {
11933 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11934 };
11935
8edf1c75 11936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11941 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11942 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11943 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 11944 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11945 if (obj4) {
c32bde28 11946 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11947 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11948 }
11949 if (obj5) {
c32bde28 11950 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 11951 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11952 }
44127b65
RD
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 Py_INCREF(Py_None); resultobj = Py_None;
11961 return resultobj;
11962 fail:
11963 return NULL;
11964}
11965
11966
c32bde28 11967static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11968 PyObject *resultobj;
11969 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11970 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11971 double arg3 ;
11972 double arg4 ;
11973 int arg5 = (int) 0 ;
11974 int arg6 = (int) 0 ;
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
8edf1c75
RD
11977 PyObject * obj2 = 0 ;
11978 PyObject * obj3 = 0 ;
11979 PyObject * obj4 = 0 ;
11980 PyObject * obj5 = 0 ;
44127b65
RD
11981 char *kwnames[] = {
11982 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11983 };
11984
8edf1c75 11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11990 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 11991 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11992 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 11993 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11994 if (obj4) {
c32bde28 11995 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 11996 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11997 }
11998 if (obj5) {
c32bde28 11999 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 12000 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12001 }
44127b65
RD
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 Py_INCREF(Py_None); resultobj = Py_None;
12010 return resultobj;
12011 fail:
12012 return NULL;
12013}
12014
12015
c32bde28 12016static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12017 PyObject *resultobj;
12018 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12019 double arg2 ;
12020 double arg3 ;
12021 PyObject * obj0 = 0 ;
8edf1c75
RD
12022 PyObject * obj1 = 0 ;
12023 PyObject * obj2 = 0 ;
44127b65
RD
12024 char *kwnames[] = {
12025 (char *) "self",(char *) "w",(char *) "h", NULL
12026 };
12027
8edf1c75 12028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
12030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12031 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12032 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12033 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12034 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12035 {
12036 PyThreadState* __tstate = wxPyBeginAllowThreads();
12037 (arg1)->base_OnBeginSize(arg2,arg3);
12038
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 Py_INCREF(Py_None); resultobj = Py_None;
12043 return resultobj;
12044 fail:
12045 return NULL;
12046}
12047
12048
c32bde28 12049static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12050 PyObject *resultobj;
12051 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12052 double arg2 ;
12053 double arg3 ;
12054 PyObject * obj0 = 0 ;
8edf1c75
RD
12055 PyObject * obj1 = 0 ;
12056 PyObject * obj2 = 0 ;
44127b65
RD
12057 char *kwnames[] = {
12058 (char *) "self",(char *) "w",(char *) "h", NULL
12059 };
12060
8edf1c75 12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
12063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12064 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12065 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12066 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12067 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12068 {
12069 PyThreadState* __tstate = wxPyBeginAllowThreads();
12070 (arg1)->base_OnEndSize(arg2,arg3);
12071
12072 wxPyEndAllowThreads(__tstate);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
12075 Py_INCREF(Py_None); resultobj = Py_None;
12076 return resultobj;
12077 fail:
12078 return NULL;
12079}
12080
12081
c32bde28 12082static PyObject * PyRectangleShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
12083 PyObject *obj;
12084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12085 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
12086 Py_INCREF(obj);
12087 return Py_BuildValue((char *)"");
12088}
c32bde28 12089static PyObject *_wrap_new_PyControlPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12090 PyObject *resultobj;
12091 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
12092 wxPyShape *arg2 = (wxPyShape *) NULL ;
12093 double arg3 = (double) 0.0 ;
12094 double arg4 = (double) 0.0 ;
12095 double arg5 = (double) 0.0 ;
12096 int arg6 = (int) 0 ;
12097 wxPyControlPoint *result;
12098 PyObject * obj0 = 0 ;
12099 PyObject * obj1 = 0 ;
8edf1c75
RD
12100 PyObject * obj2 = 0 ;
12101 PyObject * obj3 = 0 ;
12102 PyObject * obj4 = 0 ;
12103 PyObject * obj5 = 0 ;
44127b65
RD
12104 char *kwnames[] = {
12105 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12106 };
12107
8edf1c75 12108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 12109 if (obj0) {
2f4c0a16
RD
12110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
12111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12112 }
12113 if (obj1) {
2f4c0a16
RD
12114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
12115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 12116 }
8edf1c75 12117 if (obj2) {
c32bde28 12118 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12119 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12120 }
12121 if (obj3) {
c32bde28 12122 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 12123 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12124 }
12125 if (obj4) {
c32bde28 12126 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 12127 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12128 }
12129 if (obj5) {
c32bde28 12130 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 12131 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12132 }
44127b65
RD
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
2f4c0a16 12140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControlPoint, 1);
44127b65
RD
12141 return resultobj;
12142 fail:
12143 return NULL;
12144}
12145
12146
c32bde28 12147static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12148 PyObject *resultobj;
12149 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12150 PyObject *arg2 = (PyObject *) 0 ;
12151 PyObject *arg3 = (PyObject *) 0 ;
12152 PyObject * obj0 = 0 ;
12153 PyObject * obj1 = 0 ;
12154 PyObject * obj2 = 0 ;
12155 char *kwnames[] = {
12156 (char *) "self",(char *) "self",(char *) "_class", NULL
12157 };
12158
12159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12162 arg2 = obj1;
12163 arg3 = obj2;
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 (arg1)->_setCallbackInfo(arg2,arg3);
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 Py_INCREF(Py_None); resultobj = Py_None;
12172 return resultobj;
12173 fail:
12174 return NULL;
12175}
12176
12177
c32bde28 12178static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12179 PyObject *resultobj;
12180 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12181 double arg2 ;
12182 PyObject * obj0 = 0 ;
8edf1c75 12183 PyObject * obj1 = 0 ;
44127b65
RD
12184 char *kwnames[] = {
12185 (char *) "self",(char *) "radius", NULL
12186 };
12187
8edf1c75 12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12191 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12192 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 (arg1)->SetCornerRadius(arg2);
12196
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 Py_INCREF(Py_None); resultobj = Py_None;
12201 return resultobj;
12202 fail:
12203 return NULL;
12204}
12205
12206
c32bde28 12207static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12208 PyObject *resultobj;
12209 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 (arg1)->base_OnDelete();
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 Py_INCREF(Py_None); resultobj = Py_None;
12226 return resultobj;
12227 fail:
12228 return NULL;
12229}
12230
12231
c32bde28 12232static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12233 PyObject *resultobj;
12234 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12235 wxDC *arg2 = 0 ;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "dc", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12245 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12246 SWIG_POINTER_EXCEPTION | 0)) == -1)
12247 SWIG_fail;
44127b65 12248 if (arg2 == NULL) {
2f4c0a16
RD
12249 PyErr_SetString(PyExc_TypeError,"null reference");
12250 SWIG_fail;
44127b65
RD
12251 }
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 (arg1)->base_OnDraw(*arg2);
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 Py_INCREF(Py_None); resultobj = Py_None;
12260 return resultobj;
12261 fail:
12262 return NULL;
12263}
12264
12265
c32bde28 12266static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12267 PyObject *resultobj;
12268 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12269 wxDC *arg2 = 0 ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self",(char *) "dc", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12280 SWIG_POINTER_EXCEPTION | 0)) == -1)
12281 SWIG_fail;
44127b65 12282 if (arg2 == NULL) {
2f4c0a16
RD
12283 PyErr_SetString(PyExc_TypeError,"null reference");
12284 SWIG_fail;
44127b65
RD
12285 }
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 (arg1)->base_OnDrawContents(*arg2);
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 Py_INCREF(Py_None); resultobj = Py_None;
12294 return resultobj;
12295 fail:
12296 return NULL;
12297}
12298
12299
c32bde28 12300static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12301 PyObject *resultobj;
12302 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12303 wxDC *arg2 = 0 ;
12304 bool arg3 = (bool) FALSE ;
12305 PyObject * obj0 = 0 ;
12306 PyObject * obj1 = 0 ;
12307 PyObject * obj2 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self",(char *) "dc",(char *) "erase", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12316 SWIG_POINTER_EXCEPTION | 0)) == -1)
12317 SWIG_fail;
44127b65 12318 if (arg2 == NULL) {
2f4c0a16
RD
12319 PyErr_SetString(PyExc_TypeError,"null reference");
12320 SWIG_fail;
44127b65
RD
12321 }
12322 if (obj2) {
c32bde28 12323 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 12324 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12325 }
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 (arg1)->base_OnDrawBranches(*arg2,arg3);
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 Py_INCREF(Py_None); resultobj = Py_None;
12334 return resultobj;
12335 fail:
12336 return NULL;
12337}
12338
12339
c32bde28 12340static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12341 PyObject *resultobj;
12342 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12343 wxDC *arg2 = 0 ;
12344 PyObject * obj0 = 0 ;
12345 PyObject * obj1 = 0 ;
12346 char *kwnames[] = {
12347 (char *) "self",(char *) "dc", NULL
12348 };
12349
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12354 SWIG_POINTER_EXCEPTION | 0)) == -1)
12355 SWIG_fail;
44127b65 12356 if (arg2 == NULL) {
2f4c0a16
RD
12357 PyErr_SetString(PyExc_TypeError,"null reference");
12358 SWIG_fail;
44127b65
RD
12359 }
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 (arg1)->base_OnMoveLinks(*arg2);
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 Py_INCREF(Py_None); resultobj = Py_None;
12368 return resultobj;
12369 fail:
12370 return NULL;
12371}
12372
12373
c32bde28 12374static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12375 PyObject *resultobj;
12376 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12377 wxDC *arg2 = 0 ;
12378 PyObject * obj0 = 0 ;
12379 PyObject * obj1 = 0 ;
12380 char *kwnames[] = {
12381 (char *) "self",(char *) "dc", NULL
12382 };
12383
12384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12388 SWIG_POINTER_EXCEPTION | 0)) == -1)
12389 SWIG_fail;
44127b65 12390 if (arg2 == NULL) {
2f4c0a16
RD
12391 PyErr_SetString(PyExc_TypeError,"null reference");
12392 SWIG_fail;
44127b65
RD
12393 }
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->base_OnErase(*arg2);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 Py_INCREF(Py_None); resultobj = Py_None;
12402 return resultobj;
12403 fail:
12404 return NULL;
12405}
12406
12407
c32bde28 12408static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12409 PyObject *resultobj;
12410 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12411 wxDC *arg2 = 0 ;
12412 PyObject * obj0 = 0 ;
12413 PyObject * obj1 = 0 ;
12414 char *kwnames[] = {
12415 (char *) "self",(char *) "dc", NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12422 SWIG_POINTER_EXCEPTION | 0)) == -1)
12423 SWIG_fail;
44127b65 12424 if (arg2 == NULL) {
2f4c0a16
RD
12425 PyErr_SetString(PyExc_TypeError,"null reference");
12426 SWIG_fail;
44127b65
RD
12427 }
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 (arg1)->base_OnEraseContents(*arg2);
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 Py_INCREF(Py_None); resultobj = Py_None;
12436 return resultobj;
12437 fail:
12438 return NULL;
12439}
12440
12441
c32bde28 12442static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12443 PyObject *resultobj;
12444 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12445 wxDC *arg2 = 0 ;
12446 PyObject * obj0 = 0 ;
12447 PyObject * obj1 = 0 ;
12448 char *kwnames[] = {
12449 (char *) "self",(char *) "dc", NULL
12450 };
12451
12452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12456 SWIG_POINTER_EXCEPTION | 0)) == -1)
12457 SWIG_fail;
44127b65 12458 if (arg2 == NULL) {
2f4c0a16
RD
12459 PyErr_SetString(PyExc_TypeError,"null reference");
12460 SWIG_fail;
44127b65
RD
12461 }
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 (arg1)->base_OnHighlight(*arg2);
12465
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 Py_INCREF(Py_None); resultobj = Py_None;
12470 return resultobj;
12471 fail:
12472 return NULL;
12473}
12474
12475
c32bde28 12476static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12477 PyObject *resultobj;
12478 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12479 double arg2 ;
12480 double arg3 ;
12481 int arg4 = (int) 0 ;
12482 int arg5 = (int) 0 ;
12483 PyObject * obj0 = 0 ;
8edf1c75
RD
12484 PyObject * obj1 = 0 ;
12485 PyObject * obj2 = 0 ;
12486 PyObject * obj3 = 0 ;
12487 PyObject * obj4 = 0 ;
44127b65
RD
12488 char *kwnames[] = {
12489 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12490 };
12491
8edf1c75 12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12495 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12496 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12497 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12498 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12499 if (obj3) {
c32bde28 12500 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 12501 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12502 }
12503 if (obj4) {
c32bde28 12504 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 12505 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12506 }
44127b65
RD
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12510
12511 wxPyEndAllowThreads(__tstate);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 Py_INCREF(Py_None); resultobj = Py_None;
12515 return resultobj;
12516 fail:
12517 return NULL;
12518}
12519
12520
c32bde28 12521static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12522 PyObject *resultobj;
12523 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12524 double arg2 ;
12525 double arg3 ;
12526 int arg4 = (int) 0 ;
12527 int arg5 = (int) 0 ;
12528 PyObject * obj0 = 0 ;
8edf1c75
RD
12529 PyObject * obj1 = 0 ;
12530 PyObject * obj2 = 0 ;
12531 PyObject * obj3 = 0 ;
12532 PyObject * obj4 = 0 ;
44127b65
RD
12533 char *kwnames[] = {
12534 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12535 };
12536
8edf1c75 12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12540 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12541 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12542 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12543 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12544 if (obj3) {
c32bde28 12545 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 12546 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12547 }
12548 if (obj4) {
c32bde28 12549 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 12550 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12551 }
44127b65
RD
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 Py_INCREF(Py_None); resultobj = Py_None;
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
c32bde28 12566static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12567 PyObject *resultobj;
12568 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12569 double arg2 ;
12570 double arg3 ;
12571 int arg4 = (int) 0 ;
12572 int arg5 = (int) 0 ;
12573 PyObject * obj0 = 0 ;
8edf1c75
RD
12574 PyObject * obj1 = 0 ;
12575 PyObject * obj2 = 0 ;
12576 PyObject * obj3 = 0 ;
12577 PyObject * obj4 = 0 ;
44127b65
RD
12578 char *kwnames[] = {
12579 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12580 };
12581
8edf1c75 12582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12585 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12586 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12587 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12588 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12589 if (obj3) {
c32bde28 12590 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 12591 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12592 }
12593 if (obj4) {
c32bde28 12594 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 12595 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12596 }
44127b65
RD
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 Py_INCREF(Py_None); resultobj = Py_None;
12605 return resultobj;
12606 fail:
12607 return NULL;
12608}
12609
12610
c32bde28 12611static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12612 PyObject *resultobj;
12613 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12614 double arg2 ;
12615 double arg3 ;
12616 PyObject * obj0 = 0 ;
8edf1c75
RD
12617 PyObject * obj1 = 0 ;
12618 PyObject * obj2 = 0 ;
44127b65
RD
12619 char *kwnames[] = {
12620 (char *) "self",(char *) "x",(char *) "y", NULL
12621 };
12622
8edf1c75 12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12626 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12627 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12628 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12629 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
12632 (arg1)->base_OnSize(arg2,arg3);
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 Py_INCREF(Py_None); resultobj = Py_None;
12638 return resultobj;
12639 fail:
12640 return NULL;
12641}
12642
12643
c32bde28 12644static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12645 PyObject *resultobj;
12646 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12647 wxDC *arg2 = 0 ;
12648 double arg3 ;
12649 double arg4 ;
12650 double arg5 ;
12651 double arg6 ;
ae8162c8 12652 bool arg7 = (bool) true ;
44127b65
RD
12653 bool result;
12654 PyObject * obj0 = 0 ;
12655 PyObject * obj1 = 0 ;
8edf1c75
RD
12656 PyObject * obj2 = 0 ;
12657 PyObject * obj3 = 0 ;
12658 PyObject * obj4 = 0 ;
12659 PyObject * obj5 = 0 ;
44127b65
RD
12660 PyObject * obj6 = 0 ;
12661 char *kwnames[] = {
12662 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12663 };
12664
8edf1c75 12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
12666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12669 SWIG_POINTER_EXCEPTION | 0)) == -1)
12670 SWIG_fail;
44127b65 12671 if (arg2 == NULL) {
2f4c0a16
RD
12672 PyErr_SetString(PyExc_TypeError,"null reference");
12673 SWIG_fail;
12674 }
c32bde28 12675 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12676 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12677 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 12678 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12679 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 12680 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12681 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 12682 if (PyErr_Occurred()) SWIG_fail;
44127b65 12683 if (obj6) {
c32bde28 12684 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 12685 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12686 }
12687 {
12688 PyThreadState* __tstate = wxPyBeginAllowThreads();
12689 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12690
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
4f89f6a3
RD
12694 {
12695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12696 }
44127b65
RD
12697 return resultobj;
12698 fail:
12699 return NULL;
12700}
12701
12702
c32bde28 12703static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12704 PyObject *resultobj;
12705 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12706 wxDC *arg2 = 0 ;
12707 double arg3 ;
12708 double arg4 ;
12709 double arg5 ;
12710 double arg6 ;
ae8162c8 12711 bool arg7 = (bool) true ;
44127b65
RD
12712 PyObject * obj0 = 0 ;
12713 PyObject * obj1 = 0 ;
8edf1c75
RD
12714 PyObject * obj2 = 0 ;
12715 PyObject * obj3 = 0 ;
12716 PyObject * obj4 = 0 ;
12717 PyObject * obj5 = 0 ;
44127b65
RD
12718 PyObject * obj6 = 0 ;
12719 char *kwnames[] = {
12720 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12721 };
12722
8edf1c75 12723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
12724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12727 SWIG_POINTER_EXCEPTION | 0)) == -1)
12728 SWIG_fail;
44127b65 12729 if (arg2 == NULL) {
2f4c0a16
RD
12730 PyErr_SetString(PyExc_TypeError,"null reference");
12731 SWIG_fail;
12732 }
c32bde28 12733 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12734 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12735 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 12736 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12737 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 12738 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12739 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 12740 if (PyErr_Occurred()) SWIG_fail;
44127b65 12741 if (obj6) {
c32bde28 12742 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 12743 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12744 }
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12748
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 Py_INCREF(Py_None); resultobj = Py_None;
12753 return resultobj;
12754 fail:
12755 return NULL;
12756}
12757
12758
c32bde28 12759static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12760 PyObject *resultobj;
12761 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12762 bool arg2 ;
12763 double arg3 ;
12764 double arg4 ;
12765 int arg5 = (int) 0 ;
12766 int arg6 = (int) 0 ;
12767 PyObject * obj0 = 0 ;
12768 PyObject * obj1 = 0 ;
8edf1c75
RD
12769 PyObject * obj2 = 0 ;
12770 PyObject * obj3 = 0 ;
12771 PyObject * obj4 = 0 ;
12772 PyObject * obj5 = 0 ;
44127b65
RD
12773 char *kwnames[] = {
12774 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12775 };
12776
8edf1c75 12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
12778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12780 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 12781 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12782 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12783 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12784 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 12785 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12786 if (obj4) {
c32bde28 12787 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 12788 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12789 }
12790 if (obj5) {
c32bde28 12791 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 12792 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12793 }
44127b65
RD
12794 {
12795 PyThreadState* __tstate = wxPyBeginAllowThreads();
12796 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12797
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 Py_INCREF(Py_None); resultobj = Py_None;
12802 return resultobj;
12803 fail:
12804 return NULL;
12805}
12806
12807
c32bde28 12808static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12809 PyObject *resultobj;
12810 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12811 double arg2 ;
12812 double arg3 ;
12813 int arg4 = (int) 0 ;
12814 int arg5 = (int) 0 ;
12815 PyObject * obj0 = 0 ;
8edf1c75
RD
12816 PyObject * obj1 = 0 ;
12817 PyObject * obj2 = 0 ;
12818 PyObject * obj3 = 0 ;
12819 PyObject * obj4 = 0 ;
44127b65
RD
12820 char *kwnames[] = {
12821 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12822 };
12823
8edf1c75 12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12827 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12828 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12829 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12830 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12831 if (obj3) {
c32bde28 12832 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 12833 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12834 }
12835 if (obj4) {
c32bde28 12836 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 12837 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12838 }
44127b65
RD
12839 {
12840 PyThreadState* __tstate = wxPyBeginAllowThreads();
12841 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12842
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 Py_INCREF(Py_None); resultobj = Py_None;
12847 return resultobj;
12848 fail:
12849 return NULL;
12850}
12851
12852
c32bde28 12853static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12854 PyObject *resultobj;
12855 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12856 double arg2 ;
12857 double arg3 ;
12858 int arg4 = (int) 0 ;
12859 int arg5 = (int) 0 ;
12860 PyObject * obj0 = 0 ;
8edf1c75
RD
12861 PyObject * obj1 = 0 ;
12862 PyObject * obj2 = 0 ;
12863 PyObject * obj3 = 0 ;
12864 PyObject * obj4 = 0 ;
44127b65
RD
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12867 };
12868
8edf1c75 12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12872 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12873 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12874 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12875 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12876 if (obj3) {
c32bde28 12877 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 12878 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12879 }
12880 if (obj4) {
c32bde28 12881 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 12882 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12883 }
44127b65
RD
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895}
12896
12897
c32bde28 12898static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12899 PyObject *resultobj;
12900 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12901 bool arg2 ;
12902 double arg3 ;
12903 double arg4 ;
12904 int arg5 = (int) 0 ;
12905 int arg6 = (int) 0 ;
12906 PyObject * obj0 = 0 ;
12907 PyObject * obj1 = 0 ;
8edf1c75
RD
12908 PyObject * obj2 = 0 ;
12909 PyObject * obj3 = 0 ;
12910 PyObject * obj4 = 0 ;
12911 PyObject * obj5 = 0 ;
44127b65
RD
12912 char *kwnames[] = {
12913 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12914 };
12915
8edf1c75 12916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
12917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12919 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 12920 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12921 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12922 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12923 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 12924 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12925 if (obj4) {
c32bde28 12926 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 12927 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12928 }
12929 if (obj5) {
c32bde28 12930 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 12931 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12932 }
44127b65
RD
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12936
12937 wxPyEndAllowThreads(__tstate);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 Py_INCREF(Py_None); resultobj = Py_None;
12941 return resultobj;
12942 fail:
12943 return NULL;
12944}
12945
12946
c32bde28 12947static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12948 PyObject *resultobj;
12949 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12950 double arg2 ;
12951 double arg3 ;
12952 int arg4 = (int) 0 ;
12953 int arg5 = (int) 0 ;
12954 PyObject * obj0 = 0 ;
8edf1c75
RD
12955 PyObject * obj1 = 0 ;
12956 PyObject * obj2 = 0 ;
12957 PyObject * obj3 = 0 ;
12958 PyObject * obj4 = 0 ;
44127b65
RD
12959 char *kwnames[] = {
12960 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12961 };
12962
8edf1c75 12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12966 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 12967 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12968 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 12969 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12970 if (obj3) {
c32bde28 12971 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 12972 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12973 }
12974 if (obj4) {
c32bde28 12975 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 12976 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12977 }
44127b65
RD
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 Py_INCREF(Py_None); resultobj = Py_None;
12986 return resultobj;
12987 fail:
12988 return NULL;
12989}
12990
12991
c32bde28 12992static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12993 PyObject *resultobj;
12994 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12995 double arg2 ;
12996 double arg3 ;
12997 int arg4 = (int) 0 ;
12998 int arg5 = (int) 0 ;
12999 PyObject * obj0 = 0 ;
8edf1c75
RD
13000 PyObject * obj1 = 0 ;
13001 PyObject * obj2 = 0 ;
13002 PyObject * obj3 = 0 ;
13003 PyObject * obj4 = 0 ;
44127b65
RD
13004 char *kwnames[] = {
13005 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13006 };
13007
8edf1c75 13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13011 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 13012 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13013 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13014 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13015 if (obj3) {
c32bde28 13016 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 13017 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13018 }
13019 if (obj4) {
c32bde28 13020 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 13021 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13022 }
44127b65
RD
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 Py_INCREF(Py_None); resultobj = Py_None;
13031 return resultobj;
13032 fail:
13033 return NULL;
13034}
13035
13036
c32bde28 13037static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13038 PyObject *resultobj;
13039 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13040 wxDC *arg2 = 0 ;
13041 double arg3 ;
13042 double arg4 ;
13043 double arg5 ;
13044 double arg6 ;
13045 PyObject * obj0 = 0 ;
13046 PyObject * obj1 = 0 ;
8edf1c75
RD
13047 PyObject * obj2 = 0 ;
13048 PyObject * obj3 = 0 ;
13049 PyObject * obj4 = 0 ;
13050 PyObject * obj5 = 0 ;
44127b65
RD
13051 char *kwnames[] = {
13052 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13053 };
13054
8edf1c75 13055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13059 SWIG_POINTER_EXCEPTION | 0)) == -1)
13060 SWIG_fail;
44127b65 13061 if (arg2 == NULL) {
2f4c0a16
RD
13062 PyErr_SetString(PyExc_TypeError,"null reference");
13063 SWIG_fail;
8edf1c75 13064 }
c32bde28 13065 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13066 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13067 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 13068 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13069 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 13070 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13071 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 13072 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13073 {
2f4c0a16
RD
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
13076
13077 wxPyEndAllowThreads(__tstate);
44127b65
RD
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084}
13085
13086
c32bde28 13087static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13088 PyObject *resultobj;
13089 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13090 wxDC *arg2 = 0 ;
13091 PyObject * obj0 = 0 ;
13092 PyObject * obj1 = 0 ;
13093 char *kwnames[] = {
13094 (char *) "self",(char *) "dc", NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13101 SWIG_POINTER_EXCEPTION | 0)) == -1)
13102 SWIG_fail;
44127b65 13103 if (arg2 == NULL) {
2f4c0a16
RD
13104 PyErr_SetString(PyExc_TypeError,"null reference");
13105 SWIG_fail;
44127b65
RD
13106 }
13107 {
13108 PyThreadState* __tstate = wxPyBeginAllowThreads();
13109 (arg1)->base_OnDrawControlPoints(*arg2);
13110
13111 wxPyEndAllowThreads(__tstate);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 }
13114 Py_INCREF(Py_None); resultobj = Py_None;
13115 return resultobj;
13116 fail:
13117 return NULL;
13118}
13119
13120
c32bde28 13121static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13122 PyObject *resultobj;
13123 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13124 wxDC *arg2 = 0 ;
13125 PyObject * obj0 = 0 ;
13126 PyObject * obj1 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self",(char *) "dc", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13135 SWIG_POINTER_EXCEPTION | 0)) == -1)
13136 SWIG_fail;
44127b65 13137 if (arg2 == NULL) {
2f4c0a16
RD
13138 PyErr_SetString(PyExc_TypeError,"null reference");
13139 SWIG_fail;
44127b65
RD
13140 }
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 (arg1)->base_OnEraseControlPoints(*arg2);
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 Py_INCREF(Py_None); resultobj = Py_None;
13149 return resultobj;
13150 fail:
13151 return NULL;
13152}
13153
13154
c32bde28 13155static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13156 PyObject *resultobj;
13157 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13158 wxDC *arg2 = 0 ;
ae8162c8 13159 bool arg3 = (bool) true ;
44127b65
RD
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 PyObject * obj2 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13171 SWIG_POINTER_EXCEPTION | 0)) == -1)
13172 SWIG_fail;
44127b65 13173 if (arg2 == NULL) {
2f4c0a16
RD
13174 PyErr_SetString(PyExc_TypeError,"null reference");
13175 SWIG_fail;
44127b65
RD
13176 }
13177 if (obj2) {
c32bde28 13178 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 13179 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13180 }
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 (arg1)->base_OnMoveLink(*arg2,arg3);
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 Py_INCREF(Py_None); resultobj = Py_None;
13189 return resultobj;
13190 fail:
13191 return NULL;
13192}
13193
13194
c32bde28 13195static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13196 PyObject *resultobj;
13197 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13198 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13199 bool arg3 ;
13200 double arg4 ;
13201 double arg5 ;
13202 int arg6 = (int) 0 ;
13203 int arg7 = (int) 0 ;
13204 PyObject * obj0 = 0 ;
13205 PyObject * obj1 = 0 ;
13206 PyObject * obj2 = 0 ;
8edf1c75
RD
13207 PyObject * obj3 = 0 ;
13208 PyObject * obj4 = 0 ;
13209 PyObject * obj5 = 0 ;
13210 PyObject * obj6 = 0 ;
44127b65
RD
13211 char *kwnames[] = {
13212 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13213 };
13214
8edf1c75 13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
13216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13220 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 13221 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13222 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 13223 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13224 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 13225 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13226 if (obj5) {
c32bde28 13227 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 13228 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13229 }
13230 if (obj6) {
c32bde28 13231 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 13232 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13233 }
44127b65
RD
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 Py_INCREF(Py_None); resultobj = Py_None;
13242 return resultobj;
13243 fail:
13244 return NULL;
13245}
13246
13247
c32bde28 13248static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13249 PyObject *resultobj;
13250 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13251 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13252 double arg3 ;
13253 double arg4 ;
13254 int arg5 = (int) 0 ;
13255 int arg6 = (int) 0 ;
13256 PyObject * obj0 = 0 ;
13257 PyObject * obj1 = 0 ;
8edf1c75
RD
13258 PyObject * obj2 = 0 ;
13259 PyObject * obj3 = 0 ;
13260 PyObject * obj4 = 0 ;
13261 PyObject * obj5 = 0 ;
44127b65
RD
13262 char *kwnames[] = {
13263 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13264 };
13265
8edf1c75 13266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13271 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13272 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13273 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 13274 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13275 if (obj4) {
c32bde28 13276 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 13277 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13278 }
13279 if (obj5) {
c32bde28 13280 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 13281 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13282 }
44127b65
RD
13283 {
13284 PyThreadState* __tstate = wxPyBeginAllowThreads();
13285 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13286
13287 wxPyEndAllowThreads(__tstate);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 Py_INCREF(Py_None); resultobj = Py_None;
13291 return resultobj;
13292 fail:
13293 return NULL;
13294}
13295
13296
c32bde28 13297static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13298 PyObject *resultobj;
13299 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13300 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13301 double arg3 ;
13302 double arg4 ;
13303 int arg5 = (int) 0 ;
13304 int arg6 = (int) 0 ;
13305 PyObject * obj0 = 0 ;
13306 PyObject * obj1 = 0 ;
8edf1c75
RD
13307 PyObject * obj2 = 0 ;
13308 PyObject * obj3 = 0 ;
13309 PyObject * obj4 = 0 ;
13310 PyObject * obj5 = 0 ;
44127b65
RD
13311 char *kwnames[] = {
13312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13313 };
13314
8edf1c75 13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13320 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13321 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13322 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 13323 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13324 if (obj4) {
c32bde28 13325 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 13326 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13327 }
13328 if (obj5) {
c32bde28 13329 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 13330 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13331 }
44127b65
RD
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 Py_INCREF(Py_None); resultobj = Py_None;
13340 return resultobj;
13341 fail:
13342 return NULL;
13343}
13344
13345
c32bde28 13346static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13347 PyObject *resultobj;
13348 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13349 double arg2 ;
13350 double arg3 ;
13351 PyObject * obj0 = 0 ;
8edf1c75
RD
13352 PyObject * obj1 = 0 ;
13353 PyObject * obj2 = 0 ;
44127b65
RD
13354 char *kwnames[] = {
13355 (char *) "self",(char *) "w",(char *) "h", NULL
13356 };
13357
8edf1c75 13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13361 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 13362 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13363 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13364 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->base_OnBeginSize(arg2,arg3);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 Py_INCREF(Py_None); resultobj = Py_None;
13373 return resultobj;
13374 fail:
13375 return NULL;
13376}
13377
13378
c32bde28 13379static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13380 PyObject *resultobj;
13381 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13382 double arg2 ;
13383 double arg3 ;
13384 PyObject * obj0 = 0 ;
8edf1c75
RD
13385 PyObject * obj1 = 0 ;
13386 PyObject * obj2 = 0 ;
44127b65
RD
13387 char *kwnames[] = {
13388 (char *) "self",(char *) "w",(char *) "h", NULL
13389 };
13390
8edf1c75 13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13394 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 13395 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13396 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13397 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 (arg1)->base_OnEndSize(arg2,arg3);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 Py_INCREF(Py_None); resultobj = Py_None;
13406 return resultobj;
13407 fail:
13408 return NULL;
13409}
13410
13411
c32bde28 13412static PyObject * PyControlPoint_swigregister(PyObject *, PyObject *args) {
44127b65
RD
13413 PyObject *obj;
13414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13415 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13416 Py_INCREF(obj);
13417 return Py_BuildValue((char *)"");
13418}
c32bde28 13419static PyObject *_wrap_new_PyBitmapShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13420 PyObject *resultobj;
13421 wxPyBitmapShape *result;
13422 char *kwnames[] = {
13423 NULL
13424 };
13425
13426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13427 {
13428 PyThreadState* __tstate = wxPyBeginAllowThreads();
13429 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13430
13431 wxPyEndAllowThreads(__tstate);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 }
2f4c0a16 13434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapShape, 1);
44127b65
RD
13435 return resultobj;
13436 fail:
13437 return NULL;
13438}
13439
13440
c32bde28 13441static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13442 PyObject *resultobj;
13443 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13444 PyObject *arg2 = (PyObject *) 0 ;
13445 PyObject *arg3 = (PyObject *) 0 ;
13446 PyObject * obj0 = 0 ;
13447 PyObject * obj1 = 0 ;
13448 PyObject * obj2 = 0 ;
13449 char *kwnames[] = {
13450 (char *) "self",(char *) "self",(char *) "_class", NULL
13451 };
13452
13453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13456 arg2 = obj1;
13457 arg3 = obj2;
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 (arg1)->_setCallbackInfo(arg2,arg3);
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 Py_INCREF(Py_None); resultobj = Py_None;
13466 return resultobj;
13467 fail:
13468 return NULL;
13469}
13470
13471
c32bde28 13472static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13473 PyObject *resultobj;
13474 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13475 wxBitmap *result;
13476 PyObject * obj0 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 {
13487 wxBitmap &_result_ref = (arg1)->GetBitmap();
13488 result = (wxBitmap *) &_result_ref;
13489 }
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
fe763115
RD
13494 {
13495 wxBitmap* resultptr = new wxBitmap(*result);
13496 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13497 }
44127b65
RD
13498 return resultobj;
13499 fail:
13500 return NULL;
13501}
13502
13503
c32bde28 13504static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13505 PyObject *resultobj;
13506 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13507 wxString result;
13508 PyObject * obj0 = 0 ;
13509 char *kwnames[] = {
13510 (char *) "self", NULL
13511 };
13512
13513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (arg1)->GetFilename();
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524#if wxUSE_UNICODE
13525 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13526#else
13527 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13528#endif
13529 }
13530 return resultobj;
13531 fail:
13532 return NULL;
13533}
13534
13535
c32bde28 13536static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13537 PyObject *resultobj;
13538 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13539 wxBitmap *arg2 = 0 ;
13540 PyObject * obj0 = 0 ;
13541 PyObject * obj1 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self",(char *) "bitmap", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
13550 SWIG_POINTER_EXCEPTION | 0)) == -1)
13551 SWIG_fail;
44127b65 13552 if (arg2 == NULL) {
2f4c0a16
RD
13553 PyErr_SetString(PyExc_TypeError,"null reference");
13554 SWIG_fail;
44127b65
RD
13555 }
13556 {
13557 PyThreadState* __tstate = wxPyBeginAllowThreads();
13558 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13559
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 Py_INCREF(Py_None); resultobj = Py_None;
13564 return resultobj;
13565 fail:
13566 return NULL;
13567}
13568
13569
c32bde28 13570static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13571 PyObject *resultobj;
13572 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13573 wxString *arg2 = 0 ;
ae8162c8 13574 bool temp2 = false ;
44127b65
RD
13575 PyObject * obj0 = 0 ;
13576 PyObject * obj1 = 0 ;
13577 char *kwnames[] = {
13578 (char *) "self",(char *) "filename", NULL
13579 };
13580
13581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13584 {
13585 arg2 = wxString_in_helper(obj1);
13586 if (arg2 == NULL) SWIG_fail;
ae8162c8 13587 temp2 = true;
44127b65
RD
13588 }
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 (arg1)->SetFilename((wxString const &)*arg2);
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 Py_INCREF(Py_None); resultobj = Py_None;
13597 {
13598 if (temp2)
13599 delete arg2;
13600 }
13601 return resultobj;
13602 fail:
13603 {
13604 if (temp2)
13605 delete arg2;
13606 }
13607 return NULL;
13608}
13609
13610
c32bde28 13611static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13612 PyObject *resultobj;
13613 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13614 PyObject * obj0 = 0 ;
13615 char *kwnames[] = {
13616 (char *) "self", NULL
13617 };
13618
13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13622 {
13623 PyThreadState* __tstate = wxPyBeginAllowThreads();
13624 (arg1)->base_OnDelete();
13625
13626 wxPyEndAllowThreads(__tstate);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
13629 Py_INCREF(Py_None); resultobj = Py_None;
13630 return resultobj;
13631 fail:
13632 return NULL;
13633}
13634
13635
c32bde28 13636static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13637 PyObject *resultobj;
13638 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13639 wxDC *arg2 = 0 ;
13640 PyObject * obj0 = 0 ;
13641 PyObject * obj1 = 0 ;
13642 char *kwnames[] = {
13643 (char *) "self",(char *) "dc", NULL
13644 };
13645
13646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13649 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13650 SWIG_POINTER_EXCEPTION | 0)) == -1)
13651 SWIG_fail;
44127b65 13652 if (arg2 == NULL) {
2f4c0a16
RD
13653 PyErr_SetString(PyExc_TypeError,"null reference");
13654 SWIG_fail;
44127b65
RD
13655 }
13656 {
13657 PyThreadState* __tstate = wxPyBeginAllowThreads();
13658 (arg1)->base_OnDraw(*arg2);
13659
13660 wxPyEndAllowThreads(__tstate);
13661 if (PyErr_Occurred()) SWIG_fail;
13662 }
13663 Py_INCREF(Py_None); resultobj = Py_None;
13664 return resultobj;
13665 fail:
13666 return NULL;
13667}
13668
13669
c32bde28 13670static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13671 PyObject *resultobj;
13672 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13673 wxDC *arg2 = 0 ;
13674 PyObject * obj0 = 0 ;
13675 PyObject * obj1 = 0 ;
13676 char *kwnames[] = {
13677 (char *) "self",(char *) "dc", NULL
13678 };
13679
13680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13684 SWIG_POINTER_EXCEPTION | 0)) == -1)
13685 SWIG_fail;
44127b65 13686 if (arg2 == NULL) {
2f4c0a16
RD
13687 PyErr_SetString(PyExc_TypeError,"null reference");
13688 SWIG_fail;
44127b65
RD
13689 }
13690 {
13691 PyThreadState* __tstate = wxPyBeginAllowThreads();
13692 (arg1)->base_OnDrawContents(*arg2);
13693
13694 wxPyEndAllowThreads(__tstate);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 }
13697 Py_INCREF(Py_None); resultobj = Py_None;
13698 return resultobj;
13699 fail:
13700 return NULL;
13701}
13702
13703
c32bde28 13704static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13705 PyObject *resultobj;
13706 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13707 wxDC *arg2 = 0 ;
13708 bool arg3 = (bool) FALSE ;
13709 PyObject * obj0 = 0 ;
13710 PyObject * obj1 = 0 ;
13711 PyObject * obj2 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self",(char *) "dc",(char *) "erase", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13720 SWIG_POINTER_EXCEPTION | 0)) == -1)
13721 SWIG_fail;
44127b65 13722 if (arg2 == NULL) {
2f4c0a16
RD
13723 PyErr_SetString(PyExc_TypeError,"null reference");
13724 SWIG_fail;
44127b65
RD
13725 }
13726 if (obj2) {
c32bde28 13727 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 13728 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13729 }
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 (arg1)->base_OnDrawBranches(*arg2,arg3);
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 Py_INCREF(Py_None); resultobj = Py_None;
13738 return resultobj;
13739 fail:
13740 return NULL;
13741}
13742
13743
c32bde28 13744static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13745 PyObject *resultobj;
13746 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13747 wxDC *arg2 = 0 ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "dc", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13758 SWIG_POINTER_EXCEPTION | 0)) == -1)
13759 SWIG_fail;
44127b65 13760 if (arg2 == NULL) {
2f4c0a16
RD
13761 PyErr_SetString(PyExc_TypeError,"null reference");
13762 SWIG_fail;
44127b65
RD
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 (arg1)->base_OnMoveLinks(*arg2);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 Py_INCREF(Py_None); resultobj = Py_None;
13772 return resultobj;
13773 fail:
13774 return NULL;
13775}
13776
13777
c32bde28 13778static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13779 PyObject *resultobj;
13780 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13781 wxDC *arg2 = 0 ;
13782 PyObject * obj0 = 0 ;
13783 PyObject * obj1 = 0 ;
13784 char *kwnames[] = {
13785 (char *) "self",(char *) "dc", NULL
13786 };
13787
13788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13792 SWIG_POINTER_EXCEPTION | 0)) == -1)
13793 SWIG_fail;
44127b65 13794 if (arg2 == NULL) {
2f4c0a16
RD
13795 PyErr_SetString(PyExc_TypeError,"null reference");
13796 SWIG_fail;
44127b65
RD
13797 }
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 (arg1)->base_OnErase(*arg2);
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 Py_INCREF(Py_None); resultobj = Py_None;
13806 return resultobj;
13807 fail:
13808 return NULL;
13809}
13810
13811
c32bde28 13812static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13813 PyObject *resultobj;
13814 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13815 wxDC *arg2 = 0 ;
13816 PyObject * obj0 = 0 ;
13817 PyObject * obj1 = 0 ;
13818 char *kwnames[] = {
13819 (char *) "self",(char *) "dc", NULL
13820 };
13821
13822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13826 SWIG_POINTER_EXCEPTION | 0)) == -1)
13827 SWIG_fail;
44127b65 13828 if (arg2 == NULL) {
2f4c0a16
RD
13829 PyErr_SetString(PyExc_TypeError,"null reference");
13830 SWIG_fail;
44127b65
RD
13831 }
13832 {
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 (arg1)->base_OnEraseContents(*arg2);
13835
13836 wxPyEndAllowThreads(__tstate);
13837 if (PyErr_Occurred()) SWIG_fail;
13838 }
13839 Py_INCREF(Py_None); resultobj = Py_None;
13840 return resultobj;
13841 fail:
13842 return NULL;
13843}
13844
13845
c32bde28 13846static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13847 PyObject *resultobj;
13848 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13849 wxDC *arg2 = 0 ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self",(char *) "dc", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13860 SWIG_POINTER_EXCEPTION | 0)) == -1)
13861 SWIG_fail;
44127b65 13862 if (arg2 == NULL) {
2f4c0a16
RD
13863 PyErr_SetString(PyExc_TypeError,"null reference");
13864 SWIG_fail;
44127b65
RD
13865 }
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 (arg1)->base_OnHighlight(*arg2);
13869
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 Py_INCREF(Py_None); resultobj = Py_None;
13874 return resultobj;
13875 fail:
13876 return NULL;
13877}
13878
13879
c32bde28 13880static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13881 PyObject *resultobj;
13882 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13883 double arg2 ;
13884 double arg3 ;
13885 int arg4 = (int) 0 ;
13886 int arg5 = (int) 0 ;
13887 PyObject * obj0 = 0 ;
8edf1c75
RD
13888 PyObject * obj1 = 0 ;
13889 PyObject * obj2 = 0 ;
13890 PyObject * obj3 = 0 ;
13891 PyObject * obj4 = 0 ;
44127b65
RD
13892 char *kwnames[] = {
13893 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13894 };
13895
8edf1c75 13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13899 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 13900 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13901 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13902 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13903 if (obj3) {
c32bde28 13904 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 13905 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13906 }
13907 if (obj4) {
c32bde28 13908 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 13909 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13910 }
44127b65
RD
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 Py_INCREF(Py_None); resultobj = Py_None;
13919 return resultobj;
13920 fail:
13921 return NULL;
13922}
13923
13924
c32bde28 13925static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13926 PyObject *resultobj;
13927 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13928 double arg2 ;
13929 double arg3 ;
13930 int arg4 = (int) 0 ;
13931 int arg5 = (int) 0 ;
13932 PyObject * obj0 = 0 ;
8edf1c75
RD
13933 PyObject * obj1 = 0 ;
13934 PyObject * obj2 = 0 ;
13935 PyObject * obj3 = 0 ;
13936 PyObject * obj4 = 0 ;
44127b65
RD
13937 char *kwnames[] = {
13938 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13939 };
13940
8edf1c75 13941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13944 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 13945 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13946 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13947 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13948 if (obj3) {
c32bde28 13949 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 13950 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13951 }
13952 if (obj4) {
c32bde28 13953 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 13954 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13955 }
44127b65
RD
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13959
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
13963 Py_INCREF(Py_None); resultobj = Py_None;
13964 return resultobj;
13965 fail:
13966 return NULL;
13967}
13968
13969
c32bde28 13970static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13971 PyObject *resultobj;
13972 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13973 double arg2 ;
13974 double arg3 ;
13975 int arg4 = (int) 0 ;
13976 int arg5 = (int) 0 ;
13977 PyObject * obj0 = 0 ;
8edf1c75
RD
13978 PyObject * obj1 = 0 ;
13979 PyObject * obj2 = 0 ;
13980 PyObject * obj3 = 0 ;
13981 PyObject * obj4 = 0 ;
44127b65
RD
13982 char *kwnames[] = {
13983 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13984 };
13985
8edf1c75 13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13989 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 13990 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13991 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 13992 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13993 if (obj3) {
c32bde28 13994 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 13995 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13996 }
13997 if (obj4) {
c32bde28 13998 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 13999 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14000 }
44127b65
RD
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 Py_INCREF(Py_None); resultobj = Py_None;
14009 return resultobj;
14010 fail:
14011 return NULL;
14012}
14013
14014
c32bde28 14015static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14016 PyObject *resultobj;
14017 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14018 double arg2 ;
14019 double arg3 ;
14020 PyObject * obj0 = 0 ;
8edf1c75
RD
14021 PyObject * obj1 = 0 ;
14022 PyObject * obj2 = 0 ;
44127b65
RD
14023 char *kwnames[] = {
14024 (char *) "self",(char *) "x",(char *) "y", NULL
14025 };
14026
8edf1c75 14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14030 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 14031 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14032 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14033 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 (arg1)->base_OnSize(arg2,arg3);
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 Py_INCREF(Py_None); resultobj = Py_None;
14042 return resultobj;
14043 fail:
14044 return NULL;
14045}
14046
14047
c32bde28 14048static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14049 PyObject *resultobj;
14050 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14051 wxDC *arg2 = 0 ;
14052 double arg3 ;
14053 double arg4 ;
14054 double arg5 ;
14055 double arg6 ;
ae8162c8 14056 bool arg7 = (bool) true ;
44127b65
RD
14057 bool result;
14058 PyObject * obj0 = 0 ;
14059 PyObject * obj1 = 0 ;
8edf1c75
RD
14060 PyObject * obj2 = 0 ;
14061 PyObject * obj3 = 0 ;
14062 PyObject * obj4 = 0 ;
14063 PyObject * obj5 = 0 ;
44127b65
RD
14064 PyObject * obj6 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14067 };
14068
8edf1c75 14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14073 SWIG_POINTER_EXCEPTION | 0)) == -1)
14074 SWIG_fail;
44127b65 14075 if (arg2 == NULL) {
2f4c0a16
RD
14076 PyErr_SetString(PyExc_TypeError,"null reference");
14077 SWIG_fail;
14078 }
c32bde28 14079 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14080 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14081 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 14082 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14083 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 14084 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14085 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 14086 if (PyErr_Occurred()) SWIG_fail;
44127b65 14087 if (obj6) {
c32bde28 14088 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 14089 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14090 }
14091 {
14092 PyThreadState* __tstate = wxPyBeginAllowThreads();
14093 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14094
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
4f89f6a3
RD
14098 {
14099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14100 }
44127b65
RD
14101 return resultobj;
14102 fail:
14103 return NULL;
14104}
14105
14106
c32bde28 14107static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14108 PyObject *resultobj;
14109 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14110 wxDC *arg2 = 0 ;
14111 double arg3 ;
14112 double arg4 ;
14113 double arg5 ;
14114 double arg6 ;
ae8162c8 14115 bool arg7 = (bool) true ;
44127b65
RD
14116 PyObject * obj0 = 0 ;
14117 PyObject * obj1 = 0 ;
8edf1c75
RD
14118 PyObject * obj2 = 0 ;
14119 PyObject * obj3 = 0 ;
14120 PyObject * obj4 = 0 ;
14121 PyObject * obj5 = 0 ;
44127b65
RD
14122 PyObject * obj6 = 0 ;
14123 char *kwnames[] = {
14124 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14125 };
14126
8edf1c75 14127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14131 SWIG_POINTER_EXCEPTION | 0)) == -1)
14132 SWIG_fail;
44127b65 14133 if (arg2 == NULL) {
2f4c0a16
RD
14134 PyErr_SetString(PyExc_TypeError,"null reference");
14135 SWIG_fail;
14136 }
c32bde28 14137 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14138 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14139 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 14140 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14141 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 14142 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14143 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 14144 if (PyErr_Occurred()) SWIG_fail;
44127b65 14145 if (obj6) {
c32bde28 14146 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 14147 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14148 }
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 Py_INCREF(Py_None); resultobj = Py_None;
14157 return resultobj;
14158 fail:
14159 return NULL;
14160}
14161
14162
c32bde28 14163static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14164 PyObject *resultobj;
14165 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14166 bool arg2 ;
14167 double arg3 ;
14168 double arg4 ;
14169 int arg5 = (int) 0 ;
14170 int arg6 = (int) 0 ;
14171 PyObject * obj0 = 0 ;
14172 PyObject * obj1 = 0 ;
8edf1c75
RD
14173 PyObject * obj2 = 0 ;
14174 PyObject * obj3 = 0 ;
14175 PyObject * obj4 = 0 ;
14176 PyObject * obj5 = 0 ;
44127b65
RD
14177 char *kwnames[] = {
14178 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14179 };
14180
8edf1c75 14181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14184 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 14185 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14186 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14187 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14188 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 14189 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14190 if (obj4) {
c32bde28 14191 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 14192 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14193 }
14194 if (obj5) {
c32bde28 14195 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 14196 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14197 }
44127b65
RD
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 Py_INCREF(Py_None); resultobj = Py_None;
14206 return resultobj;
14207 fail:
14208 return NULL;
14209}
14210
14211
c32bde28 14212static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14213 PyObject *resultobj;
14214 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14215 double arg2 ;
14216 double arg3 ;
14217 int arg4 = (int) 0 ;
14218 int arg5 = (int) 0 ;
14219 PyObject * obj0 = 0 ;
8edf1c75
RD
14220 PyObject * obj1 = 0 ;
14221 PyObject * obj2 = 0 ;
14222 PyObject * obj3 = 0 ;
14223 PyObject * obj4 = 0 ;
44127b65
RD
14224 char *kwnames[] = {
14225 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14226 };
14227
8edf1c75 14228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14231 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 14232 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14233 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14234 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14235 if (obj3) {
c32bde28 14236 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 14237 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14238 }
14239 if (obj4) {
c32bde28 14240 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 14241 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14242 }
44127b65
RD
14243 {
14244 PyThreadState* __tstate = wxPyBeginAllowThreads();
14245 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14246
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 Py_INCREF(Py_None); resultobj = Py_None;
14251 return resultobj;
14252 fail:
14253 return NULL;
14254}
14255
14256
c32bde28 14257static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14258 PyObject *resultobj;
14259 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14260 double arg2 ;
14261 double arg3 ;
14262 int arg4 = (int) 0 ;
14263 int arg5 = (int) 0 ;
14264 PyObject * obj0 = 0 ;
8edf1c75
RD
14265 PyObject * obj1 = 0 ;
14266 PyObject * obj2 = 0 ;
14267 PyObject * obj3 = 0 ;
14268 PyObject * obj4 = 0 ;
44127b65
RD
14269 char *kwnames[] = {
14270 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14271 };
14272
8edf1c75 14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14276 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 14277 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14278 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14279 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14280 if (obj3) {
c32bde28 14281 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 14282 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14283 }
14284 if (obj4) {
c32bde28 14285 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 14286 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14287 }
44127b65
RD
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14291
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 Py_INCREF(Py_None); resultobj = Py_None;
14296 return resultobj;
14297 fail:
14298 return NULL;
14299}
14300
14301
c32bde28 14302static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14303 PyObject *resultobj;
14304 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14305 bool arg2 ;
14306 double arg3 ;
14307 double arg4 ;
14308 int arg5 = (int) 0 ;
14309 int arg6 = (int) 0 ;
14310 PyObject * obj0 = 0 ;
14311 PyObject * obj1 = 0 ;
8edf1c75
RD
14312 PyObject * obj2 = 0 ;
14313 PyObject * obj3 = 0 ;
14314 PyObject * obj4 = 0 ;
14315 PyObject * obj5 = 0 ;
44127b65
RD
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14318 };
14319
8edf1c75 14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14323 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 14324 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14325 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14326 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14327 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 14328 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14329 if (obj4) {
c32bde28 14330 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 14331 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14332 }
14333 if (obj5) {
c32bde28 14334 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 14335 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14336 }
44127b65
RD
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 Py_INCREF(Py_None); resultobj = Py_None;
14345 return resultobj;
14346 fail:
14347 return NULL;
14348}
14349
14350
c32bde28 14351static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14352 PyObject *resultobj;
14353 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14354 double arg2 ;
14355 double arg3 ;
14356 int arg4 = (int) 0 ;
14357 int arg5 = (int) 0 ;
14358 PyObject * obj0 = 0 ;
8edf1c75
RD
14359 PyObject * obj1 = 0 ;
14360 PyObject * obj2 = 0 ;
14361 PyObject * obj3 = 0 ;
14362 PyObject * obj4 = 0 ;
44127b65
RD
14363 char *kwnames[] = {
14364 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14365 };
14366
8edf1c75 14367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14370 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 14371 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14372 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14373 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14374 if (obj3) {
c32bde28 14375 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 14376 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14377 }
14378 if (obj4) {
c32bde28 14379 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 14380 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14381 }
44127b65
RD
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 Py_INCREF(Py_None); resultobj = Py_None;
14390 return resultobj;
14391 fail:
14392 return NULL;
14393}
14394
14395
c32bde28 14396static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14397 PyObject *resultobj;
14398 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14399 double arg2 ;
14400 double arg3 ;
14401 int arg4 = (int) 0 ;
14402 int arg5 = (int) 0 ;
14403 PyObject * obj0 = 0 ;
8edf1c75
RD
14404 PyObject * obj1 = 0 ;
14405 PyObject * obj2 = 0 ;
14406 PyObject * obj3 = 0 ;
14407 PyObject * obj4 = 0 ;
44127b65
RD
14408 char *kwnames[] = {
14409 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14410 };
14411
8edf1c75 14412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14415 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 14416 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14417 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14418 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14419 if (obj3) {
c32bde28 14420 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 14421 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14422 }
14423 if (obj4) {
c32bde28 14424 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 14425 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14426 }
44127b65
RD
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 Py_INCREF(Py_None); resultobj = Py_None;
14435 return resultobj;
14436 fail:
14437 return NULL;
14438}
14439
14440
c32bde28 14441static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14442 PyObject *resultobj;
14443 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14444 wxDC *arg2 = 0 ;
14445 double arg3 ;
14446 double arg4 ;
14447 double arg5 ;
14448 double arg6 ;
14449 PyObject * obj0 = 0 ;
14450 PyObject * obj1 = 0 ;
8edf1c75
RD
14451 PyObject * obj2 = 0 ;
14452 PyObject * obj3 = 0 ;
14453 PyObject * obj4 = 0 ;
14454 PyObject * obj5 = 0 ;
44127b65
RD
14455 char *kwnames[] = {
14456 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14457 };
14458
8edf1c75 14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14463 SWIG_POINTER_EXCEPTION | 0)) == -1)
14464 SWIG_fail;
44127b65 14465 if (arg2 == NULL) {
2f4c0a16
RD
14466 PyErr_SetString(PyExc_TypeError,"null reference");
14467 SWIG_fail;
8edf1c75 14468 }
c32bde28 14469 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14470 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14471 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 14472 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14473 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 14474 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14475 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 14476 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 Py_INCREF(Py_None); resultobj = Py_None;
14485 return resultobj;
14486 fail:
14487 return NULL;
14488}
14489
14490
c32bde28 14491static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14492 PyObject *resultobj;
14493 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14494 wxDC *arg2 = 0 ;
14495 PyObject * obj0 = 0 ;
14496 PyObject * obj1 = 0 ;
14497 char *kwnames[] = {
14498 (char *) "self",(char *) "dc", NULL
14499 };
14500
14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14505 SWIG_POINTER_EXCEPTION | 0)) == -1)
14506 SWIG_fail;
44127b65 14507 if (arg2 == NULL) {
2f4c0a16
RD
14508 PyErr_SetString(PyExc_TypeError,"null reference");
14509 SWIG_fail;
44127b65
RD
14510 }
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 (arg1)->base_OnDrawControlPoints(*arg2);
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 Py_INCREF(Py_None); resultobj = Py_None;
14519 return resultobj;
14520 fail:
14521 return NULL;
14522}
14523
14524
c32bde28 14525static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14526 PyObject *resultobj;
14527 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14528 wxDC *arg2 = 0 ;
14529 PyObject * obj0 = 0 ;
14530 PyObject * obj1 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self",(char *) "dc", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14539 SWIG_POINTER_EXCEPTION | 0)) == -1)
14540 SWIG_fail;
44127b65 14541 if (arg2 == NULL) {
2f4c0a16
RD
14542 PyErr_SetString(PyExc_TypeError,"null reference");
14543 SWIG_fail;
44127b65
RD
14544 }
14545 {
14546 PyThreadState* __tstate = wxPyBeginAllowThreads();
14547 (arg1)->base_OnEraseControlPoints(*arg2);
14548
14549 wxPyEndAllowThreads(__tstate);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 Py_INCREF(Py_None); resultobj = Py_None;
14553 return resultobj;
14554 fail:
14555 return NULL;
14556}
14557
14558
c32bde28 14559static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14560 PyObject *resultobj;
14561 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14562 wxDC *arg2 = 0 ;
ae8162c8 14563 bool arg3 = (bool) true ;
44127b65
RD
14564 PyObject * obj0 = 0 ;
14565 PyObject * obj1 = 0 ;
14566 PyObject * obj2 = 0 ;
14567 char *kwnames[] = {
14568 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14569 };
14570
14571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14574 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14575 SWIG_POINTER_EXCEPTION | 0)) == -1)
14576 SWIG_fail;
44127b65 14577 if (arg2 == NULL) {
2f4c0a16
RD
14578 PyErr_SetString(PyExc_TypeError,"null reference");
14579 SWIG_fail;
44127b65
RD
14580 }
14581 if (obj2) {
c32bde28 14582 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 14583 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14584 }
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 (arg1)->base_OnMoveLink(*arg2,arg3);
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 Py_INCREF(Py_None); resultobj = Py_None;
14593 return resultobj;
14594 fail:
14595 return NULL;
14596}
14597
14598
c32bde28 14599static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14600 PyObject *resultobj;
14601 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14602 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14603 bool arg3 ;
14604 double arg4 ;
14605 double arg5 ;
14606 int arg6 = (int) 0 ;
14607 int arg7 = (int) 0 ;
14608 PyObject * obj0 = 0 ;
14609 PyObject * obj1 = 0 ;
14610 PyObject * obj2 = 0 ;
8edf1c75
RD
14611 PyObject * obj3 = 0 ;
14612 PyObject * obj4 = 0 ;
14613 PyObject * obj5 = 0 ;
14614 PyObject * obj6 = 0 ;
44127b65
RD
14615 char *kwnames[] = {
14616 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14617 };
14618
8edf1c75 14619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14624 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 14625 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14626 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 14627 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14628 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 14629 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14630 if (obj5) {
c32bde28 14631 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 14632 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14633 }
14634 if (obj6) {
c32bde28 14635 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 14636 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14637 }
44127b65
RD
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 Py_INCREF(Py_None); resultobj = Py_None;
14646 return resultobj;
14647 fail:
14648 return NULL;
14649}
14650
14651
c32bde28 14652static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14653 PyObject *resultobj;
14654 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14655 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14656 double arg3 ;
14657 double arg4 ;
14658 int arg5 = (int) 0 ;
14659 int arg6 = (int) 0 ;
14660 PyObject * obj0 = 0 ;
14661 PyObject * obj1 = 0 ;
8edf1c75
RD
14662 PyObject * obj2 = 0 ;
14663 PyObject * obj3 = 0 ;
14664 PyObject * obj4 = 0 ;
14665 PyObject * obj5 = 0 ;
44127b65
RD
14666 char *kwnames[] = {
14667 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14668 };
14669
8edf1c75 14670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14675 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14676 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14677 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16
RD
14678 if (PyErr_Occurred()) SWIG_fail;
14679 if (obj4) {
c32bde28 14680 arg5 = (int)SWIG_As_int(obj4);
8edf1c75
RD
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
2f4c0a16 14683 if (obj5) {
c32bde28 14684 arg6 = (int)SWIG_As_int(obj5);
8edf1c75
RD
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
44127b65
RD
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14690
14691 wxPyEndAllowThreads(__tstate);
14692 if (PyErr_Occurred()) SWIG_fail;
14693 }
14694 Py_INCREF(Py_None); resultobj = Py_None;
14695 return resultobj;
14696 fail:
14697 return NULL;
14698}
14699
14700
c32bde28 14701static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14702 PyObject *resultobj;
14703 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14704 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14705 double arg3 ;
14706 double arg4 ;
14707 int arg5 = (int) 0 ;
14708 int arg6 = (int) 0 ;
14709 PyObject * obj0 = 0 ;
14710 PyObject * obj1 = 0 ;
8edf1c75
RD
14711 PyObject * obj2 = 0 ;
14712 PyObject * obj3 = 0 ;
14713 PyObject * obj4 = 0 ;
14714 PyObject * obj5 = 0 ;
44127b65
RD
14715 char *kwnames[] = {
14716 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14717 };
14718
8edf1c75 14719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14724 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14725 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14726 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 14727 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14728 if (obj4) {
c32bde28 14729 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 14730 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14731 }
14732 if (obj5) {
c32bde28 14733 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 14734 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14735 }
44127b65
RD
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14739
14740 wxPyEndAllowThreads(__tstate);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 Py_INCREF(Py_None); resultobj = Py_None;
14744 return resultobj;
14745 fail:
14746 return NULL;
14747}
14748
14749
c32bde28 14750static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14751 PyObject *resultobj;
14752 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14753 double arg2 ;
14754 double arg3 ;
14755 PyObject * obj0 = 0 ;
8edf1c75
RD
14756 PyObject * obj1 = 0 ;
14757 PyObject * obj2 = 0 ;
44127b65
RD
14758 char *kwnames[] = {
14759 (char *) "self",(char *) "w",(char *) "h", NULL
14760 };
14761
8edf1c75 14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14765 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 14766 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14767 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14768 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 (arg1)->base_OnBeginSize(arg2,arg3);
14772
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 Py_INCREF(Py_None); resultobj = Py_None;
14777 return resultobj;
14778 fail:
14779 return NULL;
14780}
14781
14782
c32bde28 14783static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14784 PyObject *resultobj;
14785 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14786 double arg2 ;
14787 double arg3 ;
14788 PyObject * obj0 = 0 ;
8edf1c75
RD
14789 PyObject * obj1 = 0 ;
14790 PyObject * obj2 = 0 ;
44127b65
RD
14791 char *kwnames[] = {
14792 (char *) "self",(char *) "w",(char *) "h", NULL
14793 };
14794
8edf1c75 14795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14798 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 14799 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14800 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 14801 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 (arg1)->base_OnEndSize(arg2,arg3);
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 Py_INCREF(Py_None); resultobj = Py_None;
14810 return resultobj;
14811 fail:
14812 return NULL;
14813}
14814
14815
c32bde28 14816static PyObject * PyBitmapShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
14817 PyObject *obj;
14818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14819 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14820 Py_INCREF(obj);
14821 return Py_BuildValue((char *)"");
14822}
c32bde28 14823static PyObject *_wrap_new_PyDrawnShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14824 PyObject *resultobj;
14825 wxPyDrawnShape *result;
14826 char *kwnames[] = {
14827 NULL
14828 };
14829
14830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14834
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
2f4c0a16 14838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
44127b65
RD
14839 return resultobj;
14840 fail:
14841 return NULL;
14842}
14843
14844
c32bde28 14845static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14846 PyObject *resultobj;
14847 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14848 PyObject *arg2 = (PyObject *) 0 ;
14849 PyObject *arg3 = (PyObject *) 0 ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 PyObject * obj2 = 0 ;
14853 char *kwnames[] = {
14854 (char *) "self",(char *) "self",(char *) "_class", NULL
14855 };
14856
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14860 arg2 = obj1;
14861 arg3 = obj2;
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 (arg1)->_setCallbackInfo(arg2,arg3);
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 Py_INCREF(Py_None); resultobj = Py_None;
14870 return resultobj;
14871 fail:
14872 return NULL;
14873}
14874
14875
c32bde28 14876static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14877 PyObject *resultobj;
14878 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14879 PyObject * obj0 = 0 ;
14880 char *kwnames[] = {
14881 (char *) "self", NULL
14882 };
14883
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 (arg1)->CalculateSize();
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 Py_INCREF(Py_None); resultobj = Py_None;
14895 return resultobj;
14896 fail:
14897 return NULL;
14898}
14899
14900
c32bde28 14901static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14902 PyObject *resultobj;
14903 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14904 PyObject * obj0 = 0 ;
14905 char *kwnames[] = {
14906 (char *) "self", NULL
14907 };
14908
14909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 (arg1)->DestroyClippingRect();
14915
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 Py_INCREF(Py_None); resultobj = Py_None;
14920 return resultobj;
14921 fail:
14922 return NULL;
14923}
14924
14925
c32bde28 14926static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14927 PyObject *resultobj;
14928 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14929 wxPoint *arg2 = 0 ;
14930 wxPoint *arg3 = 0 ;
14931 wxPoint *arg4 = 0 ;
14932 wxPoint temp2 ;
14933 wxPoint temp3 ;
14934 wxPoint temp4 ;
14935 PyObject * obj0 = 0 ;
14936 PyObject * obj1 = 0 ;
14937 PyObject * obj2 = 0 ;
14938 PyObject * obj3 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14946 {
14947 arg2 = &temp2;
14948 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14949 }
14950 {
14951 arg3 = &temp3;
14952 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14953 }
14954 {
14955 arg4 = &temp4;
14956 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14957 }
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
14961
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 Py_INCREF(Py_None); resultobj = Py_None;
14966 return resultobj;
14967 fail:
14968 return NULL;
14969}
14970
14971
c32bde28 14972static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14973 PyObject *resultobj;
14974 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14975 int arg2 ;
14976 PyObject * obj0 = 0 ;
8edf1c75 14977 PyObject * obj1 = 0 ;
44127b65
RD
14978 char *kwnames[] = {
14979 (char *) "self",(char *) "angle", NULL
14980 };
14981
8edf1c75 14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14985 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 14986 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 (arg1)->DrawAtAngle(arg2);
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
14994 Py_INCREF(Py_None); resultobj = Py_None;
14995 return resultobj;
14996 fail:
14997 return NULL;
14998}
14999
15000
c32bde28 15001static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15002 PyObject *resultobj;
15003 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15004 wxRect *arg2 = 0 ;
15005 double arg3 ;
15006 double arg4 ;
15007 wxRect temp2 ;
15008 PyObject * obj0 = 0 ;
15009 PyObject * obj1 = 0 ;
8edf1c75
RD
15010 PyObject * obj2 = 0 ;
15011 PyObject * obj3 = 0 ;
44127b65
RD
15012 char *kwnames[] = {
15013 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
15014 };
15015
8edf1c75 15016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
15017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15019 {
15020 arg2 = &temp2;
15021 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15022 }
c32bde28 15023 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 15024 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15025 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 15026 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
15030
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 Py_INCREF(Py_None); resultobj = Py_None;
15035 return resultobj;
15036 fail:
15037 return NULL;
15038}
15039
15040
c32bde28 15041static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15042 PyObject *resultobj;
15043 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15044 wxPoint *arg2 = 0 ;
15045 wxPoint *arg3 = 0 ;
15046 wxPoint temp2 ;
15047 wxPoint temp3 ;
15048 PyObject * obj0 = 0 ;
15049 PyObject * obj1 = 0 ;
15050 PyObject * obj2 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self",(char *) "point1",(char *) "point2", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15058 {
15059 arg2 = &temp2;
15060 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15061 }
15062 {
15063 arg3 = &temp3;
15064 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15065 }
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 Py_INCREF(Py_None); resultobj = Py_None;
15074 return resultobj;
15075 fail:
15076 return NULL;
15077}
15078
15079
c32bde28 15080static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15081 PyObject *resultobj;
15082 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15083 int arg2 ;
15084 wxPoint *arg3 = (wxPoint *) 0 ;
15085 PyObject * obj0 = 0 ;
8edf1c75 15086 PyObject * obj1 = 0 ;
44127b65 15087 char *kwnames[] = {
baaa1d1a 15088 (char *) "self",(char *) "points", NULL
44127b65
RD
15089 };
15090
baaa1d1a 15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
baaa1d1a
RD
15094 {
15095 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15096 if (arg3 == NULL) SWIG_fail;
15097 }
44127b65
RD
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 (arg1)->DrawLines(arg2,arg3);
15101
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
15105 Py_INCREF(Py_None); resultobj = Py_None;
baaa1d1a
RD
15106 {
15107 if (arg3) delete [] arg3;
15108 }
44127b65
RD
15109 return resultobj;
15110 fail:
baaa1d1a
RD
15111 {
15112 if (arg3) delete [] arg3;
15113 }
44127b65
RD
15114 return NULL;
15115}
15116
15117
c32bde28 15118static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15119 PyObject *resultobj;
15120 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15121 wxPoint *arg2 = 0 ;
15122 wxPoint temp2 ;
15123 PyObject * obj0 = 0 ;
15124 PyObject * obj1 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self",(char *) "point", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15132 {
15133 arg2 = &temp2;
15134 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15135 }
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 (arg1)->DrawPoint((wxPoint const &)*arg2);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 Py_INCREF(Py_None); resultobj = Py_None;
15144 return resultobj;
15145 fail:
15146 return NULL;
15147}
15148
15149
c32bde28 15150static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15151 PyObject *resultobj;
15152 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15153 int arg2 ;
15154 wxPoint *arg3 = (wxPoint *) 0 ;
15155 int arg4 = (int) 0 ;
15156 PyObject * obj0 = 0 ;
8edf1c75 15157 PyObject * obj1 = 0 ;
44127b65
RD
15158 PyObject * obj2 = 0 ;
15159 char *kwnames[] = {
baaa1d1a 15160 (char *) "self",(char *) "points",(char *) "flags", NULL
44127b65
RD
15161 };
15162
baaa1d1a 15163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
baaa1d1a
RD
15166 {
15167 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15168 if (arg3 == NULL) SWIG_fail;
15169 }
15170 if (obj2) {
c32bde28 15171 arg4 = (int)SWIG_As_int(obj2);
2f4c0a16 15172 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15173 }
44127b65
RD
15174 {
15175 PyThreadState* __tstate = wxPyBeginAllowThreads();
15176 (arg1)->DrawPolygon(arg2,arg3,arg4);
15177
15178 wxPyEndAllowThreads(__tstate);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 Py_INCREF(Py_None); resultobj = Py_None;
baaa1d1a
RD
15182 {
15183 if (arg3) delete [] arg3;
15184 }
44127b65
RD
15185 return resultobj;
15186 fail:
baaa1d1a
RD
15187 {
15188 if (arg3) delete [] arg3;
15189 }
44127b65
RD
15190 return NULL;
15191}
15192
15193
c32bde28 15194static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15195 PyObject *resultobj;
15196 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15197 wxRect *arg2 = 0 ;
15198 wxRect temp2 ;
15199 PyObject * obj0 = 0 ;
15200 PyObject * obj1 = 0 ;
15201 char *kwnames[] = {
15202 (char *) "self",(char *) "rect", NULL
15203 };
15204
15205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15208 {
15209 arg2 = &temp2;
15210 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15211 }
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 (arg1)->DrawRectangle((wxRect const &)*arg2);
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 Py_INCREF(Py_None); resultobj = Py_None;
15220 return resultobj;
15221 fail:
15222 return NULL;
15223}
15224
15225
c32bde28 15226static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15227 PyObject *resultobj;
15228 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15229 wxRect *arg2 = 0 ;
15230 double arg3 ;
15231 wxRect temp2 ;
15232 PyObject * obj0 = 0 ;
15233 PyObject * obj1 = 0 ;
8edf1c75 15234 PyObject * obj2 = 0 ;
44127b65
RD
15235 char *kwnames[] = {
15236 (char *) "self",(char *) "rect",(char *) "radius", NULL
15237 };
15238
8edf1c75 15239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15242 {
15243 arg2 = &temp2;
15244 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15245 }
c32bde28 15246 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 15247 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 Py_INCREF(Py_None); resultobj = Py_None;
15256 return resultobj;
15257 fail:
15258 return NULL;
15259}
15260
15261
c32bde28 15262static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15263 PyObject *resultobj;
15264 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15265 int arg2 ;
15266 wxPoint *arg3 = (wxPoint *) 0 ;
15267 PyObject * obj0 = 0 ;
8edf1c75 15268 PyObject * obj1 = 0 ;
44127b65 15269 char *kwnames[] = {
baaa1d1a 15270 (char *) "self",(char *) "points", NULL
44127b65
RD
15271 };
15272
baaa1d1a 15273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
baaa1d1a
RD
15276 {
15277 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15278 if (arg3 == NULL) SWIG_fail;
15279 }
44127b65
RD
15280 {
15281 PyThreadState* __tstate = wxPyBeginAllowThreads();
15282 (arg1)->DrawSpline(arg2,arg3);
15283
15284 wxPyEndAllowThreads(__tstate);
15285 if (PyErr_Occurred()) SWIG_fail;
15286 }
15287 Py_INCREF(Py_None); resultobj = Py_None;
baaa1d1a
RD
15288 {
15289 if (arg3) delete [] arg3;
15290 }
44127b65
RD
15291 return resultobj;
15292 fail:
baaa1d1a
RD
15293 {
15294 if (arg3) delete [] arg3;
15295 }
44127b65
RD
15296 return NULL;
15297}
15298
15299
c32bde28 15300static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15301 PyObject *resultobj;
15302 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15303 wxString *arg2 = 0 ;
15304 wxPoint *arg3 = 0 ;
ae8162c8 15305 bool temp2 = false ;
44127b65
RD
15306 wxPoint temp3 ;
15307 PyObject * obj0 = 0 ;
15308 PyObject * obj1 = 0 ;
15309 PyObject * obj2 = 0 ;
15310 char *kwnames[] = {
15311 (char *) "self",(char *) "text",(char *) "point", NULL
15312 };
15313
15314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15317 {
15318 arg2 = wxString_in_helper(obj1);
15319 if (arg2 == NULL) SWIG_fail;
ae8162c8 15320 temp2 = true;
44127b65
RD
15321 }
15322 {
15323 arg3 = &temp3;
15324 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15325 }
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 Py_INCREF(Py_None); resultobj = Py_None;
15334 {
15335 if (temp2)
15336 delete arg2;
15337 }
15338 return resultobj;
15339 fail:
15340 {
15341 if (temp2)
15342 delete arg2;
15343 }
15344 return NULL;
15345}
15346
15347
c32bde28 15348static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15349 PyObject *resultobj;
15350 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15351 int result;
15352 PyObject * obj0 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 result = (int)(arg1)->GetAngle();
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
c32bde28 15367 resultobj = SWIG_From_int((int)result);
44127b65
RD
15368 return resultobj;
15369 fail:
15370 return NULL;
15371}
15372
15373
c32bde28 15374static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15375 PyObject *resultobj;
15376 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15377 wxPseudoMetaFile *result;
15378 PyObject * obj0 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 {
15389 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15390 result = (wxPseudoMetaFile *) &_result_ref;
15391 }
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
2f4c0a16 15396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
44127b65
RD
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
c32bde28 15403static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15404 PyObject *resultobj;
15405 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15406 double result;
15407 PyObject * obj0 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self", NULL
15410 };
15411
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 result = (double)(arg1)->GetRotation();
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
c32bde28 15422 resultobj = SWIG_From_double((double)result);
44127b65
RD
15423 return resultobj;
15424 fail:
15425 return NULL;
15426}
15427
15428
c32bde28 15429static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15430 PyObject *resultobj;
15431 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15432 wxString *arg2 = 0 ;
15433 bool result;
ae8162c8 15434 bool temp2 = false ;
44127b65
RD
15435 PyObject * obj0 = 0 ;
15436 PyObject * obj1 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self",(char *) "filename", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15444 {
15445 arg2 = wxString_in_helper(obj1);
15446 if (arg2 == NULL) SWIG_fail;
ae8162c8 15447 temp2 = true;
44127b65
RD
15448 }
15449 {
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15452
15453 wxPyEndAllowThreads(__tstate);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
4f89f6a3
RD
15456 {
15457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15458 }
44127b65
RD
15459 {
15460 if (temp2)
15461 delete arg2;
15462 }
15463 return resultobj;
15464 fail:
15465 {
15466 if (temp2)
15467 delete arg2;
15468 }
15469 return NULL;
15470}
15471
15472
c32bde28 15473static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15474 PyObject *resultobj;
15475 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15476 double arg2 ;
15477 double arg3 ;
15478 double arg4 ;
15479 PyObject * obj0 = 0 ;
8edf1c75
RD
15480 PyObject * obj1 = 0 ;
15481 PyObject * obj2 = 0 ;
15482 PyObject * obj3 = 0 ;
44127b65
RD
15483 char *kwnames[] = {
15484 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15485 };
15486
8edf1c75 15487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
15488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15490 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 15491 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15492 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 15493 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15494 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 15495 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 (arg1)->Rotate(arg2,arg3,arg4);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 Py_INCREF(Py_None); resultobj = Py_None;
15504 return resultobj;
15505 fail:
15506 return NULL;
15507}
15508
15509
c32bde28 15510static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15511 PyObject *resultobj;
15512 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15513 wxRect *arg2 = 0 ;
15514 wxRect temp2 ;
15515 PyObject * obj0 = 0 ;
15516 PyObject * obj1 = 0 ;
15517 char *kwnames[] = {
15518 (char *) "self",(char *) "rect", NULL
15519 };
15520
15521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15524 {
15525 arg2 = &temp2;
15526 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15527 }
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 (arg1)->SetClippingRect((wxRect const &)*arg2);
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 Py_INCREF(Py_None); resultobj = Py_None;
15536 return resultobj;
15537 fail:
15538 return NULL;
15539}
15540
15541
c32bde28 15542static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15543 PyObject *resultobj;
15544 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15545 wxColour *arg2 = 0 ;
15546 wxColour temp2 ;
15547 PyObject * obj0 = 0 ;
15548 PyObject * obj1 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self",(char *) "colour", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15556 {
15557 arg2 = &temp2;
15558 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15559 }
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 return resultobj;
15569 fail:
15570 return NULL;
15571}
15572
15573
c32bde28 15574static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15575 PyObject *resultobj;
15576 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15577 int arg2 ;
15578 PyObject * obj0 = 0 ;
8edf1c75 15579 PyObject * obj1 = 0 ;
44127b65
RD
15580 char *kwnames[] = {
15581 (char *) "self",(char *) "mode", NULL
15582 };
15583
8edf1c75 15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15587 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 15588 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 (arg1)->SetDrawnBackgroundMode(arg2);
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 Py_INCREF(Py_None); resultobj = Py_None;
15597 return resultobj;
15598 fail:
15599 return NULL;
15600}
15601
15602
c32bde28 15603static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15604 PyObject *resultobj;
15605 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15606 wxBrush *arg2 = (wxBrush *) 0 ;
15607 bool arg3 = (bool) FALSE ;
15608 PyObject * obj0 = 0 ;
15609 PyObject * obj1 = 0 ;
15610 PyObject * obj2 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15618 {
15619 wxBrush* temp;
15620 if (obj1) {
15621 if (obj1 == Py_None) {
15622 temp = NULL;
15623 }
15624 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15625 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15626 return NULL;
15627 }
15628 }
15629 if (temp)
15630 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15631 else
15632 arg2 = NULL;
15633 }
15634 if (obj2) {
c32bde28 15635 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 15636 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15637 }
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 (arg1)->SetDrawnBrush(arg2,arg3);
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 Py_INCREF(Py_None); resultobj = Py_None;
15646 return resultobj;
15647 fail:
15648 return NULL;
15649}
15650
15651
c32bde28 15652static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15653 PyObject *resultobj;
15654 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15655 wxFont *arg2 = (wxFont *) 0 ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self",(char *) "font", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15665 {
15666 wxFont* temp;
15667 if (obj1) {
15668 if (obj1 == Py_None) {
15669 temp = NULL;
15670 }
15671 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15672 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15673 return NULL;
15674 }
15675 }
15676 if (temp)
15677 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15678 temp->GetFamily(),
15679 temp->GetStyle(),
15680 temp->GetWeight(),
15681 temp->GetUnderlined(),
15682 temp->GetFaceName(),
15683 temp->GetEncoding());
15684 else
15685 arg2 = NULL;
15686 }
15687 {
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 (arg1)->SetDrawnFont(arg2);
15690
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 Py_INCREF(Py_None); resultobj = Py_None;
15695 return resultobj;
15696 fail:
15697 return NULL;
15698}
15699
15700
c32bde28 15701static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15702 PyObject *resultobj;
15703 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15704 wxPen *arg2 = (wxPen *) 0 ;
15705 bool arg3 = (bool) FALSE ;
15706 PyObject * obj0 = 0 ;
15707 PyObject * obj1 = 0 ;
15708 PyObject * obj2 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15716 {
15717 wxPen* temp;
15718 if (obj1) {
15719 if (obj1 == Py_None) {
15720 temp = NULL;
15721 }
15722 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15723 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15724 return NULL;
15725 }
15726 }
15727 if (temp)
15728 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15729 temp->GetWidth(),
15730 temp->GetStyle());
15731 else
15732 arg2 = NULL;
15733 }
15734 if (obj2) {
c32bde28 15735 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 15736 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15737 }
15738 {
15739 PyThreadState* __tstate = wxPyBeginAllowThreads();
15740 (arg1)->SetDrawnPen(arg2,arg3);
15741
15742 wxPyEndAllowThreads(__tstate);
15743 if (PyErr_Occurred()) SWIG_fail;
15744 }
15745 Py_INCREF(Py_None); resultobj = Py_None;
15746 return resultobj;
15747 fail:
15748 return NULL;
15749}
15750
15751
c32bde28 15752static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15753 PyObject *resultobj;
15754 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15755 wxColour *arg2 = 0 ;
15756 wxColour temp2 ;
15757 PyObject * obj0 = 0 ;
15758 PyObject * obj1 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self",(char *) "colour", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15766 {
15767 arg2 = &temp2;
15768 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15769 }
15770 {
15771 PyThreadState* __tstate = wxPyBeginAllowThreads();
15772 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15773
15774 wxPyEndAllowThreads(__tstate);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 }
15777 Py_INCREF(Py_None); resultobj = Py_None;
15778 return resultobj;
15779 fail:
15780 return NULL;
15781}
15782
15783
c32bde28 15784static PyObject *_wrap_PyDrawnShape_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15785 PyObject *resultobj;
15786 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15787 double arg2 ;
15788 double arg3 ;
15789 PyObject * obj0 = 0 ;
8edf1c75
RD
15790 PyObject * obj1 = 0 ;
15791 PyObject * obj2 = 0 ;
44127b65
RD
15792 char *kwnames[] = {
15793 (char *) "self",(char *) "sx",(char *) "sy", NULL
15794 };
15795
8edf1c75 15796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15799 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 15800 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15801 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 15802 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 (arg1)->Scale(arg2,arg3);
15806
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 Py_INCREF(Py_None); resultobj = Py_None;
15811 return resultobj;
15812 fail:
15813 return NULL;
15814}
15815
15816
c32bde28 15817static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15818 PyObject *resultobj;
15819 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15820 bool arg2 ;
15821 PyObject * obj0 = 0 ;
15822 PyObject * obj1 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self",(char *) "save", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15830 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 15831 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15832 {
15833 PyThreadState* __tstate = wxPyBeginAllowThreads();
15834 (arg1)->SetSaveToFile(arg2);
15835
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 Py_INCREF(Py_None); resultobj = Py_None;
15840 return resultobj;
15841 fail:
15842 return NULL;
15843}
15844
15845
c32bde28 15846static PyObject *_wrap_PyDrawnShape_Translate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15847 PyObject *resultobj;
15848 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15849 double arg2 ;
15850 double arg3 ;
15851 PyObject * obj0 = 0 ;
8edf1c75
RD
15852 PyObject * obj1 = 0 ;
15853 PyObject * obj2 = 0 ;
44127b65
RD
15854 char *kwnames[] = {
15855 (char *) "self",(char *) "x",(char *) "y", NULL
15856 };
15857
8edf1c75 15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15861 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 15862 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15863 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 15864 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 (arg1)->Translate(arg2,arg3);
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 Py_INCREF(Py_None); resultobj = Py_None;
15873 return resultobj;
15874 fail:
15875 return NULL;
15876}
15877
15878
c32bde28 15879static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15880 PyObject *resultobj;
15881 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15882 PyObject * obj0 = 0 ;
15883 char *kwnames[] = {
15884 (char *) "self", NULL
15885 };
15886
15887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 (arg1)->base_OnDelete();
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 Py_INCREF(Py_None); resultobj = Py_None;
15898 return resultobj;
15899 fail:
15900 return NULL;
15901}
15902
15903
c32bde28 15904static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15905 PyObject *resultobj;
15906 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15907 wxDC *arg2 = 0 ;
15908 PyObject * obj0 = 0 ;
15909 PyObject * obj1 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "self",(char *) "dc", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15918 SWIG_POINTER_EXCEPTION | 0)) == -1)
15919 SWIG_fail;
44127b65 15920 if (arg2 == NULL) {
2f4c0a16
RD
15921 PyErr_SetString(PyExc_TypeError,"null reference");
15922 SWIG_fail;
44127b65
RD
15923 }
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->base_OnDraw(*arg2);
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 Py_INCREF(Py_None); resultobj = Py_None;
15932 return resultobj;
15933 fail:
15934 return NULL;
15935}
15936
15937
c32bde28 15938static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15939 PyObject *resultobj;
15940 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15941 wxDC *arg2 = 0 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self",(char *) "dc", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15952 SWIG_POINTER_EXCEPTION | 0)) == -1)
15953 SWIG_fail;
44127b65 15954 if (arg2 == NULL) {
2f4c0a16
RD
15955 PyErr_SetString(PyExc_TypeError,"null reference");
15956 SWIG_fail;
44127b65
RD
15957 }
15958 {
15959 PyThreadState* __tstate = wxPyBeginAllowThreads();
15960 (arg1)->base_OnDrawContents(*arg2);
15961
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 Py_INCREF(Py_None); resultobj = Py_None;
15966 return resultobj;
15967 fail:
15968 return NULL;
15969}
15970
15971
c32bde28 15972static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15973 PyObject *resultobj;
15974 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15975 wxDC *arg2 = 0 ;
15976 bool arg3 = (bool) FALSE ;
15977 PyObject * obj0 = 0 ;
15978 PyObject * obj1 = 0 ;
15979 PyObject * obj2 = 0 ;
15980 char *kwnames[] = {
15981 (char *) "self",(char *) "dc",(char *) "erase", NULL
15982 };
15983
15984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15988 SWIG_POINTER_EXCEPTION | 0)) == -1)
15989 SWIG_fail;
44127b65 15990 if (arg2 == NULL) {
2f4c0a16
RD
15991 PyErr_SetString(PyExc_TypeError,"null reference");
15992 SWIG_fail;
44127b65
RD
15993 }
15994 if (obj2) {
c32bde28 15995 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 15996 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15997 }
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 (arg1)->base_OnDrawBranches(*arg2,arg3);
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 Py_INCREF(Py_None); resultobj = Py_None;
16006 return resultobj;
16007 fail:
16008 return NULL;
16009}
16010
16011
c32bde28 16012static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16013 PyObject *resultobj;
16014 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16015 wxDC *arg2 = 0 ;
16016 PyObject * obj0 = 0 ;
16017 PyObject * obj1 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self",(char *) "dc", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16026 SWIG_POINTER_EXCEPTION | 0)) == -1)
16027 SWIG_fail;
44127b65 16028 if (arg2 == NULL) {
2f4c0a16
RD
16029 PyErr_SetString(PyExc_TypeError,"null reference");
16030 SWIG_fail;
44127b65
RD
16031 }
16032 {
16033 PyThreadState* __tstate = wxPyBeginAllowThreads();
16034 (arg1)->base_OnMoveLinks(*arg2);
16035
16036 wxPyEndAllowThreads(__tstate);
16037 if (PyErr_Occurred()) SWIG_fail;
16038 }
16039 Py_INCREF(Py_None); resultobj = Py_None;
16040 return resultobj;
16041 fail:
16042 return NULL;
16043}
16044
16045
c32bde28 16046static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16047 PyObject *resultobj;
16048 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16049 wxDC *arg2 = 0 ;
16050 PyObject * obj0 = 0 ;
16051 PyObject * obj1 = 0 ;
16052 char *kwnames[] = {
16053 (char *) "self",(char *) "dc", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16060 SWIG_POINTER_EXCEPTION | 0)) == -1)
16061 SWIG_fail;
44127b65 16062 if (arg2 == NULL) {
2f4c0a16
RD
16063 PyErr_SetString(PyExc_TypeError,"null reference");
16064 SWIG_fail;
44127b65
RD
16065 }
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 (arg1)->base_OnErase(*arg2);
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 Py_INCREF(Py_None); resultobj = Py_None;
16074 return resultobj;
16075 fail:
16076 return NULL;
16077}
16078
16079
c32bde28 16080static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16081 PyObject *resultobj;
16082 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16083 wxDC *arg2 = 0 ;
16084 PyObject * obj0 = 0 ;
16085 PyObject * obj1 = 0 ;
16086 char *kwnames[] = {
16087 (char *) "self",(char *) "dc", NULL
16088 };
16089
16090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16094 SWIG_POINTER_EXCEPTION | 0)) == -1)
16095 SWIG_fail;
44127b65 16096 if (arg2 == NULL) {
2f4c0a16
RD
16097 PyErr_SetString(PyExc_TypeError,"null reference");
16098 SWIG_fail;
44127b65
RD
16099 }
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 (arg1)->base_OnEraseContents(*arg2);
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 Py_INCREF(Py_None); resultobj = Py_None;
16108 return resultobj;
16109 fail:
16110 return NULL;
16111}
16112
16113
c32bde28 16114static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16115 PyObject *resultobj;
16116 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16117 wxDC *arg2 = 0 ;
16118 PyObject * obj0 = 0 ;
16119 PyObject * obj1 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self",(char *) "dc", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16128 SWIG_POINTER_EXCEPTION | 0)) == -1)
16129 SWIG_fail;
44127b65 16130 if (arg2 == NULL) {
2f4c0a16
RD
16131 PyErr_SetString(PyExc_TypeError,"null reference");
16132 SWIG_fail;
44127b65
RD
16133 }
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
16136 (arg1)->base_OnHighlight(*arg2);
16137
16138 wxPyEndAllowThreads(__tstate);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 }
16141 Py_INCREF(Py_None); resultobj = Py_None;
16142 return resultobj;
16143 fail:
16144 return NULL;
16145}
16146
16147
c32bde28 16148static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16149 PyObject *resultobj;
16150 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16151 double arg2 ;
16152 double arg3 ;
16153 int arg4 = (int) 0 ;
16154 int arg5 = (int) 0 ;
16155 PyObject * obj0 = 0 ;
8edf1c75
RD
16156 PyObject * obj1 = 0 ;
16157 PyObject * obj2 = 0 ;
16158 PyObject * obj3 = 0 ;
16159 PyObject * obj4 = 0 ;
44127b65
RD
16160 char *kwnames[] = {
16161 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16162 };
16163
8edf1c75 16164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16167 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 16168 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16169 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16170 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16171 if (obj3) {
c32bde28 16172 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 16173 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16174 }
16175 if (obj4) {
c32bde28 16176 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16177 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16178 }
44127b65
RD
16179 {
16180 PyThreadState* __tstate = wxPyBeginAllowThreads();
16181 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16182
16183 wxPyEndAllowThreads(__tstate);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 }
16186 Py_INCREF(Py_None); resultobj = Py_None;
16187 return resultobj;
16188 fail:
16189 return NULL;
16190}
16191
16192
c32bde28 16193static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16194 PyObject *resultobj;
16195 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16196 double arg2 ;
16197 double arg3 ;
16198 int arg4 = (int) 0 ;
16199 int arg5 = (int) 0 ;
16200 PyObject * obj0 = 0 ;
8edf1c75
RD
16201 PyObject * obj1 = 0 ;
16202 PyObject * obj2 = 0 ;
16203 PyObject * obj3 = 0 ;
16204 PyObject * obj4 = 0 ;
44127b65
RD
16205 char *kwnames[] = {
16206 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16207 };
16208
8edf1c75 16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16212 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 16213 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16214 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16215 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16216 if (obj3) {
c32bde28 16217 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 16218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16219 }
16220 if (obj4) {
c32bde28 16221 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16222 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16223 }
44127b65
RD
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16227
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 Py_INCREF(Py_None); resultobj = Py_None;
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
c32bde28 16238static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16239 PyObject *resultobj;
16240 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16241 double arg2 ;
16242 double arg3 ;
16243 int arg4 = (int) 0 ;
16244 int arg5 = (int) 0 ;
16245 PyObject * obj0 = 0 ;
8edf1c75
RD
16246 PyObject * obj1 = 0 ;
16247 PyObject * obj2 = 0 ;
16248 PyObject * obj3 = 0 ;
16249 PyObject * obj4 = 0 ;
44127b65
RD
16250 char *kwnames[] = {
16251 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16252 };
16253
8edf1c75 16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16257 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 16258 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16259 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16260 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16261 if (obj3) {
c32bde28 16262 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 16263 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16264 }
16265 if (obj4) {
c32bde28 16266 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16267 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16268 }
44127b65
RD
16269 {
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16272
16273 wxPyEndAllowThreads(__tstate);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 Py_INCREF(Py_None); resultobj = Py_None;
16277 return resultobj;
16278 fail:
16279 return NULL;
16280}
16281
16282
c32bde28 16283static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16284 PyObject *resultobj;
16285 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16286 double arg2 ;
16287 double arg3 ;
16288 PyObject * obj0 = 0 ;
8edf1c75
RD
16289 PyObject * obj1 = 0 ;
16290 PyObject * obj2 = 0 ;
44127b65
RD
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "x",(char *) "y", NULL
16293 };
16294
8edf1c75 16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16298 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 16299 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16300 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16301 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16302 {
16303 PyThreadState* __tstate = wxPyBeginAllowThreads();
16304 (arg1)->base_OnSize(arg2,arg3);
16305
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 Py_INCREF(Py_None); resultobj = Py_None;
16310 return resultobj;
16311 fail:
16312 return NULL;
16313}
16314
16315
c32bde28 16316static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16317 PyObject *resultobj;
16318 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16319 wxDC *arg2 = 0 ;
16320 double arg3 ;
16321 double arg4 ;
16322 double arg5 ;
16323 double arg6 ;
ae8162c8 16324 bool arg7 = (bool) true ;
44127b65
RD
16325 bool result;
16326 PyObject * obj0 = 0 ;
16327 PyObject * obj1 = 0 ;
8edf1c75
RD
16328 PyObject * obj2 = 0 ;
16329 PyObject * obj3 = 0 ;
16330 PyObject * obj4 = 0 ;
16331 PyObject * obj5 = 0 ;
44127b65
RD
16332 PyObject * obj6 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16335 };
16336
8edf1c75 16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16341 SWIG_POINTER_EXCEPTION | 0)) == -1)
16342 SWIG_fail;
44127b65 16343 if (arg2 == NULL) {
2f4c0a16
RD
16344 PyErr_SetString(PyExc_TypeError,"null reference");
16345 SWIG_fail;
16346 }
c32bde28 16347 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16348 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16349 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 16350 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16351 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 16352 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16353 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 16354 if (PyErr_Occurred()) SWIG_fail;
44127b65 16355 if (obj6) {
c32bde28 16356 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 16357 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16358 }
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
4f89f6a3
RD
16366 {
16367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16368 }
44127b65
RD
16369 return resultobj;
16370 fail:
16371 return NULL;
16372}
16373
16374
c32bde28 16375static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16376 PyObject *resultobj;
16377 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16378 wxDC *arg2 = 0 ;
16379 double arg3 ;
16380 double arg4 ;
16381 double arg5 ;
16382 double arg6 ;
ae8162c8 16383 bool arg7 = (bool) true ;
44127b65
RD
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
8edf1c75
RD
16386 PyObject * obj2 = 0 ;
16387 PyObject * obj3 = 0 ;
16388 PyObject * obj4 = 0 ;
16389 PyObject * obj5 = 0 ;
44127b65
RD
16390 PyObject * obj6 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16393 };
16394
8edf1c75 16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16399 SWIG_POINTER_EXCEPTION | 0)) == -1)
16400 SWIG_fail;
44127b65 16401 if (arg2 == NULL) {
2f4c0a16
RD
16402 PyErr_SetString(PyExc_TypeError,"null reference");
16403 SWIG_fail;
16404 }
c32bde28 16405 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16406 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16407 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 16408 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16409 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 16410 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16411 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 16412 if (PyErr_Occurred()) SWIG_fail;
44127b65 16413 if (obj6) {
c32bde28 16414 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 16415 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16416 }
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16420
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 Py_INCREF(Py_None); resultobj = Py_None;
16425 return resultobj;
16426 fail:
16427 return NULL;
16428}
16429
16430
c32bde28 16431static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16432 PyObject *resultobj;
16433 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16434 bool arg2 ;
16435 double arg3 ;
16436 double arg4 ;
16437 int arg5 = (int) 0 ;
16438 int arg6 = (int) 0 ;
16439 PyObject * obj0 = 0 ;
16440 PyObject * obj1 = 0 ;
8edf1c75
RD
16441 PyObject * obj2 = 0 ;
16442 PyObject * obj3 = 0 ;
16443 PyObject * obj4 = 0 ;
16444 PyObject * obj5 = 0 ;
44127b65
RD
16445 char *kwnames[] = {
16446 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16447 };
16448
8edf1c75 16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16452 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 16453 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16454 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16455 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16456 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 16457 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16458 if (obj4) {
c32bde28 16459 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16460 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16461 }
16462 if (obj5) {
c32bde28 16463 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 16464 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16465 }
44127b65
RD
16466 {
16467 PyThreadState* __tstate = wxPyBeginAllowThreads();
16468 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16469
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 Py_INCREF(Py_None); resultobj = Py_None;
16474 return resultobj;
16475 fail:
16476 return NULL;
16477}
16478
16479
c32bde28 16480static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16481 PyObject *resultobj;
16482 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16483 double arg2 ;
16484 double arg3 ;
16485 int arg4 = (int) 0 ;
16486 int arg5 = (int) 0 ;
16487 PyObject * obj0 = 0 ;
8edf1c75
RD
16488 PyObject * obj1 = 0 ;
16489 PyObject * obj2 = 0 ;
16490 PyObject * obj3 = 0 ;
16491 PyObject * obj4 = 0 ;
44127b65
RD
16492 char *kwnames[] = {
16493 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16494 };
16495
8edf1c75 16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16499 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 16500 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16501 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16502 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16503 if (obj3) {
c32bde28 16504 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 16505 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16506 }
16507 if (obj4) {
c32bde28 16508 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16509 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16510 }
44127b65
RD
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522}
16523
16524
c32bde28 16525static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16526 PyObject *resultobj;
16527 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16528 double arg2 ;
16529 double arg3 ;
16530 int arg4 = (int) 0 ;
16531 int arg5 = (int) 0 ;
16532 PyObject * obj0 = 0 ;
8edf1c75
RD
16533 PyObject * obj1 = 0 ;
16534 PyObject * obj2 = 0 ;
16535 PyObject * obj3 = 0 ;
16536 PyObject * obj4 = 0 ;
44127b65
RD
16537 char *kwnames[] = {
16538 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16539 };
16540
8edf1c75 16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16544 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 16545 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16546 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16547 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16548 if (obj3) {
c32bde28 16549 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 16550 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16551 }
16552 if (obj4) {
c32bde28 16553 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16554 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16555 }
44127b65
RD
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
16558 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16559
16560 wxPyEndAllowThreads(__tstate);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 Py_INCREF(Py_None); resultobj = Py_None;
16564 return resultobj;
16565 fail:
16566 return NULL;
16567}
16568
16569
c32bde28 16570static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16571 PyObject *resultobj;
16572 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16573 bool arg2 ;
16574 double arg3 ;
16575 double arg4 ;
16576 int arg5 = (int) 0 ;
16577 int arg6 = (int) 0 ;
16578 PyObject * obj0 = 0 ;
16579 PyObject * obj1 = 0 ;
8edf1c75
RD
16580 PyObject * obj2 = 0 ;
16581 PyObject * obj3 = 0 ;
16582 PyObject * obj4 = 0 ;
16583 PyObject * obj5 = 0 ;
44127b65
RD
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16586 };
16587
8edf1c75 16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16591 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 16592 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16593 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16594 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16595 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 16596 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16597 if (obj4) {
c32bde28 16598 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16599 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16600 }
16601 if (obj5) {
c32bde28 16602 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 16603 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16604 }
44127b65
RD
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16608
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 Py_INCREF(Py_None); resultobj = Py_None;
16613 return resultobj;
16614 fail:
16615 return NULL;
16616}
16617
16618
c32bde28 16619static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16620 PyObject *resultobj;
16621 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16622 double arg2 ;
16623 double arg3 ;
16624 int arg4 = (int) 0 ;
16625 int arg5 = (int) 0 ;
16626 PyObject * obj0 = 0 ;
8edf1c75
RD
16627 PyObject * obj1 = 0 ;
16628 PyObject * obj2 = 0 ;
16629 PyObject * obj3 = 0 ;
16630 PyObject * obj4 = 0 ;
44127b65
RD
16631 char *kwnames[] = {
16632 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16633 };
16634
8edf1c75 16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16638 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 16639 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16640 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16641 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16642 if (obj3) {
c32bde28 16643 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 16644 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16645 }
16646 if (obj4) {
c32bde28 16647 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16648 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16649 }
44127b65
RD
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 Py_INCREF(Py_None); resultobj = Py_None;
16658 return resultobj;
16659 fail:
16660 return NULL;
16661}
16662
16663
c32bde28 16664static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16665 PyObject *resultobj;
16666 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16667 double arg2 ;
16668 double arg3 ;
16669 int arg4 = (int) 0 ;
16670 int arg5 = (int) 0 ;
16671 PyObject * obj0 = 0 ;
8edf1c75
RD
16672 PyObject * obj1 = 0 ;
16673 PyObject * obj2 = 0 ;
16674 PyObject * obj3 = 0 ;
16675 PyObject * obj4 = 0 ;
44127b65
RD
16676 char *kwnames[] = {
16677 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16678 };
16679
8edf1c75 16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16683 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 16684 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16685 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16686 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16687 if (obj3) {
c32bde28 16688 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 16689 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16690 }
16691 if (obj4) {
c32bde28 16692 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16693 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16694 }
44127b65
RD
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 Py_INCREF(Py_None); resultobj = Py_None;
16703 return resultobj;
16704 fail:
16705 return NULL;
16706}
16707
16708
c32bde28 16709static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16710 PyObject *resultobj;
16711 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16712 wxDC *arg2 = 0 ;
16713 double arg3 ;
16714 double arg4 ;
16715 double arg5 ;
16716 double arg6 ;
16717 PyObject * obj0 = 0 ;
16718 PyObject * obj1 = 0 ;
8edf1c75
RD
16719 PyObject * obj2 = 0 ;
16720 PyObject * obj3 = 0 ;
16721 PyObject * obj4 = 0 ;
16722 PyObject * obj5 = 0 ;
44127b65
RD
16723 char *kwnames[] = {
16724 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16725 };
16726
8edf1c75 16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16731 SWIG_POINTER_EXCEPTION | 0)) == -1)
16732 SWIG_fail;
44127b65 16733 if (arg2 == NULL) {
2f4c0a16
RD
16734 PyErr_SetString(PyExc_TypeError,"null reference");
16735 SWIG_fail;
8edf1c75 16736 }
c32bde28 16737 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16738 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16739 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 16740 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16741 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 16742 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16743 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 16744 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 Py_INCREF(Py_None); resultobj = Py_None;
16753 return resultobj;
16754 fail:
16755 return NULL;
16756}
16757
16758
c32bde28 16759static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16760 PyObject *resultobj;
16761 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16762 wxDC *arg2 = 0 ;
16763 PyObject * obj0 = 0 ;
16764 PyObject * obj1 = 0 ;
16765 char *kwnames[] = {
16766 (char *) "self",(char *) "dc", NULL
16767 };
16768
16769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16773 SWIG_POINTER_EXCEPTION | 0)) == -1)
16774 SWIG_fail;
44127b65 16775 if (arg2 == NULL) {
2f4c0a16
RD
16776 PyErr_SetString(PyExc_TypeError,"null reference");
16777 SWIG_fail;
44127b65
RD
16778 }
16779 {
16780 PyThreadState* __tstate = wxPyBeginAllowThreads();
16781 (arg1)->base_OnDrawControlPoints(*arg2);
16782
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 Py_INCREF(Py_None); resultobj = Py_None;
16787 return resultobj;
16788 fail:
16789 return NULL;
16790}
16791
16792
c32bde28 16793static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16794 PyObject *resultobj;
16795 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16796 wxDC *arg2 = 0 ;
16797 PyObject * obj0 = 0 ;
16798 PyObject * obj1 = 0 ;
16799 char *kwnames[] = {
16800 (char *) "self",(char *) "dc", NULL
16801 };
16802
16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16807 SWIG_POINTER_EXCEPTION | 0)) == -1)
16808 SWIG_fail;
44127b65 16809 if (arg2 == NULL) {
2f4c0a16
RD
16810 PyErr_SetString(PyExc_TypeError,"null reference");
16811 SWIG_fail;
44127b65
RD
16812 }
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 (arg1)->base_OnEraseControlPoints(*arg2);
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 Py_INCREF(Py_None); resultobj = Py_None;
16821 return resultobj;
16822 fail:
16823 return NULL;
16824}
16825
16826
c32bde28 16827static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16828 PyObject *resultobj;
16829 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16830 wxDC *arg2 = 0 ;
ae8162c8 16831 bool arg3 = (bool) true ;
44127b65
RD
16832 PyObject * obj0 = 0 ;
16833 PyObject * obj1 = 0 ;
16834 PyObject * obj2 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16843 SWIG_POINTER_EXCEPTION | 0)) == -1)
16844 SWIG_fail;
44127b65 16845 if (arg2 == NULL) {
2f4c0a16
RD
16846 PyErr_SetString(PyExc_TypeError,"null reference");
16847 SWIG_fail;
44127b65
RD
16848 }
16849 if (obj2) {
c32bde28 16850 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 16851 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16852 }
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
16855 (arg1)->base_OnMoveLink(*arg2,arg3);
16856
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
16860 Py_INCREF(Py_None); resultobj = Py_None;
16861 return resultobj;
16862 fail:
16863 return NULL;
16864}
16865
16866
c32bde28 16867static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16868 PyObject *resultobj;
16869 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16870 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16871 bool arg3 ;
16872 double arg4 ;
16873 double arg5 ;
16874 int arg6 = (int) 0 ;
16875 int arg7 = (int) 0 ;
16876 PyObject * obj0 = 0 ;
16877 PyObject * obj1 = 0 ;
16878 PyObject * obj2 = 0 ;
8edf1c75
RD
16879 PyObject * obj3 = 0 ;
16880 PyObject * obj4 = 0 ;
16881 PyObject * obj5 = 0 ;
16882 PyObject * obj6 = 0 ;
44127b65
RD
16883 char *kwnames[] = {
16884 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16885 };
16886
8edf1c75 16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16892 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 16893 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16894 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 16895 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16896 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 16897 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16898 if (obj5) {
c32bde28 16899 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 16900 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16901 }
16902 if (obj6) {
c32bde28 16903 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 16904 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16905 }
44127b65
RD
16906 {
16907 PyThreadState* __tstate = wxPyBeginAllowThreads();
16908 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16909
16910 wxPyEndAllowThreads(__tstate);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
16913 Py_INCREF(Py_None); resultobj = Py_None;
16914 return resultobj;
16915 fail:
16916 return NULL;
16917}
16918
16919
c32bde28 16920static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16921 PyObject *resultobj;
16922 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16923 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16924 double arg3 ;
16925 double arg4 ;
16926 int arg5 = (int) 0 ;
16927 int arg6 = (int) 0 ;
16928 PyObject * obj0 = 0 ;
16929 PyObject * obj1 = 0 ;
8edf1c75
RD
16930 PyObject * obj2 = 0 ;
16931 PyObject * obj3 = 0 ;
16932 PyObject * obj4 = 0 ;
16933 PyObject * obj5 = 0 ;
44127b65
RD
16934 char *kwnames[] = {
16935 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16936 };
16937
8edf1c75 16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16943 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16944 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16945 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 16946 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16947 if (obj4) {
c32bde28 16948 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16949 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16950 }
16951 if (obj5) {
c32bde28 16952 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 16953 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16954 }
44127b65
RD
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 Py_INCREF(Py_None); resultobj = Py_None;
16963 return resultobj;
16964 fail:
16965 return NULL;
16966}
16967
16968
c32bde28 16969static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16970 PyObject *resultobj;
16971 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16972 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16973 double arg3 ;
16974 double arg4 ;
16975 int arg5 = (int) 0 ;
16976 int arg6 = (int) 0 ;
16977 PyObject * obj0 = 0 ;
16978 PyObject * obj1 = 0 ;
8edf1c75
RD
16979 PyObject * obj2 = 0 ;
16980 PyObject * obj3 = 0 ;
16981 PyObject * obj4 = 0 ;
16982 PyObject * obj5 = 0 ;
44127b65
RD
16983 char *kwnames[] = {
16984 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16985 };
16986
8edf1c75 16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16992 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 16993 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16994 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 16995 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16996 if (obj4) {
c32bde28 16997 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 16998 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16999 }
17000 if (obj5) {
c32bde28 17001 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 17002 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17003 }
44127b65
RD
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 Py_INCREF(Py_None); resultobj = Py_None;
17012 return resultobj;
17013 fail:
17014 return NULL;
17015}
17016
17017
c32bde28 17018static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17019 PyObject *resultobj;
17020 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17021 double arg2 ;
17022 double arg3 ;
17023 PyObject * obj0 = 0 ;
8edf1c75
RD
17024 PyObject * obj1 = 0 ;
17025 PyObject * obj2 = 0 ;
44127b65
RD
17026 char *kwnames[] = {
17027 (char *) "self",(char *) "w",(char *) "h", NULL
17028 };
17029
8edf1c75 17030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
17032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17033 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 17034 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17035 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 17036 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 (arg1)->base_OnBeginSize(arg2,arg3);
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 Py_INCREF(Py_None); resultobj = Py_None;
17045 return resultobj;
17046 fail:
17047 return NULL;
17048}
17049
17050
c32bde28 17051static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17052 PyObject *resultobj;
17053 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17054 double arg2 ;
17055 double arg3 ;
17056 PyObject * obj0 = 0 ;
8edf1c75
RD
17057 PyObject * obj1 = 0 ;
17058 PyObject * obj2 = 0 ;
44127b65
RD
17059 char *kwnames[] = {
17060 (char *) "self",(char *) "w",(char *) "h", NULL
17061 };
17062
8edf1c75 17063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
17065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17066 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 17067 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17068 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 17069 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 (arg1)->base_OnEndSize(arg2,arg3);
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 Py_INCREF(Py_None); resultobj = Py_None;
17078 return resultobj;
17079 fail:
17080 return NULL;
17081}
17082
17083
c32bde28 17084static PyObject * PyDrawnShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
17085 PyObject *obj;
17086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17087 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
17088 Py_INCREF(obj);
17089 return Py_BuildValue((char *)"");
17090}
c32bde28 17091static PyObject *_wrap_new_OGLConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17092 PyObject *resultobj;
17093 int arg1 ;
17094 wxPyShape *arg2 = (wxPyShape *) 0 ;
17095 PyObject *arg3 = (PyObject *) 0 ;
17096 wxOGLConstraint *result;
8edf1c75 17097 PyObject * obj0 = 0 ;
44127b65
RD
17098 PyObject * obj1 = 0 ;
17099 PyObject * obj2 = 0 ;
17100 char *kwnames[] = {
17101 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17102 };
17103
8edf1c75 17104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 17105 arg1 = (int)SWIG_As_int(obj0);
2f4c0a16
RD
17106 if (PyErr_Occurred()) SWIG_fail;
17107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17109 arg3 = obj2;
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
17113
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 {
412d302d 17118 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
17119 }
17120 return resultobj;
17121 fail:
17122 return NULL;
17123}
17124
17125
c32bde28 17126static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17127 PyObject *resultobj;
17128 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17129 bool result;
17130 PyObject * obj0 = 0 ;
17131 char *kwnames[] = {
17132 (char *) "self", NULL
17133 };
17134
17135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 result = (bool)(arg1)->Evaluate();
17141
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
4f89f6a3
RD
17145 {
17146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17147 }
44127b65
RD
17148 return resultobj;
17149 fail:
17150 return NULL;
17151}
17152
17153
c32bde28 17154static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17155 PyObject *resultobj;
17156 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17157 double arg2 ;
17158 double arg3 ;
17159 PyObject * obj0 = 0 ;
8edf1c75
RD
17160 PyObject * obj1 = 0 ;
17161 PyObject * obj2 = 0 ;
44127b65
RD
17162 char *kwnames[] = {
17163 (char *) "self",(char *) "x",(char *) "y", NULL
17164 };
17165
8edf1c75 17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17169 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 17170 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17171 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 17172 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 (arg1)->SetSpacing(arg2,arg3);
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 Py_INCREF(Py_None); resultobj = Py_None;
17181 return resultobj;
17182 fail:
17183 return NULL;
17184}
17185
17186
c32bde28 17187static PyObject *_wrap_OGLConstraint_Equals(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17188 PyObject *resultobj;
17189 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17190 double arg2 ;
17191 double arg3 ;
17192 bool result;
17193 PyObject * obj0 = 0 ;
8edf1c75
RD
17194 PyObject * obj1 = 0 ;
17195 PyObject * obj2 = 0 ;
44127b65
RD
17196 char *kwnames[] = {
17197 (char *) "self",(char *) "a",(char *) "b", NULL
17198 };
17199
8edf1c75 17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17203 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 17204 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17205 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 17206 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17207 {
17208 PyThreadState* __tstate = wxPyBeginAllowThreads();
17209 result = (bool)(arg1)->Equals(arg2,arg3);
17210
17211 wxPyEndAllowThreads(__tstate);
17212 if (PyErr_Occurred()) SWIG_fail;
17213 }
4f89f6a3
RD
17214 {
17215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17216 }
44127b65
RD
17217 return resultobj;
17218 fail:
17219 return NULL;
17220}
17221
17222
c32bde28 17223static PyObject * OGLConstraint_swigregister(PyObject *, PyObject *args) {
44127b65
RD
17224 PyObject *obj;
17225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17226 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17227 Py_INCREF(obj);
17228 return Py_BuildValue((char *)"");
17229}
c32bde28 17230static PyObject *_wrap_new_PyCompositeShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17231 PyObject *resultobj;
17232 wxPyCompositeShape *result;
17233 char *kwnames[] = {
17234 NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
2f4c0a16 17245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
44127b65
RD
17246 return resultobj;
17247 fail:
17248 return NULL;
17249}
17250
17251
c32bde28 17252static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17253 PyObject *resultobj;
17254 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17255 PyObject *arg2 = (PyObject *) 0 ;
17256 PyObject *arg3 = (PyObject *) 0 ;
17257 PyObject * obj0 = 0 ;
17258 PyObject * obj1 = 0 ;
17259 PyObject * obj2 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self",(char *) "self",(char *) "_class", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17267 arg2 = obj1;
17268 arg3 = obj2;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 (arg1)->_setCallbackInfo(arg2,arg3);
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 Py_INCREF(Py_None); resultobj = Py_None;
17277 return resultobj;
17278 fail:
17279 return NULL;
17280}
17281
17282
c32bde28 17283static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17284 PyObject *resultobj;
17285 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17286 wxPyShape *arg2 = (wxPyShape *) 0 ;
17287 wxPyShape *arg3 = (wxPyShape *) NULL ;
17288 PyObject * obj0 = 0 ;
17289 PyObject * obj1 = 0 ;
17290 PyObject * obj2 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 17300 if (obj2) {
2f4c0a16
RD
17301 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17303 }
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 (arg1)->AddChild(arg2,arg3);
17307
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 Py_INCREF(Py_None); resultobj = Py_None;
17312 return resultobj;
17313 fail:
17314 return NULL;
17315}
17316
17317
c32bde28 17318static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17319 PyObject *resultobj;
17320 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17321 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17322 wxOGLConstraint *result;
17323 PyObject * obj0 = 0 ;
17324 PyObject * obj1 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self",(char *) "constraint", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17337
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 {
412d302d 17342 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
17343 }
17344 return resultobj;
17345 fail:
17346 return NULL;
17347}
17348
17349
c32bde28 17350static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17351 PyObject *resultobj;
17352 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17353 int arg2 ;
17354 wxPyShape *arg3 = (wxPyShape *) 0 ;
17355 PyObject *arg4 = (PyObject *) 0 ;
17356 wxOGLConstraint *result;
17357 PyObject * obj0 = 0 ;
8edf1c75 17358 PyObject * obj1 = 0 ;
44127b65
RD
17359 PyObject * obj2 = 0 ;
17360 PyObject * obj3 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17363 };
17364
8edf1c75 17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17368 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16
RD
17369 if (PyErr_Occurred()) SWIG_fail;
17370 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17372 arg4 = obj3;
17373 {
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 {
412d302d 17381 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
17382 }
17383 return resultobj;
17384 fail:
17385 return NULL;
17386}
17387
17388
c32bde28 17389static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17390 PyObject *resultobj;
17391 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17392 int arg2 ;
17393 wxPyShape *arg3 = (wxPyShape *) 0 ;
17394 wxPyShape *arg4 = (wxPyShape *) 0 ;
17395 wxOGLConstraint *result;
17396 PyObject * obj0 = 0 ;
8edf1c75 17397 PyObject * obj1 = 0 ;
44127b65
RD
17398 PyObject * obj2 = 0 ;
17399 PyObject * obj3 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17402 };
17403
8edf1c75 17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17407 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16
RD
17408 if (PyErr_Occurred()) SWIG_fail;
17409 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17411 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPyShape,
17412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17413 {
17414 PyThreadState* __tstate = wxPyBeginAllowThreads();
17415 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17416
17417 wxPyEndAllowThreads(__tstate);
17418 if (PyErr_Occurred()) SWIG_fail;
17419 }
17420 {
412d302d 17421 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
17422 }
17423 return resultobj;
17424 fail:
17425 return NULL;
17426}
17427
17428
c32bde28 17429static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17430 PyObject *resultobj;
17431 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17432 PyObject * obj0 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 (arg1)->CalculateSize();
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 Py_INCREF(Py_None); resultobj = Py_None;
17448 return resultobj;
17449 fail:
17450 return NULL;
17451}
17452
17453
c32bde28 17454static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17455 PyObject *resultobj;
17456 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17457 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17458 bool result;
17459 PyObject * obj0 = 0 ;
17460 PyObject * obj1 = 0 ;
17461 char *kwnames[] = {
17462 (char *) "self",(char *) "division", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
17469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = (bool)(arg1)->ContainsDivision(arg2);
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
4f89f6a3
RD
17477 {
17478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17479 }
44127b65
RD
17480 return resultobj;
17481 fail:
17482 return NULL;
17483}
17484
17485
c32bde28 17486static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17487 PyObject *resultobj;
17488 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17489 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17490 PyObject * obj0 = 0 ;
17491 PyObject * obj1 = 0 ;
17492 char *kwnames[] = {
17493 (char *) "self",(char *) "constraint", NULL
17494 };
17495
17496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 (arg1)->DeleteConstraint(arg2);
17504
17505 wxPyEndAllowThreads(__tstate);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 Py_INCREF(Py_None); resultobj = Py_None;
17509 return resultobj;
17510 fail:
17511 return NULL;
17512}
17513
17514
c32bde28 17515static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17516 PyObject *resultobj;
17517 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17518 wxPyShape *arg2 = (wxPyShape *) 0 ;
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj1 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "child", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17533
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 Py_INCREF(Py_None); resultobj = Py_None;
17538 return resultobj;
17539 fail:
17540 return NULL;
17541}
17542
17543
c32bde28 17544static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17545 PyObject *resultobj;
17546 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17547 wxPyShape *result;
17548 PyObject * obj0 = 0 ;
17549 char *kwnames[] = {
17550 (char *) "self", NULL
17551 };
17552
17553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17556 {
17557 PyThreadState* __tstate = wxPyBeginAllowThreads();
17558 result = (wxPyShape *)(arg1)->FindContainerImage();
17559
17560 wxPyEndAllowThreads(__tstate);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
17563 {
412d302d 17564 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
17565 }
17566 return resultobj;
17567 fail:
17568 return NULL;
17569}
17570
17571
c32bde28 17572static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17573 PyObject *resultobj;
17574 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17575 PyObject *result;
17576 PyObject * obj0 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "self", NULL
17579 };
17580
17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17584 {
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17587
17588 wxPyEndAllowThreads(__tstate);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 resultobj = result;
17592 return resultobj;
17593 fail:
17594 return NULL;
17595}
17596
17597
c32bde28 17598static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17599 PyObject *resultobj;
17600 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17601 PyObject *result;
17602 PyObject * obj0 = 0 ;
17603 char *kwnames[] = {
17604 (char *) "self", NULL
17605 };
17606
17607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17610 {
17611 PyThreadState* __tstate = wxPyBeginAllowThreads();
17612 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17613
17614 wxPyEndAllowThreads(__tstate);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 resultobj = result;
17618 return resultobj;
17619 fail:
17620 return NULL;
17621}
17622
17623
c32bde28 17624static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17625 PyObject *resultobj;
17626 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17627 PyObject * obj0 = 0 ;
17628 char *kwnames[] = {
17629 (char *) "self", NULL
17630 };
17631
17632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 (arg1)->MakeContainer();
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 Py_INCREF(Py_None); resultobj = Py_None;
17643 return resultobj;
17644 fail:
17645 return NULL;
17646}
17647
17648
c32bde28 17649static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17650 PyObject *resultobj;
17651 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17652 bool result;
17653 PyObject * obj0 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17661 {
17662 PyThreadState* __tstate = wxPyBeginAllowThreads();
17663 result = (bool)(arg1)->Recompute();
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
4f89f6a3
RD
17668 {
17669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17670 }
44127b65
RD
17671 return resultobj;
17672 fail:
17673 return NULL;
17674}
17675
17676
c32bde28 17677static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17678 PyObject *resultobj;
17679 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17680 wxPyShape *arg2 = (wxPyShape *) 0 ;
17681 PyObject * obj0 = 0 ;
17682 PyObject * obj1 = 0 ;
17683 char *kwnames[] = {
17684 (char *) "self",(char *) "child", NULL
17685 };
17686
17687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 (arg1)->RemoveChild(arg2);
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 Py_INCREF(Py_None); resultobj = Py_None;
17700 return resultobj;
17701 fail:
17702 return NULL;
17703}
17704
17705
c32bde28 17706static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17707 PyObject *resultobj;
17708 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17709 PyObject * obj0 = 0 ;
17710 char *kwnames[] = {
17711 (char *) "self", NULL
17712 };
17713
17714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 (arg1)->base_OnDelete();
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 Py_INCREF(Py_None); resultobj = Py_None;
17725 return resultobj;
17726 fail:
17727 return NULL;
17728}
17729
17730
c32bde28 17731static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17732 PyObject *resultobj;
17733 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17734 wxDC *arg2 = 0 ;
17735 PyObject * obj0 = 0 ;
17736 PyObject * obj1 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self",(char *) "dc", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1)
17746 SWIG_fail;
44127b65 17747 if (arg2 == NULL) {
2f4c0a16
RD
17748 PyErr_SetString(PyExc_TypeError,"null reference");
17749 SWIG_fail;
44127b65
RD
17750 }
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 (arg1)->base_OnDraw(*arg2);
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 Py_INCREF(Py_None); resultobj = Py_None;
17759 return resultobj;
17760 fail:
17761 return NULL;
17762}
17763
17764
c32bde28 17765static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17766 PyObject *resultobj;
17767 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17768 wxDC *arg2 = 0 ;
17769 PyObject * obj0 = 0 ;
17770 PyObject * obj1 = 0 ;
17771 char *kwnames[] = {
17772 (char *) "self",(char *) "dc", NULL
17773 };
17774
17775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17779 SWIG_POINTER_EXCEPTION | 0)) == -1)
17780 SWIG_fail;
44127b65 17781 if (arg2 == NULL) {
2f4c0a16
RD
17782 PyErr_SetString(PyExc_TypeError,"null reference");
17783 SWIG_fail;
44127b65
RD
17784 }
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 (arg1)->base_OnDrawContents(*arg2);
17788
17789 wxPyEndAllowThreads(__tstate);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 Py_INCREF(Py_None); resultobj = Py_None;
17793 return resultobj;
17794 fail:
17795 return NULL;
17796}
17797
17798
c32bde28 17799static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17800 PyObject *resultobj;
17801 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17802 wxDC *arg2 = 0 ;
17803 bool arg3 = (bool) FALSE ;
17804 PyObject * obj0 = 0 ;
17805 PyObject * obj1 = 0 ;
17806 PyObject * obj2 = 0 ;
17807 char *kwnames[] = {
17808 (char *) "self",(char *) "dc",(char *) "erase", NULL
17809 };
17810
17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17815 SWIG_POINTER_EXCEPTION | 0)) == -1)
17816 SWIG_fail;
44127b65 17817 if (arg2 == NULL) {
2f4c0a16
RD
17818 PyErr_SetString(PyExc_TypeError,"null reference");
17819 SWIG_fail;
44127b65
RD
17820 }
17821 if (obj2) {
c32bde28 17822 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 17823 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17824 }
17825 {
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 (arg1)->base_OnDrawBranches(*arg2,arg3);
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 Py_INCREF(Py_None); resultobj = Py_None;
17833 return resultobj;
17834 fail:
17835 return NULL;
17836}
17837
17838
c32bde28 17839static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17840 PyObject *resultobj;
17841 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17842 wxDC *arg2 = 0 ;
17843 PyObject * obj0 = 0 ;
17844 PyObject * obj1 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self",(char *) "dc", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17853 SWIG_POINTER_EXCEPTION | 0)) == -1)
17854 SWIG_fail;
44127b65 17855 if (arg2 == NULL) {
2f4c0a16
RD
17856 PyErr_SetString(PyExc_TypeError,"null reference");
17857 SWIG_fail;
44127b65
RD
17858 }
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 (arg1)->base_OnMoveLinks(*arg2);
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 Py_INCREF(Py_None); resultobj = Py_None;
17867 return resultobj;
17868 fail:
17869 return NULL;
17870}
17871
17872
c32bde28 17873static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17874 PyObject *resultobj;
17875 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17876 wxDC *arg2 = 0 ;
17877 PyObject * obj0 = 0 ;
17878 PyObject * obj1 = 0 ;
17879 char *kwnames[] = {
17880 (char *) "self",(char *) "dc", NULL
17881 };
17882
17883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17887 SWIG_POINTER_EXCEPTION | 0)) == -1)
17888 SWIG_fail;
44127b65 17889 if (arg2 == NULL) {
2f4c0a16
RD
17890 PyErr_SetString(PyExc_TypeError,"null reference");
17891 SWIG_fail;
44127b65
RD
17892 }
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 (arg1)->base_OnErase(*arg2);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 Py_INCREF(Py_None); resultobj = Py_None;
17901 return resultobj;
17902 fail:
17903 return NULL;
17904}
17905
17906
c32bde28 17907static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17908 PyObject *resultobj;
17909 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17910 wxDC *arg2 = 0 ;
17911 PyObject * obj0 = 0 ;
17912 PyObject * obj1 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self",(char *) "dc", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17921 SWIG_POINTER_EXCEPTION | 0)) == -1)
17922 SWIG_fail;
44127b65 17923 if (arg2 == NULL) {
2f4c0a16
RD
17924 PyErr_SetString(PyExc_TypeError,"null reference");
17925 SWIG_fail;
44127b65
RD
17926 }
17927 {
17928 PyThreadState* __tstate = wxPyBeginAllowThreads();
17929 (arg1)->base_OnEraseContents(*arg2);
17930
17931 wxPyEndAllowThreads(__tstate);
17932 if (PyErr_Occurred()) SWIG_fail;
17933 }
17934 Py_INCREF(Py_None); resultobj = Py_None;
17935 return resultobj;
17936 fail:
17937 return NULL;
17938}
17939
17940
c32bde28 17941static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17942 PyObject *resultobj;
17943 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17944 wxDC *arg2 = 0 ;
17945 PyObject * obj0 = 0 ;
17946 PyObject * obj1 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self",(char *) "dc", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17955 SWIG_POINTER_EXCEPTION | 0)) == -1)
17956 SWIG_fail;
44127b65 17957 if (arg2 == NULL) {
2f4c0a16
RD
17958 PyErr_SetString(PyExc_TypeError,"null reference");
17959 SWIG_fail;
44127b65
RD
17960 }
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 (arg1)->base_OnHighlight(*arg2);
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 Py_INCREF(Py_None); resultobj = Py_None;
17969 return resultobj;
17970 fail:
17971 return NULL;
17972}
17973
17974
c32bde28 17975static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17976 PyObject *resultobj;
17977 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17978 double arg2 ;
17979 double arg3 ;
17980 int arg4 = (int) 0 ;
17981 int arg5 = (int) 0 ;
17982 PyObject * obj0 = 0 ;
8edf1c75
RD
17983 PyObject * obj1 = 0 ;
17984 PyObject * obj2 = 0 ;
17985 PyObject * obj3 = 0 ;
17986 PyObject * obj4 = 0 ;
44127b65
RD
17987 char *kwnames[] = {
17988 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17989 };
17990
8edf1c75 17991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17994 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 17995 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17996 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 17997 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17998 if (obj3) {
c32bde28 17999 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 18000 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18001 }
18002 if (obj4) {
c32bde28 18003 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18004 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18005 }
44127b65
RD
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 Py_INCREF(Py_None); resultobj = Py_None;
18014 return resultobj;
18015 fail:
18016 return NULL;
18017}
18018
18019
c32bde28 18020static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18021 PyObject *resultobj;
18022 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18023 double arg2 ;
18024 double arg3 ;
18025 int arg4 = (int) 0 ;
18026 int arg5 = (int) 0 ;
18027 PyObject * obj0 = 0 ;
8edf1c75
RD
18028 PyObject * obj1 = 0 ;
18029 PyObject * obj2 = 0 ;
18030 PyObject * obj3 = 0 ;
18031 PyObject * obj4 = 0 ;
44127b65
RD
18032 char *kwnames[] = {
18033 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18034 };
18035
8edf1c75 18036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18039 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18040 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18041 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18042 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18043 if (obj3) {
c32bde28 18044 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 18045 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18046 }
18047 if (obj4) {
c32bde28 18048 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18049 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18050 }
44127b65
RD
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 Py_INCREF(Py_None); resultobj = Py_None;
18059 return resultobj;
18060 fail:
18061 return NULL;
18062}
18063
18064
c32bde28 18065static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18066 PyObject *resultobj;
18067 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18068 double arg2 ;
18069 double arg3 ;
18070 int arg4 = (int) 0 ;
18071 int arg5 = (int) 0 ;
18072 PyObject * obj0 = 0 ;
8edf1c75
RD
18073 PyObject * obj1 = 0 ;
18074 PyObject * obj2 = 0 ;
18075 PyObject * obj3 = 0 ;
18076 PyObject * obj4 = 0 ;
44127b65
RD
18077 char *kwnames[] = {
18078 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18079 };
18080
8edf1c75 18081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18084 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18085 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18086 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18087 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18088 if (obj3) {
c32bde28 18089 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 18090 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18091 }
18092 if (obj4) {
c32bde28 18093 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18094 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18095 }
44127b65
RD
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 Py_INCREF(Py_None); resultobj = Py_None;
18104 return resultobj;
18105 fail:
18106 return NULL;
18107}
18108
18109
c32bde28 18110static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18111 PyObject *resultobj;
18112 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18113 double arg2 ;
18114 double arg3 ;
18115 PyObject * obj0 = 0 ;
8edf1c75
RD
18116 PyObject * obj1 = 0 ;
18117 PyObject * obj2 = 0 ;
44127b65
RD
18118 char *kwnames[] = {
18119 (char *) "self",(char *) "x",(char *) "y", NULL
18120 };
18121
8edf1c75 18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18125 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18126 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18127 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18128 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 (arg1)->base_OnSize(arg2,arg3);
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 Py_INCREF(Py_None); resultobj = Py_None;
18137 return resultobj;
18138 fail:
18139 return NULL;
18140}
18141
18142
c32bde28 18143static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18144 PyObject *resultobj;
18145 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18146 wxDC *arg2 = 0 ;
18147 double arg3 ;
18148 double arg4 ;
18149 double arg5 ;
18150 double arg6 ;
ae8162c8 18151 bool arg7 = (bool) true ;
44127b65
RD
18152 bool result;
18153 PyObject * obj0 = 0 ;
18154 PyObject * obj1 = 0 ;
8edf1c75
RD
18155 PyObject * obj2 = 0 ;
18156 PyObject * obj3 = 0 ;
18157 PyObject * obj4 = 0 ;
18158 PyObject * obj5 = 0 ;
44127b65
RD
18159 PyObject * obj6 = 0 ;
18160 char *kwnames[] = {
18161 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18162 };
18163
8edf1c75 18164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18168 SWIG_POINTER_EXCEPTION | 0)) == -1)
18169 SWIG_fail;
44127b65 18170 if (arg2 == NULL) {
2f4c0a16
RD
18171 PyErr_SetString(PyExc_TypeError,"null reference");
18172 SWIG_fail;
18173 }
c32bde28 18174 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18175 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18176 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 18177 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18178 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 18179 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18180 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 18181 if (PyErr_Occurred()) SWIG_fail;
44127b65 18182 if (obj6) {
c32bde28 18183 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 18184 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18185 }
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
4f89f6a3
RD
18193 {
18194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18195 }
44127b65
RD
18196 return resultobj;
18197 fail:
18198 return NULL;
18199}
18200
18201
c32bde28 18202static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18203 PyObject *resultobj;
18204 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18205 wxDC *arg2 = 0 ;
18206 double arg3 ;
18207 double arg4 ;
18208 double arg5 ;
18209 double arg6 ;
ae8162c8 18210 bool arg7 = (bool) true ;
44127b65
RD
18211 PyObject * obj0 = 0 ;
18212 PyObject * obj1 = 0 ;
8edf1c75
RD
18213 PyObject * obj2 = 0 ;
18214 PyObject * obj3 = 0 ;
18215 PyObject * obj4 = 0 ;
18216 PyObject * obj5 = 0 ;
44127b65
RD
18217 PyObject * obj6 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18220 };
18221
8edf1c75 18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18226 SWIG_POINTER_EXCEPTION | 0)) == -1)
18227 SWIG_fail;
44127b65 18228 if (arg2 == NULL) {
2f4c0a16
RD
18229 PyErr_SetString(PyExc_TypeError,"null reference");
18230 SWIG_fail;
18231 }
c32bde28 18232 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18233 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18234 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 18235 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18236 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 18237 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18238 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 18239 if (PyErr_Occurred()) SWIG_fail;
44127b65 18240 if (obj6) {
c32bde28 18241 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 18242 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18243 }
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 Py_INCREF(Py_None); resultobj = Py_None;
18252 return resultobj;
18253 fail:
18254 return NULL;
18255}
18256
18257
c32bde28 18258static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18259 PyObject *resultobj;
18260 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18261 bool arg2 ;
18262 double arg3 ;
18263 double arg4 ;
18264 int arg5 = (int) 0 ;
18265 int arg6 = (int) 0 ;
18266 PyObject * obj0 = 0 ;
18267 PyObject * obj1 = 0 ;
8edf1c75
RD
18268 PyObject * obj2 = 0 ;
18269 PyObject * obj3 = 0 ;
18270 PyObject * obj4 = 0 ;
18271 PyObject * obj5 = 0 ;
44127b65
RD
18272 char *kwnames[] = {
18273 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18274 };
18275
8edf1c75 18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18279 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 18280 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18281 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18282 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18283 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 18284 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18285 if (obj4) {
c32bde28 18286 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18287 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18288 }
18289 if (obj5) {
c32bde28 18290 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 18291 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18292 }
44127b65
RD
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18296
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 Py_INCREF(Py_None); resultobj = Py_None;
18301 return resultobj;
18302 fail:
18303 return NULL;
18304}
18305
18306
c32bde28 18307static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18308 PyObject *resultobj;
18309 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18310 double arg2 ;
18311 double arg3 ;
18312 int arg4 = (int) 0 ;
18313 int arg5 = (int) 0 ;
18314 PyObject * obj0 = 0 ;
8edf1c75
RD
18315 PyObject * obj1 = 0 ;
18316 PyObject * obj2 = 0 ;
18317 PyObject * obj3 = 0 ;
18318 PyObject * obj4 = 0 ;
44127b65
RD
18319 char *kwnames[] = {
18320 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18321 };
18322
8edf1c75 18323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18326 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18327 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18328 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18329 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18330 if (obj3) {
c32bde28 18331 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 18332 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18333 }
18334 if (obj4) {
c32bde28 18335 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18336 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18337 }
44127b65
RD
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 Py_INCREF(Py_None); resultobj = Py_None;
18346 return resultobj;
18347 fail:
18348 return NULL;
18349}
18350
18351
c32bde28 18352static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18353 PyObject *resultobj;
18354 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18355 double arg2 ;
18356 double arg3 ;
18357 int arg4 = (int) 0 ;
18358 int arg5 = (int) 0 ;
18359 PyObject * obj0 = 0 ;
8edf1c75
RD
18360 PyObject * obj1 = 0 ;
18361 PyObject * obj2 = 0 ;
18362 PyObject * obj3 = 0 ;
18363 PyObject * obj4 = 0 ;
44127b65
RD
18364 char *kwnames[] = {
18365 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18366 };
18367
8edf1c75 18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18371 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18372 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18373 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18374 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18375 if (obj3) {
c32bde28 18376 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 18377 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18378 }
18379 if (obj4) {
c32bde28 18380 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18381 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18382 }
44127b65
RD
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 Py_INCREF(Py_None); resultobj = Py_None;
18391 return resultobj;
18392 fail:
18393 return NULL;
18394}
18395
18396
c32bde28 18397static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18398 PyObject *resultobj;
18399 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18400 bool arg2 ;
18401 double arg3 ;
18402 double arg4 ;
18403 int arg5 = (int) 0 ;
18404 int arg6 = (int) 0 ;
18405 PyObject * obj0 = 0 ;
18406 PyObject * obj1 = 0 ;
8edf1c75
RD
18407 PyObject * obj2 = 0 ;
18408 PyObject * obj3 = 0 ;
18409 PyObject * obj4 = 0 ;
18410 PyObject * obj5 = 0 ;
44127b65
RD
18411 char *kwnames[] = {
18412 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18413 };
18414
8edf1c75 18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18418 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 18419 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18420 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18421 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18422 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 18423 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18424 if (obj4) {
c32bde28 18425 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18426 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18427 }
18428 if (obj5) {
c32bde28 18429 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 18430 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18431 }
44127b65
RD
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 Py_INCREF(Py_None); resultobj = Py_None;
18440 return resultobj;
18441 fail:
18442 return NULL;
18443}
18444
18445
c32bde28 18446static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18447 PyObject *resultobj;
18448 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18449 double arg2 ;
18450 double arg3 ;
18451 int arg4 = (int) 0 ;
18452 int arg5 = (int) 0 ;
18453 PyObject * obj0 = 0 ;
8edf1c75
RD
18454 PyObject * obj1 = 0 ;
18455 PyObject * obj2 = 0 ;
18456 PyObject * obj3 = 0 ;
18457 PyObject * obj4 = 0 ;
44127b65
RD
18458 char *kwnames[] = {
18459 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18460 };
18461
8edf1c75 18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18465 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18466 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18467 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18468 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18469 if (obj3) {
c32bde28 18470 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 18471 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18472 }
18473 if (obj4) {
c32bde28 18474 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18475 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18476 }
44127b65
RD
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18480
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
18484 Py_INCREF(Py_None); resultobj = Py_None;
18485 return resultobj;
18486 fail:
18487 return NULL;
18488}
18489
18490
c32bde28 18491static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18492 PyObject *resultobj;
18493 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18494 double arg2 ;
18495 double arg3 ;
18496 int arg4 = (int) 0 ;
18497 int arg5 = (int) 0 ;
18498 PyObject * obj0 = 0 ;
8edf1c75
RD
18499 PyObject * obj1 = 0 ;
18500 PyObject * obj2 = 0 ;
18501 PyObject * obj3 = 0 ;
18502 PyObject * obj4 = 0 ;
44127b65
RD
18503 char *kwnames[] = {
18504 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18505 };
18506
8edf1c75 18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18510 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18511 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18512 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18513 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18514 if (obj3) {
c32bde28 18515 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 18516 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18517 }
18518 if (obj4) {
c32bde28 18519 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18520 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18521 }
44127b65
RD
18522 {
18523 PyThreadState* __tstate = wxPyBeginAllowThreads();
18524 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18525
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 Py_INCREF(Py_None); resultobj = Py_None;
18530 return resultobj;
18531 fail:
18532 return NULL;
18533}
18534
18535
c32bde28 18536static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18537 PyObject *resultobj;
18538 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18539 wxDC *arg2 = 0 ;
18540 double arg3 ;
18541 double arg4 ;
18542 double arg5 ;
18543 double arg6 ;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
8edf1c75
RD
18546 PyObject * obj2 = 0 ;
18547 PyObject * obj3 = 0 ;
18548 PyObject * obj4 = 0 ;
18549 PyObject * obj5 = 0 ;
44127b65
RD
18550 char *kwnames[] = {
18551 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18552 };
18553
8edf1c75 18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18558 SWIG_POINTER_EXCEPTION | 0)) == -1)
18559 SWIG_fail;
44127b65 18560 if (arg2 == NULL) {
2f4c0a16
RD
18561 PyErr_SetString(PyExc_TypeError,"null reference");
18562 SWIG_fail;
8edf1c75 18563 }
c32bde28 18564 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18565 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18566 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 18567 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18568 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 18569 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18570 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 18571 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18575
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
18579 Py_INCREF(Py_None); resultobj = Py_None;
18580 return resultobj;
18581 fail:
18582 return NULL;
18583}
18584
18585
c32bde28 18586static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18587 PyObject *resultobj;
18588 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18589 wxDC *arg2 = 0 ;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self",(char *) "dc", NULL
18594 };
18595
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18600 SWIG_POINTER_EXCEPTION | 0)) == -1)
18601 SWIG_fail;
44127b65 18602 if (arg2 == NULL) {
2f4c0a16
RD
18603 PyErr_SetString(PyExc_TypeError,"null reference");
18604 SWIG_fail;
44127b65
RD
18605 }
18606 {
18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
18608 (arg1)->base_OnDrawControlPoints(*arg2);
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 Py_INCREF(Py_None); resultobj = Py_None;
18614 return resultobj;
18615 fail:
18616 return NULL;
18617}
18618
18619
c32bde28 18620static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18621 PyObject *resultobj;
18622 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18623 wxDC *arg2 = 0 ;
18624 PyObject * obj0 = 0 ;
18625 PyObject * obj1 = 0 ;
18626 char *kwnames[] = {
18627 (char *) "self",(char *) "dc", NULL
18628 };
18629
18630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18634 SWIG_POINTER_EXCEPTION | 0)) == -1)
18635 SWIG_fail;
44127b65 18636 if (arg2 == NULL) {
2f4c0a16
RD
18637 PyErr_SetString(PyExc_TypeError,"null reference");
18638 SWIG_fail;
44127b65
RD
18639 }
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 (arg1)->base_OnEraseControlPoints(*arg2);
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 Py_INCREF(Py_None); resultobj = Py_None;
18648 return resultobj;
18649 fail:
18650 return NULL;
18651}
18652
18653
c32bde28 18654static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18655 PyObject *resultobj;
18656 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18657 wxDC *arg2 = 0 ;
ae8162c8 18658 bool arg3 = (bool) true ;
44127b65
RD
18659 PyObject * obj0 = 0 ;
18660 PyObject * obj1 = 0 ;
18661 PyObject * obj2 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18670 SWIG_POINTER_EXCEPTION | 0)) == -1)
18671 SWIG_fail;
44127b65 18672 if (arg2 == NULL) {
2f4c0a16
RD
18673 PyErr_SetString(PyExc_TypeError,"null reference");
18674 SWIG_fail;
44127b65
RD
18675 }
18676 if (obj2) {
c32bde28 18677 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 18678 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18679 }
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 (arg1)->base_OnMoveLink(*arg2,arg3);
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 Py_INCREF(Py_None); resultobj = Py_None;
18688 return resultobj;
18689 fail:
18690 return NULL;
18691}
18692
18693
c32bde28 18694static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18695 PyObject *resultobj;
18696 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18697 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18698 bool arg3 ;
18699 double arg4 ;
18700 double arg5 ;
18701 int arg6 = (int) 0 ;
18702 int arg7 = (int) 0 ;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj1 = 0 ;
18705 PyObject * obj2 = 0 ;
8edf1c75
RD
18706 PyObject * obj3 = 0 ;
18707 PyObject * obj4 = 0 ;
18708 PyObject * obj5 = 0 ;
18709 PyObject * obj6 = 0 ;
44127b65
RD
18710 char *kwnames[] = {
18711 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18712 };
18713
8edf1c75 18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18719 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 18720 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18721 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 18722 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18723 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16
RD
18724 if (PyErr_Occurred()) SWIG_fail;
18725 if (obj5) {
c32bde28 18726 arg6 = (int)SWIG_As_int(obj5);
83448d71
RD
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
2f4c0a16 18729 if (obj6) {
c32bde28 18730 arg7 = (int)SWIG_As_int(obj6);
8edf1c75
RD
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
18733 {
2f4c0a16
RD
18734 PyThreadState* __tstate = wxPyBeginAllowThreads();
18735 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18736
18737 wxPyEndAllowThreads(__tstate);
44127b65
RD
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 Py_INCREF(Py_None); resultobj = Py_None;
18741 return resultobj;
18742 fail:
18743 return NULL;
18744}
18745
18746
c32bde28 18747static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18748 PyObject *resultobj;
18749 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18750 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18751 double arg3 ;
18752 double arg4 ;
18753 int arg5 = (int) 0 ;
18754 int arg6 = (int) 0 ;
18755 PyObject * obj0 = 0 ;
18756 PyObject * obj1 = 0 ;
8edf1c75
RD
18757 PyObject * obj2 = 0 ;
18758 PyObject * obj3 = 0 ;
18759 PyObject * obj4 = 0 ;
18760 PyObject * obj5 = 0 ;
44127b65
RD
18761 char *kwnames[] = {
18762 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18763 };
18764
8edf1c75 18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18770 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18771 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18772 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 18773 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18774 if (obj4) {
c32bde28 18775 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18776 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18777 }
18778 if (obj5) {
c32bde28 18779 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 18780 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18781 }
44127b65
RD
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18785
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 Py_INCREF(Py_None); resultobj = Py_None;
18790 return resultobj;
18791 fail:
18792 return NULL;
18793}
18794
18795
c32bde28 18796static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18797 PyObject *resultobj;
18798 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18799 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18800 double arg3 ;
18801 double arg4 ;
18802 int arg5 = (int) 0 ;
18803 int arg6 = (int) 0 ;
18804 PyObject * obj0 = 0 ;
18805 PyObject * obj1 = 0 ;
8edf1c75
RD
18806 PyObject * obj2 = 0 ;
18807 PyObject * obj3 = 0 ;
18808 PyObject * obj4 = 0 ;
18809 PyObject * obj5 = 0 ;
44127b65
RD
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18812 };
18813
8edf1c75 18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18819 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18820 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18821 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 18822 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18823 if (obj4) {
c32bde28 18824 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 18825 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18826 }
18827 if (obj5) {
c32bde28 18828 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 18829 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18830 }
44127b65
RD
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 Py_INCREF(Py_None); resultobj = Py_None;
18839 return resultobj;
18840 fail:
18841 return NULL;
18842}
18843
18844
c32bde28 18845static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18846 PyObject *resultobj;
18847 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18848 double arg2 ;
18849 double arg3 ;
18850 PyObject * obj0 = 0 ;
8edf1c75
RD
18851 PyObject * obj1 = 0 ;
18852 PyObject * obj2 = 0 ;
44127b65
RD
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "w",(char *) "h", NULL
18855 };
18856
8edf1c75 18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18860 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18861 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18862 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18863 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 (arg1)->base_OnBeginSize(arg2,arg3);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 Py_INCREF(Py_None); resultobj = Py_None;
18872 return resultobj;
18873 fail:
18874 return NULL;
18875}
18876
18877
c32bde28 18878static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18879 PyObject *resultobj;
18880 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18881 double arg2 ;
18882 double arg3 ;
18883 PyObject * obj0 = 0 ;
8edf1c75
RD
18884 PyObject * obj1 = 0 ;
18885 PyObject * obj2 = 0 ;
44127b65
RD
18886 char *kwnames[] = {
18887 (char *) "self",(char *) "w",(char *) "h", NULL
18888 };
18889
8edf1c75 18890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18893 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18894 if (PyErr_Occurred()) SWIG_fail;
c32bde28 18895 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 18896 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 (arg1)->base_OnEndSize(arg2,arg3);
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 Py_INCREF(Py_None); resultobj = Py_None;
18905 return resultobj;
18906 fail:
18907 return NULL;
18908}
18909
18910
c32bde28 18911static PyObject * PyCompositeShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
18912 PyObject *obj;
18913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18914 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
18915 Py_INCREF(obj);
18916 return Py_BuildValue((char *)"");
18917}
c32bde28 18918static PyObject *_wrap_new_PyDividedShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18919 PyObject *resultobj;
18920 double arg1 = (double) 0.0 ;
18921 double arg2 = (double) 0.0 ;
18922 wxPyDividedShape *result;
8edf1c75
RD
18923 PyObject * obj0 = 0 ;
18924 PyObject * obj1 = 0 ;
44127b65
RD
18925 char *kwnames[] = {
18926 (char *) "width",(char *) "height", NULL
18927 };
18928
8edf1c75
RD
18929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
18930 if (obj0) {
c32bde28 18931 arg1 = (double)SWIG_As_double(obj0);
2f4c0a16 18932 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18933 }
18934 if (obj1) {
c32bde28 18935 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 18936 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18937 }
44127b65
RD
18938 {
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
18941
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
2f4c0a16 18945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
44127b65
RD
18946 return resultobj;
18947 fail:
18948 return NULL;
18949}
18950
18951
c32bde28 18952static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18953 PyObject *resultobj;
18954 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18955 PyObject *arg2 = (PyObject *) 0 ;
18956 PyObject *arg3 = (PyObject *) 0 ;
18957 PyObject * obj0 = 0 ;
18958 PyObject * obj1 = 0 ;
18959 PyObject * obj2 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self",(char *) "self",(char *) "_class", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18967 arg2 = obj1;
18968 arg3 = obj2;
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 (arg1)->_setCallbackInfo(arg2,arg3);
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 Py_INCREF(Py_None); resultobj = Py_None;
18977 return resultobj;
18978 fail:
18979 return NULL;
18980}
18981
18982
c32bde28 18983static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18984 PyObject *resultobj;
18985 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18986 PyObject * obj0 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 (arg1)->EditRegions();
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
19001 Py_INCREF(Py_None); resultobj = Py_None;
19002 return resultobj;
19003 fail:
19004 return NULL;
19005}
19006
19007
c32bde28 19008static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19009 PyObject *resultobj;
19010 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19011 PyObject * obj0 = 0 ;
19012 char *kwnames[] = {
19013 (char *) "self", NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 (arg1)->SetRegionSizes();
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 Py_INCREF(Py_None); resultobj = Py_None;
19027 return resultobj;
19028 fail:
19029 return NULL;
19030}
19031
19032
c32bde28 19033static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19034 PyObject *resultobj;
19035 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19036 PyObject * obj0 = 0 ;
19037 char *kwnames[] = {
19038 (char *) "self", NULL
19039 };
19040
19041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
19044 {
19045 PyThreadState* __tstate = wxPyBeginAllowThreads();
19046 (arg1)->base_OnDelete();
19047
19048 wxPyEndAllowThreads(__tstate);
19049 if (PyErr_Occurred()) SWIG_fail;
19050 }
19051 Py_INCREF(Py_None); resultobj = Py_None;
19052 return resultobj;
19053 fail:
19054 return NULL;
19055}
19056
19057
c32bde28 19058static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19059 PyObject *resultobj;
19060 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19061 wxDC *arg2 = 0 ;
19062 PyObject * obj0 = 0 ;
19063 PyObject * obj1 = 0 ;
19064 char *kwnames[] = {
19065 (char *) "self",(char *) "dc", NULL
19066 };
19067
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19072 SWIG_POINTER_EXCEPTION | 0)) == -1)
19073 SWIG_fail;
44127b65 19074 if (arg2 == NULL) {
2f4c0a16
RD
19075 PyErr_SetString(PyExc_TypeError,"null reference");
19076 SWIG_fail;
44127b65
RD
19077 }
19078 {
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 (arg1)->base_OnDraw(*arg2);
19081
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 Py_INCREF(Py_None); resultobj = Py_None;
19086 return resultobj;
19087 fail:
19088 return NULL;
19089}
19090
19091
c32bde28 19092static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19093 PyObject *resultobj;
19094 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19095 wxDC *arg2 = 0 ;
19096 PyObject * obj0 = 0 ;
19097 PyObject * obj1 = 0 ;
19098 char *kwnames[] = {
19099 (char *) "self",(char *) "dc", NULL
19100 };
19101
19102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19106 SWIG_POINTER_EXCEPTION | 0)) == -1)
19107 SWIG_fail;
44127b65 19108 if (arg2 == NULL) {
2f4c0a16
RD
19109 PyErr_SetString(PyExc_TypeError,"null reference");
19110 SWIG_fail;
44127b65
RD
19111 }
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 (arg1)->base_OnDrawContents(*arg2);
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 Py_INCREF(Py_None); resultobj = Py_None;
19120 return resultobj;
19121 fail:
19122 return NULL;
19123}
19124
19125
c32bde28 19126static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19127 PyObject *resultobj;
19128 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19129 wxDC *arg2 = 0 ;
19130 bool arg3 = (bool) FALSE ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 PyObject * obj2 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self",(char *) "dc",(char *) "erase", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19142 SWIG_POINTER_EXCEPTION | 0)) == -1)
19143 SWIG_fail;
44127b65 19144 if (arg2 == NULL) {
2f4c0a16
RD
19145 PyErr_SetString(PyExc_TypeError,"null reference");
19146 SWIG_fail;
44127b65
RD
19147 }
19148 if (obj2) {
c32bde28 19149 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 19150 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19151 }
19152 {
19153 PyThreadState* __tstate = wxPyBeginAllowThreads();
19154 (arg1)->base_OnDrawBranches(*arg2,arg3);
19155
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 Py_INCREF(Py_None); resultobj = Py_None;
19160 return resultobj;
19161 fail:
19162 return NULL;
19163}
19164
19165
c32bde28 19166static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19167 PyObject *resultobj;
19168 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19169 wxDC *arg2 = 0 ;
19170 PyObject * obj0 = 0 ;
19171 PyObject * obj1 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "self",(char *) "dc", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19180 SWIG_POINTER_EXCEPTION | 0)) == -1)
19181 SWIG_fail;
44127b65 19182 if (arg2 == NULL) {
2f4c0a16
RD
19183 PyErr_SetString(PyExc_TypeError,"null reference");
19184 SWIG_fail;
44127b65
RD
19185 }
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 (arg1)->base_OnMoveLinks(*arg2);
19189
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
19193 Py_INCREF(Py_None); resultobj = Py_None;
19194 return resultobj;
19195 fail:
19196 return NULL;
19197}
19198
19199
c32bde28 19200static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19201 PyObject *resultobj;
19202 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19203 wxDC *arg2 = 0 ;
19204 PyObject * obj0 = 0 ;
19205 PyObject * obj1 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "self",(char *) "dc", NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19214 SWIG_POINTER_EXCEPTION | 0)) == -1)
19215 SWIG_fail;
44127b65 19216 if (arg2 == NULL) {
2f4c0a16
RD
19217 PyErr_SetString(PyExc_TypeError,"null reference");
19218 SWIG_fail;
44127b65
RD
19219 }
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 (arg1)->base_OnErase(*arg2);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 Py_INCREF(Py_None); resultobj = Py_None;
19228 return resultobj;
19229 fail:
19230 return NULL;
19231}
19232
19233
c32bde28 19234static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19235 PyObject *resultobj;
19236 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19237 wxDC *arg2 = 0 ;
19238 PyObject * obj0 = 0 ;
19239 PyObject * obj1 = 0 ;
19240 char *kwnames[] = {
19241 (char *) "self",(char *) "dc", NULL
19242 };
19243
19244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19248 SWIG_POINTER_EXCEPTION | 0)) == -1)
19249 SWIG_fail;
44127b65 19250 if (arg2 == NULL) {
2f4c0a16
RD
19251 PyErr_SetString(PyExc_TypeError,"null reference");
19252 SWIG_fail;
44127b65
RD
19253 }
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 (arg1)->base_OnEraseContents(*arg2);
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 Py_INCREF(Py_None); resultobj = Py_None;
19262 return resultobj;
19263 fail:
19264 return NULL;
19265}
19266
19267
c32bde28 19268static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19269 PyObject *resultobj;
19270 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19271 wxDC *arg2 = 0 ;
19272 PyObject * obj0 = 0 ;
19273 PyObject * obj1 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self",(char *) "dc", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19282 SWIG_POINTER_EXCEPTION | 0)) == -1)
19283 SWIG_fail;
44127b65 19284 if (arg2 == NULL) {
2f4c0a16
RD
19285 PyErr_SetString(PyExc_TypeError,"null reference");
19286 SWIG_fail;
44127b65
RD
19287 }
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 (arg1)->base_OnHighlight(*arg2);
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 Py_INCREF(Py_None); resultobj = Py_None;
19296 return resultobj;
19297 fail:
19298 return NULL;
19299}
19300
19301
c32bde28 19302static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19303 PyObject *resultobj;
19304 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19305 double arg2 ;
19306 double arg3 ;
19307 int arg4 = (int) 0 ;
19308 int arg5 = (int) 0 ;
19309 PyObject * obj0 = 0 ;
8edf1c75
RD
19310 PyObject * obj1 = 0 ;
19311 PyObject * obj2 = 0 ;
19312 PyObject * obj3 = 0 ;
19313 PyObject * obj4 = 0 ;
44127b65
RD
19314 char *kwnames[] = {
19315 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19316 };
19317
8edf1c75 19318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19321 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 19322 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19323 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19324 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19325 if (obj3) {
c32bde28 19326 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 19327 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19328 }
19329 if (obj4) {
c32bde28 19330 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19331 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19332 }
44127b65
RD
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 Py_INCREF(Py_None); resultobj = Py_None;
19341 return resultobj;
19342 fail:
19343 return NULL;
19344}
19345
19346
c32bde28 19347static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19348 PyObject *resultobj;
19349 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19350 double arg2 ;
19351 double arg3 ;
19352 int arg4 = (int) 0 ;
19353 int arg5 = (int) 0 ;
19354 PyObject * obj0 = 0 ;
8edf1c75
RD
19355 PyObject * obj1 = 0 ;
19356 PyObject * obj2 = 0 ;
19357 PyObject * obj3 = 0 ;
19358 PyObject * obj4 = 0 ;
44127b65
RD
19359 char *kwnames[] = {
19360 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19361 };
19362
8edf1c75 19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19366 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 19367 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19368 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19369 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19370 if (obj3) {
c32bde28 19371 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 19372 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19373 }
19374 if (obj4) {
c32bde28 19375 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19376 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19377 }
44127b65
RD
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19381
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 Py_INCREF(Py_None); resultobj = Py_None;
19386 return resultobj;
19387 fail:
19388 return NULL;
19389}
19390
19391
c32bde28 19392static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19393 PyObject *resultobj;
19394 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19395 double arg2 ;
19396 double arg3 ;
19397 int arg4 = (int) 0 ;
19398 int arg5 = (int) 0 ;
19399 PyObject * obj0 = 0 ;
8edf1c75
RD
19400 PyObject * obj1 = 0 ;
19401 PyObject * obj2 = 0 ;
19402 PyObject * obj3 = 0 ;
19403 PyObject * obj4 = 0 ;
44127b65
RD
19404 char *kwnames[] = {
19405 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19406 };
19407
8edf1c75 19408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19411 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 19412 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19413 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19414 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19415 if (obj3) {
c32bde28 19416 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 19417 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19418 }
19419 if (obj4) {
c32bde28 19420 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19421 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19422 }
44127b65
RD
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 Py_INCREF(Py_None); resultobj = Py_None;
19431 return resultobj;
19432 fail:
19433 return NULL;
19434}
19435
19436
c32bde28 19437static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19438 PyObject *resultobj;
19439 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19440 double arg2 ;
19441 double arg3 ;
19442 PyObject * obj0 = 0 ;
8edf1c75
RD
19443 PyObject * obj1 = 0 ;
19444 PyObject * obj2 = 0 ;
44127b65
RD
19445 char *kwnames[] = {
19446 (char *) "self",(char *) "x",(char *) "y", NULL
19447 };
19448
8edf1c75 19449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19452 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 19453 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19454 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19455 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
19458 (arg1)->base_OnSize(arg2,arg3);
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 Py_INCREF(Py_None); resultobj = Py_None;
19464 return resultobj;
19465 fail:
19466 return NULL;
19467}
19468
19469
c32bde28 19470static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19471 PyObject *resultobj;
19472 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19473 wxDC *arg2 = 0 ;
19474 double arg3 ;
19475 double arg4 ;
19476 double arg5 ;
19477 double arg6 ;
ae8162c8 19478 bool arg7 = (bool) true ;
44127b65
RD
19479 bool result;
19480 PyObject * obj0 = 0 ;
19481 PyObject * obj1 = 0 ;
8edf1c75
RD
19482 PyObject * obj2 = 0 ;
19483 PyObject * obj3 = 0 ;
19484 PyObject * obj4 = 0 ;
19485 PyObject * obj5 = 0 ;
44127b65
RD
19486 PyObject * obj6 = 0 ;
19487 char *kwnames[] = {
19488 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19489 };
19490
8edf1c75 19491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
19492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19495 SWIG_POINTER_EXCEPTION | 0)) == -1)
19496 SWIG_fail;
44127b65 19497 if (arg2 == NULL) {
2f4c0a16
RD
19498 PyErr_SetString(PyExc_TypeError,"null reference");
19499 SWIG_fail;
19500 }
c32bde28 19501 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19502 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19503 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 19504 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19505 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 19506 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19507 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 19508 if (PyErr_Occurred()) SWIG_fail;
44127b65 19509 if (obj6) {
c32bde28 19510 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 19511 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19512 }
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
4f89f6a3
RD
19520 {
19521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19522 }
44127b65
RD
19523 return resultobj;
19524 fail:
19525 return NULL;
19526}
19527
19528
c32bde28 19529static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19530 PyObject *resultobj;
19531 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19532 wxDC *arg2 = 0 ;
19533 double arg3 ;
19534 double arg4 ;
19535 double arg5 ;
19536 double arg6 ;
ae8162c8 19537 bool arg7 = (bool) true ;
44127b65
RD
19538 PyObject * obj0 = 0 ;
19539 PyObject * obj1 = 0 ;
8edf1c75
RD
19540 PyObject * obj2 = 0 ;
19541 PyObject * obj3 = 0 ;
19542 PyObject * obj4 = 0 ;
19543 PyObject * obj5 = 0 ;
44127b65
RD
19544 PyObject * obj6 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19547 };
19548
8edf1c75 19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
19550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19553 SWIG_POINTER_EXCEPTION | 0)) == -1)
19554 SWIG_fail;
44127b65 19555 if (arg2 == NULL) {
2f4c0a16
RD
19556 PyErr_SetString(PyExc_TypeError,"null reference");
19557 SWIG_fail;
19558 }
c32bde28 19559 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19560 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19561 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 19562 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19563 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 19564 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19565 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 19566 if (PyErr_Occurred()) SWIG_fail;
44127b65 19567 if (obj6) {
c32bde28 19568 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 19569 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19570 }
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19574
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 Py_INCREF(Py_None); resultobj = Py_None;
19579 return resultobj;
19580 fail:
19581 return NULL;
19582}
19583
19584
c32bde28 19585static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19586 PyObject *resultobj;
19587 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19588 bool arg2 ;
19589 double arg3 ;
19590 double arg4 ;
19591 int arg5 = (int) 0 ;
19592 int arg6 = (int) 0 ;
19593 PyObject * obj0 = 0 ;
19594 PyObject * obj1 = 0 ;
8edf1c75
RD
19595 PyObject * obj2 = 0 ;
19596 PyObject * obj3 = 0 ;
19597 PyObject * obj4 = 0 ;
19598 PyObject * obj5 = 0 ;
44127b65
RD
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19601 };
19602
8edf1c75 19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19606 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 19607 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19608 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19609 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19610 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 19611 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19612 if (obj4) {
c32bde28 19613 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19614 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19615 }
19616 if (obj5) {
c32bde28 19617 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 19618 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19619 }
44127b65
RD
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 Py_INCREF(Py_None); resultobj = Py_None;
19628 return resultobj;
19629 fail:
19630 return NULL;
19631}
19632
19633
c32bde28 19634static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19635 PyObject *resultobj;
19636 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19637 double arg2 ;
19638 double arg3 ;
19639 int arg4 = (int) 0 ;
19640 int arg5 = (int) 0 ;
19641 PyObject * obj0 = 0 ;
8edf1c75
RD
19642 PyObject * obj1 = 0 ;
19643 PyObject * obj2 = 0 ;
19644 PyObject * obj3 = 0 ;
19645 PyObject * obj4 = 0 ;
44127b65
RD
19646 char *kwnames[] = {
19647 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19648 };
19649
8edf1c75 19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19653 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 19654 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19655 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19656 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19657 if (obj3) {
c32bde28 19658 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 19659 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19660 }
19661 if (obj4) {
c32bde28 19662 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19663 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19664 }
44127b65
RD
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 Py_INCREF(Py_None); resultobj = Py_None;
19673 return resultobj;
19674 fail:
19675 return NULL;
19676}
19677
19678
c32bde28 19679static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19680 PyObject *resultobj;
19681 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19682 double arg2 ;
19683 double arg3 ;
19684 int arg4 = (int) 0 ;
19685 int arg5 = (int) 0 ;
19686 PyObject * obj0 = 0 ;
8edf1c75
RD
19687 PyObject * obj1 = 0 ;
19688 PyObject * obj2 = 0 ;
19689 PyObject * obj3 = 0 ;
19690 PyObject * obj4 = 0 ;
44127b65
RD
19691 char *kwnames[] = {
19692 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19693 };
19694
8edf1c75 19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19698 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 19699 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19700 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19701 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19702 if (obj3) {
c32bde28 19703 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 19704 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19705 }
19706 if (obj4) {
c32bde28 19707 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19708 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19709 }
44127b65
RD
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 Py_INCREF(Py_None); resultobj = Py_None;
19718 return resultobj;
19719 fail:
19720 return NULL;
19721}
19722
19723
c32bde28 19724static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19725 PyObject *resultobj;
19726 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19727 bool arg2 ;
19728 double arg3 ;
19729 double arg4 ;
19730 int arg5 = (int) 0 ;
19731 int arg6 = (int) 0 ;
19732 PyObject * obj0 = 0 ;
19733 PyObject * obj1 = 0 ;
8edf1c75
RD
19734 PyObject * obj2 = 0 ;
19735 PyObject * obj3 = 0 ;
19736 PyObject * obj4 = 0 ;
19737 PyObject * obj5 = 0 ;
44127b65
RD
19738 char *kwnames[] = {
19739 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19740 };
19741
8edf1c75 19742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19745 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 19746 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19747 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19748 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19749 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 19750 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19751 if (obj4) {
c32bde28 19752 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19753 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19754 }
19755 if (obj5) {
c32bde28 19756 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 19757 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19758 }
44127b65
RD
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 Py_INCREF(Py_None); resultobj = Py_None;
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
c32bde28 19773static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19774 PyObject *resultobj;
19775 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19776 double arg2 ;
19777 double arg3 ;
19778 int arg4 = (int) 0 ;
19779 int arg5 = (int) 0 ;
19780 PyObject * obj0 = 0 ;
8edf1c75
RD
19781 PyObject * obj1 = 0 ;
19782 PyObject * obj2 = 0 ;
19783 PyObject * obj3 = 0 ;
19784 PyObject * obj4 = 0 ;
44127b65
RD
19785 char *kwnames[] = {
19786 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19787 };
19788
8edf1c75 19789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19792 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 19793 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19794 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19795 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19796 if (obj3) {
c32bde28 19797 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 19798 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19799 }
19800 if (obj4) {
c32bde28 19801 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19802 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19803 }
44127b65
RD
19804 {
19805 PyThreadState* __tstate = wxPyBeginAllowThreads();
19806 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19807
19808 wxPyEndAllowThreads(__tstate);
19809 if (PyErr_Occurred()) SWIG_fail;
19810 }
19811 Py_INCREF(Py_None); resultobj = Py_None;
19812 return resultobj;
19813 fail:
19814 return NULL;
19815}
19816
19817
c32bde28 19818static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19819 PyObject *resultobj;
19820 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19821 double arg2 ;
19822 double arg3 ;
19823 int arg4 = (int) 0 ;
19824 int arg5 = (int) 0 ;
19825 PyObject * obj0 = 0 ;
8edf1c75
RD
19826 PyObject * obj1 = 0 ;
19827 PyObject * obj2 = 0 ;
19828 PyObject * obj3 = 0 ;
19829 PyObject * obj4 = 0 ;
44127b65
RD
19830 char *kwnames[] = {
19831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19832 };
19833
8edf1c75 19834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19837 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 19838 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19839 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19840 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19841 if (obj3) {
c32bde28 19842 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 19843 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19844 }
19845 if (obj4) {
c32bde28 19846 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 19847 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19848 }
44127b65
RD
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19852
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 Py_INCREF(Py_None); resultobj = Py_None;
19857 return resultobj;
19858 fail:
19859 return NULL;
19860}
19861
19862
c32bde28 19863static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19864 PyObject *resultobj;
19865 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19866 wxDC *arg2 = 0 ;
19867 double arg3 ;
19868 double arg4 ;
19869 double arg5 ;
19870 double arg6 ;
19871 PyObject * obj0 = 0 ;
19872 PyObject * obj1 = 0 ;
8edf1c75
RD
19873 PyObject * obj2 = 0 ;
19874 PyObject * obj3 = 0 ;
19875 PyObject * obj4 = 0 ;
19876 PyObject * obj5 = 0 ;
44127b65
RD
19877 char *kwnames[] = {
19878 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19879 };
19880
8edf1c75 19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19885 SWIG_POINTER_EXCEPTION | 0)) == -1)
19886 SWIG_fail;
44127b65 19887 if (arg2 == NULL) {
2f4c0a16
RD
19888 PyErr_SetString(PyExc_TypeError,"null reference");
19889 SWIG_fail;
8edf1c75 19890 }
c32bde28 19891 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 19892 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19893 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 19894 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19895 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 19896 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19897 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 19898 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 Py_INCREF(Py_None); resultobj = Py_None;
19907 return resultobj;
19908 fail:
19909 return NULL;
19910}
19911
19912
c32bde28 19913static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19914 PyObject *resultobj;
19915 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19916 wxDC *arg2 = 0 ;
19917 PyObject * obj0 = 0 ;
19918 PyObject * obj1 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self",(char *) "dc", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19927 SWIG_POINTER_EXCEPTION | 0)) == -1)
19928 SWIG_fail;
44127b65 19929 if (arg2 == NULL) {
2f4c0a16
RD
19930 PyErr_SetString(PyExc_TypeError,"null reference");
19931 SWIG_fail;
44127b65
RD
19932 }
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 (arg1)->base_OnDrawControlPoints(*arg2);
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 Py_INCREF(Py_None); resultobj = Py_None;
19941 return resultobj;
19942 fail:
19943 return NULL;
19944}
19945
19946
c32bde28 19947static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19948 PyObject *resultobj;
19949 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19950 wxDC *arg2 = 0 ;
19951 PyObject * obj0 = 0 ;
19952 PyObject * obj1 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self",(char *) "dc", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19961 SWIG_POINTER_EXCEPTION | 0)) == -1)
19962 SWIG_fail;
44127b65 19963 if (arg2 == NULL) {
2f4c0a16
RD
19964 PyErr_SetString(PyExc_TypeError,"null reference");
19965 SWIG_fail;
44127b65
RD
19966 }
19967 {
19968 PyThreadState* __tstate = wxPyBeginAllowThreads();
19969 (arg1)->base_OnEraseControlPoints(*arg2);
19970
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
19974 Py_INCREF(Py_None); resultobj = Py_None;
19975 return resultobj;
19976 fail:
19977 return NULL;
19978}
19979
19980
c32bde28 19981static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19982 PyObject *resultobj;
19983 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19984 wxDC *arg2 = 0 ;
ae8162c8 19985 bool arg3 = (bool) true ;
44127b65
RD
19986 PyObject * obj0 = 0 ;
19987 PyObject * obj1 = 0 ;
19988 PyObject * obj2 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19996 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19997 SWIG_POINTER_EXCEPTION | 0)) == -1)
19998 SWIG_fail;
44127b65 19999 if (arg2 == NULL) {
2f4c0a16
RD
20000 PyErr_SetString(PyExc_TypeError,"null reference");
20001 SWIG_fail;
44127b65
RD
20002 }
20003 if (obj2) {
c32bde28 20004 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 20005 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20006 }
20007 {
20008 PyThreadState* __tstate = wxPyBeginAllowThreads();
20009 (arg1)->base_OnMoveLink(*arg2,arg3);
20010
20011 wxPyEndAllowThreads(__tstate);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 Py_INCREF(Py_None); resultobj = Py_None;
20015 return resultobj;
20016 fail:
20017 return NULL;
20018}
20019
20020
c32bde28 20021static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20022 PyObject *resultobj;
20023 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20024 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20025 bool arg3 ;
20026 double arg4 ;
20027 double arg5 ;
20028 int arg6 = (int) 0 ;
20029 int arg7 = (int) 0 ;
20030 PyObject * obj0 = 0 ;
20031 PyObject * obj1 = 0 ;
20032 PyObject * obj2 = 0 ;
8edf1c75
RD
20033 PyObject * obj3 = 0 ;
20034 PyObject * obj4 = 0 ;
20035 PyObject * obj5 = 0 ;
20036 PyObject * obj6 = 0 ;
44127b65
RD
20037 char *kwnames[] = {
20038 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20039 };
20040
8edf1c75 20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
20042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20046 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 20047 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20048 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 20049 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20050 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 20051 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20052 if (obj5) {
c32bde28 20053 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 20054 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20055 }
20056 if (obj6) {
c32bde28 20057 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 20058 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20059 }
44127b65
RD
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 Py_INCREF(Py_None); resultobj = Py_None;
20068 return resultobj;
20069 fail:
20070 return NULL;
20071}
20072
20073
c32bde28 20074static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20075 PyObject *resultobj;
20076 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20077 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20078 double arg3 ;
20079 double arg4 ;
20080 int arg5 = (int) 0 ;
20081 int arg6 = (int) 0 ;
20082 PyObject * obj0 = 0 ;
20083 PyObject * obj1 = 0 ;
8edf1c75
RD
20084 PyObject * obj2 = 0 ;
20085 PyObject * obj3 = 0 ;
20086 PyObject * obj4 = 0 ;
20087 PyObject * obj5 = 0 ;
44127b65
RD
20088 char *kwnames[] = {
20089 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20090 };
20091
8edf1c75 20092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
20093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20097 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 20098 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20099 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 20100 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20101 if (obj4) {
c32bde28 20102 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 20103 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20104 }
20105 if (obj5) {
c32bde28 20106 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 20107 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20108 }
44127b65
RD
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 Py_INCREF(Py_None); resultobj = Py_None;
20117 return resultobj;
20118 fail:
20119 return NULL;
20120}
20121
20122
c32bde28 20123static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20124 PyObject *resultobj;
20125 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20126 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20127 double arg3 ;
20128 double arg4 ;
20129 int arg5 = (int) 0 ;
20130 int arg6 = (int) 0 ;
20131 PyObject * obj0 = 0 ;
20132 PyObject * obj1 = 0 ;
8edf1c75
RD
20133 PyObject * obj2 = 0 ;
20134 PyObject * obj3 = 0 ;
20135 PyObject * obj4 = 0 ;
20136 PyObject * obj5 = 0 ;
44127b65
RD
20137 char *kwnames[] = {
20138 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20139 };
20140
8edf1c75 20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
20142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20146 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 20147 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20148 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16
RD
20149 if (PyErr_Occurred()) SWIG_fail;
20150 if (obj4) {
c32bde28 20151 arg5 = (int)SWIG_As_int(obj4);
8edf1c75
RD
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
2f4c0a16 20154 if (obj5) {
c32bde28 20155 arg6 = (int)SWIG_As_int(obj5);
8edf1c75
RD
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
44127b65
RD
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 Py_INCREF(Py_None); resultobj = Py_None;
20166 return resultobj;
20167 fail:
20168 return NULL;
20169}
20170
20171
c32bde28 20172static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20173 PyObject *resultobj;
20174 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20175 double arg2 ;
20176 double arg3 ;
20177 PyObject * obj0 = 0 ;
8edf1c75
RD
20178 PyObject * obj1 = 0 ;
20179 PyObject * obj2 = 0 ;
44127b65
RD
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "w",(char *) "h", NULL
20182 };
20183
8edf1c75 20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20187 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 20188 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20189 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 20190 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 (arg1)->base_OnBeginSize(arg2,arg3);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 Py_INCREF(Py_None); resultobj = Py_None;
20199 return resultobj;
20200 fail:
20201 return NULL;
20202}
20203
20204
c32bde28 20205static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20206 PyObject *resultobj;
20207 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20208 double arg2 ;
20209 double arg3 ;
20210 PyObject * obj0 = 0 ;
8edf1c75
RD
20211 PyObject * obj1 = 0 ;
20212 PyObject * obj2 = 0 ;
44127b65
RD
20213 char *kwnames[] = {
20214 (char *) "self",(char *) "w",(char *) "h", NULL
20215 };
20216
8edf1c75 20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20220 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 20221 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20222 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 20223 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 (arg1)->base_OnEndSize(arg2,arg3);
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 Py_INCREF(Py_None); resultobj = Py_None;
20232 return resultobj;
20233 fail:
20234 return NULL;
20235}
20236
20237
c32bde28 20238static PyObject * PyDividedShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
20239 PyObject *obj;
20240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20241 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20242 Py_INCREF(obj);
20243 return Py_BuildValue((char *)"");
20244}
c32bde28 20245static PyObject *_wrap_new_PyDivisionShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20246 PyObject *resultobj;
20247 wxPyDivisionShape *result;
20248 char *kwnames[] = {
20249 NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
b0f7404b 20260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDivisionShape, 1);
44127b65
RD
20261 return resultobj;
20262 fail:
20263 return NULL;
20264}
20265
20266
c32bde28 20267static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20268 PyObject *resultobj;
20269 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20270 PyObject *arg2 = (PyObject *) 0 ;
20271 PyObject *arg3 = (PyObject *) 0 ;
20272 PyObject * obj0 = 0 ;
20273 PyObject * obj1 = 0 ;
20274 PyObject * obj2 = 0 ;
20275 char *kwnames[] = {
20276 (char *) "self",(char *) "self",(char *) "_class", NULL
20277 };
20278
20279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20282 arg2 = obj1;
20283 arg3 = obj2;
20284 {
20285 PyThreadState* __tstate = wxPyBeginAllowThreads();
20286 (arg1)->_setCallbackInfo(arg2,arg3);
20287
20288 wxPyEndAllowThreads(__tstate);
20289 if (PyErr_Occurred()) SWIG_fail;
20290 }
20291 Py_INCREF(Py_None); resultobj = Py_None;
20292 return resultobj;
20293 fail:
20294 return NULL;
20295}
20296
20297
c32bde28 20298static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20299 PyObject *resultobj;
20300 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20301 double arg2 ;
20302 bool arg3 ;
20303 PyObject * obj0 = 0 ;
8edf1c75 20304 PyObject * obj1 = 0 ;
44127b65
RD
20305 PyObject * obj2 = 0 ;
20306 char *kwnames[] = {
20307 (char *) "self",(char *) "bottom",(char *) "test", NULL
20308 };
20309
8edf1c75 20310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20313 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 20314 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20315 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 20316 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 (arg1)->AdjustBottom(arg2,arg3);
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 Py_INCREF(Py_None); resultobj = Py_None;
20325 return resultobj;
20326 fail:
20327 return NULL;
20328}
20329
20330
c32bde28 20331static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20332 PyObject *resultobj;
20333 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20334 double arg2 ;
20335 bool arg3 ;
20336 PyObject * obj0 = 0 ;
8edf1c75 20337 PyObject * obj1 = 0 ;
44127b65
RD
20338 PyObject * obj2 = 0 ;
20339 char *kwnames[] = {
20340 (char *) "self",(char *) "left",(char *) "test", NULL
20341 };
20342
8edf1c75 20343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20346 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 20347 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20348 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 20349 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 (arg1)->AdjustLeft(arg2,arg3);
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 Py_INCREF(Py_None); resultobj = Py_None;
20358 return resultobj;
20359 fail:
20360 return NULL;
20361}
20362
20363
c32bde28 20364static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20365 PyObject *resultobj;
20366 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20367 double arg2 ;
20368 bool arg3 ;
20369 PyObject * obj0 = 0 ;
8edf1c75 20370 PyObject * obj1 = 0 ;
44127b65
RD
20371 PyObject * obj2 = 0 ;
20372 char *kwnames[] = {
20373 (char *) "self",(char *) "right",(char *) "test", NULL
20374 };
20375
8edf1c75 20376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20379 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 20380 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20381 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 20382 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 (arg1)->AdjustRight(arg2,arg3);
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 Py_INCREF(Py_None); resultobj = Py_None;
20391 return resultobj;
20392 fail:
20393 return NULL;
20394}
20395
20396
c32bde28 20397static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20398 PyObject *resultobj;
20399 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20400 double arg2 ;
20401 bool arg3 ;
20402 PyObject * obj0 = 0 ;
8edf1c75 20403 PyObject * obj1 = 0 ;
44127b65
RD
20404 PyObject * obj2 = 0 ;
20405 char *kwnames[] = {
20406 (char *) "self",(char *) "top",(char *) "test", NULL
20407 };
20408
8edf1c75 20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20412 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 20413 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20414 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 20415 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 (arg1)->AdjustTop(arg2,arg3);
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 Py_INCREF(Py_None); resultobj = Py_None;
20424 return resultobj;
20425 fail:
20426 return NULL;
20427}
20428
20429
c32bde28 20430static PyObject *_wrap_PyDivisionShape_Divide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20431 PyObject *resultobj;
20432 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20433 int arg2 ;
20434 PyObject * obj0 = 0 ;
8edf1c75 20435 PyObject * obj1 = 0 ;
44127b65
RD
20436 char *kwnames[] = {
20437 (char *) "self",(char *) "direction", NULL
20438 };
20439
8edf1c75 20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20443 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 20444 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 (arg1)->Divide(arg2);
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 Py_INCREF(Py_None); resultobj = Py_None;
20453 return resultobj;
20454 fail:
20455 return NULL;
20456}
20457
20458
c32bde28 20459static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20460 PyObject *resultobj;
20461 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20462 int arg2 ;
20463 PyObject * obj0 = 0 ;
8edf1c75 20464 PyObject * obj1 = 0 ;
44127b65
RD
20465 char *kwnames[] = {
20466 (char *) "self",(char *) "side", NULL
20467 };
20468
8edf1c75 20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20472 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 20473 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 (arg1)->EditEdge(arg2);
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 Py_INCREF(Py_None); resultobj = Py_None;
20482 return resultobj;
20483 fail:
20484 return NULL;
20485}
20486
20487
c32bde28 20488static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20489 PyObject *resultobj;
20490 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20491 wxPyDivisionShape *result;
20492 PyObject * obj0 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "self", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20503
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 {
412d302d 20508 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
20509 }
20510 return resultobj;
20511 fail:
20512 return NULL;
20513}
20514
20515
c32bde28 20516static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20517 PyObject *resultobj;
20518 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20519 int result;
20520 PyObject * obj0 = 0 ;
20521 char *kwnames[] = {
20522 (char *) "self", NULL
20523 };
20524
20525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 result = (int)(arg1)->GetHandleSide();
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
c32bde28 20535 resultobj = SWIG_From_int((int)result);
44127b65
RD
20536 return resultobj;
20537 fail:
20538 return NULL;
20539}
20540
20541
c32bde28 20542static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20543 PyObject *resultobj;
20544 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20545 wxPyDivisionShape *result;
20546 PyObject * obj0 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 {
412d302d 20562 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
20563 }
20564 return resultobj;
20565 fail:
20566 return NULL;
20567}
20568
20569
c32bde28 20570static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20571 PyObject *resultobj;
20572 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20573 wxString result;
20574 PyObject * obj0 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = (arg1)->GetLeftSideColour();
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 {
20590#if wxUSE_UNICODE
20591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20592#else
20593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20594#endif
20595 }
20596 return resultobj;
20597 fail:
20598 return NULL;
20599}
20600
20601
c32bde28 20602static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20603 PyObject *resultobj;
20604 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20605 wxPen *result;
20606 PyObject * obj0 = 0 ;
20607 char *kwnames[] = {
20608 (char *) "self", NULL
20609 };
20610
20611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 result = (wxPen *)(arg1)->GetLeftSidePen();
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
2f4c0a16 20621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
20622 return resultobj;
20623 fail:
20624 return NULL;
20625}
20626
20627
c32bde28 20628static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20629 PyObject *resultobj;
20630 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20631 wxPyDivisionShape *result;
20632 PyObject * obj0 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 {
412d302d 20648 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
20649 }
20650 return resultobj;
20651 fail:
20652 return NULL;
20653}
20654
20655
c32bde28 20656static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20657 PyObject *resultobj;
20658 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20659 wxPyDivisionShape *result;
20660 PyObject * obj0 = 0 ;
20661 char *kwnames[] = {
20662 (char *) "self", NULL
20663 };
20664
20665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 {
412d302d 20676 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
20677 }
20678 return resultobj;
20679 fail:
20680 return NULL;
20681}
20682
20683
c32bde28 20684static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20685 PyObject *resultobj;
20686 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20687 wxPen *result;
20688 PyObject * obj0 = 0 ;
20689 char *kwnames[] = {
20690 (char *) "self", NULL
20691 };
20692
20693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20696 {
20697 PyThreadState* __tstate = wxPyBeginAllowThreads();
20698 result = (wxPen *)(arg1)->GetTopSidePen();
20699
20700 wxPyEndAllowThreads(__tstate);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
2f4c0a16 20703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
20704 return resultobj;
20705 fail:
20706 return NULL;
20707}
20708
20709
c32bde28 20710static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20711 PyObject *resultobj;
20712 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20713 int arg2 ;
20714 double arg3 ;
20715 bool arg4 ;
20716 PyObject * obj0 = 0 ;
8edf1c75
RD
20717 PyObject * obj1 = 0 ;
20718 PyObject * obj2 = 0 ;
44127b65
RD
20719 PyObject * obj3 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20722 };
20723
8edf1c75 20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
20725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20727 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 20728 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20729 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 20730 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20731 arg4 = (bool)SWIG_As_bool(obj3);
2f4c0a16 20732 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 Py_INCREF(Py_None); resultobj = Py_None;
20741 return resultobj;
20742 fail:
20743 return NULL;
20744}
20745
20746
c32bde28 20747static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20748 PyObject *resultobj;
20749 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20750 double arg2 ;
20751 double arg3 ;
20752 PyObject * obj0 = 0 ;
8edf1c75
RD
20753 PyObject * obj1 = 0 ;
20754 PyObject * obj2 = 0 ;
44127b65
RD
20755 char *kwnames[] = {
20756 (char *) "self",(char *) "x",(char *) "y", NULL
20757 };
20758
8edf1c75 20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20762 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 20763 if (PyErr_Occurred()) SWIG_fail;
c32bde28 20764 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 20765 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 (arg1)->PopupMenu(arg2,arg3);
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 Py_INCREF(Py_None); resultobj = Py_None;
20774 return resultobj;
20775 fail:
20776 return NULL;
20777}
20778
20779
c32bde28 20780static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20781 PyObject *resultobj;
20782 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20783 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20784 PyObject * obj0 = 0 ;
20785 PyObject * obj1 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self",(char *) "shape", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 (arg1)->SetBottomSide(arg2);
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 Py_INCREF(Py_None); resultobj = Py_None;
20803 return resultobj;
20804 fail:
20805 return NULL;
20806}
20807
20808
c32bde28 20809static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20810 PyObject *resultobj;
20811 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20812 int arg2 ;
20813 PyObject * obj0 = 0 ;
8edf1c75 20814 PyObject * obj1 = 0 ;
44127b65
RD
20815 char *kwnames[] = {
20816 (char *) "self",(char *) "side", NULL
20817 };
20818
8edf1c75 20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20822 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 20823 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 (arg1)->SetHandleSide(arg2);
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 Py_INCREF(Py_None); resultobj = Py_None;
20832 return resultobj;
20833 fail:
20834 return NULL;
20835}
20836
20837
c32bde28 20838static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20839 PyObject *resultobj;
20840 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20841 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20842 PyObject * obj0 = 0 ;
20843 PyObject * obj1 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self",(char *) "shape", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 (arg1)->SetLeftSide(arg2);
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 Py_INCREF(Py_None); resultobj = Py_None;
20861 return resultobj;
20862 fail:
20863 return NULL;
20864}
20865
20866
c32bde28 20867static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20868 PyObject *resultobj;
20869 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20870 wxString *arg2 = 0 ;
ae8162c8 20871 bool temp2 = false ;
44127b65
RD
20872 PyObject * obj0 = 0 ;
20873 PyObject * obj1 = 0 ;
20874 char *kwnames[] = {
20875 (char *) "self",(char *) "colour", NULL
20876 };
20877
20878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20881 {
20882 arg2 = wxString_in_helper(obj1);
20883 if (arg2 == NULL) SWIG_fail;
ae8162c8 20884 temp2 = true;
44127b65
RD
20885 }
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 (arg1)->SetLeftSideColour((wxString const &)*arg2);
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 Py_INCREF(Py_None); resultobj = Py_None;
20894 {
20895 if (temp2)
20896 delete arg2;
20897 }
20898 return resultobj;
20899 fail:
20900 {
20901 if (temp2)
20902 delete arg2;
20903 }
20904 return NULL;
20905}
20906
20907
c32bde28 20908static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20909 PyObject *resultobj;
20910 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20911 wxPen *arg2 = (wxPen *) 0 ;
20912 PyObject * obj0 = 0 ;
20913 PyObject * obj1 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self",(char *) "pen", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20921 {
20922 wxPen* temp;
20923 if (obj1) {
20924 if (obj1 == Py_None) {
20925 temp = NULL;
20926 }
20927 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20928 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20929 return NULL;
20930 }
20931 }
20932 if (temp)
20933 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20934 temp->GetWidth(),
20935 temp->GetStyle());
20936 else
20937 arg2 = NULL;
20938 }
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 (arg1)->SetLeftSidePen(arg2);
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 Py_INCREF(Py_None); resultobj = Py_None;
20947 return resultobj;
20948 fail:
20949 return NULL;
20950}
20951
20952
c32bde28 20953static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20954 PyObject *resultobj;
20955 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20956 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20957 PyObject * obj0 = 0 ;
20958 PyObject * obj1 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self",(char *) "shape", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 (arg1)->SetRightSide(arg2);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 Py_INCREF(Py_None); resultobj = Py_None;
20976 return resultobj;
20977 fail:
20978 return NULL;
20979}
20980
20981
c32bde28 20982static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20983 PyObject *resultobj;
20984 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20985 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20986 PyObject * obj0 = 0 ;
20987 PyObject * obj1 = 0 ;
20988 char *kwnames[] = {
20989 (char *) "self",(char *) "shape", NULL
20990 };
20991
20992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20995 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 (arg1)->SetTopSide(arg2);
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 Py_INCREF(Py_None); resultobj = Py_None;
21005 return resultobj;
21006 fail:
21007 return NULL;
21008}
21009
21010
c32bde28 21011static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21012 PyObject *resultobj;
21013 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21014 wxString *arg2 = 0 ;
ae8162c8 21015 bool temp2 = false ;
44127b65
RD
21016 PyObject * obj0 = 0 ;
21017 PyObject * obj1 = 0 ;
21018 char *kwnames[] = {
21019 (char *) "self",(char *) "colour", NULL
21020 };
21021
21022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
21025 {
21026 arg2 = wxString_in_helper(obj1);
21027 if (arg2 == NULL) SWIG_fail;
ae8162c8 21028 temp2 = true;
44127b65
RD
21029 }
21030 {
21031 PyThreadState* __tstate = wxPyBeginAllowThreads();
21032 (arg1)->SetTopSideColour((wxString const &)*arg2);
21033
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
21037 Py_INCREF(Py_None); resultobj = Py_None;
21038 {
21039 if (temp2)
21040 delete arg2;
21041 }
21042 return resultobj;
21043 fail:
21044 {
21045 if (temp2)
21046 delete arg2;
21047 }
21048 return NULL;
21049}
21050
21051
c32bde28 21052static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21053 PyObject *resultobj;
21054 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21055 wxPen *arg2 = (wxPen *) 0 ;
21056 PyObject * obj0 = 0 ;
21057 PyObject * obj1 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self",(char *) "pen", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
21065 {
21066 wxPen* temp;
21067 if (obj1) {
21068 if (obj1 == Py_None) {
21069 temp = NULL;
21070 }
21071 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
21072 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
21073 return NULL;
21074 }
21075 }
21076 if (temp)
21077 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
21078 temp->GetWidth(),
21079 temp->GetStyle());
21080 else
21081 arg2 = NULL;
21082 }
21083 {
21084 PyThreadState* __tstate = wxPyBeginAllowThreads();
21085 (arg1)->SetTopSidePen(arg2);
21086
21087 wxPyEndAllowThreads(__tstate);
21088 if (PyErr_Occurred()) SWIG_fail;
21089 }
21090 Py_INCREF(Py_None); resultobj = Py_None;
21091 return resultobj;
21092 fail:
21093 return NULL;
21094}
21095
21096
c32bde28 21097static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21098 PyObject *resultobj;
21099 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21100 PyObject * obj0 = 0 ;
21101 char *kwnames[] = {
21102 (char *) "self", NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 (arg1)->base_OnDelete();
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 Py_INCREF(Py_None); resultobj = Py_None;
21116 return resultobj;
21117 fail:
21118 return NULL;
21119}
21120
21121
c32bde28 21122static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21123 PyObject *resultobj;
21124 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21125 wxDC *arg2 = 0 ;
21126 PyObject * obj0 = 0 ;
21127 PyObject * obj1 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "self",(char *) "dc", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21136 SWIG_POINTER_EXCEPTION | 0)) == -1)
21137 SWIG_fail;
44127b65 21138 if (arg2 == NULL) {
2f4c0a16
RD
21139 PyErr_SetString(PyExc_TypeError,"null reference");
21140 SWIG_fail;
44127b65
RD
21141 }
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 (arg1)->base_OnDraw(*arg2);
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 Py_INCREF(Py_None); resultobj = Py_None;
21150 return resultobj;
21151 fail:
21152 return NULL;
21153}
21154
21155
c32bde28 21156static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21157 PyObject *resultobj;
21158 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21159 wxDC *arg2 = 0 ;
21160 PyObject * obj0 = 0 ;
21161 PyObject * obj1 = 0 ;
21162 char *kwnames[] = {
21163 (char *) "self",(char *) "dc", NULL
21164 };
21165
21166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21170 SWIG_POINTER_EXCEPTION | 0)) == -1)
21171 SWIG_fail;
44127b65 21172 if (arg2 == NULL) {
2f4c0a16
RD
21173 PyErr_SetString(PyExc_TypeError,"null reference");
21174 SWIG_fail;
44127b65
RD
21175 }
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 (arg1)->base_OnDrawContents(*arg2);
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 Py_INCREF(Py_None); resultobj = Py_None;
21184 return resultobj;
21185 fail:
21186 return NULL;
21187}
21188
21189
c32bde28 21190static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21191 PyObject *resultobj;
21192 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21193 wxDC *arg2 = 0 ;
21194 bool arg3 = (bool) FALSE ;
21195 PyObject * obj0 = 0 ;
21196 PyObject * obj1 = 0 ;
21197 PyObject * obj2 = 0 ;
21198 char *kwnames[] = {
21199 (char *) "self",(char *) "dc",(char *) "erase", NULL
21200 };
21201
21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21206 SWIG_POINTER_EXCEPTION | 0)) == -1)
21207 SWIG_fail;
44127b65 21208 if (arg2 == NULL) {
2f4c0a16
RD
21209 PyErr_SetString(PyExc_TypeError,"null reference");
21210 SWIG_fail;
44127b65
RD
21211 }
21212 if (obj2) {
c32bde28 21213 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 21214 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21215 }
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 (arg1)->base_OnDrawBranches(*arg2,arg3);
21219
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 Py_INCREF(Py_None); resultobj = Py_None;
21224 return resultobj;
21225 fail:
21226 return NULL;
21227}
21228
21229
c32bde28 21230static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21231 PyObject *resultobj;
21232 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21233 wxDC *arg2 = 0 ;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self",(char *) "dc", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21244 SWIG_POINTER_EXCEPTION | 0)) == -1)
21245 SWIG_fail;
44127b65 21246 if (arg2 == NULL) {
2f4c0a16
RD
21247 PyErr_SetString(PyExc_TypeError,"null reference");
21248 SWIG_fail;
44127b65
RD
21249 }
21250 {
21251 PyThreadState* __tstate = wxPyBeginAllowThreads();
21252 (arg1)->base_OnMoveLinks(*arg2);
21253
21254 wxPyEndAllowThreads(__tstate);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 Py_INCREF(Py_None); resultobj = Py_None;
21258 return resultobj;
21259 fail:
21260 return NULL;
21261}
21262
21263
c32bde28 21264static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21265 PyObject *resultobj;
21266 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21267 wxDC *arg2 = 0 ;
21268 PyObject * obj0 = 0 ;
21269 PyObject * obj1 = 0 ;
21270 char *kwnames[] = {
21271 (char *) "self",(char *) "dc", NULL
21272 };
21273
21274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21278 SWIG_POINTER_EXCEPTION | 0)) == -1)
21279 SWIG_fail;
44127b65 21280 if (arg2 == NULL) {
2f4c0a16
RD
21281 PyErr_SetString(PyExc_TypeError,"null reference");
21282 SWIG_fail;
44127b65
RD
21283 }
21284 {
21285 PyThreadState* __tstate = wxPyBeginAllowThreads();
21286 (arg1)->base_OnErase(*arg2);
21287
21288 wxPyEndAllowThreads(__tstate);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 Py_INCREF(Py_None); resultobj = Py_None;
21292 return resultobj;
21293 fail:
21294 return NULL;
21295}
21296
21297
c32bde28 21298static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21299 PyObject *resultobj;
21300 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21301 wxDC *arg2 = 0 ;
21302 PyObject * obj0 = 0 ;
21303 PyObject * obj1 = 0 ;
21304 char *kwnames[] = {
21305 (char *) "self",(char *) "dc", NULL
21306 };
21307
21308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21312 SWIG_POINTER_EXCEPTION | 0)) == -1)
21313 SWIG_fail;
44127b65 21314 if (arg2 == NULL) {
2f4c0a16
RD
21315 PyErr_SetString(PyExc_TypeError,"null reference");
21316 SWIG_fail;
44127b65
RD
21317 }
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 (arg1)->base_OnEraseContents(*arg2);
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 Py_INCREF(Py_None); resultobj = Py_None;
21326 return resultobj;
21327 fail:
21328 return NULL;
21329}
21330
21331
c32bde28 21332static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21333 PyObject *resultobj;
21334 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21335 wxDC *arg2 = 0 ;
21336 PyObject * obj0 = 0 ;
21337 PyObject * obj1 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self",(char *) "dc", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21346 SWIG_POINTER_EXCEPTION | 0)) == -1)
21347 SWIG_fail;
44127b65 21348 if (arg2 == NULL) {
2f4c0a16
RD
21349 PyErr_SetString(PyExc_TypeError,"null reference");
21350 SWIG_fail;
44127b65
RD
21351 }
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 (arg1)->base_OnHighlight(*arg2);
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 Py_INCREF(Py_None); resultobj = Py_None;
21360 return resultobj;
21361 fail:
21362 return NULL;
21363}
21364
21365
c32bde28 21366static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21367 PyObject *resultobj;
21368 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21369 double arg2 ;
21370 double arg3 ;
21371 int arg4 = (int) 0 ;
21372 int arg5 = (int) 0 ;
21373 PyObject * obj0 = 0 ;
8edf1c75
RD
21374 PyObject * obj1 = 0 ;
21375 PyObject * obj2 = 0 ;
21376 PyObject * obj3 = 0 ;
21377 PyObject * obj4 = 0 ;
44127b65
RD
21378 char *kwnames[] = {
21379 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21380 };
21381
8edf1c75 21382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21385 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 21386 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21387 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21388 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21389 if (obj3) {
c32bde28 21390 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 21391 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21392 }
21393 if (obj4) {
c32bde28 21394 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21395 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21396 }
44127b65
RD
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 Py_INCREF(Py_None); resultobj = Py_None;
21405 return resultobj;
21406 fail:
21407 return NULL;
21408}
21409
21410
c32bde28 21411static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21412 PyObject *resultobj;
21413 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21414 double arg2 ;
21415 double arg3 ;
21416 int arg4 = (int) 0 ;
21417 int arg5 = (int) 0 ;
21418 PyObject * obj0 = 0 ;
8edf1c75
RD
21419 PyObject * obj1 = 0 ;
21420 PyObject * obj2 = 0 ;
21421 PyObject * obj3 = 0 ;
21422 PyObject * obj4 = 0 ;
44127b65
RD
21423 char *kwnames[] = {
21424 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21425 };
21426
8edf1c75 21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21430 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 21431 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21432 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21433 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21434 if (obj3) {
c32bde28 21435 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 21436 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21437 }
21438 if (obj4) {
c32bde28 21439 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21440 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21441 }
44127b65
RD
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 Py_INCREF(Py_None); resultobj = Py_None;
21450 return resultobj;
21451 fail:
21452 return NULL;
21453}
21454
21455
c32bde28 21456static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21457 PyObject *resultobj;
21458 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21459 double arg2 ;
21460 double arg3 ;
21461 int arg4 = (int) 0 ;
21462 int arg5 = (int) 0 ;
21463 PyObject * obj0 = 0 ;
8edf1c75
RD
21464 PyObject * obj1 = 0 ;
21465 PyObject * obj2 = 0 ;
21466 PyObject * obj3 = 0 ;
21467 PyObject * obj4 = 0 ;
44127b65
RD
21468 char *kwnames[] = {
21469 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21470 };
21471
8edf1c75 21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21475 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 21476 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21477 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21478 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21479 if (obj3) {
c32bde28 21480 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 21481 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21482 }
21483 if (obj4) {
c32bde28 21484 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21485 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21486 }
44127b65
RD
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 Py_INCREF(Py_None); resultobj = Py_None;
21495 return resultobj;
21496 fail:
21497 return NULL;
21498}
21499
21500
c32bde28 21501static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21502 PyObject *resultobj;
21503 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21504 double arg2 ;
21505 double arg3 ;
21506 PyObject * obj0 = 0 ;
8edf1c75
RD
21507 PyObject * obj1 = 0 ;
21508 PyObject * obj2 = 0 ;
44127b65
RD
21509 char *kwnames[] = {
21510 (char *) "self",(char *) "x",(char *) "y", NULL
21511 };
21512
8edf1c75 21513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21516 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 21517 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21518 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21519 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21520 {
21521 PyThreadState* __tstate = wxPyBeginAllowThreads();
21522 (arg1)->base_OnSize(arg2,arg3);
21523
21524 wxPyEndAllowThreads(__tstate);
21525 if (PyErr_Occurred()) SWIG_fail;
21526 }
21527 Py_INCREF(Py_None); resultobj = Py_None;
21528 return resultobj;
21529 fail:
21530 return NULL;
21531}
21532
21533
c32bde28 21534static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21535 PyObject *resultobj;
21536 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21537 wxDC *arg2 = 0 ;
21538 double arg3 ;
21539 double arg4 ;
21540 double arg5 ;
21541 double arg6 ;
ae8162c8 21542 bool arg7 = (bool) true ;
44127b65
RD
21543 bool result;
21544 PyObject * obj0 = 0 ;
21545 PyObject * obj1 = 0 ;
8edf1c75
RD
21546 PyObject * obj2 = 0 ;
21547 PyObject * obj3 = 0 ;
21548 PyObject * obj4 = 0 ;
21549 PyObject * obj5 = 0 ;
44127b65
RD
21550 PyObject * obj6 = 0 ;
21551 char *kwnames[] = {
21552 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21553 };
21554
8edf1c75 21555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21559 SWIG_POINTER_EXCEPTION | 0)) == -1)
21560 SWIG_fail;
44127b65 21561 if (arg2 == NULL) {
2f4c0a16
RD
21562 PyErr_SetString(PyExc_TypeError,"null reference");
21563 SWIG_fail;
21564 }
c32bde28 21565 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21566 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21567 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 21568 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21569 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 21570 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21571 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 21572 if (PyErr_Occurred()) SWIG_fail;
44127b65 21573 if (obj6) {
c32bde28 21574 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 21575 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21576 }
21577 {
21578 PyThreadState* __tstate = wxPyBeginAllowThreads();
21579 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21580
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
4f89f6a3
RD
21584 {
21585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21586 }
44127b65
RD
21587 return resultobj;
21588 fail:
21589 return NULL;
21590}
21591
21592
c32bde28 21593static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21594 PyObject *resultobj;
21595 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21596 wxDC *arg2 = 0 ;
21597 double arg3 ;
21598 double arg4 ;
21599 double arg5 ;
21600 double arg6 ;
ae8162c8 21601 bool arg7 = (bool) true ;
44127b65
RD
21602 PyObject * obj0 = 0 ;
21603 PyObject * obj1 = 0 ;
8edf1c75
RD
21604 PyObject * obj2 = 0 ;
21605 PyObject * obj3 = 0 ;
21606 PyObject * obj4 = 0 ;
21607 PyObject * obj5 = 0 ;
44127b65
RD
21608 PyObject * obj6 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21611 };
21612
8edf1c75 21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21617 SWIG_POINTER_EXCEPTION | 0)) == -1)
21618 SWIG_fail;
44127b65 21619 if (arg2 == NULL) {
2f4c0a16
RD
21620 PyErr_SetString(PyExc_TypeError,"null reference");
21621 SWIG_fail;
21622 }
c32bde28 21623 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21624 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21625 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 21626 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21627 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 21628 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21629 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 21630 if (PyErr_Occurred()) SWIG_fail;
44127b65 21631 if (obj6) {
c32bde28 21632 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 21633 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21634 }
21635 {
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
21642 Py_INCREF(Py_None); resultobj = Py_None;
21643 return resultobj;
21644 fail:
21645 return NULL;
21646}
21647
21648
c32bde28 21649static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21650 PyObject *resultobj;
21651 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21652 bool arg2 ;
21653 double arg3 ;
21654 double arg4 ;
21655 int arg5 = (int) 0 ;
21656 int arg6 = (int) 0 ;
21657 PyObject * obj0 = 0 ;
21658 PyObject * obj1 = 0 ;
8edf1c75
RD
21659 PyObject * obj2 = 0 ;
21660 PyObject * obj3 = 0 ;
21661 PyObject * obj4 = 0 ;
21662 PyObject * obj5 = 0 ;
44127b65
RD
21663 char *kwnames[] = {
21664 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21665 };
21666
8edf1c75 21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21670 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 21671 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21672 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21673 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21674 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 21675 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21676 if (obj4) {
c32bde28 21677 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21678 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21679 }
21680 if (obj5) {
c32bde28 21681 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 21682 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21683 }
44127b65
RD
21684 {
21685 PyThreadState* __tstate = wxPyBeginAllowThreads();
21686 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21687
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 Py_INCREF(Py_None); resultobj = Py_None;
21692 return resultobj;
21693 fail:
21694 return NULL;
21695}
21696
21697
c32bde28 21698static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21699 PyObject *resultobj;
21700 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21701 double arg2 ;
21702 double arg3 ;
21703 int arg4 = (int) 0 ;
21704 int arg5 = (int) 0 ;
21705 PyObject * obj0 = 0 ;
8edf1c75
RD
21706 PyObject * obj1 = 0 ;
21707 PyObject * obj2 = 0 ;
21708 PyObject * obj3 = 0 ;
21709 PyObject * obj4 = 0 ;
44127b65
RD
21710 char *kwnames[] = {
21711 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21712 };
21713
8edf1c75 21714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21717 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 21718 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21719 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21720 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21721 if (obj3) {
c32bde28 21722 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 21723 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21724 }
21725 if (obj4) {
c32bde28 21726 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21727 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21728 }
44127b65
RD
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 Py_INCREF(Py_None); resultobj = Py_None;
21737 return resultobj;
21738 fail:
21739 return NULL;
21740}
21741
21742
c32bde28 21743static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21744 PyObject *resultobj;
21745 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21746 double arg2 ;
21747 double arg3 ;
21748 int arg4 = (int) 0 ;
21749 int arg5 = (int) 0 ;
21750 PyObject * obj0 = 0 ;
8edf1c75
RD
21751 PyObject * obj1 = 0 ;
21752 PyObject * obj2 = 0 ;
21753 PyObject * obj3 = 0 ;
21754 PyObject * obj4 = 0 ;
44127b65
RD
21755 char *kwnames[] = {
21756 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21757 };
21758
8edf1c75 21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21762 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 21763 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21764 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21765 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21766 if (obj3) {
c32bde28 21767 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 21768 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21769 }
21770 if (obj4) {
c32bde28 21771 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21772 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21773 }
44127b65
RD
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 Py_INCREF(Py_None); resultobj = Py_None;
21782 return resultobj;
21783 fail:
21784 return NULL;
21785}
21786
21787
c32bde28 21788static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21789 PyObject *resultobj;
21790 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21791 bool arg2 ;
21792 double arg3 ;
21793 double arg4 ;
21794 int arg5 = (int) 0 ;
21795 int arg6 = (int) 0 ;
21796 PyObject * obj0 = 0 ;
21797 PyObject * obj1 = 0 ;
8edf1c75
RD
21798 PyObject * obj2 = 0 ;
21799 PyObject * obj3 = 0 ;
21800 PyObject * obj4 = 0 ;
21801 PyObject * obj5 = 0 ;
44127b65
RD
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21804 };
21805
8edf1c75 21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21809 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 21810 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21811 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21812 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21813 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 21814 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21815 if (obj4) {
c32bde28 21816 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21817 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21818 }
21819 if (obj5) {
c32bde28 21820 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 21821 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21822 }
44127b65
RD
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
21826
21827 wxPyEndAllowThreads(__tstate);
21828 if (PyErr_Occurred()) SWIG_fail;
21829 }
21830 Py_INCREF(Py_None); resultobj = Py_None;
21831 return resultobj;
21832 fail:
21833 return NULL;
21834}
21835
21836
c32bde28 21837static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21838 PyObject *resultobj;
21839 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21840 double arg2 ;
21841 double arg3 ;
21842 int arg4 = (int) 0 ;
21843 int arg5 = (int) 0 ;
21844 PyObject * obj0 = 0 ;
8edf1c75
RD
21845 PyObject * obj1 = 0 ;
21846 PyObject * obj2 = 0 ;
21847 PyObject * obj3 = 0 ;
21848 PyObject * obj4 = 0 ;
44127b65
RD
21849 char *kwnames[] = {
21850 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21851 };
21852
8edf1c75 21853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21856 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 21857 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21858 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21859 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21860 if (obj3) {
c32bde28 21861 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 21862 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21863 }
21864 if (obj4) {
c32bde28 21865 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21866 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21867 }
44127b65
RD
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 Py_INCREF(Py_None); resultobj = Py_None;
21876 return resultobj;
21877 fail:
21878 return NULL;
21879}
21880
21881
c32bde28 21882static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21883 PyObject *resultobj;
21884 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21885 double arg2 ;
21886 double arg3 ;
21887 int arg4 = (int) 0 ;
21888 int arg5 = (int) 0 ;
21889 PyObject * obj0 = 0 ;
8edf1c75
RD
21890 PyObject * obj1 = 0 ;
21891 PyObject * obj2 = 0 ;
21892 PyObject * obj3 = 0 ;
21893 PyObject * obj4 = 0 ;
44127b65
RD
21894 char *kwnames[] = {
21895 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21896 };
21897
8edf1c75 21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21901 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 21902 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21903 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21904 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21905 if (obj3) {
c32bde28 21906 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 21907 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21908 }
21909 if (obj4) {
c32bde28 21910 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 21911 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21912 }
44127b65
RD
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 Py_INCREF(Py_None); resultobj = Py_None;
21921 return resultobj;
21922 fail:
21923 return NULL;
21924}
21925
21926
c32bde28 21927static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21928 PyObject *resultobj;
21929 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21930 wxDC *arg2 = 0 ;
21931 double arg3 ;
21932 double arg4 ;
21933 double arg5 ;
21934 double arg6 ;
21935 PyObject * obj0 = 0 ;
21936 PyObject * obj1 = 0 ;
8edf1c75
RD
21937 PyObject * obj2 = 0 ;
21938 PyObject * obj3 = 0 ;
21939 PyObject * obj4 = 0 ;
21940 PyObject * obj5 = 0 ;
44127b65
RD
21941 char *kwnames[] = {
21942 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21943 };
21944
8edf1c75 21945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21949 SWIG_POINTER_EXCEPTION | 0)) == -1)
21950 SWIG_fail;
44127b65 21951 if (arg2 == NULL) {
2f4c0a16
RD
21952 PyErr_SetString(PyExc_TypeError,"null reference");
21953 SWIG_fail;
8edf1c75 21954 }
c32bde28 21955 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 21956 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21957 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 21958 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21959 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 21960 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21961 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 21962 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 Py_INCREF(Py_None); resultobj = Py_None;
21971 return resultobj;
21972 fail:
21973 return NULL;
21974}
21975
21976
c32bde28 21977static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21978 PyObject *resultobj;
21979 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21980 wxDC *arg2 = 0 ;
21981 PyObject * obj0 = 0 ;
21982 PyObject * obj1 = 0 ;
21983 char *kwnames[] = {
21984 (char *) "self",(char *) "dc", NULL
21985 };
21986
21987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1)
21992 SWIG_fail;
44127b65 21993 if (arg2 == NULL) {
2f4c0a16
RD
21994 PyErr_SetString(PyExc_TypeError,"null reference");
21995 SWIG_fail;
44127b65
RD
21996 }
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 (arg1)->base_OnDrawControlPoints(*arg2);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 Py_INCREF(Py_None); resultobj = Py_None;
22005 return resultobj;
22006 fail:
22007 return NULL;
22008}
22009
22010
c32bde28 22011static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22012 PyObject *resultobj;
22013 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22014 wxDC *arg2 = 0 ;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self",(char *) "dc", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22025 SWIG_POINTER_EXCEPTION | 0)) == -1)
22026 SWIG_fail;
44127b65 22027 if (arg2 == NULL) {
2f4c0a16
RD
22028 PyErr_SetString(PyExc_TypeError,"null reference");
22029 SWIG_fail;
44127b65
RD
22030 }
22031 {
22032 PyThreadState* __tstate = wxPyBeginAllowThreads();
22033 (arg1)->base_OnEraseControlPoints(*arg2);
22034
22035 wxPyEndAllowThreads(__tstate);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 Py_INCREF(Py_None); resultobj = Py_None;
22039 return resultobj;
22040 fail:
22041 return NULL;
22042}
22043
22044
c32bde28 22045static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22046 PyObject *resultobj;
22047 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22048 wxDC *arg2 = 0 ;
ae8162c8 22049 bool arg3 = (bool) true ;
44127b65
RD
22050 PyObject * obj0 = 0 ;
22051 PyObject * obj1 = 0 ;
22052 PyObject * obj2 = 0 ;
22053 char *kwnames[] = {
22054 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22055 };
22056
22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1)
22062 SWIG_fail;
44127b65 22063 if (arg2 == NULL) {
2f4c0a16
RD
22064 PyErr_SetString(PyExc_TypeError,"null reference");
22065 SWIG_fail;
44127b65
RD
22066 }
22067 if (obj2) {
c32bde28 22068 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 22069 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22070 }
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 (arg1)->base_OnMoveLink(*arg2,arg3);
22074
22075 wxPyEndAllowThreads(__tstate);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 Py_INCREF(Py_None); resultobj = Py_None;
22079 return resultobj;
22080 fail:
22081 return NULL;
22082}
22083
22084
c32bde28 22085static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22086 PyObject *resultobj;
22087 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22088 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22089 bool arg3 ;
22090 double arg4 ;
22091 double arg5 ;
22092 int arg6 = (int) 0 ;
22093 int arg7 = (int) 0 ;
22094 PyObject * obj0 = 0 ;
22095 PyObject * obj1 = 0 ;
22096 PyObject * obj2 = 0 ;
8edf1c75
RD
22097 PyObject * obj3 = 0 ;
22098 PyObject * obj4 = 0 ;
22099 PyObject * obj5 = 0 ;
22100 PyObject * obj6 = 0 ;
44127b65
RD
22101 char *kwnames[] = {
22102 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22103 };
22104
8edf1c75 22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22110 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 22111 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22112 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 22113 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22114 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 22115 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22116 if (obj5) {
c32bde28 22117 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 22118 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22119 }
22120 if (obj6) {
c32bde28 22121 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 22122 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22123 }
44127b65
RD
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 Py_INCREF(Py_None); resultobj = Py_None;
22132 return resultobj;
22133 fail:
22134 return NULL;
22135}
22136
22137
c32bde28 22138static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22139 PyObject *resultobj;
22140 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22141 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22142 double arg3 ;
22143 double arg4 ;
22144 int arg5 = (int) 0 ;
22145 int arg6 = (int) 0 ;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
8edf1c75
RD
22148 PyObject * obj2 = 0 ;
22149 PyObject * obj3 = 0 ;
22150 PyObject * obj4 = 0 ;
22151 PyObject * obj5 = 0 ;
44127b65
RD
22152 char *kwnames[] = {
22153 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22154 };
22155
8edf1c75 22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22161 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22162 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22163 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16
RD
22164 if (PyErr_Occurred()) SWIG_fail;
22165 if (obj4) {
c32bde28 22166 arg5 = (int)SWIG_As_int(obj4);
8edf1c75
RD
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
2f4c0a16 22169 if (obj5) {
c32bde28 22170 arg6 = (int)SWIG_As_int(obj5);
8edf1c75
RD
22171 if (PyErr_Occurred()) SWIG_fail;
22172 }
44127b65
RD
22173 {
22174 PyThreadState* __tstate = wxPyBeginAllowThreads();
22175 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22176
22177 wxPyEndAllowThreads(__tstate);
22178 if (PyErr_Occurred()) SWIG_fail;
22179 }
22180 Py_INCREF(Py_None); resultobj = Py_None;
22181 return resultobj;
22182 fail:
22183 return NULL;
22184}
22185
22186
c32bde28 22187static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22188 PyObject *resultobj;
22189 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22190 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22191 double arg3 ;
22192 double arg4 ;
22193 int arg5 = (int) 0 ;
22194 int arg6 = (int) 0 ;
22195 PyObject * obj0 = 0 ;
22196 PyObject * obj1 = 0 ;
8edf1c75
RD
22197 PyObject * obj2 = 0 ;
22198 PyObject * obj3 = 0 ;
22199 PyObject * obj4 = 0 ;
22200 PyObject * obj5 = 0 ;
44127b65
RD
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22203 };
22204
8edf1c75 22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22210 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22211 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22212 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 22213 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22214 if (obj4) {
c32bde28 22215 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 22216 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22217 }
22218 if (obj5) {
c32bde28 22219 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 22220 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22221 }
44127b65
RD
22222 {
22223 PyThreadState* __tstate = wxPyBeginAllowThreads();
22224 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22225
22226 wxPyEndAllowThreads(__tstate);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
22229 Py_INCREF(Py_None); resultobj = Py_None;
22230 return resultobj;
22231 fail:
22232 return NULL;
22233}
22234
22235
c32bde28 22236static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22237 PyObject *resultobj;
22238 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22239 double arg2 ;
22240 double arg3 ;
22241 PyObject * obj0 = 0 ;
8edf1c75
RD
22242 PyObject * obj1 = 0 ;
22243 PyObject * obj2 = 0 ;
44127b65
RD
22244 char *kwnames[] = {
22245 (char *) "self",(char *) "w",(char *) "h", NULL
22246 };
22247
8edf1c75 22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22251 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 22252 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22253 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22254 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22255 {
22256 PyThreadState* __tstate = wxPyBeginAllowThreads();
22257 (arg1)->base_OnBeginSize(arg2,arg3);
22258
22259 wxPyEndAllowThreads(__tstate);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 }
22262 Py_INCREF(Py_None); resultobj = Py_None;
22263 return resultobj;
22264 fail:
22265 return NULL;
22266}
22267
22268
c32bde28 22269static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22270 PyObject *resultobj;
22271 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22272 double arg2 ;
22273 double arg3 ;
22274 PyObject * obj0 = 0 ;
8edf1c75
RD
22275 PyObject * obj1 = 0 ;
22276 PyObject * obj2 = 0 ;
44127b65
RD
22277 char *kwnames[] = {
22278 (char *) "self",(char *) "w",(char *) "h", NULL
22279 };
22280
8edf1c75 22281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22284 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 22285 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22286 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22287 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 (arg1)->base_OnEndSize(arg2,arg3);
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 Py_INCREF(Py_None); resultobj = Py_None;
22296 return resultobj;
22297 fail:
22298 return NULL;
22299}
22300
22301
c32bde28 22302static PyObject * PyDivisionShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
22303 PyObject *obj;
22304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22305 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22306 Py_INCREF(obj);
22307 return Py_BuildValue((char *)"");
22308}
c32bde28 22309static PyObject *_wrap_new_PyEllipseShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22310 PyObject *resultobj;
22311 double arg1 = (double) 0.0 ;
22312 double arg2 = (double) 0.0 ;
22313 wxPyEllipseShape *result;
8edf1c75
RD
22314 PyObject * obj0 = 0 ;
22315 PyObject * obj1 = 0 ;
44127b65
RD
22316 char *kwnames[] = {
22317 (char *) "width",(char *) "height", NULL
22318 };
22319
8edf1c75
RD
22320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22321 if (obj0) {
c32bde28 22322 arg1 = (double)SWIG_As_double(obj0);
2f4c0a16 22323 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22324 }
22325 if (obj1) {
c32bde28 22326 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 22327 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22328 }
44127b65
RD
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22332
22333 wxPyEndAllowThreads(__tstate);
22334 if (PyErr_Occurred()) SWIG_fail;
22335 }
2f4c0a16 22336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
44127b65
RD
22337 return resultobj;
22338 fail:
22339 return NULL;
22340}
22341
22342
c32bde28 22343static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22344 PyObject *resultobj;
22345 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22346 PyObject *arg2 = (PyObject *) 0 ;
22347 PyObject *arg3 = (PyObject *) 0 ;
22348 PyObject * obj0 = 0 ;
22349 PyObject * obj1 = 0 ;
22350 PyObject * obj2 = 0 ;
22351 char *kwnames[] = {
22352 (char *) "self",(char *) "self",(char *) "_class", NULL
22353 };
22354
22355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
22358 arg2 = obj1;
22359 arg3 = obj2;
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 (arg1)->_setCallbackInfo(arg2,arg3);
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 Py_INCREF(Py_None); resultobj = Py_None;
22368 return resultobj;
22369 fail:
22370 return NULL;
22371}
22372
22373
c32bde28 22374static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22375 PyObject *resultobj;
22376 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22377 wxDC *arg2 = 0 ;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self",(char *) "dc", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22388 SWIG_POINTER_EXCEPTION | 0)) == -1)
22389 SWIG_fail;
44127b65 22390 if (arg2 == NULL) {
2f4c0a16
RD
22391 PyErr_SetString(PyExc_TypeError,"null reference");
22392 SWIG_fail;
44127b65
RD
22393 }
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 (arg1)->base_OnDraw(*arg2);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 Py_INCREF(Py_None); resultobj = Py_None;
22402 return resultobj;
22403 fail:
22404 return NULL;
22405}
22406
22407
c32bde28 22408static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22409 PyObject *resultobj;
22410 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22411 wxDC *arg2 = 0 ;
22412 PyObject * obj0 = 0 ;
22413 PyObject * obj1 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self",(char *) "dc", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22422 SWIG_POINTER_EXCEPTION | 0)) == -1)
22423 SWIG_fail;
44127b65 22424 if (arg2 == NULL) {
2f4c0a16
RD
22425 PyErr_SetString(PyExc_TypeError,"null reference");
22426 SWIG_fail;
44127b65
RD
22427 }
22428 {
22429 PyThreadState* __tstate = wxPyBeginAllowThreads();
22430 (arg1)->base_OnDrawContents(*arg2);
22431
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 Py_INCREF(Py_None); resultobj = Py_None;
22436 return resultobj;
22437 fail:
22438 return NULL;
22439}
22440
22441
c32bde28 22442static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22443 PyObject *resultobj;
22444 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22445 wxDC *arg2 = 0 ;
22446 bool arg3 = (bool) FALSE ;
22447 PyObject * obj0 = 0 ;
22448 PyObject * obj1 = 0 ;
22449 PyObject * obj2 = 0 ;
22450 char *kwnames[] = {
22451 (char *) "self",(char *) "dc",(char *) "erase", NULL
22452 };
22453
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22458 SWIG_POINTER_EXCEPTION | 0)) == -1)
22459 SWIG_fail;
44127b65 22460 if (arg2 == NULL) {
2f4c0a16
RD
22461 PyErr_SetString(PyExc_TypeError,"null reference");
22462 SWIG_fail;
44127b65
RD
22463 }
22464 if (obj2) {
c32bde28 22465 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 22466 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22467 }
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 (arg1)->base_OnDrawBranches(*arg2,arg3);
22471
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 Py_INCREF(Py_None); resultobj = Py_None;
22476 return resultobj;
22477 fail:
22478 return NULL;
22479}
22480
22481
c32bde28 22482static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22483 PyObject *resultobj;
22484 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22485 wxDC *arg2 = 0 ;
22486 PyObject * obj0 = 0 ;
22487 PyObject * obj1 = 0 ;
22488 char *kwnames[] = {
22489 (char *) "self",(char *) "dc", NULL
22490 };
22491
22492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22496 SWIG_POINTER_EXCEPTION | 0)) == -1)
22497 SWIG_fail;
44127b65 22498 if (arg2 == NULL) {
2f4c0a16
RD
22499 PyErr_SetString(PyExc_TypeError,"null reference");
22500 SWIG_fail;
44127b65
RD
22501 }
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 (arg1)->base_OnMoveLinks(*arg2);
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 Py_INCREF(Py_None); resultobj = Py_None;
22510 return resultobj;
22511 fail:
22512 return NULL;
22513}
22514
22515
c32bde28 22516static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22517 PyObject *resultobj;
22518 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22519 wxDC *arg2 = 0 ;
22520 PyObject * obj0 = 0 ;
22521 PyObject * obj1 = 0 ;
22522 char *kwnames[] = {
22523 (char *) "self",(char *) "dc", NULL
22524 };
22525
22526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22530 SWIG_POINTER_EXCEPTION | 0)) == -1)
22531 SWIG_fail;
44127b65 22532 if (arg2 == NULL) {
2f4c0a16
RD
22533 PyErr_SetString(PyExc_TypeError,"null reference");
22534 SWIG_fail;
44127b65
RD
22535 }
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 (arg1)->base_OnErase(*arg2);
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 Py_INCREF(Py_None); resultobj = Py_None;
22544 return resultobj;
22545 fail:
22546 return NULL;
22547}
22548
22549
c32bde28 22550static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22551 PyObject *resultobj;
22552 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22553 wxDC *arg2 = 0 ;
22554 PyObject * obj0 = 0 ;
22555 PyObject * obj1 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self",(char *) "dc", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22564 SWIG_POINTER_EXCEPTION | 0)) == -1)
22565 SWIG_fail;
44127b65 22566 if (arg2 == NULL) {
2f4c0a16
RD
22567 PyErr_SetString(PyExc_TypeError,"null reference");
22568 SWIG_fail;
44127b65
RD
22569 }
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 (arg1)->base_OnEraseContents(*arg2);
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 Py_INCREF(Py_None); resultobj = Py_None;
22578 return resultobj;
22579 fail:
22580 return NULL;
22581}
22582
22583
c32bde28 22584static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22585 PyObject *resultobj;
22586 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22587 wxDC *arg2 = 0 ;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self",(char *) "dc", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22598 SWIG_POINTER_EXCEPTION | 0)) == -1)
22599 SWIG_fail;
44127b65 22600 if (arg2 == NULL) {
2f4c0a16
RD
22601 PyErr_SetString(PyExc_TypeError,"null reference");
22602 SWIG_fail;
44127b65
RD
22603 }
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 (arg1)->base_OnHighlight(*arg2);
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 Py_INCREF(Py_None); resultobj = Py_None;
22612 return resultobj;
22613 fail:
22614 return NULL;
22615}
22616
22617
c32bde28 22618static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22619 PyObject *resultobj;
22620 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22621 double arg2 ;
22622 double arg3 ;
22623 int arg4 = (int) 0 ;
22624 int arg5 = (int) 0 ;
22625 PyObject * obj0 = 0 ;
8edf1c75
RD
22626 PyObject * obj1 = 0 ;
22627 PyObject * obj2 = 0 ;
22628 PyObject * obj3 = 0 ;
22629 PyObject * obj4 = 0 ;
44127b65
RD
22630 char *kwnames[] = {
22631 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22632 };
22633
8edf1c75 22634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22637 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 22638 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22639 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22640 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22641 if (obj3) {
c32bde28 22642 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 22643 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22644 }
22645 if (obj4) {
c32bde28 22646 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 22647 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22648 }
44127b65
RD
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 Py_INCREF(Py_None); resultobj = Py_None;
22657 return resultobj;
22658 fail:
22659 return NULL;
22660}
22661
22662
c32bde28 22663static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22664 PyObject *resultobj;
22665 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22666 double arg2 ;
22667 double arg3 ;
22668 int arg4 = (int) 0 ;
22669 int arg5 = (int) 0 ;
22670 PyObject * obj0 = 0 ;
8edf1c75
RD
22671 PyObject * obj1 = 0 ;
22672 PyObject * obj2 = 0 ;
22673 PyObject * obj3 = 0 ;
22674 PyObject * obj4 = 0 ;
44127b65
RD
22675 char *kwnames[] = {
22676 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22677 };
22678
8edf1c75 22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22682 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 22683 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22684 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22685 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22686 if (obj3) {
c32bde28 22687 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 22688 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22689 }
22690 if (obj4) {
c32bde28 22691 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 22692 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22693 }
44127b65
RD
22694 {
22695 PyThreadState* __tstate = wxPyBeginAllowThreads();
22696 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22697
22698 wxPyEndAllowThreads(__tstate);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 }
22701 Py_INCREF(Py_None); resultobj = Py_None;
22702 return resultobj;
22703 fail:
22704 return NULL;
22705}
22706
22707
c32bde28 22708static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22709 PyObject *resultobj;
22710 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22711 double arg2 ;
22712 double arg3 ;
22713 int arg4 = (int) 0 ;
22714 int arg5 = (int) 0 ;
22715 PyObject * obj0 = 0 ;
8edf1c75
RD
22716 PyObject * obj1 = 0 ;
22717 PyObject * obj2 = 0 ;
22718 PyObject * obj3 = 0 ;
22719 PyObject * obj4 = 0 ;
44127b65
RD
22720 char *kwnames[] = {
22721 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22722 };
22723
8edf1c75 22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22727 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 22728 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22729 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22730 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22731 if (obj3) {
c32bde28 22732 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 22733 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22734 }
22735 if (obj4) {
c32bde28 22736 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 22737 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22738 }
44127b65
RD
22739 {
22740 PyThreadState* __tstate = wxPyBeginAllowThreads();
22741 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 Py_INCREF(Py_None); resultobj = Py_None;
22747 return resultobj;
22748 fail:
22749 return NULL;
22750}
22751
22752
c32bde28 22753static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22754 PyObject *resultobj;
22755 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22756 double arg2 ;
22757 double arg3 ;
22758 PyObject * obj0 = 0 ;
8edf1c75
RD
22759 PyObject * obj1 = 0 ;
22760 PyObject * obj2 = 0 ;
44127b65
RD
22761 char *kwnames[] = {
22762 (char *) "self",(char *) "x",(char *) "y", NULL
22763 };
22764
8edf1c75 22765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22768 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 22769 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22770 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22771 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 (arg1)->base_OnSize(arg2,arg3);
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 Py_INCREF(Py_None); resultobj = Py_None;
22780 return resultobj;
22781 fail:
22782 return NULL;
22783}
22784
22785
c32bde28 22786static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22787 PyObject *resultobj;
22788 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22789 wxDC *arg2 = 0 ;
22790 double arg3 ;
22791 double arg4 ;
22792 double arg5 ;
22793 double arg6 ;
ae8162c8 22794 bool arg7 = (bool) true ;
44127b65
RD
22795 bool result;
22796 PyObject * obj0 = 0 ;
22797 PyObject * obj1 = 0 ;
8edf1c75
RD
22798 PyObject * obj2 = 0 ;
22799 PyObject * obj3 = 0 ;
22800 PyObject * obj4 = 0 ;
22801 PyObject * obj5 = 0 ;
44127b65
RD
22802 PyObject * obj6 = 0 ;
22803 char *kwnames[] = {
22804 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22805 };
22806
8edf1c75 22807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22811 SWIG_POINTER_EXCEPTION | 0)) == -1)
22812 SWIG_fail;
44127b65 22813 if (arg2 == NULL) {
2f4c0a16
RD
22814 PyErr_SetString(PyExc_TypeError,"null reference");
22815 SWIG_fail;
22816 }
c32bde28 22817 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22818 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22819 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 22820 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22821 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 22822 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22823 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 22824 if (PyErr_Occurred()) SWIG_fail;
44127b65 22825 if (obj6) {
c32bde28 22826 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 22827 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22828 }
22829 {
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22832
22833 wxPyEndAllowThreads(__tstate);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
4f89f6a3
RD
22836 {
22837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22838 }
44127b65
RD
22839 return resultobj;
22840 fail:
22841 return NULL;
22842}
22843
22844
c32bde28 22845static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22846 PyObject *resultobj;
22847 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22848 wxDC *arg2 = 0 ;
22849 double arg3 ;
22850 double arg4 ;
22851 double arg5 ;
22852 double arg6 ;
ae8162c8 22853 bool arg7 = (bool) true ;
44127b65
RD
22854 PyObject * obj0 = 0 ;
22855 PyObject * obj1 = 0 ;
8edf1c75
RD
22856 PyObject * obj2 = 0 ;
22857 PyObject * obj3 = 0 ;
22858 PyObject * obj4 = 0 ;
22859 PyObject * obj5 = 0 ;
44127b65
RD
22860 PyObject * obj6 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22863 };
22864
8edf1c75 22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22869 SWIG_POINTER_EXCEPTION | 0)) == -1)
22870 SWIG_fail;
44127b65 22871 if (arg2 == NULL) {
2f4c0a16
RD
22872 PyErr_SetString(PyExc_TypeError,"null reference");
22873 SWIG_fail;
22874 }
c32bde28 22875 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22876 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22877 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 22878 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22879 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 22880 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22881 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 22882 if (PyErr_Occurred()) SWIG_fail;
44127b65 22883 if (obj6) {
c32bde28 22884 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 22885 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22886 }
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 Py_INCREF(Py_None); resultobj = Py_None;
22895 return resultobj;
22896 fail:
22897 return NULL;
22898}
22899
22900
c32bde28 22901static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22902 PyObject *resultobj;
22903 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22904 bool arg2 ;
22905 double arg3 ;
22906 double arg4 ;
22907 int arg5 = (int) 0 ;
22908 int arg6 = (int) 0 ;
22909 PyObject * obj0 = 0 ;
22910 PyObject * obj1 = 0 ;
8edf1c75
RD
22911 PyObject * obj2 = 0 ;
22912 PyObject * obj3 = 0 ;
22913 PyObject * obj4 = 0 ;
22914 PyObject * obj5 = 0 ;
44127b65
RD
22915 char *kwnames[] = {
22916 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22917 };
22918
8edf1c75 22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22922 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 22923 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22924 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22925 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22926 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 22927 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22928 if (obj4) {
c32bde28 22929 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 22930 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22931 }
22932 if (obj5) {
c32bde28 22933 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 22934 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22935 }
44127b65
RD
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 Py_INCREF(Py_None); resultobj = Py_None;
22944 return resultobj;
22945 fail:
22946 return NULL;
22947}
22948
22949
c32bde28 22950static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22951 PyObject *resultobj;
22952 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22953 double arg2 ;
22954 double arg3 ;
22955 int arg4 = (int) 0 ;
22956 int arg5 = (int) 0 ;
22957 PyObject * obj0 = 0 ;
8edf1c75
RD
22958 PyObject * obj1 = 0 ;
22959 PyObject * obj2 = 0 ;
22960 PyObject * obj3 = 0 ;
22961 PyObject * obj4 = 0 ;
44127b65
RD
22962 char *kwnames[] = {
22963 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22964 };
22965
8edf1c75 22966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22969 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 22970 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22971 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 22972 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22973 if (obj3) {
c32bde28 22974 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 22975 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22976 }
22977 if (obj4) {
c32bde28 22978 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 22979 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22980 }
44127b65
RD
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 Py_INCREF(Py_None); resultobj = Py_None;
22989 return resultobj;
22990 fail:
22991 return NULL;
22992}
22993
22994
c32bde28 22995static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22996 PyObject *resultobj;
22997 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22998 double arg2 ;
22999 double arg3 ;
23000 int arg4 = (int) 0 ;
23001 int arg5 = (int) 0 ;
23002 PyObject * obj0 = 0 ;
8edf1c75
RD
23003 PyObject * obj1 = 0 ;
23004 PyObject * obj2 = 0 ;
23005 PyObject * obj3 = 0 ;
23006 PyObject * obj4 = 0 ;
44127b65
RD
23007 char *kwnames[] = {
23008 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23009 };
23010
8edf1c75 23011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23014 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 23015 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23016 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23017 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23018 if (obj3) {
c32bde28 23019 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 23020 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23021 }
23022 if (obj4) {
c32bde28 23023 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23024 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23025 }
44127b65
RD
23026 {
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
23029
23030 wxPyEndAllowThreads(__tstate);
23031 if (PyErr_Occurred()) SWIG_fail;
23032 }
23033 Py_INCREF(Py_None); resultobj = Py_None;
23034 return resultobj;
23035 fail:
23036 return NULL;
23037}
23038
23039
c32bde28 23040static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23041 PyObject *resultobj;
23042 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23043 bool arg2 ;
23044 double arg3 ;
23045 double arg4 ;
23046 int arg5 = (int) 0 ;
23047 int arg6 = (int) 0 ;
23048 PyObject * obj0 = 0 ;
23049 PyObject * obj1 = 0 ;
8edf1c75
RD
23050 PyObject * obj2 = 0 ;
23051 PyObject * obj3 = 0 ;
23052 PyObject * obj4 = 0 ;
23053 PyObject * obj5 = 0 ;
44127b65
RD
23054 char *kwnames[] = {
23055 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23056 };
23057
8edf1c75 23058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23061 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 23062 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23063 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23064 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23065 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 23066 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23067 if (obj4) {
c32bde28 23068 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23069 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23070 }
23071 if (obj5) {
c32bde28 23072 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 23073 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23074 }
44127b65
RD
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 Py_INCREF(Py_None); resultobj = Py_None;
23083 return resultobj;
23084 fail:
23085 return NULL;
23086}
23087
23088
c32bde28 23089static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23090 PyObject *resultobj;
23091 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23092 double arg2 ;
23093 double arg3 ;
23094 int arg4 = (int) 0 ;
23095 int arg5 = (int) 0 ;
23096 PyObject * obj0 = 0 ;
8edf1c75
RD
23097 PyObject * obj1 = 0 ;
23098 PyObject * obj2 = 0 ;
23099 PyObject * obj3 = 0 ;
23100 PyObject * obj4 = 0 ;
44127b65
RD
23101 char *kwnames[] = {
23102 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23103 };
23104
8edf1c75 23105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23108 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 23109 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23110 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23111 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23112 if (obj3) {
c32bde28 23113 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 23114 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23115 }
23116 if (obj4) {
c32bde28 23117 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23118 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23119 }
44127b65
RD
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23123
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 Py_INCREF(Py_None); resultobj = Py_None;
23128 return resultobj;
23129 fail:
23130 return NULL;
23131}
23132
23133
c32bde28 23134static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23135 PyObject *resultobj;
23136 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23137 double arg2 ;
23138 double arg3 ;
23139 int arg4 = (int) 0 ;
23140 int arg5 = (int) 0 ;
23141 PyObject * obj0 = 0 ;
8edf1c75
RD
23142 PyObject * obj1 = 0 ;
23143 PyObject * obj2 = 0 ;
23144 PyObject * obj3 = 0 ;
23145 PyObject * obj4 = 0 ;
44127b65
RD
23146 char *kwnames[] = {
23147 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23148 };
23149
8edf1c75 23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23153 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 23154 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23155 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23156 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23157 if (obj3) {
c32bde28 23158 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 23159 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23160 }
23161 if (obj4) {
c32bde28 23162 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23163 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23164 }
44127b65
RD
23165 {
23166 PyThreadState* __tstate = wxPyBeginAllowThreads();
23167 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23168
23169 wxPyEndAllowThreads(__tstate);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 Py_INCREF(Py_None); resultobj = Py_None;
23173 return resultobj;
23174 fail:
23175 return NULL;
23176}
23177
23178
c32bde28 23179static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23180 PyObject *resultobj;
23181 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23182 wxDC *arg2 = 0 ;
23183 double arg3 ;
23184 double arg4 ;
23185 double arg5 ;
23186 double arg6 ;
23187 PyObject * obj0 = 0 ;
23188 PyObject * obj1 = 0 ;
8edf1c75
RD
23189 PyObject * obj2 = 0 ;
23190 PyObject * obj3 = 0 ;
23191 PyObject * obj4 = 0 ;
23192 PyObject * obj5 = 0 ;
44127b65
RD
23193 char *kwnames[] = {
23194 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23195 };
23196
8edf1c75 23197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1)
23202 SWIG_fail;
44127b65 23203 if (arg2 == NULL) {
2f4c0a16
RD
23204 PyErr_SetString(PyExc_TypeError,"null reference");
23205 SWIG_fail;
8edf1c75 23206 }
c32bde28 23207 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23208 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23209 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 23210 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23211 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 23212 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23213 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 23214 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23215 {
23216 PyThreadState* __tstate = wxPyBeginAllowThreads();
23217 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23218
23219 wxPyEndAllowThreads(__tstate);
23220 if (PyErr_Occurred()) SWIG_fail;
23221 }
23222 Py_INCREF(Py_None); resultobj = Py_None;
23223 return resultobj;
23224 fail:
23225 return NULL;
23226}
23227
23228
c32bde28 23229static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23230 PyObject *resultobj;
23231 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23232 wxDC *arg2 = 0 ;
23233 PyObject * obj0 = 0 ;
23234 PyObject * obj1 = 0 ;
23235 char *kwnames[] = {
23236 (char *) "self",(char *) "dc", NULL
23237 };
23238
23239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23243 SWIG_POINTER_EXCEPTION | 0)) == -1)
23244 SWIG_fail;
44127b65 23245 if (arg2 == NULL) {
2f4c0a16
RD
23246 PyErr_SetString(PyExc_TypeError,"null reference");
23247 SWIG_fail;
44127b65
RD
23248 }
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 (arg1)->base_OnDrawControlPoints(*arg2);
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 Py_INCREF(Py_None); resultobj = Py_None;
23257 return resultobj;
23258 fail:
23259 return NULL;
23260}
23261
23262
c32bde28 23263static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23264 PyObject *resultobj;
23265 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23266 wxDC *arg2 = 0 ;
23267 PyObject * obj0 = 0 ;
23268 PyObject * obj1 = 0 ;
23269 char *kwnames[] = {
23270 (char *) "self",(char *) "dc", NULL
23271 };
23272
23273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23277 SWIG_POINTER_EXCEPTION | 0)) == -1)
23278 SWIG_fail;
44127b65 23279 if (arg2 == NULL) {
2f4c0a16
RD
23280 PyErr_SetString(PyExc_TypeError,"null reference");
23281 SWIG_fail;
44127b65
RD
23282 }
23283 {
23284 PyThreadState* __tstate = wxPyBeginAllowThreads();
23285 (arg1)->base_OnEraseControlPoints(*arg2);
23286
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 Py_INCREF(Py_None); resultobj = Py_None;
23291 return resultobj;
23292 fail:
23293 return NULL;
23294}
23295
23296
c32bde28 23297static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23298 PyObject *resultobj;
23299 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23300 wxDC *arg2 = 0 ;
ae8162c8 23301 bool arg3 = (bool) true ;
44127b65
RD
23302 PyObject * obj0 = 0 ;
23303 PyObject * obj1 = 0 ;
23304 PyObject * obj2 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23313 SWIG_POINTER_EXCEPTION | 0)) == -1)
23314 SWIG_fail;
44127b65 23315 if (arg2 == NULL) {
2f4c0a16
RD
23316 PyErr_SetString(PyExc_TypeError,"null reference");
23317 SWIG_fail;
44127b65
RD
23318 }
23319 if (obj2) {
c32bde28 23320 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 23321 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23322 }
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 (arg1)->base_OnMoveLink(*arg2,arg3);
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 Py_INCREF(Py_None); resultobj = Py_None;
23331 return resultobj;
23332 fail:
23333 return NULL;
23334}
23335
23336
c32bde28 23337static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23338 PyObject *resultobj;
23339 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23340 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23341 bool arg3 ;
23342 double arg4 ;
23343 double arg5 ;
23344 int arg6 = (int) 0 ;
23345 int arg7 = (int) 0 ;
23346 PyObject * obj0 = 0 ;
23347 PyObject * obj1 = 0 ;
23348 PyObject * obj2 = 0 ;
8edf1c75
RD
23349 PyObject * obj3 = 0 ;
23350 PyObject * obj4 = 0 ;
23351 PyObject * obj5 = 0 ;
23352 PyObject * obj6 = 0 ;
44127b65
RD
23353 char *kwnames[] = {
23354 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23355 };
23356
8edf1c75 23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23362 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 23363 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23364 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 23365 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23366 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 23367 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23368 if (obj5) {
c32bde28 23369 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 23370 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23371 }
23372 if (obj6) {
c32bde28 23373 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 23374 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23375 }
44127b65
RD
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
23378 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23379
23380 wxPyEndAllowThreads(__tstate);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 }
23383 Py_INCREF(Py_None); resultobj = Py_None;
23384 return resultobj;
23385 fail:
23386 return NULL;
23387}
23388
23389
c32bde28 23390static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23391 PyObject *resultobj;
23392 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23393 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23394 double arg3 ;
23395 double arg4 ;
23396 int arg5 = (int) 0 ;
23397 int arg6 = (int) 0 ;
23398 PyObject * obj0 = 0 ;
23399 PyObject * obj1 = 0 ;
8edf1c75
RD
23400 PyObject * obj2 = 0 ;
23401 PyObject * obj3 = 0 ;
23402 PyObject * obj4 = 0 ;
23403 PyObject * obj5 = 0 ;
44127b65
RD
23404 char *kwnames[] = {
23405 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23406 };
23407
8edf1c75 23408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23413 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23414 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23415 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 23416 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23417 if (obj4) {
c32bde28 23418 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23419 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23420 }
23421 if (obj5) {
c32bde28 23422 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 23423 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23424 }
44127b65
RD
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23428
23429 wxPyEndAllowThreads(__tstate);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 }
23432 Py_INCREF(Py_None); resultobj = Py_None;
23433 return resultobj;
23434 fail:
23435 return NULL;
23436}
23437
23438
c32bde28 23439static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23440 PyObject *resultobj;
23441 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23442 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23443 double arg3 ;
23444 double arg4 ;
23445 int arg5 = (int) 0 ;
23446 int arg6 = (int) 0 ;
23447 PyObject * obj0 = 0 ;
23448 PyObject * obj1 = 0 ;
8edf1c75
RD
23449 PyObject * obj2 = 0 ;
23450 PyObject * obj3 = 0 ;
23451 PyObject * obj4 = 0 ;
23452 PyObject * obj5 = 0 ;
44127b65
RD
23453 char *kwnames[] = {
23454 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23455 };
23456
8edf1c75 23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23462 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23463 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23464 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 23465 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23466 if (obj4) {
c32bde28 23467 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23468 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23469 }
23470 if (obj5) {
c32bde28 23471 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 23472 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23473 }
44127b65
RD
23474 {
23475 PyThreadState* __tstate = wxPyBeginAllowThreads();
23476 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23477
23478 wxPyEndAllowThreads(__tstate);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 }
23481 Py_INCREF(Py_None); resultobj = Py_None;
23482 return resultobj;
23483 fail:
23484 return NULL;
23485}
23486
23487
c32bde28 23488static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23489 PyObject *resultobj;
23490 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23491 double arg2 ;
23492 double arg3 ;
23493 PyObject * obj0 = 0 ;
8edf1c75
RD
23494 PyObject * obj1 = 0 ;
23495 PyObject * obj2 = 0 ;
44127b65
RD
23496 char *kwnames[] = {
23497 (char *) "self",(char *) "w",(char *) "h", NULL
23498 };
23499
8edf1c75 23500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23503 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 23504 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23505 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23506 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23507 {
23508 PyThreadState* __tstate = wxPyBeginAllowThreads();
23509 (arg1)->base_OnBeginSize(arg2,arg3);
23510
23511 wxPyEndAllowThreads(__tstate);
23512 if (PyErr_Occurred()) SWIG_fail;
23513 }
23514 Py_INCREF(Py_None); resultobj = Py_None;
23515 return resultobj;
23516 fail:
23517 return NULL;
23518}
23519
23520
c32bde28 23521static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23522 PyObject *resultobj;
23523 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23524 double arg2 ;
23525 double arg3 ;
23526 PyObject * obj0 = 0 ;
8edf1c75
RD
23527 PyObject * obj1 = 0 ;
23528 PyObject * obj2 = 0 ;
44127b65
RD
23529 char *kwnames[] = {
23530 (char *) "self",(char *) "w",(char *) "h", NULL
23531 };
23532
8edf1c75 23533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23536 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 23537 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23538 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23539 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23540 {
2f4c0a16
RD
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 (arg1)->base_OnEndSize(arg2,arg3);
23543
23544 wxPyEndAllowThreads(__tstate);
44127b65
RD
23545 if (PyErr_Occurred()) SWIG_fail;
23546 }
23547 Py_INCREF(Py_None); resultobj = Py_None;
23548 return resultobj;
23549 fail:
23550 return NULL;
23551}
23552
23553
c32bde28 23554static PyObject * PyEllipseShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
23555 PyObject *obj;
23556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23557 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23558 Py_INCREF(obj);
23559 return Py_BuildValue((char *)"");
23560}
c32bde28 23561static PyObject *_wrap_new_PyCircleShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23562 PyObject *resultobj;
23563 double arg1 = (double) 0.0 ;
23564 wxPyCircleShape *result;
8edf1c75 23565 PyObject * obj0 = 0 ;
44127b65
RD
23566 char *kwnames[] = {
23567 (char *) "width", NULL
23568 };
23569
8edf1c75
RD
23570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23571 if (obj0) {
c32bde28 23572 arg1 = (double)SWIG_As_double(obj0);
2f4c0a16 23573 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23574 }
44127b65
RD
23575 {
23576 PyThreadState* __tstate = wxPyBeginAllowThreads();
23577 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23578
23579 wxPyEndAllowThreads(__tstate);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
2f4c0a16 23582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
44127b65
RD
23583 return resultobj;
23584 fail:
23585 return NULL;
23586}
23587
23588
c32bde28 23589static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23590 PyObject *resultobj;
23591 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23592 PyObject *arg2 = (PyObject *) 0 ;
23593 PyObject *arg3 = (PyObject *) 0 ;
23594 PyObject * obj0 = 0 ;
23595 PyObject * obj1 = 0 ;
23596 PyObject * obj2 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self",(char *) "self",(char *) "_class", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
23604 arg2 = obj1;
23605 arg3 = obj2;
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 (arg1)->_setCallbackInfo(arg2,arg3);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 Py_INCREF(Py_None); resultobj = Py_None;
23614 return resultobj;
23615 fail:
23616 return NULL;
23617}
23618
23619
c32bde28 23620static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23621 PyObject *resultobj;
23622 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23623 wxDC *arg2 = 0 ;
23624 PyObject * obj0 = 0 ;
23625 PyObject * obj1 = 0 ;
23626 char *kwnames[] = {
23627 (char *) "self",(char *) "dc", NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1)
23635 SWIG_fail;
44127b65 23636 if (arg2 == NULL) {
2f4c0a16
RD
23637 PyErr_SetString(PyExc_TypeError,"null reference");
23638 SWIG_fail;
44127b65
RD
23639 }
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 (arg1)->base_OnDraw(*arg2);
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 Py_INCREF(Py_None); resultobj = Py_None;
23648 return resultobj;
23649 fail:
23650 return NULL;
23651}
23652
23653
c32bde28 23654static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23655 PyObject *resultobj;
23656 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23657 wxDC *arg2 = 0 ;
23658 PyObject * obj0 = 0 ;
23659 PyObject * obj1 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self",(char *) "dc", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23668 SWIG_POINTER_EXCEPTION | 0)) == -1)
23669 SWIG_fail;
44127b65 23670 if (arg2 == NULL) {
2f4c0a16
RD
23671 PyErr_SetString(PyExc_TypeError,"null reference");
23672 SWIG_fail;
44127b65
RD
23673 }
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->base_OnDrawContents(*arg2);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 Py_INCREF(Py_None); resultobj = Py_None;
23682 return resultobj;
23683 fail:
23684 return NULL;
23685}
23686
23687
c32bde28 23688static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23689 PyObject *resultobj;
23690 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23691 wxDC *arg2 = 0 ;
23692 bool arg3 = (bool) FALSE ;
23693 PyObject * obj0 = 0 ;
23694 PyObject * obj1 = 0 ;
23695 PyObject * obj2 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self",(char *) "dc",(char *) "erase", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23704 SWIG_POINTER_EXCEPTION | 0)) == -1)
23705 SWIG_fail;
44127b65 23706 if (arg2 == NULL) {
2f4c0a16
RD
23707 PyErr_SetString(PyExc_TypeError,"null reference");
23708 SWIG_fail;
44127b65
RD
23709 }
23710 if (obj2) {
c32bde28 23711 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 23712 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23713 }
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 (arg1)->base_OnDrawBranches(*arg2,arg3);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 Py_INCREF(Py_None); resultobj = Py_None;
23722 return resultobj;
23723 fail:
23724 return NULL;
23725}
23726
23727
c32bde28 23728static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23729 PyObject *resultobj;
23730 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23731 wxDC *arg2 = 0 ;
23732 PyObject * obj0 = 0 ;
23733 PyObject * obj1 = 0 ;
23734 char *kwnames[] = {
23735 (char *) "self",(char *) "dc", NULL
23736 };
23737
23738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23742 SWIG_POINTER_EXCEPTION | 0)) == -1)
23743 SWIG_fail;
44127b65 23744 if (arg2 == NULL) {
2f4c0a16
RD
23745 PyErr_SetString(PyExc_TypeError,"null reference");
23746 SWIG_fail;
44127b65
RD
23747 }
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 (arg1)->base_OnMoveLinks(*arg2);
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 Py_INCREF(Py_None); resultobj = Py_None;
23756 return resultobj;
23757 fail:
23758 return NULL;
23759}
23760
23761
c32bde28 23762static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23763 PyObject *resultobj;
23764 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23765 wxDC *arg2 = 0 ;
23766 PyObject * obj0 = 0 ;
23767 PyObject * obj1 = 0 ;
23768 char *kwnames[] = {
23769 (char *) "self",(char *) "dc", NULL
23770 };
23771
23772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23776 SWIG_POINTER_EXCEPTION | 0)) == -1)
23777 SWIG_fail;
44127b65 23778 if (arg2 == NULL) {
2f4c0a16
RD
23779 PyErr_SetString(PyExc_TypeError,"null reference");
23780 SWIG_fail;
44127b65
RD
23781 }
23782 {
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 (arg1)->base_OnErase(*arg2);
23785
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 Py_INCREF(Py_None); resultobj = Py_None;
23790 return resultobj;
23791 fail:
23792 return NULL;
23793}
23794
23795
c32bde28 23796static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23797 PyObject *resultobj;
23798 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23799 wxDC *arg2 = 0 ;
23800 PyObject * obj0 = 0 ;
23801 PyObject * obj1 = 0 ;
23802 char *kwnames[] = {
23803 (char *) "self",(char *) "dc", NULL
23804 };
23805
23806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23810 SWIG_POINTER_EXCEPTION | 0)) == -1)
23811 SWIG_fail;
44127b65 23812 if (arg2 == NULL) {
2f4c0a16
RD
23813 PyErr_SetString(PyExc_TypeError,"null reference");
23814 SWIG_fail;
44127b65
RD
23815 }
23816 {
23817 PyThreadState* __tstate = wxPyBeginAllowThreads();
23818 (arg1)->base_OnEraseContents(*arg2);
23819
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 Py_INCREF(Py_None); resultobj = Py_None;
23824 return resultobj;
23825 fail:
23826 return NULL;
23827}
23828
23829
c32bde28 23830static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23831 PyObject *resultobj;
23832 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23833 wxDC *arg2 = 0 ;
23834 PyObject * obj0 = 0 ;
23835 PyObject * obj1 = 0 ;
23836 char *kwnames[] = {
23837 (char *) "self",(char *) "dc", NULL
23838 };
23839
23840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23844 SWIG_POINTER_EXCEPTION | 0)) == -1)
23845 SWIG_fail;
44127b65 23846 if (arg2 == NULL) {
2f4c0a16
RD
23847 PyErr_SetString(PyExc_TypeError,"null reference");
23848 SWIG_fail;
44127b65
RD
23849 }
23850 {
23851 PyThreadState* __tstate = wxPyBeginAllowThreads();
23852 (arg1)->base_OnHighlight(*arg2);
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 Py_INCREF(Py_None); resultobj = Py_None;
23858 return resultobj;
23859 fail:
23860 return NULL;
23861}
23862
23863
c32bde28 23864static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23865 PyObject *resultobj;
23866 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23867 double arg2 ;
23868 double arg3 ;
23869 int arg4 = (int) 0 ;
23870 int arg5 = (int) 0 ;
23871 PyObject * obj0 = 0 ;
8edf1c75
RD
23872 PyObject * obj1 = 0 ;
23873 PyObject * obj2 = 0 ;
23874 PyObject * obj3 = 0 ;
23875 PyObject * obj4 = 0 ;
44127b65
RD
23876 char *kwnames[] = {
23877 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23878 };
23879
8edf1c75 23880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23883 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 23884 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23885 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23886 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23887 if (obj3) {
c32bde28 23888 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 23889 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23890 }
23891 if (obj4) {
c32bde28 23892 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23893 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23894 }
44127b65
RD
23895 {
23896 PyThreadState* __tstate = wxPyBeginAllowThreads();
23897 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23898
23899 wxPyEndAllowThreads(__tstate);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 Py_INCREF(Py_None); resultobj = Py_None;
23903 return resultobj;
23904 fail:
23905 return NULL;
23906}
23907
23908
c32bde28 23909static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23910 PyObject *resultobj;
23911 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23912 double arg2 ;
23913 double arg3 ;
23914 int arg4 = (int) 0 ;
23915 int arg5 = (int) 0 ;
23916 PyObject * obj0 = 0 ;
8edf1c75
RD
23917 PyObject * obj1 = 0 ;
23918 PyObject * obj2 = 0 ;
23919 PyObject * obj3 = 0 ;
23920 PyObject * obj4 = 0 ;
44127b65
RD
23921 char *kwnames[] = {
23922 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23923 };
23924
8edf1c75 23925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23928 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 23929 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23930 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23931 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23932 if (obj3) {
c32bde28 23933 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 23934 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23935 }
23936 if (obj4) {
c32bde28 23937 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23938 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23939 }
44127b65
RD
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
23942 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 Py_INCREF(Py_None); resultobj = Py_None;
23948 return resultobj;
23949 fail:
23950 return NULL;
23951}
23952
23953
c32bde28 23954static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23955 PyObject *resultobj;
23956 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23957 double arg2 ;
23958 double arg3 ;
23959 int arg4 = (int) 0 ;
23960 int arg5 = (int) 0 ;
23961 PyObject * obj0 = 0 ;
8edf1c75
RD
23962 PyObject * obj1 = 0 ;
23963 PyObject * obj2 = 0 ;
23964 PyObject * obj3 = 0 ;
23965 PyObject * obj4 = 0 ;
44127b65
RD
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23968 };
23969
8edf1c75 23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23973 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 23974 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23975 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 23976 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23977 if (obj3) {
c32bde28 23978 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 23979 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23980 }
23981 if (obj4) {
c32bde28 23982 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 23983 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23984 }
44127b65
RD
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23988
23989 wxPyEndAllowThreads(__tstate);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
23992 Py_INCREF(Py_None); resultobj = Py_None;
23993 return resultobj;
23994 fail:
23995 return NULL;
23996}
23997
23998
c32bde28 23999static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24000 PyObject *resultobj;
24001 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24002 double arg2 ;
24003 double arg3 ;
24004 PyObject * obj0 = 0 ;
8edf1c75
RD
24005 PyObject * obj1 = 0 ;
24006 PyObject * obj2 = 0 ;
44127b65
RD
24007 char *kwnames[] = {
24008 (char *) "self",(char *) "x",(char *) "y", NULL
24009 };
24010
8edf1c75 24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24014 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 24015 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24016 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24017 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24018 {
24019 PyThreadState* __tstate = wxPyBeginAllowThreads();
24020 (arg1)->base_OnSize(arg2,arg3);
24021
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 Py_INCREF(Py_None); resultobj = Py_None;
24026 return resultobj;
24027 fail:
24028 return NULL;
24029}
24030
24031
c32bde28 24032static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24033 PyObject *resultobj;
24034 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24035 wxDC *arg2 = 0 ;
24036 double arg3 ;
24037 double arg4 ;
24038 double arg5 ;
24039 double arg6 ;
ae8162c8 24040 bool arg7 = (bool) true ;
44127b65
RD
24041 bool result;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
8edf1c75
RD
24044 PyObject * obj2 = 0 ;
24045 PyObject * obj3 = 0 ;
24046 PyObject * obj4 = 0 ;
24047 PyObject * obj5 = 0 ;
44127b65
RD
24048 PyObject * obj6 = 0 ;
24049 char *kwnames[] = {
24050 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24051 };
24052
8edf1c75 24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
24054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24057 SWIG_POINTER_EXCEPTION | 0)) == -1)
24058 SWIG_fail;
44127b65 24059 if (arg2 == NULL) {
2f4c0a16
RD
24060 PyErr_SetString(PyExc_TypeError,"null reference");
24061 SWIG_fail;
24062 }
c32bde28 24063 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24064 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24065 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24066 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24067 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 24068 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24069 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 24070 if (PyErr_Occurred()) SWIG_fail;
44127b65 24071 if (obj6) {
c32bde28 24072 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 24073 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24074 }
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
4f89f6a3
RD
24082 {
24083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24084 }
44127b65
RD
24085 return resultobj;
24086 fail:
24087 return NULL;
24088}
24089
24090
c32bde28 24091static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24092 PyObject *resultobj;
24093 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24094 wxDC *arg2 = 0 ;
24095 double arg3 ;
24096 double arg4 ;
24097 double arg5 ;
24098 double arg6 ;
ae8162c8 24099 bool arg7 = (bool) true ;
44127b65
RD
24100 PyObject * obj0 = 0 ;
24101 PyObject * obj1 = 0 ;
8edf1c75
RD
24102 PyObject * obj2 = 0 ;
24103 PyObject * obj3 = 0 ;
24104 PyObject * obj4 = 0 ;
24105 PyObject * obj5 = 0 ;
44127b65
RD
24106 PyObject * obj6 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24109 };
24110
8edf1c75 24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
24112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24115 SWIG_POINTER_EXCEPTION | 0)) == -1)
24116 SWIG_fail;
44127b65 24117 if (arg2 == NULL) {
2f4c0a16
RD
24118 PyErr_SetString(PyExc_TypeError,"null reference");
24119 SWIG_fail;
24120 }
c32bde28 24121 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24122 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24123 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24124 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24125 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 24126 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24127 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 24128 if (PyErr_Occurred()) SWIG_fail;
44127b65 24129 if (obj6) {
c32bde28 24130 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 24131 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24132 }
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 Py_INCREF(Py_None); resultobj = Py_None;
24141 return resultobj;
24142 fail:
24143 return NULL;
24144}
24145
24146
c32bde28 24147static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24148 PyObject *resultobj;
24149 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24150 bool arg2 ;
24151 double arg3 ;
24152 double arg4 ;
24153 int arg5 = (int) 0 ;
24154 int arg6 = (int) 0 ;
24155 PyObject * obj0 = 0 ;
24156 PyObject * obj1 = 0 ;
8edf1c75
RD
24157 PyObject * obj2 = 0 ;
24158 PyObject * obj3 = 0 ;
24159 PyObject * obj4 = 0 ;
24160 PyObject * obj5 = 0 ;
44127b65
RD
24161 char *kwnames[] = {
24162 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24163 };
24164
8edf1c75 24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24168 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 24169 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24170 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24171 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24172 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24173 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24174 if (obj4) {
c32bde28 24175 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 24176 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24177 }
24178 if (obj5) {
c32bde28 24179 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 24180 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24181 }
44127b65
RD
24182 {
24183 PyThreadState* __tstate = wxPyBeginAllowThreads();
24184 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24185
24186 wxPyEndAllowThreads(__tstate);
24187 if (PyErr_Occurred()) SWIG_fail;
24188 }
24189 Py_INCREF(Py_None); resultobj = Py_None;
24190 return resultobj;
24191 fail:
24192 return NULL;
24193}
24194
24195
c32bde28 24196static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24197 PyObject *resultobj;
24198 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24199 double arg2 ;
24200 double arg3 ;
24201 int arg4 = (int) 0 ;
24202 int arg5 = (int) 0 ;
24203 PyObject * obj0 = 0 ;
8edf1c75
RD
24204 PyObject * obj1 = 0 ;
24205 PyObject * obj2 = 0 ;
24206 PyObject * obj3 = 0 ;
24207 PyObject * obj4 = 0 ;
44127b65
RD
24208 char *kwnames[] = {
24209 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24210 };
24211
8edf1c75 24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24215 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 24216 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24217 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24218 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24219 if (obj3) {
c32bde28 24220 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 24221 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24222 }
24223 if (obj4) {
c32bde28 24224 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 24225 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24226 }
44127b65
RD
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24230
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 Py_INCREF(Py_None); resultobj = Py_None;
24235 return resultobj;
24236 fail:
24237 return NULL;
24238}
24239
24240
c32bde28 24241static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24242 PyObject *resultobj;
24243 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24244 double arg2 ;
24245 double arg3 ;
24246 int arg4 = (int) 0 ;
24247 int arg5 = (int) 0 ;
24248 PyObject * obj0 = 0 ;
8edf1c75
RD
24249 PyObject * obj1 = 0 ;
24250 PyObject * obj2 = 0 ;
24251 PyObject * obj3 = 0 ;
24252 PyObject * obj4 = 0 ;
44127b65
RD
24253 char *kwnames[] = {
24254 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24255 };
24256
8edf1c75 24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24260 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 24261 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24262 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24263 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24264 if (obj3) {
c32bde28 24265 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 24266 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24267 }
24268 if (obj4) {
c32bde28 24269 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 24270 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24271 }
44127b65
RD
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 Py_INCREF(Py_None); resultobj = Py_None;
24280 return resultobj;
24281 fail:
24282 return NULL;
24283}
24284
24285
c32bde28 24286static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24287 PyObject *resultobj;
24288 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24289 bool arg2 ;
24290 double arg3 ;
24291 double arg4 ;
24292 int arg5 = (int) 0 ;
24293 int arg6 = (int) 0 ;
24294 PyObject * obj0 = 0 ;
24295 PyObject * obj1 = 0 ;
8edf1c75
RD
24296 PyObject * obj2 = 0 ;
24297 PyObject * obj3 = 0 ;
24298 PyObject * obj4 = 0 ;
24299 PyObject * obj5 = 0 ;
44127b65
RD
24300 char *kwnames[] = {
24301 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24302 };
24303
8edf1c75 24304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24307 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 24308 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24309 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24310 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24311 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24312 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24313 if (obj4) {
c32bde28 24314 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 24315 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24316 }
24317 if (obj5) {
c32bde28 24318 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 24319 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24320 }
44127b65
RD
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 Py_INCREF(Py_None); resultobj = Py_None;
24329 return resultobj;
24330 fail:
24331 return NULL;
24332}
24333
24334
c32bde28 24335static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24336 PyObject *resultobj;
24337 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24338 double arg2 ;
24339 double arg3 ;
24340 int arg4 = (int) 0 ;
24341 int arg5 = (int) 0 ;
24342 PyObject * obj0 = 0 ;
8edf1c75
RD
24343 PyObject * obj1 = 0 ;
24344 PyObject * obj2 = 0 ;
24345 PyObject * obj3 = 0 ;
24346 PyObject * obj4 = 0 ;
44127b65
RD
24347 char *kwnames[] = {
24348 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24349 };
24350
8edf1c75 24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24354 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 24355 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24356 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24357 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24358 if (obj3) {
c32bde28 24359 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 24360 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24361 }
24362 if (obj4) {
c32bde28 24363 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 24364 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24365 }
44127b65
RD
24366 {
24367 PyThreadState* __tstate = wxPyBeginAllowThreads();
24368 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24369
24370 wxPyEndAllowThreads(__tstate);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 }
24373 Py_INCREF(Py_None); resultobj = Py_None;
24374 return resultobj;
24375 fail:
24376 return NULL;
24377}
24378
24379
c32bde28 24380static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24381 PyObject *resultobj;
24382 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24383 double arg2 ;
24384 double arg3 ;
24385 int arg4 = (int) 0 ;
24386 int arg5 = (int) 0 ;
24387 PyObject * obj0 = 0 ;
8edf1c75
RD
24388 PyObject * obj1 = 0 ;
24389 PyObject * obj2 = 0 ;
24390 PyObject * obj3 = 0 ;
24391 PyObject * obj4 = 0 ;
44127b65
RD
24392 char *kwnames[] = {
24393 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24394 };
24395
8edf1c75 24396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24399 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 24400 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24401 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24402 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24403 if (obj3) {
c32bde28 24404 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 24405 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24406 }
24407 if (obj4) {
c32bde28 24408 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 24409 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24410 }
44127b65
RD
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 Py_INCREF(Py_None); resultobj = Py_None;
24419 return resultobj;
24420 fail:
24421 return NULL;
24422}
24423
24424
c32bde28 24425static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24426 PyObject *resultobj;
24427 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24428 wxDC *arg2 = 0 ;
24429 double arg3 ;
24430 double arg4 ;
24431 double arg5 ;
24432 double arg6 ;
24433 PyObject * obj0 = 0 ;
24434 PyObject * obj1 = 0 ;
8edf1c75
RD
24435 PyObject * obj2 = 0 ;
24436 PyObject * obj3 = 0 ;
24437 PyObject * obj4 = 0 ;
24438 PyObject * obj5 = 0 ;
44127b65
RD
24439 char *kwnames[] = {
24440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24441 };
24442
8edf1c75 24443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24447 SWIG_POINTER_EXCEPTION | 0)) == -1)
24448 SWIG_fail;
44127b65 24449 if (arg2 == NULL) {
2f4c0a16
RD
24450 PyErr_SetString(PyExc_TypeError,"null reference");
24451 SWIG_fail;
8edf1c75 24452 }
c32bde28 24453 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24454 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24455 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24456 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24457 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 24458 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24459 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 24460 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24464
24465 wxPyEndAllowThreads(__tstate);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
24468 Py_INCREF(Py_None); resultobj = Py_None;
24469 return resultobj;
24470 fail:
24471 return NULL;
24472}
24473
24474
c32bde28 24475static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24476 PyObject *resultobj;
24477 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24478 wxDC *arg2 = 0 ;
24479 PyObject * obj0 = 0 ;
24480 PyObject * obj1 = 0 ;
24481 char *kwnames[] = {
24482 (char *) "self",(char *) "dc", NULL
24483 };
24484
24485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24489 SWIG_POINTER_EXCEPTION | 0)) == -1)
24490 SWIG_fail;
44127b65 24491 if (arg2 == NULL) {
2f4c0a16
RD
24492 PyErr_SetString(PyExc_TypeError,"null reference");
24493 SWIG_fail;
44127b65
RD
24494 }
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
24497 (arg1)->base_OnDrawControlPoints(*arg2);
24498
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 Py_INCREF(Py_None); resultobj = Py_None;
24503 return resultobj;
24504 fail:
24505 return NULL;
24506}
24507
24508
c32bde28 24509static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24510 PyObject *resultobj;
24511 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24512 wxDC *arg2 = 0 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self",(char *) "dc", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24523 SWIG_POINTER_EXCEPTION | 0)) == -1)
24524 SWIG_fail;
44127b65 24525 if (arg2 == NULL) {
2f4c0a16
RD
24526 PyErr_SetString(PyExc_TypeError,"null reference");
24527 SWIG_fail;
44127b65
RD
24528 }
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 (arg1)->base_OnEraseControlPoints(*arg2);
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 Py_INCREF(Py_None); resultobj = Py_None;
24537 return resultobj;
24538 fail:
24539 return NULL;
24540}
24541
24542
c32bde28 24543static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24544 PyObject *resultobj;
24545 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24546 wxDC *arg2 = 0 ;
ae8162c8 24547 bool arg3 = (bool) true ;
44127b65
RD
24548 PyObject * obj0 = 0 ;
24549 PyObject * obj1 = 0 ;
24550 PyObject * obj2 = 0 ;
24551 char *kwnames[] = {
24552 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24553 };
24554
24555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24559 SWIG_POINTER_EXCEPTION | 0)) == -1)
24560 SWIG_fail;
44127b65 24561 if (arg2 == NULL) {
2f4c0a16
RD
24562 PyErr_SetString(PyExc_TypeError,"null reference");
24563 SWIG_fail;
44127b65
RD
24564 }
24565 if (obj2) {
c32bde28 24566 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 24567 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24568 }
24569 {
24570 PyThreadState* __tstate = wxPyBeginAllowThreads();
24571 (arg1)->base_OnMoveLink(*arg2,arg3);
24572
24573 wxPyEndAllowThreads(__tstate);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 }
24576 Py_INCREF(Py_None); resultobj = Py_None;
24577 return resultobj;
24578 fail:
24579 return NULL;
24580}
24581
24582
c32bde28 24583static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24584 PyObject *resultobj;
24585 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24586 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24587 bool arg3 ;
24588 double arg4 ;
24589 double arg5 ;
24590 int arg6 = (int) 0 ;
24591 int arg7 = (int) 0 ;
24592 PyObject * obj0 = 0 ;
24593 PyObject * obj1 = 0 ;
24594 PyObject * obj2 = 0 ;
8edf1c75
RD
24595 PyObject * obj3 = 0 ;
24596 PyObject * obj4 = 0 ;
24597 PyObject * obj5 = 0 ;
24598 PyObject * obj6 = 0 ;
44127b65
RD
24599 char *kwnames[] = {
24600 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24601 };
24602
8edf1c75 24603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
24604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24608 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 24609 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24610 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24611 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24612 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 24613 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24614 if (obj5) {
c32bde28 24615 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 24616 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24617 }
24618 if (obj6) {
c32bde28 24619 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 24620 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24621 }
44127b65
RD
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 Py_INCREF(Py_None); resultobj = Py_None;
24630 return resultobj;
24631 fail:
24632 return NULL;
24633}
24634
24635
c32bde28 24636static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24637 PyObject *resultobj;
24638 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24639 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24640 double arg3 ;
24641 double arg4 ;
24642 int arg5 = (int) 0 ;
24643 int arg6 = (int) 0 ;
24644 PyObject * obj0 = 0 ;
24645 PyObject * obj1 = 0 ;
8edf1c75
RD
24646 PyObject * obj2 = 0 ;
24647 PyObject * obj3 = 0 ;
24648 PyObject * obj4 = 0 ;
24649 PyObject * obj5 = 0 ;
44127b65
RD
24650 char *kwnames[] = {
24651 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24652 };
24653
8edf1c75 24654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24659 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24660 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24661 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24662 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24663 if (obj4) {
c32bde28 24664 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 24665 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24666 }
24667 if (obj5) {
c32bde28 24668 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 24669 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24670 }
44127b65
RD
24671 {
24672 PyThreadState* __tstate = wxPyBeginAllowThreads();
24673 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24674
24675 wxPyEndAllowThreads(__tstate);
24676 if (PyErr_Occurred()) SWIG_fail;
24677 }
24678 Py_INCREF(Py_None); resultobj = Py_None;
24679 return resultobj;
24680 fail:
24681 return NULL;
24682}
24683
24684
c32bde28 24685static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24686 PyObject *resultobj;
24687 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24688 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24689 double arg3 ;
24690 double arg4 ;
24691 int arg5 = (int) 0 ;
24692 int arg6 = (int) 0 ;
24693 PyObject * obj0 = 0 ;
24694 PyObject * obj1 = 0 ;
8edf1c75
RD
24695 PyObject * obj2 = 0 ;
24696 PyObject * obj3 = 0 ;
24697 PyObject * obj4 = 0 ;
24698 PyObject * obj5 = 0 ;
44127b65
RD
24699 char *kwnames[] = {
24700 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24701 };
24702
8edf1c75 24703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24708 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24709 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24710 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24711 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24712 if (obj4) {
c32bde28 24713 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 24714 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24715 }
24716 if (obj5) {
c32bde28 24717 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 24718 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24719 }
44127b65
RD
24720 {
24721 PyThreadState* __tstate = wxPyBeginAllowThreads();
24722 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24723
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
24727 Py_INCREF(Py_None); resultobj = Py_None;
24728 return resultobj;
24729 fail:
24730 return NULL;
24731}
24732
24733
c32bde28 24734static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24735 PyObject *resultobj;
24736 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24737 double arg2 ;
24738 double arg3 ;
24739 PyObject * obj0 = 0 ;
8edf1c75
RD
24740 PyObject * obj1 = 0 ;
24741 PyObject * obj2 = 0 ;
44127b65
RD
24742 char *kwnames[] = {
24743 (char *) "self",(char *) "w",(char *) "h", NULL
24744 };
24745
8edf1c75 24746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24749 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 24750 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24751 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24752 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24753 {
24754 PyThreadState* __tstate = wxPyBeginAllowThreads();
24755 (arg1)->base_OnBeginSize(arg2,arg3);
24756
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 Py_INCREF(Py_None); resultobj = Py_None;
24761 return resultobj;
24762 fail:
24763 return NULL;
24764}
24765
24766
c32bde28 24767static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24768 PyObject *resultobj;
24769 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24770 double arg2 ;
24771 double arg3 ;
24772 PyObject * obj0 = 0 ;
8edf1c75
RD
24773 PyObject * obj1 = 0 ;
24774 PyObject * obj2 = 0 ;
44127b65
RD
24775 char *kwnames[] = {
24776 (char *) "self",(char *) "w",(char *) "h", NULL
24777 };
24778
8edf1c75 24779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24782 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 24783 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24784 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24785 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 (arg1)->base_OnEndSize(arg2,arg3);
24789
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 Py_INCREF(Py_None); resultobj = Py_None;
24794 return resultobj;
24795 fail:
24796 return NULL;
24797}
24798
24799
c32bde28 24800static PyObject * PyCircleShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
24801 PyObject *obj;
24802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24803 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
24804 Py_INCREF(obj);
24805 return Py_BuildValue((char *)"");
24806}
c32bde28 24807static PyObject *_wrap_new_ArrowHead(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24808 PyObject *resultobj;
24809 int arg1 = (int) 0 ;
24810 int arg2 = (int) 0 ;
24811 double arg3 = (double) 0.0 ;
24812 double arg4 = (double) 0.0 ;
24813 wxString const &arg5_defvalue = wxPyEmptyString ;
24814 wxString *arg5 = (wxString *) &arg5_defvalue ;
24815 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
24816 long arg7 = (long) -1 ;
24817 wxArrowHead *result;
ae8162c8 24818 bool temp5 = false ;
8edf1c75
RD
24819 PyObject * obj0 = 0 ;
24820 PyObject * obj1 = 0 ;
24821 PyObject * obj2 = 0 ;
24822 PyObject * obj3 = 0 ;
44127b65
RD
24823 PyObject * obj4 = 0 ;
24824 PyObject * obj5 = 0 ;
8edf1c75 24825 PyObject * obj6 = 0 ;
44127b65
RD
24826 char *kwnames[] = {
24827 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24828 };
24829
8edf1c75
RD
24830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24831 if (obj0) {
c32bde28 24832 arg1 = (int)SWIG_As_int(obj0);
2f4c0a16 24833 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24834 }
24835 if (obj1) {
c32bde28 24836 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 24837 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24838 }
24839 if (obj2) {
c32bde28 24840 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 24841 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24842 }
24843 if (obj3) {
c32bde28 24844 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 24845 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24846 }
44127b65
RD
24847 if (obj4) {
24848 {
24849 arg5 = wxString_in_helper(obj4);
24850 if (arg5 == NULL) SWIG_fail;
ae8162c8 24851 temp5 = true;
44127b65
RD
24852 }
24853 }
24854 if (obj5) {
2f4c0a16
RD
24855 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPseudoMetaFile,
24856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 24857 }
8edf1c75 24858 if (obj6) {
c32bde28 24859 arg7 = (long)SWIG_As_long(obj6);
2f4c0a16 24860 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24861 }
44127b65
RD
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 {
412d302d 24870 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
24871 }
24872 {
24873 if (temp5)
24874 delete arg5;
24875 }
24876 return resultobj;
24877 fail:
24878 {
24879 if (temp5)
24880 delete arg5;
24881 }
24882 return NULL;
24883}
24884
24885
c32bde28 24886static PyObject *_wrap_delete_ArrowHead(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24887 PyObject *resultobj;
24888 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24889 PyObject * obj0 = 0 ;
24890 char *kwnames[] = {
24891 (char *) "self", NULL
24892 };
24893
24894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 delete arg1;
24900
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 Py_INCREF(Py_None); resultobj = Py_None;
24905 return resultobj;
24906 fail:
24907 return NULL;
24908}
24909
24910
c32bde28 24911static PyObject *_wrap_ArrowHead__GetType(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24912 PyObject *resultobj;
24913 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24914 int result;
24915 PyObject * obj0 = 0 ;
24916 char *kwnames[] = {
24917 (char *) "self", NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 result = (int)(arg1)->_GetType();
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
c32bde28 24930 resultobj = SWIG_From_int((int)result);
44127b65
RD
24931 return resultobj;
24932 fail:
24933 return NULL;
24934}
24935
24936
c32bde28 24937static PyObject *_wrap_ArrowHead_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24938 PyObject *resultobj;
24939 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24940 int result;
24941 PyObject * obj0 = 0 ;
24942 char *kwnames[] = {
24943 (char *) "self", NULL
24944 };
24945
24946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 result = (int)(arg1)->GetPosition();
24952
24953 wxPyEndAllowThreads(__tstate);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
c32bde28 24956 resultobj = SWIG_From_int((int)result);
44127b65
RD
24957 return resultobj;
24958 fail:
24959 return NULL;
24960}
24961
24962
c32bde28 24963static PyObject *_wrap_ArrowHead_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24964 PyObject *resultobj;
24965 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24966 int arg2 ;
24967 PyObject * obj0 = 0 ;
8edf1c75 24968 PyObject * obj1 = 0 ;
44127b65
RD
24969 char *kwnames[] = {
24970 (char *) "self",(char *) "pos", NULL
24971 };
24972
8edf1c75 24973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24976 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 24977 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24978 {
24979 PyThreadState* __tstate = wxPyBeginAllowThreads();
24980 (arg1)->SetPosition(arg2);
24981
24982 wxPyEndAllowThreads(__tstate);
24983 if (PyErr_Occurred()) SWIG_fail;
24984 }
24985 Py_INCREF(Py_None); resultobj = Py_None;
24986 return resultobj;
24987 fail:
24988 return NULL;
24989}
24990
24991
c32bde28 24992static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24993 PyObject *resultobj;
24994 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24995 double result;
24996 PyObject * obj0 = 0 ;
24997 char *kwnames[] = {
24998 (char *) "self", NULL
24999 };
25000
25001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25004 {
25005 PyThreadState* __tstate = wxPyBeginAllowThreads();
25006 result = (double)(arg1)->GetXOffset();
25007
25008 wxPyEndAllowThreads(__tstate);
25009 if (PyErr_Occurred()) SWIG_fail;
25010 }
c32bde28 25011 resultobj = SWIG_From_double((double)result);
44127b65
RD
25012 return resultobj;
25013 fail:
25014 return NULL;
25015}
25016
25017
c32bde28 25018static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25019 PyObject *resultobj;
25020 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25021 double result;
25022 PyObject * obj0 = 0 ;
25023 char *kwnames[] = {
25024 (char *) "self", NULL
25025 };
25026
25027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 result = (double)(arg1)->GetYOffset();
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
c32bde28 25037 resultobj = SWIG_From_double((double)result);
44127b65
RD
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
c32bde28 25044static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25045 PyObject *resultobj;
25046 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25047 double result;
25048 PyObject * obj0 = 0 ;
25049 char *kwnames[] = {
25050 (char *) "self", NULL
25051 };
25052
25053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 result = (double)(arg1)->GetSpacing();
25059
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
c32bde28 25063 resultobj = SWIG_From_double((double)result);
44127b65
RD
25064 return resultobj;
25065 fail:
25066 return NULL;
25067}
25068
25069
c32bde28 25070static PyObject *_wrap_ArrowHead_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25071 PyObject *resultobj;
25072 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25073 double result;
25074 PyObject * obj0 = 0 ;
25075 char *kwnames[] = {
25076 (char *) "self", NULL
25077 };
25078
25079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 result = (double)(arg1)->GetSize();
25085
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
c32bde28 25089 resultobj = SWIG_From_double((double)result);
44127b65
RD
25090 return resultobj;
25091 fail:
25092 return NULL;
25093}
25094
25095
c32bde28 25096static PyObject *_wrap_ArrowHead_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25097 PyObject *resultobj;
25098 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25099 wxString result;
25100 PyObject * obj0 = 0 ;
25101 char *kwnames[] = {
25102 (char *) "self", NULL
25103 };
25104
25105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 result = (arg1)->GetName();
25111
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 {
25116#if wxUSE_UNICODE
25117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25118#else
25119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25120#endif
25121 }
25122 return resultobj;
25123 fail:
25124 return NULL;
25125}
25126
25127
c32bde28 25128static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25129 PyObject *resultobj;
25130 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25131 double arg2 ;
25132 PyObject * obj0 = 0 ;
8edf1c75 25133 PyObject * obj1 = 0 ;
44127b65
RD
25134 char *kwnames[] = {
25135 (char *) "self",(char *) "x", NULL
25136 };
25137
8edf1c75 25138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25141 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 25142 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 (arg1)->SetXOffset(arg2);
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 Py_INCREF(Py_None); resultobj = Py_None;
25151 return resultobj;
25152 fail:
25153 return NULL;
25154}
25155
25156
c32bde28 25157static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25158 PyObject *resultobj;
25159 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25160 double arg2 ;
25161 PyObject * obj0 = 0 ;
8edf1c75 25162 PyObject * obj1 = 0 ;
44127b65
RD
25163 char *kwnames[] = {
25164 (char *) "self",(char *) "y", NULL
25165 };
25166
8edf1c75 25167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25170 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 25171 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25172 {
25173 PyThreadState* __tstate = wxPyBeginAllowThreads();
25174 (arg1)->SetYOffset(arg2);
25175
25176 wxPyEndAllowThreads(__tstate);
25177 if (PyErr_Occurred()) SWIG_fail;
25178 }
25179 Py_INCREF(Py_None); resultobj = Py_None;
25180 return resultobj;
25181 fail:
25182 return NULL;
25183}
25184
25185
c32bde28 25186static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25187 PyObject *resultobj;
25188 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25189 wxPseudoMetaFile *result;
25190 PyObject * obj0 = 0 ;
25191 char *kwnames[] = {
25192 (char *) "self", NULL
25193 };
25194
25195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25198 {
25199 PyThreadState* __tstate = wxPyBeginAllowThreads();
25200 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
25201
25202 wxPyEndAllowThreads(__tstate);
25203 if (PyErr_Occurred()) SWIG_fail;
25204 }
25205 {
412d302d 25206 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
25207 }
25208 return resultobj;
25209 fail:
25210 return NULL;
25211}
25212
25213
c32bde28 25214static PyObject *_wrap_ArrowHead_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25215 PyObject *resultobj;
25216 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25217 long result;
25218 PyObject * obj0 = 0 ;
25219 char *kwnames[] = {
25220 (char *) "self", NULL
25221 };
25222
25223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 result = (long)(arg1)->GetId();
25229
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
c32bde28 25233 resultobj = SWIG_From_long((long)result);
44127b65
RD
25234 return resultobj;
25235 fail:
25236 return NULL;
25237}
25238
25239
c32bde28 25240static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25241 PyObject *resultobj;
25242 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25243 int result;
25244 PyObject * obj0 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "self", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 result = (int)(arg1)->GetArrowEnd();
25255
25256 wxPyEndAllowThreads(__tstate);
25257 if (PyErr_Occurred()) SWIG_fail;
25258 }
c32bde28 25259 resultobj = SWIG_From_int((int)result);
44127b65
RD
25260 return resultobj;
25261 fail:
25262 return NULL;
25263}
25264
25265
c32bde28 25266static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25267 PyObject *resultobj;
25268 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25269 double result;
25270 PyObject * obj0 = 0 ;
25271 char *kwnames[] = {
25272 (char *) "self", NULL
25273 };
25274
25275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = (double)(arg1)->GetArrowSize();
25281
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
c32bde28 25285 resultobj = SWIG_From_double((double)result);
44127b65
RD
25286 return resultobj;
25287 fail:
25288 return NULL;
25289}
25290
25291
c32bde28 25292static PyObject *_wrap_ArrowHead_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25293 PyObject *resultobj;
25294 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25295 double arg2 ;
25296 PyObject * obj0 = 0 ;
8edf1c75 25297 PyObject * obj1 = 0 ;
44127b65
RD
25298 char *kwnames[] = {
25299 (char *) "self",(char *) "size", NULL
25300 };
25301
8edf1c75 25302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25305 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 25306 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 (arg1)->SetSize(arg2);
25310
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 Py_INCREF(Py_None); resultobj = Py_None;
25315 return resultobj;
25316 fail:
25317 return NULL;
25318}
25319
25320
c32bde28 25321static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25322 PyObject *resultobj;
25323 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25324 double arg2 ;
25325 PyObject * obj0 = 0 ;
8edf1c75 25326 PyObject * obj1 = 0 ;
44127b65
RD
25327 char *kwnames[] = {
25328 (char *) "self",(char *) "sp", NULL
25329 };
25330
8edf1c75 25331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25334 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 25335 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25336 {
25337 PyThreadState* __tstate = wxPyBeginAllowThreads();
25338 (arg1)->SetSpacing(arg2);
25339
25340 wxPyEndAllowThreads(__tstate);
25341 if (PyErr_Occurred()) SWIG_fail;
25342 }
25343 Py_INCREF(Py_None); resultobj = Py_None;
25344 return resultobj;
25345 fail:
25346 return NULL;
25347}
25348
25349
c32bde28 25350static PyObject * ArrowHead_swigregister(PyObject *, PyObject *args) {
44127b65
RD
25351 PyObject *obj;
25352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25353 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25354 Py_INCREF(obj);
25355 return Py_BuildValue((char *)"");
25356}
c32bde28 25357static PyObject *_wrap_new_PyLineShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25358 PyObject *resultobj;
25359 wxPyLineShape *result;
25360 char *kwnames[] = {
25361 NULL
25362 };
25363
25364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25365 {
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 result = (wxPyLineShape *)new wxPyLineShape();
25368
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
2f4c0a16 25372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
44127b65
RD
25373 return resultobj;
25374 fail:
25375 return NULL;
25376}
25377
25378
c32bde28 25379static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25380 PyObject *resultobj;
25381 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25382 PyObject *arg2 = (PyObject *) 0 ;
25383 PyObject *arg3 = (PyObject *) 0 ;
25384 PyObject * obj0 = 0 ;
25385 PyObject * obj1 = 0 ;
25386 PyObject * obj2 = 0 ;
25387 char *kwnames[] = {
25388 (char *) "self",(char *) "self",(char *) "_class", NULL
25389 };
25390
25391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25394 arg2 = obj1;
25395 arg3 = obj2;
25396 {
25397 PyThreadState* __tstate = wxPyBeginAllowThreads();
25398 (arg1)->_setCallbackInfo(arg2,arg3);
25399
25400 wxPyEndAllowThreads(__tstate);
25401 if (PyErr_Occurred()) SWIG_fail;
25402 }
25403 Py_INCREF(Py_None); resultobj = Py_None;
25404 return resultobj;
25405 fail:
25406 return NULL;
25407}
25408
25409
c32bde28 25410static PyObject *_wrap_PyLineShape_AddArrow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25411 PyObject *resultobj;
25412 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25413 int arg2 ;
25414 int arg3 = (int) ARROW_POSITION_END ;
25415 double arg4 = (double) 10.0 ;
25416 double arg5 = (double) 0.0 ;
25417 wxString const &arg6_defvalue = wxPyEmptyString ;
25418 wxString *arg6 = (wxString *) &arg6_defvalue ;
25419 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25420 long arg8 = (long) -1 ;
ae8162c8 25421 bool temp6 = false ;
44127b65 25422 PyObject * obj0 = 0 ;
8edf1c75
RD
25423 PyObject * obj1 = 0 ;
25424 PyObject * obj2 = 0 ;
25425 PyObject * obj3 = 0 ;
25426 PyObject * obj4 = 0 ;
44127b65
RD
25427 PyObject * obj5 = 0 ;
25428 PyObject * obj6 = 0 ;
8edf1c75 25429 PyObject * obj7 = 0 ;
44127b65
RD
25430 char *kwnames[] = {
25431 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25432 };
25433
8edf1c75 25434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
25435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25437 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 25438 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25439 if (obj2) {
c32bde28 25440 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 25441 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25442 }
25443 if (obj3) {
c32bde28 25444 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 25445 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25446 }
25447 if (obj4) {
c32bde28 25448 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 25449 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25450 }
44127b65
RD
25451 if (obj5) {
25452 {
25453 arg6 = wxString_in_helper(obj5);
25454 if (arg6 == NULL) SWIG_fail;
ae8162c8 25455 temp6 = true;
44127b65
RD
25456 }
25457 }
25458 if (obj6) {
2f4c0a16
RD
25459 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPseudoMetaFile,
25460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 25461 }
8edf1c75 25462 if (obj7) {
c32bde28 25463 arg8 = (long)SWIG_As_long(obj7);
2f4c0a16 25464 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25465 }
44127b65
RD
25466 {
25467 PyThreadState* __tstate = wxPyBeginAllowThreads();
25468 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25469
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 Py_INCREF(Py_None); resultobj = Py_None;
25474 {
25475 if (temp6)
25476 delete arg6;
25477 }
25478 return resultobj;
25479 fail:
25480 {
25481 if (temp6)
25482 delete arg6;
25483 }
25484 return NULL;
25485}
25486
25487
c32bde28 25488static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25489 PyObject *resultobj;
25490 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25491 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25492 PyObject *arg3 = (PyObject *) 0 ;
25493 int arg4 ;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj1 = 0 ;
25496 PyObject * obj2 = 0 ;
8edf1c75 25497 PyObject * obj3 = 0 ;
44127b65
RD
25498 char *kwnames[] = {
25499 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25500 };
25501
8edf1c75 25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
25506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 25507 arg3 = obj2;
c32bde28 25508 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 25509 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 Py_INCREF(Py_None); resultobj = Py_None;
25518 return resultobj;
25519 fail:
25520 return NULL;
25521}
25522
25523
c32bde28 25524static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25525 PyObject *resultobj;
25526 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25527 wxString *arg2 = 0 ;
25528 bool result;
ae8162c8 25529 bool temp2 = false ;
44127b65
RD
25530 PyObject * obj0 = 0 ;
25531 PyObject * obj1 = 0 ;
25532 char *kwnames[] = {
25533 (char *) "self",(char *) "name", NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25539 {
25540 arg2 = wxString_in_helper(obj1);
25541 if (arg2 == NULL) SWIG_fail;
ae8162c8 25542 temp2 = true;
44127b65
RD
25543 }
25544 {
25545 PyThreadState* __tstate = wxPyBeginAllowThreads();
25546 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
25547
25548 wxPyEndAllowThreads(__tstate);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
4f89f6a3
RD
25551 {
25552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25553 }
44127b65
RD
25554 {
25555 if (temp2)
25556 delete arg2;
25557 }
25558 return resultobj;
25559 fail:
25560 {
25561 if (temp2)
25562 delete arg2;
25563 }
25564 return NULL;
25565}
25566
25567
c32bde28 25568static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25569 PyObject *resultobj;
25570 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25571 int arg2 = (int) -1 ;
25572 PyObject * obj0 = 0 ;
8edf1c75 25573 PyObject * obj1 = 0 ;
44127b65
RD
25574 char *kwnames[] = {
25575 (char *) "self",(char *) "position", NULL
25576 };
25577
8edf1c75 25578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 25581 if (obj1) {
c32bde28 25582 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 25583 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25584 }
44127b65
RD
25585 {
25586 PyThreadState* __tstate = wxPyBeginAllowThreads();
25587 (arg1)->ClearArrowsAtPosition(arg2);
25588
25589 wxPyEndAllowThreads(__tstate);
25590 if (PyErr_Occurred()) SWIG_fail;
25591 }
25592 Py_INCREF(Py_None); resultobj = Py_None;
25593 return resultobj;
25594 fail:
25595 return NULL;
25596}
25597
25598
c32bde28 25599static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25600 PyObject *resultobj;
25601 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25602 wxDC *arg2 = 0 ;
25603 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
25604 double arg4 ;
25605 bool arg5 ;
25606 PyObject * obj0 = 0 ;
25607 PyObject * obj1 = 0 ;
25608 PyObject * obj2 = 0 ;
8edf1c75 25609 PyObject * obj3 = 0 ;
44127b65
RD
25610 PyObject * obj4 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25613 };
25614
8edf1c75 25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25619 SWIG_POINTER_EXCEPTION | 0)) == -1)
25620 SWIG_fail;
44127b65 25621 if (arg2 == NULL) {
2f4c0a16
RD
25622 PyErr_SetString(PyExc_TypeError,"null reference");
25623 SWIG_fail;
83448d71 25624 }
2f4c0a16
RD
25625 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
25626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25627 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 25628 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25629 arg5 = (bool)SWIG_As_bool(obj4);
2f4c0a16 25630 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
25634
25635 wxPyEndAllowThreads(__tstate);
25636 if (PyErr_Occurred()) SWIG_fail;
25637 }
25638 Py_INCREF(Py_None); resultobj = Py_None;
25639 return resultobj;
25640 fail:
25641 return NULL;
25642}
25643
25644
c32bde28 25645static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25646 PyObject *resultobj;
25647 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25648 long arg2 ;
25649 bool result;
25650 PyObject * obj0 = 0 ;
8edf1c75 25651 PyObject * obj1 = 0 ;
44127b65
RD
25652 char *kwnames[] = {
25653 (char *) "self",(char *) "arrowId", NULL
25654 };
25655
8edf1c75 25656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25659 arg2 = (long)SWIG_As_long(obj1);
2f4c0a16 25660 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25661 {
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 result = (bool)(arg1)->DeleteArrowHead(arg2);
25664
25665 wxPyEndAllowThreads(__tstate);
25666 if (PyErr_Occurred()) SWIG_fail;
25667 }
4f89f6a3
RD
25668 {
25669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25670 }
44127b65
RD
25671 return resultobj;
25672 fail:
25673 return NULL;
25674}
25675
25676
c32bde28 25677static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25678 PyObject *resultobj;
25679 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25680 int arg2 ;
25681 wxString *arg3 = 0 ;
25682 bool result;
ae8162c8 25683 bool temp3 = false ;
44127b65 25684 PyObject * obj0 = 0 ;
8edf1c75 25685 PyObject * obj1 = 0 ;
44127b65
RD
25686 PyObject * obj2 = 0 ;
25687 char *kwnames[] = {
25688 (char *) "self",(char *) "position",(char *) "name", NULL
25689 };
25690
8edf1c75 25691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25694 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 25695 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25696 {
25697 arg3 = wxString_in_helper(obj2);
25698 if (arg3 == NULL) SWIG_fail;
ae8162c8 25699 temp3 = true;
44127b65
RD
25700 }
25701 {
25702 PyThreadState* __tstate = wxPyBeginAllowThreads();
25703 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
25704
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
4f89f6a3
RD
25708 {
25709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25710 }
44127b65
RD
25711 {
25712 if (temp3)
25713 delete arg3;
25714 }
25715 return resultobj;
25716 fail:
25717 {
25718 if (temp3)
25719 delete arg3;
25720 }
25721 return NULL;
25722}
25723
25724
c32bde28 25725static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25726 PyObject *resultobj;
25727 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25728 bool result;
25729 PyObject * obj0 = 0 ;
25730 char *kwnames[] = {
25731 (char *) "self", NULL
25732 };
25733
25734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25737 {
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = (bool)(arg1)->DeleteLineControlPoint();
25740
25741 wxPyEndAllowThreads(__tstate);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
4f89f6a3
RD
25744 {
25745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25746 }
44127b65
RD
25747 return resultobj;
25748 fail:
25749 return NULL;
25750}
25751
25752
c32bde28 25753static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25754 PyObject *resultobj;
25755 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25756 wxDC *arg2 = 0 ;
25757 PyObject * obj0 = 0 ;
25758 PyObject * obj1 = 0 ;
25759 char *kwnames[] = {
25760 (char *) "self",(char *) "dc", NULL
25761 };
25762
25763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25767 SWIG_POINTER_EXCEPTION | 0)) == -1)
25768 SWIG_fail;
44127b65 25769 if (arg2 == NULL) {
2f4c0a16
RD
25770 PyErr_SetString(PyExc_TypeError,"null reference");
25771 SWIG_fail;
44127b65
RD
25772 }
25773 {
25774 PyThreadState* __tstate = wxPyBeginAllowThreads();
25775 (arg1)->DrawArrows(*arg2);
25776
25777 wxPyEndAllowThreads(__tstate);
25778 if (PyErr_Occurred()) SWIG_fail;
25779 }
25780 Py_INCREF(Py_None); resultobj = Py_None;
25781 return resultobj;
25782 fail:
25783 return NULL;
25784}
25785
25786
c32bde28 25787static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25788 PyObject *resultobj;
25789 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25790 wxDC *arg2 = 0 ;
25791 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25792 double arg4 ;
25793 double arg5 ;
25794 PyObject * obj0 = 0 ;
25795 PyObject * obj1 = 0 ;
25796 PyObject * obj2 = 0 ;
8edf1c75
RD
25797 PyObject * obj3 = 0 ;
25798 PyObject * obj4 = 0 ;
44127b65
RD
25799 char *kwnames[] = {
25800 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25801 };
25802
8edf1c75 25803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25807 SWIG_POINTER_EXCEPTION | 0)) == -1)
25808 SWIG_fail;
44127b65 25809 if (arg2 == NULL) {
2f4c0a16
RD
25810 PyErr_SetString(PyExc_TypeError,"null reference");
25811 SWIG_fail;
8edf1c75 25812 }
2f4c0a16
RD
25813 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25815 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 25816 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25817 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 25818 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 Py_INCREF(Py_None); resultobj = Py_None;
25827 return resultobj;
25828 fail:
25829 return NULL;
25830}
25831
25832
c32bde28 25833static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25834 PyObject *resultobj;
25835 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25836 wxDC *arg2 = 0 ;
25837 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25838 double arg4 ;
25839 double arg5 ;
25840 PyObject * obj0 = 0 ;
25841 PyObject * obj1 = 0 ;
25842 PyObject * obj2 = 0 ;
8edf1c75
RD
25843 PyObject * obj3 = 0 ;
25844 PyObject * obj4 = 0 ;
44127b65
RD
25845 char *kwnames[] = {
25846 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25847 };
25848
8edf1c75 25849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25853 SWIG_POINTER_EXCEPTION | 0)) == -1)
25854 SWIG_fail;
44127b65 25855 if (arg2 == NULL) {
2f4c0a16
RD
25856 PyErr_SetString(PyExc_TypeError,"null reference");
25857 SWIG_fail;
8edf1c75 25858 }
2f4c0a16
RD
25859 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25861 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 25862 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25863 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 25864 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25865 {
25866 PyThreadState* __tstate = wxPyBeginAllowThreads();
25867 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
25868
25869 wxPyEndAllowThreads(__tstate);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 }
25872 Py_INCREF(Py_None); resultobj = Py_None;
25873 return resultobj;
25874 fail:
25875 return NULL;
25876}
25877
25878
c32bde28 25879static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25880 PyObject *resultobj;
25881 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25882 long arg2 ;
25883 wxArrowHead *result;
25884 PyObject * obj0 = 0 ;
8edf1c75 25885 PyObject * obj1 = 0 ;
44127b65
RD
25886 char *kwnames[] = {
25887 (char *) "self",(char *) "arrowId", NULL
25888 };
25889
8edf1c75 25890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25893 arg2 = (long)SWIG_As_long(obj1);
2f4c0a16 25894 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
25898
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 {
412d302d 25903 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
25904 }
25905 return resultobj;
25906 fail:
25907 return NULL;
25908}
25909
25910
c32bde28 25911static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25912 PyObject *resultobj;
25913 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25914 int arg2 ;
25915 wxString *arg3 = 0 ;
25916 wxArrowHead *result;
ae8162c8 25917 bool temp3 = false ;
44127b65 25918 PyObject * obj0 = 0 ;
8edf1c75 25919 PyObject * obj1 = 0 ;
44127b65
RD
25920 PyObject * obj2 = 0 ;
25921 char *kwnames[] = {
25922 (char *) "self",(char *) "position",(char *) "name", NULL
25923 };
25924
8edf1c75 25925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25928 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 25929 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25930 {
25931 arg3 = wxString_in_helper(obj2);
25932 if (arg3 == NULL) SWIG_fail;
ae8162c8 25933 temp3 = true;
44127b65
RD
25934 }
25935 {
25936 PyThreadState* __tstate = wxPyBeginAllowThreads();
25937 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
25938
25939 wxPyEndAllowThreads(__tstate);
25940 if (PyErr_Occurred()) SWIG_fail;
25941 }
25942 {
412d302d 25943 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
25944 }
25945 {
25946 if (temp3)
25947 delete arg3;
25948 }
25949 return resultobj;
25950 fail:
25951 {
25952 if (temp3)
25953 delete arg3;
25954 }
25955 return NULL;
25956}
25957
25958
c32bde28 25959static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25960 PyObject *resultobj;
25961 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25962 double *arg2 = (double *) 0 ;
25963 double *arg3 = (double *) 0 ;
25964 double *arg4 = (double *) 0 ;
25965 double *arg5 = (double *) 0 ;
25966 double temp2 ;
c32bde28 25967 int res2 = 0 ;
44127b65 25968 double temp3 ;
c32bde28 25969 int res3 = 0 ;
44127b65 25970 double temp4 ;
c32bde28 25971 int res4 = 0 ;
44127b65 25972 double temp5 ;
c32bde28 25973 int res5 = 0 ;
44127b65
RD
25974 PyObject * obj0 = 0 ;
25975 char *kwnames[] = {
25976 (char *) "self", NULL
25977 };
25978
c32bde28
RD
25979 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25980 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25981 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25982 arg5 = &temp5; res5 = SWIG_NEWOBJ;
44127b65 25983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
25989
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25994 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25995 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
25996 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25997 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
25998 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25999 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
26000 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
26001 SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
44127b65
RD
26002 return resultobj;
26003 fail:
26004 return NULL;
26005}
26006
26007
c32bde28 26008static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26009 PyObject *resultobj;
26010 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26011 double arg2 ;
26012 double arg3 ;
26013 int result;
26014 PyObject * obj0 = 0 ;
8edf1c75
RD
26015 PyObject * obj1 = 0 ;
26016 PyObject * obj2 = 0 ;
44127b65
RD
26017 char *kwnames[] = {
26018 (char *) "self",(char *) "x",(char *) "y", NULL
26019 };
26020
8edf1c75 26021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26024 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 26025 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26026 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 26027 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26028 {
26029 PyThreadState* __tstate = wxPyBeginAllowThreads();
26030 result = (int)(arg1)->FindLinePosition(arg2,arg3);
26031
26032 wxPyEndAllowThreads(__tstate);
26033 if (PyErr_Occurred()) SWIG_fail;
26034 }
c32bde28 26035 resultobj = SWIG_From_int((int)result);
44127b65
RD
26036 return resultobj;
26037 fail:
26038 return NULL;
26039}
26040
26041
c32bde28 26042static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26043 PyObject *resultobj;
26044 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26045 double result;
26046 PyObject * obj0 = 0 ;
26047 char *kwnames[] = {
26048 (char *) "self", NULL
26049 };
26050
26051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 result = (double)(arg1)->FindMinimumWidth();
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
c32bde28 26061 resultobj = SWIG_From_double((double)result);
44127b65
RD
26062 return resultobj;
26063 fail:
26064 return NULL;
26065}
26066
26067
c32bde28 26068static PyObject *_wrap_PyLineShape_FindNth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26069 PyObject *resultobj;
26070 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26071 wxPyShape *arg2 = (wxPyShape *) 0 ;
26072 int *arg3 = (int *) 0 ;
26073 int *arg4 = (int *) 0 ;
26074 bool arg5 ;
26075 int temp3 ;
c32bde28 26076 int res3 = 0 ;
44127b65 26077 int temp4 ;
c32bde28 26078 int res4 = 0 ;
44127b65
RD
26079 PyObject * obj0 = 0 ;
26080 PyObject * obj1 = 0 ;
26081 PyObject * obj2 = 0 ;
26082 char *kwnames[] = {
26083 (char *) "self",(char *) "image",(char *) "incoming", NULL
26084 };
26085
c32bde28
RD
26086 arg3 = &temp3; res3 = SWIG_NEWOBJ;
26087 arg4 = &temp4; res4 = SWIG_NEWOBJ;
44127b65 26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26093 arg5 = (bool)SWIG_As_bool(obj2);
2f4c0a16 26094 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26095 {
26096 PyThreadState* __tstate = wxPyBeginAllowThreads();
26097 (arg1)->FindNth(arg2,arg3,arg4,arg5);
26098
26099 wxPyEndAllowThreads(__tstate);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
26103 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26104 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
26105 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
26106 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
26107 return resultobj;
26108 fail:
26109 return NULL;
26110}
26111
26112
c32bde28 26113static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26114 PyObject *resultobj;
26115 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26116 int result;
26117 PyObject * obj0 = 0 ;
26118 char *kwnames[] = {
26119 (char *) "self", NULL
26120 };
26121
26122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 result = (int)(arg1)->GetAttachmentFrom();
26128
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
c32bde28 26132 resultobj = SWIG_From_int((int)result);
44127b65
RD
26133 return resultobj;
26134 fail:
26135 return NULL;
26136}
26137
26138
c32bde28 26139static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26140 PyObject *resultobj;
26141 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26142 int result;
26143 PyObject * obj0 = 0 ;
26144 char *kwnames[] = {
26145 (char *) "self", NULL
26146 };
26147
26148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26151 {
26152 PyThreadState* __tstate = wxPyBeginAllowThreads();
26153 result = (int)(arg1)->GetAttachmentTo();
26154
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
c32bde28 26158 resultobj = SWIG_From_int((int)result);
44127b65
RD
26159 return resultobj;
26160 fail:
26161 return NULL;
26162}
26163
26164
c32bde28 26165static PyObject *_wrap_PyLineShape_GetEnds(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26166 PyObject *resultobj;
26167 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26168 double *arg2 = (double *) 0 ;
26169 double *arg3 = (double *) 0 ;
26170 double *arg4 = (double *) 0 ;
26171 double *arg5 = (double *) 0 ;
26172 double temp2 ;
c32bde28 26173 int res2 = 0 ;
44127b65 26174 double temp3 ;
c32bde28 26175 int res3 = 0 ;
44127b65 26176 double temp4 ;
c32bde28 26177 int res4 = 0 ;
44127b65 26178 double temp5 ;
c32bde28 26179 int res5 = 0 ;
44127b65
RD
26180 PyObject * obj0 = 0 ;
26181 char *kwnames[] = {
26182 (char *) "self", NULL
26183 };
26184
c32bde28
RD
26185 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26186 arg3 = &temp3; res3 = SWIG_NEWOBJ;
26187 arg4 = &temp4; res4 = SWIG_NEWOBJ;
26188 arg5 = &temp5; res5 = SWIG_NEWOBJ;
44127b65 26189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26192 {
26193 PyThreadState* __tstate = wxPyBeginAllowThreads();
26194 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
26195
26196 wxPyEndAllowThreads(__tstate);
26197 if (PyErr_Occurred()) SWIG_fail;
26198 }
26199 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
26200 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26201 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
26202 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26203 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
26204 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
26205 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
26206 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
26207 SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
44127b65
RD
26208 return resultobj;
26209 fail:
26210 return NULL;
26211}
26212
26213
c32bde28 26214static PyObject *_wrap_PyLineShape_GetFrom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26215 PyObject *resultobj;
26216 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26217 wxPyShape *result;
26218 PyObject * obj0 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self", NULL
26221 };
26222
26223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = (wxPyShape *)(arg1)->GetFrom();
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 {
412d302d 26234 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
26235 }
26236 return resultobj;
26237 fail:
26238 return NULL;
26239}
26240
26241
c32bde28 26242static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26243 PyObject *resultobj;
26244 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26245 int arg2 ;
26246 double *arg3 = (double *) 0 ;
26247 double *arg4 = (double *) 0 ;
26248 double temp3 ;
c32bde28 26249 int res3 = 0 ;
44127b65 26250 double temp4 ;
c32bde28 26251 int res4 = 0 ;
44127b65 26252 PyObject * obj0 = 0 ;
8edf1c75 26253 PyObject * obj1 = 0 ;
44127b65
RD
26254 char *kwnames[] = {
26255 (char *) "self",(char *) "position", NULL
26256 };
26257
c32bde28
RD
26258 arg3 = &temp3; res3 = SWIG_NEWOBJ;
26259 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 26260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26263 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 26264 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26268
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
26273 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26274 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
26275 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
26276 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
44127b65
RD
26277 return resultobj;
26278 fail:
26279 return NULL;
26280}
26281
26282
c32bde28 26283static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26284 PyObject *resultobj;
26285 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26286 wxPyShape *arg2 = (wxPyShape *) 0 ;
26287 wxRealPoint *result;
26288 PyObject * obj0 = 0 ;
26289 PyObject * obj1 = 0 ;
26290 char *kwnames[] = {
26291 (char *) "self",(char *) "shape", NULL
26292 };
26293
26294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26299 {
26300 PyThreadState* __tstate = wxPyBeginAllowThreads();
26301 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26302
26303 wxPyEndAllowThreads(__tstate);
26304 if (PyErr_Occurred()) SWIG_fail;
26305 }
2f4c0a16 26306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
44127b65
RD
26307 return resultobj;
26308 fail:
26309 return NULL;
26310}
26311
26312
c32bde28 26313static PyObject *_wrap_PyLineShape_GetTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26314 PyObject *resultobj;
26315 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26316 wxPyShape *result;
26317 PyObject * obj0 = 0 ;
26318 char *kwnames[] = {
26319 (char *) "self", NULL
26320 };
26321
26322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26325 {
26326 PyThreadState* __tstate = wxPyBeginAllowThreads();
26327 result = (wxPyShape *)(arg1)->GetTo();
26328
26329 wxPyEndAllowThreads(__tstate);
26330 if (PyErr_Occurred()) SWIG_fail;
26331 }
26332 {
412d302d 26333 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
26334 }
26335 return resultobj;
26336 fail:
26337 return NULL;
26338}
26339
26340
c32bde28 26341static PyObject *_wrap_PyLineShape_Initialise(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26342 PyObject *resultobj;
26343 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26344 PyObject * obj0 = 0 ;
26345 char *kwnames[] = {
26346 (char *) "self", NULL
26347 };
26348
26349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26352 {
26353 PyThreadState* __tstate = wxPyBeginAllowThreads();
26354 (arg1)->Initialise();
26355
26356 wxPyEndAllowThreads(__tstate);
26357 if (PyErr_Occurred()) SWIG_fail;
26358 }
26359 Py_INCREF(Py_None); resultobj = Py_None;
26360 return resultobj;
26361 fail:
26362 return NULL;
26363}
26364
26365
c32bde28 26366static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26367 PyObject *resultobj;
26368 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26369 wxDC *arg2 = (wxDC *) 0 ;
26370 PyObject * obj0 = 0 ;
26371 PyObject * obj1 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self",(char *) "dc", NULL
26374 };
26375
26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26381 {
26382 PyThreadState* __tstate = wxPyBeginAllowThreads();
26383 (arg1)->InsertLineControlPoint(arg2);
26384
26385 wxPyEndAllowThreads(__tstate);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 }
26388 Py_INCREF(Py_None); resultobj = Py_None;
26389 return resultobj;
26390 fail:
26391 return NULL;
26392}
26393
26394
c32bde28 26395static PyObject *_wrap_PyLineShape_IsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26396 PyObject *resultobj;
26397 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26398 wxPyShape *arg2 = (wxPyShape *) 0 ;
26399 bool result;
26400 PyObject * obj0 = 0 ;
26401 PyObject * obj1 = 0 ;
26402 char *kwnames[] = {
26403 (char *) "self",(char *) "shape", NULL
26404 };
26405
26406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26411 {
26412 PyThreadState* __tstate = wxPyBeginAllowThreads();
26413 result = (bool)(arg1)->IsEnd(arg2);
26414
26415 wxPyEndAllowThreads(__tstate);
26416 if (PyErr_Occurred()) SWIG_fail;
26417 }
4f89f6a3
RD
26418 {
26419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26420 }
44127b65
RD
26421 return resultobj;
26422 fail:
26423 return NULL;
26424}
26425
26426
c32bde28 26427static PyObject *_wrap_PyLineShape_IsSpline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26428 PyObject *resultobj;
26429 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26430 bool result;
26431 PyObject * obj0 = 0 ;
26432 char *kwnames[] = {
26433 (char *) "self", NULL
26434 };
26435
26436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26439 {
26440 PyThreadState* __tstate = wxPyBeginAllowThreads();
26441 result = (bool)(arg1)->IsSpline();
26442
26443 wxPyEndAllowThreads(__tstate);
26444 if (PyErr_Occurred()) SWIG_fail;
26445 }
4f89f6a3
RD
26446 {
26447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26448 }
44127b65
RD
26449 return resultobj;
26450 fail:
26451 return NULL;
26452}
26453
26454
c32bde28 26455static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26456 PyObject *resultobj;
26457 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26458 int arg2 ;
26459 PyObject * obj0 = 0 ;
8edf1c75 26460 PyObject * obj1 = 0 ;
44127b65
RD
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "n", NULL
26463 };
26464
8edf1c75 26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26468 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 26469 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 (arg1)->MakeLineControlPoints(arg2);
26473
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 Py_INCREF(Py_None); resultobj = Py_None;
26478 return resultobj;
26479 fail:
26480 return NULL;
26481}
26482
26483
c32bde28 26484static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26485 PyObject *resultobj;
26486 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26487 PyObject *result;
26488 PyObject * obj0 = 0 ;
26489 char *kwnames[] = {
26490 (char *) "self", NULL
26491 };
26492
26493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26499
26500 wxPyEndAllowThreads(__tstate);
26501 if (PyErr_Occurred()) SWIG_fail;
26502 }
26503 resultobj = result;
26504 return resultobj;
26505 fail:
26506 return NULL;
26507}
26508
26509
c32bde28 26510static PyObject *_wrap_PyLineShape_SetLineControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
b1f29bf7
RD
26511 PyObject *resultobj;
26512 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26513 PyObject *arg2 = (PyObject *) 0 ;
26514 PyObject * obj0 = 0 ;
26515 PyObject * obj1 = 0 ;
26516 char *kwnames[] = {
26517 (char *) "self",(char *) "list", NULL
26518 };
26519
26520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26523 arg2 = obj1;
26524 {
26525 PyThreadState* __tstate = wxPyBeginAllowThreads();
26526 wxPyLineShape_SetLineControlPoints(arg1,arg2);
26527
26528 wxPyEndAllowThreads(__tstate);
26529 if (PyErr_Occurred()) SWIG_fail;
26530 }
26531 Py_INCREF(Py_None); resultobj = Py_None;
26532 return resultobj;
26533 fail:
26534 return NULL;
26535}
26536
26537
c32bde28 26538static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26539 PyObject *resultobj;
26540 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26541 int arg2 ;
26542 PyObject * obj0 = 0 ;
8edf1c75 26543 PyObject * obj1 = 0 ;
44127b65
RD
26544 char *kwnames[] = {
26545 (char *) "self",(char *) "fromAttach", NULL
26546 };
26547
8edf1c75 26548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26551 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 26552 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 (arg1)->SetAttachmentFrom(arg2);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 Py_INCREF(Py_None); resultobj = Py_None;
26561 return resultobj;
26562 fail:
26563 return NULL;
26564}
26565
26566
c32bde28 26567static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26568 PyObject *resultobj;
26569 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26570 int arg2 ;
26571 int arg3 ;
26572 PyObject * obj0 = 0 ;
8edf1c75
RD
26573 PyObject * obj1 = 0 ;
26574 PyObject * obj2 = 0 ;
44127b65
RD
26575 char *kwnames[] = {
26576 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26577 };
26578
8edf1c75 26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26582 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 26583 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26584 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 26585 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26586 {
26587 PyThreadState* __tstate = wxPyBeginAllowThreads();
26588 (arg1)->SetAttachments(arg2,arg3);
26589
26590 wxPyEndAllowThreads(__tstate);
26591 if (PyErr_Occurred()) SWIG_fail;
26592 }
26593 Py_INCREF(Py_None); resultobj = Py_None;
26594 return resultobj;
26595 fail:
26596 return NULL;
26597}
26598
26599
c32bde28 26600static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26601 PyObject *resultobj;
26602 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26603 int arg2 ;
26604 PyObject * obj0 = 0 ;
8edf1c75 26605 PyObject * obj1 = 0 ;
44127b65
RD
26606 char *kwnames[] = {
26607 (char *) "self",(char *) "toAttach", NULL
26608 };
26609
8edf1c75 26610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26613 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 26614 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26615 {
26616 PyThreadState* __tstate = wxPyBeginAllowThreads();
26617 (arg1)->SetAttachmentTo(arg2);
26618
26619 wxPyEndAllowThreads(__tstate);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 }
26622 Py_INCREF(Py_None); resultobj = Py_None;
26623 return resultobj;
26624 fail:
26625 return NULL;
26626}
26627
26628
c32bde28 26629static PyObject *_wrap_PyLineShape_SetEnds(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26630 PyObject *resultobj;
26631 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26632 double arg2 ;
26633 double arg3 ;
26634 double arg4 ;
26635 double arg5 ;
26636 PyObject * obj0 = 0 ;
8edf1c75
RD
26637 PyObject * obj1 = 0 ;
26638 PyObject * obj2 = 0 ;
26639 PyObject * obj3 = 0 ;
26640 PyObject * obj4 = 0 ;
44127b65
RD
26641 char *kwnames[] = {
26642 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26643 };
26644
8edf1c75 26645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
26646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26648 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 26649 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26650 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 26651 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26652 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 26653 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26654 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 26655 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26656 {
26657 PyThreadState* __tstate = wxPyBeginAllowThreads();
26658 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
26659
26660 wxPyEndAllowThreads(__tstate);
26661 if (PyErr_Occurred()) SWIG_fail;
26662 }
26663 Py_INCREF(Py_None); resultobj = Py_None;
26664 return resultobj;
26665 fail:
26666 return NULL;
26667}
26668
26669
c32bde28 26670static PyObject *_wrap_PyLineShape_SetFrom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26671 PyObject *resultobj;
26672 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26673 wxPyShape *arg2 = (wxPyShape *) 0 ;
26674 PyObject * obj0 = 0 ;
26675 PyObject * obj1 = 0 ;
26676 char *kwnames[] = {
26677 (char *) "self",(char *) "object", NULL
26678 };
26679
26680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 (arg1)->SetFrom(arg2);
26688
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 Py_INCREF(Py_None); resultobj = Py_None;
26693 return resultobj;
26694 fail:
26695 return NULL;
26696}
26697
26698
c32bde28 26699static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26700 PyObject *resultobj;
26701 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26702 bool arg2 ;
26703 PyObject * obj0 = 0 ;
26704 PyObject * obj1 = 0 ;
26705 char *kwnames[] = {
26706 (char *) "self",(char *) "ignore", NULL
26707 };
26708
26709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26712 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 26713 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 (arg1)->SetIgnoreOffsets(arg2);
26717
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 Py_INCREF(Py_None); resultobj = Py_None;
26722 return resultobj;
26723 fail:
26724 return NULL;
26725}
26726
26727
c32bde28 26728static PyObject *_wrap_PyLineShape_SetSpline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26729 PyObject *resultobj;
26730 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26731 bool arg2 ;
26732 PyObject * obj0 = 0 ;
26733 PyObject * obj1 = 0 ;
26734 char *kwnames[] = {
26735 (char *) "self",(char *) "spline", NULL
26736 };
26737
26738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26741 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 26742 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26743 {
26744 PyThreadState* __tstate = wxPyBeginAllowThreads();
26745 (arg1)->SetSpline(arg2);
26746
26747 wxPyEndAllowThreads(__tstate);
26748 if (PyErr_Occurred()) SWIG_fail;
26749 }
26750 Py_INCREF(Py_None); resultobj = Py_None;
26751 return resultobj;
26752 fail:
26753 return NULL;
26754}
26755
26756
c32bde28 26757static PyObject *_wrap_PyLineShape_SetTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26758 PyObject *resultobj;
26759 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26760 wxPyShape *arg2 = (wxPyShape *) 0 ;
26761 PyObject * obj0 = 0 ;
26762 PyObject * obj1 = 0 ;
26763 char *kwnames[] = {
26764 (char *) "self",(char *) "object", NULL
26765 };
26766
26767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26772 {
26773 PyThreadState* __tstate = wxPyBeginAllowThreads();
26774 (arg1)->SetTo(arg2);
26775
26776 wxPyEndAllowThreads(__tstate);
26777 if (PyErr_Occurred()) SWIG_fail;
26778 }
26779 Py_INCREF(Py_None); resultobj = Py_None;
26780 return resultobj;
26781 fail:
26782 return NULL;
26783}
26784
26785
c32bde28 26786static PyObject *_wrap_PyLineShape_Straighten(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26787 PyObject *resultobj;
26788 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26789 wxDC *arg2 = (wxDC *) NULL ;
26790 PyObject * obj0 = 0 ;
26791 PyObject * obj1 = 0 ;
26792 char *kwnames[] = {
26793 (char *) "self",(char *) "dc", NULL
26794 };
26795
26796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 26799 if (obj1) {
2f4c0a16
RD
26800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26802 }
26803 {
26804 PyThreadState* __tstate = wxPyBeginAllowThreads();
26805 (arg1)->Straighten(arg2);
26806
26807 wxPyEndAllowThreads(__tstate);
26808 if (PyErr_Occurred()) SWIG_fail;
26809 }
26810 Py_INCREF(Py_None); resultobj = Py_None;
26811 return resultobj;
26812 fail:
26813 return NULL;
26814}
26815
26816
c32bde28 26817static PyObject *_wrap_PyLineShape_Unlink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26818 PyObject *resultobj;
26819 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26820 PyObject * obj0 = 0 ;
26821 char *kwnames[] = {
26822 (char *) "self", NULL
26823 };
26824
26825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 (arg1)->Unlink();
26831
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 Py_INCREF(Py_None); resultobj = Py_None;
26836 return resultobj;
26837 fail:
26838 return NULL;
26839}
26840
26841
c32bde28 26842static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26843 PyObject *resultobj;
26844 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26845 bool arg2 ;
26846 bool arg3 ;
26847 PyObject * obj0 = 0 ;
26848 PyObject * obj1 = 0 ;
26849 PyObject * obj2 = 0 ;
26850 char *kwnames[] = {
26851 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26852 };
26853
26854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26857 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 26858 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26859 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 26860 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26861 {
26862 PyThreadState* __tstate = wxPyBeginAllowThreads();
26863 (arg1)->SetAlignmentOrientation(arg2,arg3);
26864
26865 wxPyEndAllowThreads(__tstate);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
26868 Py_INCREF(Py_None); resultobj = Py_None;
26869 return resultobj;
26870 fail:
26871 return NULL;
26872}
26873
26874
c32bde28 26875static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26876 PyObject *resultobj;
26877 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26878 bool arg2 ;
26879 int arg3 ;
26880 PyObject * obj0 = 0 ;
26881 PyObject * obj1 = 0 ;
8edf1c75 26882 PyObject * obj2 = 0 ;
7a0a63ae
RD
26883 char *kwnames[] = {
26884 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26885 };
26886
8edf1c75 26887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26890 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 26891 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26892 arg3 = (int)SWIG_As_int(obj2);
2f4c0a16 26893 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26894 {
26895 PyThreadState* __tstate = wxPyBeginAllowThreads();
26896 (arg1)->SetAlignmentType(arg2,arg3);
26897
26898 wxPyEndAllowThreads(__tstate);
26899 if (PyErr_Occurred()) SWIG_fail;
26900 }
26901 Py_INCREF(Py_None); resultobj = Py_None;
26902 return resultobj;
26903 fail:
26904 return NULL;
26905}
26906
26907
c32bde28 26908static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26909 PyObject *resultobj;
26910 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26911 bool arg2 ;
26912 bool result;
26913 PyObject * obj0 = 0 ;
26914 PyObject * obj1 = 0 ;
26915 char *kwnames[] = {
26916 (char *) "self",(char *) "isEnd", NULL
26917 };
26918
26919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26922 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 26923 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26924 {
26925 PyThreadState* __tstate = wxPyBeginAllowThreads();
26926 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
26927
26928 wxPyEndAllowThreads(__tstate);
26929 if (PyErr_Occurred()) SWIG_fail;
26930 }
4f89f6a3
RD
26931 {
26932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26933 }
7a0a63ae
RD
26934 return resultobj;
26935 fail:
26936 return NULL;
26937}
26938
26939
c32bde28 26940static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26941 PyObject *resultobj;
26942 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26943 bool arg2 ;
26944 int result;
26945 PyObject * obj0 = 0 ;
26946 PyObject * obj1 = 0 ;
26947 char *kwnames[] = {
26948 (char *) "self",(char *) "isEnd", NULL
26949 };
26950
26951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26954 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 26955 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26956 {
26957 PyThreadState* __tstate = wxPyBeginAllowThreads();
26958 result = (int)(arg1)->GetAlignmentType(arg2);
26959
26960 wxPyEndAllowThreads(__tstate);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 }
c32bde28 26963 resultobj = SWIG_From_int((int)result);
7a0a63ae
RD
26964 return resultobj;
26965 fail:
26966 return NULL;
26967}
26968
26969
c32bde28 26970static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26971 PyObject *resultobj;
26972 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26973 int result;
26974 PyObject * obj0 = 0 ;
26975 char *kwnames[] = {
26976 (char *) "self", NULL
26977 };
26978
26979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
26982 {
26983 PyThreadState* __tstate = wxPyBeginAllowThreads();
26984 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
26985
26986 wxPyEndAllowThreads(__tstate);
26987 if (PyErr_Occurred()) SWIG_fail;
26988 }
c32bde28 26989 resultobj = SWIG_From_int((int)result);
7a0a63ae
RD
26990 return resultobj;
26991 fail:
26992 return NULL;
26993}
26994
26995
c32bde28 26996static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26997 PyObject *resultobj;
26998 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26999 int result;
27000 PyObject * obj0 = 0 ;
27001 char *kwnames[] = {
27002 (char *) "self", NULL
27003 };
27004
27005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
27008 {
27009 PyThreadState* __tstate = wxPyBeginAllowThreads();
27010 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
27011
27012 wxPyEndAllowThreads(__tstate);
27013 if (PyErr_Occurred()) SWIG_fail;
27014 }
c32bde28 27015 resultobj = SWIG_From_int((int)result);
7a0a63ae
RD
27016 return resultobj;
27017 fail:
27018 return NULL;
27019}
27020
27021
c32bde28 27022static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27023 PyObject *resultobj;
27024 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27025 wxDC *arg2 = 0 ;
27026 PyObject * obj0 = 0 ;
27027 PyObject * obj1 = 0 ;
27028 char *kwnames[] = {
27029 (char *) "self",(char *) "dc", NULL
27030 };
27031
27032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27036 SWIG_POINTER_EXCEPTION | 0)) == -1)
27037 SWIG_fail;
44127b65 27038 if (arg2 == NULL) {
2f4c0a16
RD
27039 PyErr_SetString(PyExc_TypeError,"null reference");
27040 SWIG_fail;
44127b65
RD
27041 }
27042 {
27043 PyThreadState* __tstate = wxPyBeginAllowThreads();
27044 (arg1)->base_OnDraw(*arg2);
27045
27046 wxPyEndAllowThreads(__tstate);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
27049 Py_INCREF(Py_None); resultobj = Py_None;
27050 return resultobj;
27051 fail:
27052 return NULL;
27053}
27054
27055
c32bde28 27056static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27057 PyObject *resultobj;
27058 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27059 wxDC *arg2 = 0 ;
27060 PyObject * obj0 = 0 ;
27061 PyObject * obj1 = 0 ;
27062 char *kwnames[] = {
27063 (char *) "self",(char *) "dc", NULL
27064 };
27065
27066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27070 SWIG_POINTER_EXCEPTION | 0)) == -1)
27071 SWIG_fail;
44127b65 27072 if (arg2 == NULL) {
2f4c0a16
RD
27073 PyErr_SetString(PyExc_TypeError,"null reference");
27074 SWIG_fail;
44127b65
RD
27075 }
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 (arg1)->base_OnDrawContents(*arg2);
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
27083 Py_INCREF(Py_None); resultobj = Py_None;
27084 return resultobj;
27085 fail:
27086 return NULL;
27087}
27088
27089
c32bde28 27090static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27091 PyObject *resultobj;
27092 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27093 wxDC *arg2 = 0 ;
27094 bool arg3 = (bool) FALSE ;
27095 PyObject * obj0 = 0 ;
27096 PyObject * obj1 = 0 ;
27097 PyObject * obj2 = 0 ;
27098 char *kwnames[] = {
27099 (char *) "self",(char *) "dc",(char *) "erase", NULL
27100 };
27101
27102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27106 SWIG_POINTER_EXCEPTION | 0)) == -1)
27107 SWIG_fail;
44127b65 27108 if (arg2 == NULL) {
2f4c0a16
RD
27109 PyErr_SetString(PyExc_TypeError,"null reference");
27110 SWIG_fail;
44127b65
RD
27111 }
27112 if (obj2) {
c32bde28 27113 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 27114 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27115 }
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 (arg1)->base_OnDrawBranches(*arg2,arg3);
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 Py_INCREF(Py_None); resultobj = Py_None;
27124 return resultobj;
27125 fail:
27126 return NULL;
27127}
27128
27129
c32bde28 27130static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27131 PyObject *resultobj;
27132 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27133 wxDC *arg2 = 0 ;
27134 PyObject * obj0 = 0 ;
27135 PyObject * obj1 = 0 ;
27136 char *kwnames[] = {
27137 (char *) "self",(char *) "dc", NULL
27138 };
27139
27140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27144 SWIG_POINTER_EXCEPTION | 0)) == -1)
27145 SWIG_fail;
44127b65 27146 if (arg2 == NULL) {
2f4c0a16
RD
27147 PyErr_SetString(PyExc_TypeError,"null reference");
27148 SWIG_fail;
44127b65
RD
27149 }
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
27152 (arg1)->base_OnMoveLinks(*arg2);
27153
27154 wxPyEndAllowThreads(__tstate);
27155 if (PyErr_Occurred()) SWIG_fail;
27156 }
27157 Py_INCREF(Py_None); resultobj = Py_None;
27158 return resultobj;
27159 fail:
27160 return NULL;
27161}
27162
27163
c32bde28 27164static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27165 PyObject *resultobj;
27166 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27167 wxDC *arg2 = 0 ;
27168 PyObject * obj0 = 0 ;
27169 PyObject * obj1 = 0 ;
27170 char *kwnames[] = {
27171 (char *) "self",(char *) "dc", NULL
27172 };
27173
27174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27178 SWIG_POINTER_EXCEPTION | 0)) == -1)
27179 SWIG_fail;
44127b65 27180 if (arg2 == NULL) {
2f4c0a16
RD
27181 PyErr_SetString(PyExc_TypeError,"null reference");
27182 SWIG_fail;
44127b65
RD
27183 }
27184 {
27185 PyThreadState* __tstate = wxPyBeginAllowThreads();
27186 (arg1)->base_OnErase(*arg2);
27187
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 Py_INCREF(Py_None); resultobj = Py_None;
27192 return resultobj;
27193 fail:
27194 return NULL;
27195}
27196
27197
c32bde28 27198static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27199 PyObject *resultobj;
27200 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27201 wxDC *arg2 = 0 ;
27202 PyObject * obj0 = 0 ;
27203 PyObject * obj1 = 0 ;
27204 char *kwnames[] = {
27205 (char *) "self",(char *) "dc", NULL
27206 };
27207
27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27212 SWIG_POINTER_EXCEPTION | 0)) == -1)
27213 SWIG_fail;
44127b65 27214 if (arg2 == NULL) {
2f4c0a16
RD
27215 PyErr_SetString(PyExc_TypeError,"null reference");
27216 SWIG_fail;
44127b65
RD
27217 }
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 (arg1)->base_OnEraseContents(*arg2);
27221
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 Py_INCREF(Py_None); resultobj = Py_None;
27226 return resultobj;
27227 fail:
27228 return NULL;
27229}
27230
27231
c32bde28 27232static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27233 PyObject *resultobj;
27234 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27235 wxDC *arg2 = 0 ;
27236 PyObject * obj0 = 0 ;
27237 PyObject * obj1 = 0 ;
27238 char *kwnames[] = {
27239 (char *) "self",(char *) "dc", NULL
27240 };
27241
27242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27245 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27246 SWIG_POINTER_EXCEPTION | 0)) == -1)
27247 SWIG_fail;
44127b65 27248 if (arg2 == NULL) {
2f4c0a16
RD
27249 PyErr_SetString(PyExc_TypeError,"null reference");
27250 SWIG_fail;
44127b65
RD
27251 }
27252 {
27253 PyThreadState* __tstate = wxPyBeginAllowThreads();
27254 (arg1)->base_OnHighlight(*arg2);
27255
27256 wxPyEndAllowThreads(__tstate);
27257 if (PyErr_Occurred()) SWIG_fail;
27258 }
27259 Py_INCREF(Py_None); resultobj = Py_None;
27260 return resultobj;
27261 fail:
27262 return NULL;
27263}
27264
27265
c32bde28 27266static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27267 PyObject *resultobj;
27268 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27269 double arg2 ;
27270 double arg3 ;
27271 int arg4 = (int) 0 ;
27272 int arg5 = (int) 0 ;
27273 PyObject * obj0 = 0 ;
8edf1c75
RD
27274 PyObject * obj1 = 0 ;
27275 PyObject * obj2 = 0 ;
27276 PyObject * obj3 = 0 ;
27277 PyObject * obj4 = 0 ;
44127b65
RD
27278 char *kwnames[] = {
27279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27280 };
27281
8edf1c75 27282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27285 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 27286 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27287 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27288 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27289 if (obj3) {
c32bde28 27290 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 27291 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27292 }
27293 if (obj4) {
c32bde28 27294 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 27295 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27296 }
44127b65
RD
27297 {
27298 PyThreadState* __tstate = wxPyBeginAllowThreads();
27299 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27300
27301 wxPyEndAllowThreads(__tstate);
27302 if (PyErr_Occurred()) SWIG_fail;
27303 }
27304 Py_INCREF(Py_None); resultobj = Py_None;
27305 return resultobj;
27306 fail:
27307 return NULL;
27308}
27309
27310
c32bde28 27311static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27312 PyObject *resultobj;
27313 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27314 double arg2 ;
27315 double arg3 ;
27316 int arg4 = (int) 0 ;
27317 int arg5 = (int) 0 ;
27318 PyObject * obj0 = 0 ;
8edf1c75
RD
27319 PyObject * obj1 = 0 ;
27320 PyObject * obj2 = 0 ;
27321 PyObject * obj3 = 0 ;
27322 PyObject * obj4 = 0 ;
44127b65
RD
27323 char *kwnames[] = {
27324 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27325 };
27326
8edf1c75 27327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27330 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 27331 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27332 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27333 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27334 if (obj3) {
c32bde28 27335 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 27336 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27337 }
27338 if (obj4) {
c32bde28 27339 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 27340 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27341 }
44127b65
RD
27342 {
27343 PyThreadState* __tstate = wxPyBeginAllowThreads();
27344 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27345
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 Py_INCREF(Py_None); resultobj = Py_None;
27350 return resultobj;
27351 fail:
27352 return NULL;
27353}
27354
27355
c32bde28 27356static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27357 PyObject *resultobj;
27358 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27359 double arg2 ;
27360 double arg3 ;
27361 int arg4 = (int) 0 ;
27362 int arg5 = (int) 0 ;
27363 PyObject * obj0 = 0 ;
8edf1c75
RD
27364 PyObject * obj1 = 0 ;
27365 PyObject * obj2 = 0 ;
27366 PyObject * obj3 = 0 ;
27367 PyObject * obj4 = 0 ;
44127b65
RD
27368 char *kwnames[] = {
27369 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27370 };
27371
8edf1c75 27372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27375 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 27376 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27377 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27378 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27379 if (obj3) {
c32bde28 27380 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 27381 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27382 }
27383 if (obj4) {
c32bde28 27384 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 27385 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27386 }
44127b65
RD
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27390
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
27394 Py_INCREF(Py_None); resultobj = Py_None;
27395 return resultobj;
27396 fail:
27397 return NULL;
27398}
27399
27400
c32bde28 27401static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27402 PyObject *resultobj;
27403 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27404 double arg2 ;
27405 double arg3 ;
27406 PyObject * obj0 = 0 ;
8edf1c75
RD
27407 PyObject * obj1 = 0 ;
27408 PyObject * obj2 = 0 ;
44127b65
RD
27409 char *kwnames[] = {
27410 (char *) "self",(char *) "x",(char *) "y", NULL
27411 };
27412
8edf1c75 27413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27416 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 27417 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27418 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27419 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 (arg1)->base_OnSize(arg2,arg3);
27423
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 Py_INCREF(Py_None); resultobj = Py_None;
27428 return resultobj;
27429 fail:
27430 return NULL;
27431}
27432
27433
c32bde28 27434static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27435 PyObject *resultobj;
27436 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27437 wxDC *arg2 = 0 ;
27438 double arg3 ;
27439 double arg4 ;
27440 double arg5 ;
27441 double arg6 ;
ae8162c8 27442 bool arg7 = (bool) true ;
44127b65
RD
27443 bool result;
27444 PyObject * obj0 = 0 ;
27445 PyObject * obj1 = 0 ;
8edf1c75
RD
27446 PyObject * obj2 = 0 ;
27447 PyObject * obj3 = 0 ;
27448 PyObject * obj4 = 0 ;
27449 PyObject * obj5 = 0 ;
44127b65
RD
27450 PyObject * obj6 = 0 ;
27451 char *kwnames[] = {
27452 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27453 };
27454
8edf1c75 27455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27459 SWIG_POINTER_EXCEPTION | 0)) == -1)
27460 SWIG_fail;
44127b65 27461 if (arg2 == NULL) {
2f4c0a16
RD
27462 PyErr_SetString(PyExc_TypeError,"null reference");
27463 SWIG_fail;
27464 }
c32bde28 27465 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27466 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27467 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 27468 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27469 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 27470 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27471 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 27472 if (PyErr_Occurred()) SWIG_fail;
44127b65 27473 if (obj6) {
c32bde28 27474 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 27475 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27476 }
27477 {
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27480
27481 wxPyEndAllowThreads(__tstate);
27482 if (PyErr_Occurred()) SWIG_fail;
27483 }
4f89f6a3
RD
27484 {
27485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27486 }
44127b65
RD
27487 return resultobj;
27488 fail:
27489 return NULL;
27490}
27491
27492
c32bde28 27493static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27494 PyObject *resultobj;
27495 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27496 wxDC *arg2 = 0 ;
27497 double arg3 ;
27498 double arg4 ;
27499 double arg5 ;
27500 double arg6 ;
ae8162c8 27501 bool arg7 = (bool) true ;
44127b65
RD
27502 PyObject * obj0 = 0 ;
27503 PyObject * obj1 = 0 ;
8edf1c75
RD
27504 PyObject * obj2 = 0 ;
27505 PyObject * obj3 = 0 ;
27506 PyObject * obj4 = 0 ;
27507 PyObject * obj5 = 0 ;
44127b65
RD
27508 PyObject * obj6 = 0 ;
27509 char *kwnames[] = {
27510 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27511 };
27512
8edf1c75 27513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1)
27518 SWIG_fail;
44127b65 27519 if (arg2 == NULL) {
2f4c0a16
RD
27520 PyErr_SetString(PyExc_TypeError,"null reference");
27521 SWIG_fail;
27522 }
c32bde28 27523 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27524 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27525 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 27526 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27527 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 27528 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27529 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 27530 if (PyErr_Occurred()) SWIG_fail;
44127b65 27531 if (obj6) {
c32bde28 27532 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 27533 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27534 }
27535 {
27536 PyThreadState* __tstate = wxPyBeginAllowThreads();
27537 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27538
27539 wxPyEndAllowThreads(__tstate);
27540 if (PyErr_Occurred()) SWIG_fail;
27541 }
27542 Py_INCREF(Py_None); resultobj = Py_None;
27543 return resultobj;
27544 fail:
27545 return NULL;
27546}
27547
27548
c32bde28 27549static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27550 PyObject *resultobj;
27551 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27552 bool arg2 ;
27553 double arg3 ;
27554 double arg4 ;
27555 int arg5 = (int) 0 ;
27556 int arg6 = (int) 0 ;
27557 PyObject * obj0 = 0 ;
27558 PyObject * obj1 = 0 ;
8edf1c75
RD
27559 PyObject * obj2 = 0 ;
27560 PyObject * obj3 = 0 ;
27561 PyObject * obj4 = 0 ;
27562 PyObject * obj5 = 0 ;
44127b65
RD
27563 char *kwnames[] = {
27564 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27565 };
27566
8edf1c75 27567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27570 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 27571 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27572 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27573 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27574 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 27575 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27576 if (obj4) {
c32bde28 27577 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 27578 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27579 }
27580 if (obj5) {
c32bde28 27581 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 27582 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27583 }
44127b65
RD
27584 {
27585 PyThreadState* __tstate = wxPyBeginAllowThreads();
27586 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27587
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
27591 Py_INCREF(Py_None); resultobj = Py_None;
27592 return resultobj;
27593 fail:
27594 return NULL;
27595}
27596
27597
c32bde28 27598static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27599 PyObject *resultobj;
27600 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27601 double arg2 ;
27602 double arg3 ;
27603 int arg4 = (int) 0 ;
27604 int arg5 = (int) 0 ;
27605 PyObject * obj0 = 0 ;
8edf1c75
RD
27606 PyObject * obj1 = 0 ;
27607 PyObject * obj2 = 0 ;
27608 PyObject * obj3 = 0 ;
27609 PyObject * obj4 = 0 ;
44127b65
RD
27610 char *kwnames[] = {
27611 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27612 };
27613
8edf1c75 27614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27617 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 27618 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27619 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27620 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27621 if (obj3) {
c32bde28 27622 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 27623 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27624 }
27625 if (obj4) {
c32bde28 27626 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 27627 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27628 }
44127b65
RD
27629 {
27630 PyThreadState* __tstate = wxPyBeginAllowThreads();
27631 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27632
27633 wxPyEndAllowThreads(__tstate);
27634 if (PyErr_Occurred()) SWIG_fail;
27635 }
27636 Py_INCREF(Py_None); resultobj = Py_None;
27637 return resultobj;
27638 fail:
27639 return NULL;
27640}
27641
27642
c32bde28 27643static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27644 PyObject *resultobj;
27645 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27646 double arg2 ;
27647 double arg3 ;
27648 int arg4 = (int) 0 ;
27649 int arg5 = (int) 0 ;
27650 PyObject * obj0 = 0 ;
8edf1c75
RD
27651 PyObject * obj1 = 0 ;
27652 PyObject * obj2 = 0 ;
27653 PyObject * obj3 = 0 ;
27654 PyObject * obj4 = 0 ;
44127b65
RD
27655 char *kwnames[] = {
27656 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27657 };
27658
8edf1c75 27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27662 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 27663 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27664 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27665 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27666 if (obj3) {
c32bde28 27667 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 27668 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27669 }
27670 if (obj4) {
c32bde28 27671 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 27672 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27673 }
44127b65
RD
27674 {
27675 PyThreadState* __tstate = wxPyBeginAllowThreads();
27676 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27677
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
27681 Py_INCREF(Py_None); resultobj = Py_None;
27682 return resultobj;
27683 fail:
27684 return NULL;
27685}
27686
27687
c32bde28 27688static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27689 PyObject *resultobj;
27690 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27691 bool arg2 ;
27692 double arg3 ;
27693 double arg4 ;
27694 int arg5 = (int) 0 ;
27695 int arg6 = (int) 0 ;
27696 PyObject * obj0 = 0 ;
27697 PyObject * obj1 = 0 ;
8edf1c75
RD
27698 PyObject * obj2 = 0 ;
27699 PyObject * obj3 = 0 ;
27700 PyObject * obj4 = 0 ;
27701 PyObject * obj5 = 0 ;
44127b65
RD
27702 char *kwnames[] = {
27703 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27704 };
27705
8edf1c75 27706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27709 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 27710 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27711 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27712 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27713 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 27714 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27715 if (obj4) {
c32bde28 27716 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 27717 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27718 }
27719 if (obj5) {
c32bde28 27720 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 27721 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27722 }
44127b65
RD
27723 {
27724 PyThreadState* __tstate = wxPyBeginAllowThreads();
27725 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27726
27727 wxPyEndAllowThreads(__tstate);
27728 if (PyErr_Occurred()) SWIG_fail;
27729 }
27730 Py_INCREF(Py_None); resultobj = Py_None;
27731 return resultobj;
27732 fail:
27733 return NULL;
27734}
27735
27736
c32bde28 27737static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27738 PyObject *resultobj;
27739 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27740 double arg2 ;
27741 double arg3 ;
27742 int arg4 = (int) 0 ;
27743 int arg5 = (int) 0 ;
27744 PyObject * obj0 = 0 ;
8edf1c75
RD
27745 PyObject * obj1 = 0 ;
27746 PyObject * obj2 = 0 ;
27747 PyObject * obj3 = 0 ;
27748 PyObject * obj4 = 0 ;
44127b65
RD
27749 char *kwnames[] = {
27750 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27751 };
27752
8edf1c75 27753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27756 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 27757 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27758 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16
RD
27759 if (PyErr_Occurred()) SWIG_fail;
27760 if (obj3) {
c32bde28 27761 arg4 = (int)SWIG_As_int(obj3);
8edf1c75
RD
27762 if (PyErr_Occurred()) SWIG_fail;
27763 }
2f4c0a16 27764 if (obj4) {
c32bde28 27765 arg5 = (int)SWIG_As_int(obj4);
8edf1c75
RD
27766 if (PyErr_Occurred()) SWIG_fail;
27767 }
44127b65
RD
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27771
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 Py_INCREF(Py_None); resultobj = Py_None;
27776 return resultobj;
27777 fail:
27778 return NULL;
27779}
27780
27781
c32bde28 27782static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27783 PyObject *resultobj;
27784 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27785 double arg2 ;
27786 double arg3 ;
27787 int arg4 = (int) 0 ;
27788 int arg5 = (int) 0 ;
27789 PyObject * obj0 = 0 ;
8edf1c75
RD
27790 PyObject * obj1 = 0 ;
27791 PyObject * obj2 = 0 ;
27792 PyObject * obj3 = 0 ;
27793 PyObject * obj4 = 0 ;
44127b65
RD
27794 char *kwnames[] = {
27795 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27796 };
27797
8edf1c75 27798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27801 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 27802 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27803 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27804 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27805 if (obj3) {
c32bde28 27806 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 27807 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27808 }
27809 if (obj4) {
c32bde28 27810 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 27811 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27812 }
44127b65
RD
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
27815 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27816
27817 wxPyEndAllowThreads(__tstate);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 Py_INCREF(Py_None); resultobj = Py_None;
27821 return resultobj;
27822 fail:
27823 return NULL;
27824}
27825
27826
c32bde28 27827static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27828 PyObject *resultobj;
27829 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27830 wxDC *arg2 = 0 ;
27831 double arg3 ;
27832 double arg4 ;
27833 double arg5 ;
27834 double arg6 ;
27835 PyObject * obj0 = 0 ;
27836 PyObject * obj1 = 0 ;
8edf1c75
RD
27837 PyObject * obj2 = 0 ;
27838 PyObject * obj3 = 0 ;
27839 PyObject * obj4 = 0 ;
27840 PyObject * obj5 = 0 ;
44127b65
RD
27841 char *kwnames[] = {
27842 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27843 };
27844
8edf1c75 27845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27849 SWIG_POINTER_EXCEPTION | 0)) == -1)
27850 SWIG_fail;
44127b65 27851 if (arg2 == NULL) {
2f4c0a16
RD
27852 PyErr_SetString(PyExc_TypeError,"null reference");
27853 SWIG_fail;
8edf1c75 27854 }
c32bde28 27855 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 27856 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27857 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 27858 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27859 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 27860 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27861 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 27862 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27863 {
27864 PyThreadState* __tstate = wxPyBeginAllowThreads();
27865 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27866
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 Py_INCREF(Py_None); resultobj = Py_None;
27871 return resultobj;
27872 fail:
27873 return NULL;
27874}
27875
27876
c32bde28 27877static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27878 PyObject *resultobj;
27879 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27880 wxDC *arg2 = 0 ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 char *kwnames[] = {
27884 (char *) "self",(char *) "dc", NULL
27885 };
27886
27887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27891 SWIG_POINTER_EXCEPTION | 0)) == -1)
27892 SWIG_fail;
44127b65 27893 if (arg2 == NULL) {
2f4c0a16
RD
27894 PyErr_SetString(PyExc_TypeError,"null reference");
27895 SWIG_fail;
44127b65
RD
27896 }
27897 {
27898 PyThreadState* __tstate = wxPyBeginAllowThreads();
27899 (arg1)->base_OnDrawControlPoints(*arg2);
27900
27901 wxPyEndAllowThreads(__tstate);
27902 if (PyErr_Occurred()) SWIG_fail;
27903 }
27904 Py_INCREF(Py_None); resultobj = Py_None;
27905 return resultobj;
27906 fail:
27907 return NULL;
27908}
27909
27910
c32bde28 27911static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27912 PyObject *resultobj;
27913 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27914 wxDC *arg2 = 0 ;
27915 PyObject * obj0 = 0 ;
27916 PyObject * obj1 = 0 ;
27917 char *kwnames[] = {
27918 (char *) "self",(char *) "dc", NULL
27919 };
27920
27921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27925 SWIG_POINTER_EXCEPTION | 0)) == -1)
27926 SWIG_fail;
44127b65 27927 if (arg2 == NULL) {
2f4c0a16
RD
27928 PyErr_SetString(PyExc_TypeError,"null reference");
27929 SWIG_fail;
44127b65
RD
27930 }
27931 {
27932 PyThreadState* __tstate = wxPyBeginAllowThreads();
27933 (arg1)->base_OnEraseControlPoints(*arg2);
27934
27935 wxPyEndAllowThreads(__tstate);
27936 if (PyErr_Occurred()) SWIG_fail;
27937 }
27938 Py_INCREF(Py_None); resultobj = Py_None;
27939 return resultobj;
27940 fail:
27941 return NULL;
27942}
27943
27944
c32bde28 27945static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27946 PyObject *resultobj;
27947 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27948 wxDC *arg2 = 0 ;
ae8162c8 27949 bool arg3 = (bool) true ;
44127b65
RD
27950 PyObject * obj0 = 0 ;
27951 PyObject * obj1 = 0 ;
27952 PyObject * obj2 = 0 ;
27953 char *kwnames[] = {
27954 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27955 };
27956
27957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27961 SWIG_POINTER_EXCEPTION | 0)) == -1)
27962 SWIG_fail;
44127b65 27963 if (arg2 == NULL) {
2f4c0a16
RD
27964 PyErr_SetString(PyExc_TypeError,"null reference");
27965 SWIG_fail;
44127b65
RD
27966 }
27967 if (obj2) {
c32bde28 27968 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 27969 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27970 }
27971 {
27972 PyThreadState* __tstate = wxPyBeginAllowThreads();
27973 (arg1)->base_OnMoveLink(*arg2,arg3);
27974
27975 wxPyEndAllowThreads(__tstate);
27976 if (PyErr_Occurred()) SWIG_fail;
27977 }
27978 Py_INCREF(Py_None); resultobj = Py_None;
27979 return resultobj;
27980 fail:
27981 return NULL;
27982}
27983
27984
c32bde28 27985static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27986 PyObject *resultobj;
27987 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27988 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27989 bool arg3 ;
27990 double arg4 ;
27991 double arg5 ;
27992 int arg6 = (int) 0 ;
27993 int arg7 = (int) 0 ;
27994 PyObject * obj0 = 0 ;
27995 PyObject * obj1 = 0 ;
27996 PyObject * obj2 = 0 ;
8edf1c75
RD
27997 PyObject * obj3 = 0 ;
27998 PyObject * obj4 = 0 ;
27999 PyObject * obj5 = 0 ;
28000 PyObject * obj6 = 0 ;
44127b65
RD
28001 char *kwnames[] = {
28002 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28003 };
28004
8edf1c75 28005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
28006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
28009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28010 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 28011 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28012 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 28013 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28014 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 28015 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28016 if (obj5) {
c32bde28 28017 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 28018 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28019 }
28020 if (obj6) {
c32bde28 28021 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 28022 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28023 }
44127b65
RD
28024 {
28025 PyThreadState* __tstate = wxPyBeginAllowThreads();
28026 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
28027
28028 wxPyEndAllowThreads(__tstate);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 }
28031 Py_INCREF(Py_None); resultobj = Py_None;
28032 return resultobj;
28033 fail:
28034 return NULL;
28035}
28036
28037
c32bde28 28038static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28039 PyObject *resultobj;
28040 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28041 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28042 double arg3 ;
28043 double arg4 ;
28044 int arg5 = (int) 0 ;
28045 int arg6 = (int) 0 ;
28046 PyObject * obj0 = 0 ;
28047 PyObject * obj1 = 0 ;
8edf1c75
RD
28048 PyObject * obj2 = 0 ;
28049 PyObject * obj3 = 0 ;
28050 PyObject * obj4 = 0 ;
28051 PyObject * obj5 = 0 ;
44127b65
RD
28052 char *kwnames[] = {
28053 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28054 };
28055
8edf1c75 28056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
28057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
28060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28061 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 28062 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28063 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 28064 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28065 if (obj4) {
c32bde28 28066 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 28067 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28068 }
28069 if (obj5) {
c32bde28 28070 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 28071 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28072 }
44127b65
RD
28073 {
28074 PyThreadState* __tstate = wxPyBeginAllowThreads();
28075 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
28076
28077 wxPyEndAllowThreads(__tstate);
28078 if (PyErr_Occurred()) SWIG_fail;
28079 }
28080 Py_INCREF(Py_None); resultobj = Py_None;
28081 return resultobj;
28082 fail:
28083 return NULL;
28084}
28085
28086
c32bde28 28087static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28088 PyObject *resultobj;
28089 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28090 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28091 double arg3 ;
28092 double arg4 ;
28093 int arg5 = (int) 0 ;
28094 int arg6 = (int) 0 ;
28095 PyObject * obj0 = 0 ;
28096 PyObject * obj1 = 0 ;
8edf1c75
RD
28097 PyObject * obj2 = 0 ;
28098 PyObject * obj3 = 0 ;
28099 PyObject * obj4 = 0 ;
28100 PyObject * obj5 = 0 ;
44127b65
RD
28101 char *kwnames[] = {
28102 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28103 };
28104
8edf1c75 28105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
28106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
28109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28110 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 28111 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28112 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 28113 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28114 if (obj4) {
c32bde28 28115 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 28116 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28117 }
28118 if (obj5) {
c32bde28 28119 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 28120 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28121 }
44127b65
RD
28122 {
28123 PyThreadState* __tstate = wxPyBeginAllowThreads();
28124 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
28125
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 Py_INCREF(Py_None); resultobj = Py_None;
28130 return resultobj;
28131 fail:
28132 return NULL;
28133}
28134
28135
c32bde28 28136static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28137 PyObject *resultobj;
28138 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28139 double arg2 ;
28140 double arg3 ;
28141 PyObject * obj0 = 0 ;
8edf1c75
RD
28142 PyObject * obj1 = 0 ;
28143 PyObject * obj2 = 0 ;
44127b65
RD
28144 char *kwnames[] = {
28145 (char *) "self",(char *) "w",(char *) "h", NULL
28146 };
28147
8edf1c75 28148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28151 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 28152 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28153 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 28154 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 (arg1)->base_OnBeginSize(arg2,arg3);
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
28162 Py_INCREF(Py_None); resultobj = Py_None;
28163 return resultobj;
28164 fail:
28165 return NULL;
28166}
28167
28168
c32bde28 28169static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28170 PyObject *resultobj;
28171 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28172 double arg2 ;
28173 double arg3 ;
28174 PyObject * obj0 = 0 ;
8edf1c75
RD
28175 PyObject * obj1 = 0 ;
28176 PyObject * obj2 = 0 ;
44127b65
RD
28177 char *kwnames[] = {
28178 (char *) "self",(char *) "w",(char *) "h", NULL
28179 };
28180
8edf1c75 28181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28184 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 28185 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28186 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 28187 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28188 {
28189 PyThreadState* __tstate = wxPyBeginAllowThreads();
28190 (arg1)->base_OnEndSize(arg2,arg3);
28191
28192 wxPyEndAllowThreads(__tstate);
28193 if (PyErr_Occurred()) SWIG_fail;
28194 }
28195 Py_INCREF(Py_None); resultobj = Py_None;
28196 return resultobj;
28197 fail:
28198 return NULL;
28199}
28200
28201
c32bde28 28202static PyObject * PyLineShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
28203 PyObject *obj;
28204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28205 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
28206 Py_INCREF(obj);
28207 return Py_BuildValue((char *)"");
28208}
c32bde28 28209static PyObject *_wrap_new_PyPolygonShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28210 PyObject *resultobj;
28211 wxPyPolygonShape *result;
28212 char *kwnames[] = {
28213 NULL
28214 };
28215
28216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
28217 {
28218 PyThreadState* __tstate = wxPyBeginAllowThreads();
28219 result = (wxPyPolygonShape *)new wxPyPolygonShape();
28220
28221 wxPyEndAllowThreads(__tstate);
28222 if (PyErr_Occurred()) SWIG_fail;
28223 }
2f4c0a16 28224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
44127b65
RD
28225 return resultobj;
28226 fail:
28227 return NULL;
28228}
28229
28230
c32bde28 28231static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28232 PyObject *resultobj;
28233 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28234 PyObject *arg2 = (PyObject *) 0 ;
28235 PyObject *arg3 = (PyObject *) 0 ;
28236 PyObject * obj0 = 0 ;
28237 PyObject * obj1 = 0 ;
28238 PyObject * obj2 = 0 ;
28239 char *kwnames[] = {
28240 (char *) "self",(char *) "self",(char *) "_class", NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28246 arg2 = obj1;
28247 arg3 = obj2;
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 (arg1)->_setCallbackInfo(arg2,arg3);
28251
28252 wxPyEndAllowThreads(__tstate);
28253 if (PyErr_Occurred()) SWIG_fail;
28254 }
28255 Py_INCREF(Py_None); resultobj = Py_None;
28256 return resultobj;
28257 fail:
28258 return NULL;
28259}
28260
28261
c32bde28 28262static PyObject *_wrap_PyPolygonShape_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28263 PyObject *resultobj;
28264 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28265 PyObject *arg2 = (PyObject *) 0 ;
28266 PyObject *result;
28267 PyObject * obj0 = 0 ;
28268 PyObject * obj1 = 0 ;
28269 char *kwnames[] = {
28270 (char *) "self",(char *) "points", NULL
28271 };
28272
28273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28276 arg2 = obj1;
28277 {
28278 PyThreadState* __tstate = wxPyBeginAllowThreads();
28279 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28280
28281 wxPyEndAllowThreads(__tstate);
28282 if (PyErr_Occurred()) SWIG_fail;
28283 }
28284 resultobj = result;
28285 return resultobj;
28286 fail:
28287 return NULL;
28288}
28289
28290
c32bde28 28291static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28292 PyObject *resultobj;
28293 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28294 int arg2 = (int) 0 ;
28295 PyObject * obj0 = 0 ;
8edf1c75 28296 PyObject * obj1 = 0 ;
44127b65
RD
28297 char *kwnames[] = {
28298 (char *) "self",(char *) "pos", NULL
28299 };
28300
8edf1c75 28301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 28304 if (obj1) {
c32bde28 28305 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 28306 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28307 }
44127b65
RD
28308 {
28309 PyThreadState* __tstate = wxPyBeginAllowThreads();
28310 (arg1)->AddPolygonPoint(arg2);
28311
28312 wxPyEndAllowThreads(__tstate);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 }
28315 Py_INCREF(Py_None); resultobj = Py_None;
28316 return resultobj;
28317 fail:
28318 return NULL;
28319}
28320
28321
c32bde28 28322static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28323 PyObject *resultobj;
28324 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28325 PyObject * obj0 = 0 ;
28326 char *kwnames[] = {
28327 (char *) "self", NULL
28328 };
28329
28330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28333 {
28334 PyThreadState* __tstate = wxPyBeginAllowThreads();
28335 (arg1)->CalculatePolygonCentre();
28336
28337 wxPyEndAllowThreads(__tstate);
28338 if (PyErr_Occurred()) SWIG_fail;
28339 }
28340 Py_INCREF(Py_None); resultobj = Py_None;
28341 return resultobj;
28342 fail:
28343 return NULL;
28344}
28345
28346
c32bde28 28347static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28348 PyObject *resultobj;
28349 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28350 int arg2 = (int) 0 ;
28351 PyObject * obj0 = 0 ;
8edf1c75 28352 PyObject * obj1 = 0 ;
44127b65
RD
28353 char *kwnames[] = {
28354 (char *) "self",(char *) "pos", NULL
28355 };
28356
8edf1c75 28357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 28360 if (obj1) {
c32bde28 28361 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 28362 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28363 }
44127b65
RD
28364 {
28365 PyThreadState* __tstate = wxPyBeginAllowThreads();
28366 (arg1)->DeletePolygonPoint(arg2);
28367
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 Py_INCREF(Py_None); resultobj = Py_None;
28372 return resultobj;
28373 fail:
28374 return NULL;
28375}
28376
28377
c32bde28 28378static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28379 PyObject *resultobj;
28380 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28381 PyObject *result;
28382 PyObject * obj0 = 0 ;
28383 char *kwnames[] = {
28384 (char *) "self", NULL
28385 };
28386
28387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28390 {
28391 PyThreadState* __tstate = wxPyBeginAllowThreads();
28392 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28393
28394 wxPyEndAllowThreads(__tstate);
28395 if (PyErr_Occurred()) SWIG_fail;
28396 }
28397 resultobj = result;
28398 return resultobj;
28399 fail:
28400 return NULL;
28401}
28402
28403
c32bde28 28404static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28405 PyObject *resultobj;
28406 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28407 PyObject *result;
28408 PyObject * obj0 = 0 ;
28409 char *kwnames[] = {
28410 (char *) "self", NULL
28411 };
28412
28413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28416 {
28417 PyThreadState* __tstate = wxPyBeginAllowThreads();
28418 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28419
28420 wxPyEndAllowThreads(__tstate);
28421 if (PyErr_Occurred()) SWIG_fail;
28422 }
28423 resultobj = result;
28424 return resultobj;
28425 fail:
28426 return NULL;
28427}
28428
28429
c32bde28 28430static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28431 PyObject *resultobj;
28432 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28433 double result;
28434 PyObject * obj0 = 0 ;
28435 char *kwnames[] = {
28436 (char *) "self", NULL
28437 };
28438
28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28442 {
28443 PyThreadState* __tstate = wxPyBeginAllowThreads();
28444 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28445
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
c32bde28 28449 resultobj = SWIG_From_double((double)result);
7a0a63ae
RD
28450 return resultobj;
28451 fail:
28452 return NULL;
28453}
28454
28455
c32bde28 28456static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28457 PyObject *resultobj;
28458 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28459 double result;
28460 PyObject * obj0 = 0 ;
28461 char *kwnames[] = {
28462 (char *) "self", NULL
28463 };
28464
28465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28468 {
28469 PyThreadState* __tstate = wxPyBeginAllowThreads();
28470 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28471
28472 wxPyEndAllowThreads(__tstate);
28473 if (PyErr_Occurred()) SWIG_fail;
28474 }
c32bde28 28475 resultobj = SWIG_From_double((double)result);
7a0a63ae
RD
28476 return resultobj;
28477 fail:
28478 return NULL;
28479}
28480
28481
c32bde28 28482static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28483 PyObject *resultobj;
28484 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28485 double arg2 ;
28486 PyObject * obj0 = 0 ;
8edf1c75 28487 PyObject * obj1 = 0 ;
7a0a63ae
RD
28488 char *kwnames[] = {
28489 (char *) "self",(char *) "w", NULL
28490 };
28491
8edf1c75 28492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28495 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 28496 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
28497 {
28498 PyThreadState* __tstate = wxPyBeginAllowThreads();
28499 (arg1)->SetOriginalWidth(arg2);
28500
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
28504 Py_INCREF(Py_None); resultobj = Py_None;
28505 return resultobj;
28506 fail:
28507 return NULL;
28508}
28509
28510
c32bde28 28511static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28512 PyObject *resultobj;
28513 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28514 double arg2 ;
28515 PyObject * obj0 = 0 ;
8edf1c75 28516 PyObject * obj1 = 0 ;
7a0a63ae
RD
28517 char *kwnames[] = {
28518 (char *) "self",(char *) "h", NULL
28519 };
28520
8edf1c75 28521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28524 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 28525 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
28526 {
28527 PyThreadState* __tstate = wxPyBeginAllowThreads();
28528 (arg1)->SetOriginalHeight(arg2);
28529
28530 wxPyEndAllowThreads(__tstate);
28531 if (PyErr_Occurred()) SWIG_fail;
28532 }
28533 Py_INCREF(Py_None); resultobj = Py_None;
28534 return resultobj;
28535 fail:
28536 return NULL;
28537}
28538
28539
c32bde28 28540static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28541 PyObject *resultobj;
28542 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28543 PyObject * obj0 = 0 ;
28544 char *kwnames[] = {
28545 (char *) "self", NULL
28546 };
28547
28548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28551 {
28552 PyThreadState* __tstate = wxPyBeginAllowThreads();
28553 (arg1)->UpdateOriginalPoints();
28554
28555 wxPyEndAllowThreads(__tstate);
28556 if (PyErr_Occurred()) SWIG_fail;
28557 }
28558 Py_INCREF(Py_None); resultobj = Py_None;
28559 return resultobj;
28560 fail:
28561 return NULL;
28562}
28563
28564
c32bde28 28565static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28566 PyObject *resultobj;
28567 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28568 wxDC *arg2 = 0 ;
28569 PyObject * obj0 = 0 ;
28570 PyObject * obj1 = 0 ;
28571 char *kwnames[] = {
28572 (char *) "self",(char *) "dc", NULL
28573 };
28574
28575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28579 SWIG_POINTER_EXCEPTION | 0)) == -1)
28580 SWIG_fail;
44127b65 28581 if (arg2 == NULL) {
2f4c0a16
RD
28582 PyErr_SetString(PyExc_TypeError,"null reference");
28583 SWIG_fail;
44127b65
RD
28584 }
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 (arg1)->base_OnDraw(*arg2);
28588
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
28592 Py_INCREF(Py_None); resultobj = Py_None;
28593 return resultobj;
28594 fail:
28595 return NULL;
28596}
28597
28598
c32bde28 28599static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28600 PyObject *resultobj;
28601 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28602 wxDC *arg2 = 0 ;
28603 PyObject * obj0 = 0 ;
28604 PyObject * obj1 = 0 ;
28605 char *kwnames[] = {
28606 (char *) "self",(char *) "dc", NULL
28607 };
28608
28609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28613 SWIG_POINTER_EXCEPTION | 0)) == -1)
28614 SWIG_fail;
44127b65 28615 if (arg2 == NULL) {
2f4c0a16
RD
28616 PyErr_SetString(PyExc_TypeError,"null reference");
28617 SWIG_fail;
44127b65
RD
28618 }
28619 {
28620 PyThreadState* __tstate = wxPyBeginAllowThreads();
28621 (arg1)->base_OnDrawContents(*arg2);
28622
28623 wxPyEndAllowThreads(__tstate);
28624 if (PyErr_Occurred()) SWIG_fail;
28625 }
28626 Py_INCREF(Py_None); resultobj = Py_None;
28627 return resultobj;
28628 fail:
28629 return NULL;
28630}
28631
28632
c32bde28 28633static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28634 PyObject *resultobj;
28635 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28636 wxDC *arg2 = 0 ;
28637 bool arg3 = (bool) FALSE ;
28638 PyObject * obj0 = 0 ;
28639 PyObject * obj1 = 0 ;
28640 PyObject * obj2 = 0 ;
28641 char *kwnames[] = {
28642 (char *) "self",(char *) "dc",(char *) "erase", NULL
28643 };
28644
28645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28649 SWIG_POINTER_EXCEPTION | 0)) == -1)
28650 SWIG_fail;
44127b65 28651 if (arg2 == NULL) {
2f4c0a16
RD
28652 PyErr_SetString(PyExc_TypeError,"null reference");
28653 SWIG_fail;
44127b65
RD
28654 }
28655 if (obj2) {
c32bde28 28656 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 28657 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28658 }
28659 {
28660 PyThreadState* __tstate = wxPyBeginAllowThreads();
28661 (arg1)->base_OnDrawBranches(*arg2,arg3);
28662
28663 wxPyEndAllowThreads(__tstate);
28664 if (PyErr_Occurred()) SWIG_fail;
28665 }
28666 Py_INCREF(Py_None); resultobj = Py_None;
28667 return resultobj;
28668 fail:
28669 return NULL;
28670}
28671
28672
c32bde28 28673static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28674 PyObject *resultobj;
28675 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28676 wxDC *arg2 = 0 ;
28677 PyObject * obj0 = 0 ;
28678 PyObject * obj1 = 0 ;
28679 char *kwnames[] = {
28680 (char *) "self",(char *) "dc", NULL
28681 };
28682
28683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28687 SWIG_POINTER_EXCEPTION | 0)) == -1)
28688 SWIG_fail;
44127b65 28689 if (arg2 == NULL) {
2f4c0a16
RD
28690 PyErr_SetString(PyExc_TypeError,"null reference");
28691 SWIG_fail;
44127b65
RD
28692 }
28693 {
28694 PyThreadState* __tstate = wxPyBeginAllowThreads();
28695 (arg1)->base_OnMoveLinks(*arg2);
28696
28697 wxPyEndAllowThreads(__tstate);
28698 if (PyErr_Occurred()) SWIG_fail;
28699 }
28700 Py_INCREF(Py_None); resultobj = Py_None;
28701 return resultobj;
28702 fail:
28703 return NULL;
28704}
28705
28706
c32bde28 28707static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28708 PyObject *resultobj;
28709 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28710 wxDC *arg2 = 0 ;
28711 PyObject * obj0 = 0 ;
28712 PyObject * obj1 = 0 ;
28713 char *kwnames[] = {
28714 (char *) "self",(char *) "dc", NULL
28715 };
28716
28717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28721 SWIG_POINTER_EXCEPTION | 0)) == -1)
28722 SWIG_fail;
44127b65 28723 if (arg2 == NULL) {
2f4c0a16
RD
28724 PyErr_SetString(PyExc_TypeError,"null reference");
28725 SWIG_fail;
44127b65
RD
28726 }
28727 {
28728 PyThreadState* __tstate = wxPyBeginAllowThreads();
28729 (arg1)->base_OnErase(*arg2);
28730
28731 wxPyEndAllowThreads(__tstate);
28732 if (PyErr_Occurred()) SWIG_fail;
28733 }
28734 Py_INCREF(Py_None); resultobj = Py_None;
28735 return resultobj;
28736 fail:
28737 return NULL;
28738}
28739
28740
c32bde28 28741static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28742 PyObject *resultobj;
28743 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28744 wxDC *arg2 = 0 ;
28745 PyObject * obj0 = 0 ;
28746 PyObject * obj1 = 0 ;
28747 char *kwnames[] = {
28748 (char *) "self",(char *) "dc", NULL
28749 };
28750
28751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28755 SWIG_POINTER_EXCEPTION | 0)) == -1)
28756 SWIG_fail;
44127b65 28757 if (arg2 == NULL) {
2f4c0a16
RD
28758 PyErr_SetString(PyExc_TypeError,"null reference");
28759 SWIG_fail;
44127b65
RD
28760 }
28761 {
28762 PyThreadState* __tstate = wxPyBeginAllowThreads();
28763 (arg1)->base_OnEraseContents(*arg2);
28764
28765 wxPyEndAllowThreads(__tstate);
28766 if (PyErr_Occurred()) SWIG_fail;
28767 }
28768 Py_INCREF(Py_None); resultobj = Py_None;
28769 return resultobj;
28770 fail:
28771 return NULL;
28772}
28773
28774
c32bde28 28775static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28776 PyObject *resultobj;
28777 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28778 wxDC *arg2 = 0 ;
28779 PyObject * obj0 = 0 ;
28780 PyObject * obj1 = 0 ;
28781 char *kwnames[] = {
28782 (char *) "self",(char *) "dc", NULL
28783 };
28784
28785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28789 SWIG_POINTER_EXCEPTION | 0)) == -1)
28790 SWIG_fail;
44127b65 28791 if (arg2 == NULL) {
2f4c0a16
RD
28792 PyErr_SetString(PyExc_TypeError,"null reference");
28793 SWIG_fail;
44127b65
RD
28794 }
28795 {
28796 PyThreadState* __tstate = wxPyBeginAllowThreads();
28797 (arg1)->base_OnHighlight(*arg2);
28798
28799 wxPyEndAllowThreads(__tstate);
28800 if (PyErr_Occurred()) SWIG_fail;
28801 }
28802 Py_INCREF(Py_None); resultobj = Py_None;
28803 return resultobj;
28804 fail:
28805 return NULL;
28806}
28807
28808
c32bde28 28809static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28810 PyObject *resultobj;
28811 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28812 double arg2 ;
28813 double arg3 ;
28814 int arg4 = (int) 0 ;
28815 int arg5 = (int) 0 ;
28816 PyObject * obj0 = 0 ;
8edf1c75
RD
28817 PyObject * obj1 = 0 ;
28818 PyObject * obj2 = 0 ;
28819 PyObject * obj3 = 0 ;
28820 PyObject * obj4 = 0 ;
44127b65
RD
28821 char *kwnames[] = {
28822 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28823 };
28824
8edf1c75 28825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28828 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 28829 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28830 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 28831 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28832 if (obj3) {
c32bde28 28833 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 28834 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28835 }
28836 if (obj4) {
c32bde28 28837 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 28838 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28839 }
44127b65
RD
28840 {
28841 PyThreadState* __tstate = wxPyBeginAllowThreads();
28842 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
28843
28844 wxPyEndAllowThreads(__tstate);
28845 if (PyErr_Occurred()) SWIG_fail;
28846 }
28847 Py_INCREF(Py_None); resultobj = Py_None;
28848 return resultobj;
28849 fail:
28850 return NULL;
28851}
28852
28853
c32bde28 28854static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28855 PyObject *resultobj;
28856 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28857 double arg2 ;
28858 double arg3 ;
28859 int arg4 = (int) 0 ;
28860 int arg5 = (int) 0 ;
28861 PyObject * obj0 = 0 ;
8edf1c75
RD
28862 PyObject * obj1 = 0 ;
28863 PyObject * obj2 = 0 ;
28864 PyObject * obj3 = 0 ;
28865 PyObject * obj4 = 0 ;
44127b65
RD
28866 char *kwnames[] = {
28867 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28868 };
28869
8edf1c75 28870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28873 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 28874 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28875 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 28876 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28877 if (obj3) {
c32bde28 28878 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 28879 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28880 }
28881 if (obj4) {
c32bde28 28882 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 28883 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28884 }
44127b65
RD
28885 {
28886 PyThreadState* __tstate = wxPyBeginAllowThreads();
28887 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
28888
28889 wxPyEndAllowThreads(__tstate);
28890 if (PyErr_Occurred()) SWIG_fail;
28891 }
28892 Py_INCREF(Py_None); resultobj = Py_None;
28893 return resultobj;
28894 fail:
28895 return NULL;
28896}
28897
28898
c32bde28 28899static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28900 PyObject *resultobj;
28901 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28902 double arg2 ;
28903 double arg3 ;
28904 int arg4 = (int) 0 ;
28905 int arg5 = (int) 0 ;
28906 PyObject * obj0 = 0 ;
8edf1c75
RD
28907 PyObject * obj1 = 0 ;
28908 PyObject * obj2 = 0 ;
28909 PyObject * obj3 = 0 ;
28910 PyObject * obj4 = 0 ;
44127b65
RD
28911 char *kwnames[] = {
28912 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28913 };
28914
8edf1c75 28915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28918 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 28919 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28920 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 28921 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28922 if (obj3) {
c32bde28 28923 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 28924 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28925 }
28926 if (obj4) {
c32bde28 28927 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 28928 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28929 }
44127b65
RD
28930 {
28931 PyThreadState* __tstate = wxPyBeginAllowThreads();
28932 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
28933
28934 wxPyEndAllowThreads(__tstate);
28935 if (PyErr_Occurred()) SWIG_fail;
28936 }
28937 Py_INCREF(Py_None); resultobj = Py_None;
28938 return resultobj;
28939 fail:
28940 return NULL;
28941}
28942
28943
c32bde28 28944static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28945 PyObject *resultobj;
28946 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28947 double arg2 ;
28948 double arg3 ;
28949 PyObject * obj0 = 0 ;
8edf1c75
RD
28950 PyObject * obj1 = 0 ;
28951 PyObject * obj2 = 0 ;
44127b65
RD
28952 char *kwnames[] = {
28953 (char *) "self",(char *) "x",(char *) "y", NULL
28954 };
28955
8edf1c75 28956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28959 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 28960 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28961 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 28962 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28963 {
28964 PyThreadState* __tstate = wxPyBeginAllowThreads();
28965 (arg1)->base_OnSize(arg2,arg3);
28966
28967 wxPyEndAllowThreads(__tstate);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 }
28970 Py_INCREF(Py_None); resultobj = Py_None;
28971 return resultobj;
28972 fail:
28973 return NULL;
28974}
28975
28976
c32bde28 28977static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28978 PyObject *resultobj;
28979 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28980 wxDC *arg2 = 0 ;
28981 double arg3 ;
28982 double arg4 ;
28983 double arg5 ;
28984 double arg6 ;
ae8162c8 28985 bool arg7 = (bool) true ;
44127b65
RD
28986 bool result;
28987 PyObject * obj0 = 0 ;
28988 PyObject * obj1 = 0 ;
8edf1c75
RD
28989 PyObject * obj2 = 0 ;
28990 PyObject * obj3 = 0 ;
28991 PyObject * obj4 = 0 ;
28992 PyObject * obj5 = 0 ;
44127b65
RD
28993 PyObject * obj6 = 0 ;
28994 char *kwnames[] = {
28995 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28996 };
28997
8edf1c75 28998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
28999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29002 SWIG_POINTER_EXCEPTION | 0)) == -1)
29003 SWIG_fail;
44127b65 29004 if (arg2 == NULL) {
2f4c0a16
RD
29005 PyErr_SetString(PyExc_TypeError,"null reference");
29006 SWIG_fail;
29007 }
c32bde28 29008 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29009 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29010 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 29011 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29012 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 29013 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29014 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 29015 if (PyErr_Occurred()) SWIG_fail;
44127b65 29016 if (obj6) {
c32bde28 29017 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 29018 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29019 }
29020 {
29021 PyThreadState* __tstate = wxPyBeginAllowThreads();
29022 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
29023
29024 wxPyEndAllowThreads(__tstate);
29025 if (PyErr_Occurred()) SWIG_fail;
29026 }
4f89f6a3
RD
29027 {
29028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29029 }
44127b65
RD
29030 return resultobj;
29031 fail:
29032 return NULL;
29033}
29034
29035
c32bde28 29036static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29037 PyObject *resultobj;
29038 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29039 wxDC *arg2 = 0 ;
29040 double arg3 ;
29041 double arg4 ;
29042 double arg5 ;
29043 double arg6 ;
ae8162c8 29044 bool arg7 = (bool) true ;
44127b65
RD
29045 PyObject * obj0 = 0 ;
29046 PyObject * obj1 = 0 ;
8edf1c75
RD
29047 PyObject * obj2 = 0 ;
29048 PyObject * obj3 = 0 ;
29049 PyObject * obj4 = 0 ;
29050 PyObject * obj5 = 0 ;
44127b65
RD
29051 PyObject * obj6 = 0 ;
29052 char *kwnames[] = {
29053 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29054 };
29055
8edf1c75 29056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
29057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29060 SWIG_POINTER_EXCEPTION | 0)) == -1)
29061 SWIG_fail;
44127b65 29062 if (arg2 == NULL) {
2f4c0a16
RD
29063 PyErr_SetString(PyExc_TypeError,"null reference");
29064 SWIG_fail;
29065 }
c32bde28 29066 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29067 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29068 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 29069 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29070 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 29071 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29072 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 29073 if (PyErr_Occurred()) SWIG_fail;
44127b65 29074 if (obj6) {
c32bde28 29075 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 29076 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29077 }
29078 {
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
29081
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 Py_INCREF(Py_None); resultobj = Py_None;
29086 return resultobj;
29087 fail:
29088 return NULL;
29089}
29090
29091
c32bde28 29092static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29093 PyObject *resultobj;
29094 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29095 bool arg2 ;
29096 double arg3 ;
29097 double arg4 ;
29098 int arg5 = (int) 0 ;
29099 int arg6 = (int) 0 ;
29100 PyObject * obj0 = 0 ;
29101 PyObject * obj1 = 0 ;
8edf1c75
RD
29102 PyObject * obj2 = 0 ;
29103 PyObject * obj3 = 0 ;
29104 PyObject * obj4 = 0 ;
29105 PyObject * obj5 = 0 ;
44127b65
RD
29106 char *kwnames[] = {
29107 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29108 };
29109
8edf1c75 29110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29113 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 29114 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29115 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29116 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29117 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 29118 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29119 if (obj4) {
c32bde28 29120 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 29121 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29122 }
29123 if (obj5) {
c32bde28 29124 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 29125 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29126 }
44127b65
RD
29127 {
29128 PyThreadState* __tstate = wxPyBeginAllowThreads();
29129 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
29130
29131 wxPyEndAllowThreads(__tstate);
29132 if (PyErr_Occurred()) SWIG_fail;
29133 }
29134 Py_INCREF(Py_None); resultobj = Py_None;
29135 return resultobj;
29136 fail:
29137 return NULL;
29138}
29139
29140
c32bde28 29141static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29142 PyObject *resultobj;
29143 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29144 double arg2 ;
29145 double arg3 ;
29146 int arg4 = (int) 0 ;
29147 int arg5 = (int) 0 ;
29148 PyObject * obj0 = 0 ;
8edf1c75
RD
29149 PyObject * obj1 = 0 ;
29150 PyObject * obj2 = 0 ;
29151 PyObject * obj3 = 0 ;
29152 PyObject * obj4 = 0 ;
44127b65
RD
29153 char *kwnames[] = {
29154 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29155 };
29156
8edf1c75 29157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29160 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 29161 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29162 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29163 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29164 if (obj3) {
c32bde28 29165 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 29166 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29167 }
29168 if (obj4) {
c32bde28 29169 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 29170 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29171 }
44127b65
RD
29172 {
29173 PyThreadState* __tstate = wxPyBeginAllowThreads();
29174 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
29175
29176 wxPyEndAllowThreads(__tstate);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 }
29179 Py_INCREF(Py_None); resultobj = Py_None;
29180 return resultobj;
29181 fail:
29182 return NULL;
29183}
29184
29185
c32bde28 29186static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29187 PyObject *resultobj;
29188 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29189 double arg2 ;
29190 double arg3 ;
29191 int arg4 = (int) 0 ;
29192 int arg5 = (int) 0 ;
29193 PyObject * obj0 = 0 ;
8edf1c75
RD
29194 PyObject * obj1 = 0 ;
29195 PyObject * obj2 = 0 ;
29196 PyObject * obj3 = 0 ;
29197 PyObject * obj4 = 0 ;
44127b65
RD
29198 char *kwnames[] = {
29199 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29200 };
29201
8edf1c75 29202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29205 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 29206 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29207 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29208 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29209 if (obj3) {
c32bde28 29210 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 29211 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29212 }
29213 if (obj4) {
c32bde28 29214 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 29215 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29216 }
44127b65
RD
29217 {
29218 PyThreadState* __tstate = wxPyBeginAllowThreads();
29219 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
29220
29221 wxPyEndAllowThreads(__tstate);
29222 if (PyErr_Occurred()) SWIG_fail;
29223 }
29224 Py_INCREF(Py_None); resultobj = Py_None;
29225 return resultobj;
29226 fail:
29227 return NULL;
29228}
29229
29230
c32bde28 29231static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29232 PyObject *resultobj;
29233 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29234 bool arg2 ;
29235 double arg3 ;
29236 double arg4 ;
29237 int arg5 = (int) 0 ;
29238 int arg6 = (int) 0 ;
29239 PyObject * obj0 = 0 ;
29240 PyObject * obj1 = 0 ;
8edf1c75
RD
29241 PyObject * obj2 = 0 ;
29242 PyObject * obj3 = 0 ;
29243 PyObject * obj4 = 0 ;
29244 PyObject * obj5 = 0 ;
44127b65
RD
29245 char *kwnames[] = {
29246 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29247 };
29248
8edf1c75 29249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29252 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 29253 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29254 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29255 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29256 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 29257 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29258 if (obj4) {
c32bde28 29259 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 29260 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29261 }
29262 if (obj5) {
c32bde28 29263 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 29264 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29265 }
44127b65
RD
29266 {
29267 PyThreadState* __tstate = wxPyBeginAllowThreads();
29268 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29269
29270 wxPyEndAllowThreads(__tstate);
29271 if (PyErr_Occurred()) SWIG_fail;
29272 }
29273 Py_INCREF(Py_None); resultobj = Py_None;
29274 return resultobj;
29275 fail:
29276 return NULL;
29277}
29278
29279
c32bde28 29280static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29281 PyObject *resultobj;
29282 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29283 double arg2 ;
29284 double arg3 ;
29285 int arg4 = (int) 0 ;
29286 int arg5 = (int) 0 ;
29287 PyObject * obj0 = 0 ;
8edf1c75
RD
29288 PyObject * obj1 = 0 ;
29289 PyObject * obj2 = 0 ;
29290 PyObject * obj3 = 0 ;
29291 PyObject * obj4 = 0 ;
44127b65
RD
29292 char *kwnames[] = {
29293 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29294 };
29295
8edf1c75 29296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29299 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 29300 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29301 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29302 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29303 if (obj3) {
c32bde28 29304 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 29305 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29306 }
29307 if (obj4) {
c32bde28 29308 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 29309 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29310 }
44127b65
RD
29311 {
29312 PyThreadState* __tstate = wxPyBeginAllowThreads();
29313 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29314
29315 wxPyEndAllowThreads(__tstate);
29316 if (PyErr_Occurred()) SWIG_fail;
29317 }
29318 Py_INCREF(Py_None); resultobj = Py_None;
29319 return resultobj;
29320 fail:
29321 return NULL;
29322}
29323
29324
c32bde28 29325static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29326 PyObject *resultobj;
29327 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29328 double arg2 ;
29329 double arg3 ;
29330 int arg4 = (int) 0 ;
29331 int arg5 = (int) 0 ;
29332 PyObject * obj0 = 0 ;
8edf1c75
RD
29333 PyObject * obj1 = 0 ;
29334 PyObject * obj2 = 0 ;
29335 PyObject * obj3 = 0 ;
29336 PyObject * obj4 = 0 ;
44127b65
RD
29337 char *kwnames[] = {
29338 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29339 };
29340
8edf1c75 29341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29344 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 29345 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29346 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29347 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29348 if (obj3) {
c32bde28 29349 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 29350 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29351 }
29352 if (obj4) {
c32bde28 29353 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 29354 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29355 }
44127b65
RD
29356 {
29357 PyThreadState* __tstate = wxPyBeginAllowThreads();
29358 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29359
29360 wxPyEndAllowThreads(__tstate);
29361 if (PyErr_Occurred()) SWIG_fail;
29362 }
29363 Py_INCREF(Py_None); resultobj = Py_None;
29364 return resultobj;
29365 fail:
29366 return NULL;
29367}
29368
29369
c32bde28 29370static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29371 PyObject *resultobj;
29372 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29373 wxDC *arg2 = 0 ;
29374 double arg3 ;
29375 double arg4 ;
29376 double arg5 ;
29377 double arg6 ;
29378 PyObject * obj0 = 0 ;
29379 PyObject * obj1 = 0 ;
8edf1c75
RD
29380 PyObject * obj2 = 0 ;
29381 PyObject * obj3 = 0 ;
29382 PyObject * obj4 = 0 ;
29383 PyObject * obj5 = 0 ;
44127b65
RD
29384 char *kwnames[] = {
29385 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29386 };
29387
8edf1c75 29388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29392 SWIG_POINTER_EXCEPTION | 0)) == -1)
29393 SWIG_fail;
44127b65 29394 if (arg2 == NULL) {
2f4c0a16
RD
29395 PyErr_SetString(PyExc_TypeError,"null reference");
29396 SWIG_fail;
8edf1c75 29397 }
c32bde28 29398 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29399 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29400 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 29401 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29402 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 29403 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29404 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 29405 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29406 {
29407 PyThreadState* __tstate = wxPyBeginAllowThreads();
29408 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29409
29410 wxPyEndAllowThreads(__tstate);
29411 if (PyErr_Occurred()) SWIG_fail;
29412 }
29413 Py_INCREF(Py_None); resultobj = Py_None;
29414 return resultobj;
29415 fail:
29416 return NULL;
29417}
29418
29419
c32bde28 29420static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29421 PyObject *resultobj;
29422 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29423 wxDC *arg2 = 0 ;
29424 PyObject * obj0 = 0 ;
29425 PyObject * obj1 = 0 ;
29426 char *kwnames[] = {
29427 (char *) "self",(char *) "dc", NULL
29428 };
29429
29430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29434 SWIG_POINTER_EXCEPTION | 0)) == -1)
29435 SWIG_fail;
44127b65 29436 if (arg2 == NULL) {
2f4c0a16
RD
29437 PyErr_SetString(PyExc_TypeError,"null reference");
29438 SWIG_fail;
44127b65
RD
29439 }
29440 {
29441 PyThreadState* __tstate = wxPyBeginAllowThreads();
29442 (arg1)->base_OnDrawControlPoints(*arg2);
29443
29444 wxPyEndAllowThreads(__tstate);
29445 if (PyErr_Occurred()) SWIG_fail;
29446 }
29447 Py_INCREF(Py_None); resultobj = Py_None;
29448 return resultobj;
29449 fail:
29450 return NULL;
29451}
29452
29453
c32bde28 29454static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29455 PyObject *resultobj;
29456 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29457 wxDC *arg2 = 0 ;
29458 PyObject * obj0 = 0 ;
29459 PyObject * obj1 = 0 ;
29460 char *kwnames[] = {
29461 (char *) "self",(char *) "dc", NULL
29462 };
29463
29464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29468 SWIG_POINTER_EXCEPTION | 0)) == -1)
29469 SWIG_fail;
44127b65 29470 if (arg2 == NULL) {
2f4c0a16
RD
29471 PyErr_SetString(PyExc_TypeError,"null reference");
29472 SWIG_fail;
44127b65
RD
29473 }
29474 {
29475 PyThreadState* __tstate = wxPyBeginAllowThreads();
29476 (arg1)->base_OnEraseControlPoints(*arg2);
29477
29478 wxPyEndAllowThreads(__tstate);
29479 if (PyErr_Occurred()) SWIG_fail;
29480 }
29481 Py_INCREF(Py_None); resultobj = Py_None;
29482 return resultobj;
29483 fail:
29484 return NULL;
29485}
29486
29487
c32bde28 29488static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29489 PyObject *resultobj;
29490 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29491 wxDC *arg2 = 0 ;
ae8162c8 29492 bool arg3 = (bool) true ;
44127b65
RD
29493 PyObject * obj0 = 0 ;
29494 PyObject * obj1 = 0 ;
29495 PyObject * obj2 = 0 ;
29496 char *kwnames[] = {
29497 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29498 };
29499
29500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29504 SWIG_POINTER_EXCEPTION | 0)) == -1)
29505 SWIG_fail;
44127b65 29506 if (arg2 == NULL) {
2f4c0a16
RD
29507 PyErr_SetString(PyExc_TypeError,"null reference");
29508 SWIG_fail;
44127b65
RD
29509 }
29510 if (obj2) {
c32bde28 29511 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 29512 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29513 }
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
29516 (arg1)->base_OnMoveLink(*arg2,arg3);
29517
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
29521 Py_INCREF(Py_None); resultobj = Py_None;
29522 return resultobj;
29523 fail:
29524 return NULL;
29525}
29526
29527
c32bde28 29528static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29529 PyObject *resultobj;
29530 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29531 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29532 bool arg3 ;
29533 double arg4 ;
29534 double arg5 ;
29535 int arg6 = (int) 0 ;
29536 int arg7 = (int) 0 ;
29537 PyObject * obj0 = 0 ;
29538 PyObject * obj1 = 0 ;
29539 PyObject * obj2 = 0 ;
8edf1c75
RD
29540 PyObject * obj3 = 0 ;
29541 PyObject * obj4 = 0 ;
29542 PyObject * obj5 = 0 ;
29543 PyObject * obj6 = 0 ;
44127b65
RD
29544 char *kwnames[] = {
29545 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29546 };
29547
8edf1c75 29548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
29549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29553 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 29554 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29555 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 29556 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29557 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 29558 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29559 if (obj5) {
c32bde28 29560 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 29561 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29562 }
29563 if (obj6) {
c32bde28 29564 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 29565 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29566 }
44127b65
RD
29567 {
29568 PyThreadState* __tstate = wxPyBeginAllowThreads();
29569 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
29570
29571 wxPyEndAllowThreads(__tstate);
29572 if (PyErr_Occurred()) SWIG_fail;
29573 }
29574 Py_INCREF(Py_None); resultobj = Py_None;
29575 return resultobj;
29576 fail:
29577 return NULL;
29578}
29579
29580
c32bde28 29581static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29582 PyObject *resultobj;
29583 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29584 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29585 double arg3 ;
29586 double arg4 ;
29587 int arg5 = (int) 0 ;
29588 int arg6 = (int) 0 ;
29589 PyObject * obj0 = 0 ;
29590 PyObject * obj1 = 0 ;
8edf1c75
RD
29591 PyObject * obj2 = 0 ;
29592 PyObject * obj3 = 0 ;
29593 PyObject * obj4 = 0 ;
29594 PyObject * obj5 = 0 ;
44127b65
RD
29595 char *kwnames[] = {
29596 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29597 };
29598
8edf1c75 29599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29604 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29605 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29606 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 29607 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29608 if (obj4) {
c32bde28 29609 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 29610 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29611 }
29612 if (obj5) {
c32bde28 29613 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 29614 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29615 }
44127b65
RD
29616 {
29617 PyThreadState* __tstate = wxPyBeginAllowThreads();
29618 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
29619
29620 wxPyEndAllowThreads(__tstate);
29621 if (PyErr_Occurred()) SWIG_fail;
29622 }
29623 Py_INCREF(Py_None); resultobj = Py_None;
29624 return resultobj;
29625 fail:
29626 return NULL;
29627}
29628
29629
c32bde28 29630static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29631 PyObject *resultobj;
29632 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29633 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29634 double arg3 ;
29635 double arg4 ;
29636 int arg5 = (int) 0 ;
29637 int arg6 = (int) 0 ;
29638 PyObject * obj0 = 0 ;
29639 PyObject * obj1 = 0 ;
8edf1c75
RD
29640 PyObject * obj2 = 0 ;
29641 PyObject * obj3 = 0 ;
29642 PyObject * obj4 = 0 ;
29643 PyObject * obj5 = 0 ;
44127b65
RD
29644 char *kwnames[] = {
29645 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29646 };
29647
8edf1c75 29648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29653 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29654 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29655 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 29656 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29657 if (obj4) {
c32bde28 29658 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 29659 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29660 }
29661 if (obj5) {
c32bde28 29662 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 29663 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29664 }
44127b65
RD
29665 {
29666 PyThreadState* __tstate = wxPyBeginAllowThreads();
29667 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
29668
29669 wxPyEndAllowThreads(__tstate);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 }
29672 Py_INCREF(Py_None); resultobj = Py_None;
29673 return resultobj;
29674 fail:
29675 return NULL;
29676}
29677
29678
c32bde28 29679static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29680 PyObject *resultobj;
29681 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29682 double arg2 ;
29683 double arg3 ;
29684 PyObject * obj0 = 0 ;
8edf1c75
RD
29685 PyObject * obj1 = 0 ;
29686 PyObject * obj2 = 0 ;
44127b65
RD
29687 char *kwnames[] = {
29688 (char *) "self",(char *) "w",(char *) "h", NULL
29689 };
29690
8edf1c75 29691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29694 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 29695 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29696 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29697 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29698 {
29699 PyThreadState* __tstate = wxPyBeginAllowThreads();
29700 (arg1)->base_OnBeginSize(arg2,arg3);
29701
29702 wxPyEndAllowThreads(__tstate);
29703 if (PyErr_Occurred()) SWIG_fail;
29704 }
29705 Py_INCREF(Py_None); resultobj = Py_None;
29706 return resultobj;
29707 fail:
29708 return NULL;
29709}
29710
29711
c32bde28 29712static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29713 PyObject *resultobj;
29714 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29715 double arg2 ;
29716 double arg3 ;
29717 PyObject * obj0 = 0 ;
8edf1c75
RD
29718 PyObject * obj1 = 0 ;
29719 PyObject * obj2 = 0 ;
44127b65
RD
29720 char *kwnames[] = {
29721 (char *) "self",(char *) "w",(char *) "h", NULL
29722 };
29723
8edf1c75 29724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29727 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 29728 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29729 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 29730 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29731 {
29732 PyThreadState* __tstate = wxPyBeginAllowThreads();
29733 (arg1)->base_OnEndSize(arg2,arg3);
29734
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 Py_INCREF(Py_None); resultobj = Py_None;
29739 return resultobj;
29740 fail:
29741 return NULL;
29742}
29743
29744
c32bde28 29745static PyObject * PyPolygonShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
29746 PyObject *obj;
29747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29748 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
29749 Py_INCREF(obj);
29750 return Py_BuildValue((char *)"");
29751}
c32bde28 29752static PyObject *_wrap_new_PyTextShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29753 PyObject *resultobj;
29754 double arg1 = (double) 0.0 ;
29755 double arg2 = (double) 0.0 ;
29756 wxPyTextShape *result;
8edf1c75
RD
29757 PyObject * obj0 = 0 ;
29758 PyObject * obj1 = 0 ;
44127b65
RD
29759 char *kwnames[] = {
29760 (char *) "width",(char *) "height", NULL
29761 };
29762
8edf1c75
RD
29763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
29764 if (obj0) {
c32bde28 29765 arg1 = (double)SWIG_As_double(obj0);
2f4c0a16 29766 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29767 }
29768 if (obj1) {
c32bde28 29769 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 29770 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29771 }
44127b65
RD
29772 {
29773 PyThreadState* __tstate = wxPyBeginAllowThreads();
29774 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
29775
29776 wxPyEndAllowThreads(__tstate);
29777 if (PyErr_Occurred()) SWIG_fail;
29778 }
2f4c0a16 29779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
44127b65
RD
29780 return resultobj;
29781 fail:
29782 return NULL;
29783}
29784
29785
c32bde28 29786static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29787 PyObject *resultobj;
29788 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29789 PyObject *arg2 = (PyObject *) 0 ;
29790 PyObject *arg3 = (PyObject *) 0 ;
29791 PyObject * obj0 = 0 ;
29792 PyObject * obj1 = 0 ;
29793 PyObject * obj2 = 0 ;
29794 char *kwnames[] = {
29795 (char *) "self",(char *) "self",(char *) "_class", NULL
29796 };
29797
29798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
29801 arg2 = obj1;
29802 arg3 = obj2;
29803 {
29804 PyThreadState* __tstate = wxPyBeginAllowThreads();
29805 (arg1)->_setCallbackInfo(arg2,arg3);
29806
29807 wxPyEndAllowThreads(__tstate);
29808 if (PyErr_Occurred()) SWIG_fail;
29809 }
29810 Py_INCREF(Py_None); resultobj = Py_None;
29811 return resultobj;
29812 fail:
29813 return NULL;
29814}
29815
29816
c32bde28 29817static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29818 PyObject *resultobj;
29819 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29820 PyObject * obj0 = 0 ;
29821 char *kwnames[] = {
29822 (char *) "self", NULL
29823 };
29824
29825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
29828 {
29829 PyThreadState* __tstate = wxPyBeginAllowThreads();
29830 (arg1)->base_OnDelete();
29831
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 Py_INCREF(Py_None); resultobj = Py_None;
29836 return resultobj;
29837 fail:
29838 return NULL;
29839}
29840
29841
c32bde28 29842static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29843 PyObject *resultobj;
29844 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29845 wxDC *arg2 = 0 ;
29846 PyObject * obj0 = 0 ;
29847 PyObject * obj1 = 0 ;
29848 char *kwnames[] = {
29849 (char *) "self",(char *) "dc", NULL
29850 };
29851
29852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29856 SWIG_POINTER_EXCEPTION | 0)) == -1)
29857 SWIG_fail;
44127b65 29858 if (arg2 == NULL) {
2f4c0a16
RD
29859 PyErr_SetString(PyExc_TypeError,"null reference");
29860 SWIG_fail;
44127b65
RD
29861 }
29862 {
29863 PyThreadState* __tstate = wxPyBeginAllowThreads();
29864 (arg1)->base_OnDraw(*arg2);
29865
29866 wxPyEndAllowThreads(__tstate);
29867 if (PyErr_Occurred()) SWIG_fail;
29868 }
29869 Py_INCREF(Py_None); resultobj = Py_None;
29870 return resultobj;
29871 fail:
29872 return NULL;
29873}
29874
29875
c32bde28 29876static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29877 PyObject *resultobj;
29878 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29879 wxDC *arg2 = 0 ;
29880 PyObject * obj0 = 0 ;
29881 PyObject * obj1 = 0 ;
29882 char *kwnames[] = {
29883 (char *) "self",(char *) "dc", NULL
29884 };
29885
29886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29890 SWIG_POINTER_EXCEPTION | 0)) == -1)
29891 SWIG_fail;
44127b65 29892 if (arg2 == NULL) {
2f4c0a16
RD
29893 PyErr_SetString(PyExc_TypeError,"null reference");
29894 SWIG_fail;
44127b65
RD
29895 }
29896 {
29897 PyThreadState* __tstate = wxPyBeginAllowThreads();
29898 (arg1)->base_OnDrawContents(*arg2);
29899
29900 wxPyEndAllowThreads(__tstate);
29901 if (PyErr_Occurred()) SWIG_fail;
29902 }
29903 Py_INCREF(Py_None); resultobj = Py_None;
29904 return resultobj;
29905 fail:
29906 return NULL;
29907}
29908
29909
c32bde28 29910static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29911 PyObject *resultobj;
29912 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29913 wxDC *arg2 = 0 ;
29914 bool arg3 = (bool) FALSE ;
29915 PyObject * obj0 = 0 ;
29916 PyObject * obj1 = 0 ;
29917 PyObject * obj2 = 0 ;
29918 char *kwnames[] = {
29919 (char *) "self",(char *) "dc",(char *) "erase", NULL
29920 };
29921
29922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29926 SWIG_POINTER_EXCEPTION | 0)) == -1)
29927 SWIG_fail;
44127b65 29928 if (arg2 == NULL) {
2f4c0a16
RD
29929 PyErr_SetString(PyExc_TypeError,"null reference");
29930 SWIG_fail;
44127b65
RD
29931 }
29932 if (obj2) {
c32bde28 29933 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 29934 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29935 }
29936 {
29937 PyThreadState* __tstate = wxPyBeginAllowThreads();
29938 (arg1)->base_OnDrawBranches(*arg2,arg3);
29939
29940 wxPyEndAllowThreads(__tstate);
29941 if (PyErr_Occurred()) SWIG_fail;
29942 }
29943 Py_INCREF(Py_None); resultobj = Py_None;
29944 return resultobj;
29945 fail:
29946 return NULL;
29947}
29948
29949
c32bde28 29950static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29951 PyObject *resultobj;
29952 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29953 wxDC *arg2 = 0 ;
29954 PyObject * obj0 = 0 ;
29955 PyObject * obj1 = 0 ;
29956 char *kwnames[] = {
29957 (char *) "self",(char *) "dc", NULL
29958 };
29959
29960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29964 SWIG_POINTER_EXCEPTION | 0)) == -1)
29965 SWIG_fail;
44127b65 29966 if (arg2 == NULL) {
2f4c0a16
RD
29967 PyErr_SetString(PyExc_TypeError,"null reference");
29968 SWIG_fail;
44127b65
RD
29969 }
29970 {
29971 PyThreadState* __tstate = wxPyBeginAllowThreads();
29972 (arg1)->base_OnMoveLinks(*arg2);
29973
29974 wxPyEndAllowThreads(__tstate);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 }
29977 Py_INCREF(Py_None); resultobj = Py_None;
29978 return resultobj;
29979 fail:
29980 return NULL;
29981}
29982
29983
c32bde28 29984static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29985 PyObject *resultobj;
29986 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29987 wxDC *arg2 = 0 ;
29988 PyObject * obj0 = 0 ;
29989 PyObject * obj1 = 0 ;
29990 char *kwnames[] = {
29991 (char *) "self",(char *) "dc", NULL
29992 };
29993
29994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29998 SWIG_POINTER_EXCEPTION | 0)) == -1)
29999 SWIG_fail;
44127b65 30000 if (arg2 == NULL) {
2f4c0a16
RD
30001 PyErr_SetString(PyExc_TypeError,"null reference");
30002 SWIG_fail;
44127b65
RD
30003 }
30004 {
30005 PyThreadState* __tstate = wxPyBeginAllowThreads();
30006 (arg1)->base_OnErase(*arg2);
30007
30008 wxPyEndAllowThreads(__tstate);
30009 if (PyErr_Occurred()) SWIG_fail;
30010 }
30011 Py_INCREF(Py_None); resultobj = Py_None;
30012 return resultobj;
30013 fail:
30014 return NULL;
30015}
30016
30017
c32bde28 30018static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30019 PyObject *resultobj;
30020 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30021 wxDC *arg2 = 0 ;
30022 PyObject * obj0 = 0 ;
30023 PyObject * obj1 = 0 ;
30024 char *kwnames[] = {
30025 (char *) "self",(char *) "dc", NULL
30026 };
30027
30028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30032 SWIG_POINTER_EXCEPTION | 0)) == -1)
30033 SWIG_fail;
44127b65 30034 if (arg2 == NULL) {
2f4c0a16
RD
30035 PyErr_SetString(PyExc_TypeError,"null reference");
30036 SWIG_fail;
44127b65
RD
30037 }
30038 {
30039 PyThreadState* __tstate = wxPyBeginAllowThreads();
30040 (arg1)->base_OnEraseContents(*arg2);
30041
30042 wxPyEndAllowThreads(__tstate);
30043 if (PyErr_Occurred()) SWIG_fail;
30044 }
30045 Py_INCREF(Py_None); resultobj = Py_None;
30046 return resultobj;
30047 fail:
30048 return NULL;
30049}
30050
30051
c32bde28 30052static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30053 PyObject *resultobj;
30054 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30055 wxDC *arg2 = 0 ;
30056 PyObject * obj0 = 0 ;
30057 PyObject * obj1 = 0 ;
30058 char *kwnames[] = {
30059 (char *) "self",(char *) "dc", NULL
30060 };
30061
30062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30066 SWIG_POINTER_EXCEPTION | 0)) == -1)
30067 SWIG_fail;
44127b65 30068 if (arg2 == NULL) {
2f4c0a16
RD
30069 PyErr_SetString(PyExc_TypeError,"null reference");
30070 SWIG_fail;
44127b65
RD
30071 }
30072 {
30073 PyThreadState* __tstate = wxPyBeginAllowThreads();
30074 (arg1)->base_OnHighlight(*arg2);
30075
30076 wxPyEndAllowThreads(__tstate);
30077 if (PyErr_Occurred()) SWIG_fail;
30078 }
30079 Py_INCREF(Py_None); resultobj = Py_None;
30080 return resultobj;
30081 fail:
30082 return NULL;
30083}
30084
30085
c32bde28 30086static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30087 PyObject *resultobj;
30088 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30089 double arg2 ;
30090 double arg3 ;
30091 int arg4 = (int) 0 ;
30092 int arg5 = (int) 0 ;
30093 PyObject * obj0 = 0 ;
8edf1c75
RD
30094 PyObject * obj1 = 0 ;
30095 PyObject * obj2 = 0 ;
30096 PyObject * obj3 = 0 ;
30097 PyObject * obj4 = 0 ;
44127b65
RD
30098 char *kwnames[] = {
30099 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30100 };
30101
8edf1c75 30102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30105 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30106 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30107 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30108 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30109 if (obj3) {
c32bde28 30110 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 30111 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30112 }
30113 if (obj4) {
c32bde28 30114 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30115 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30116 }
44127b65
RD
30117 {
30118 PyThreadState* __tstate = wxPyBeginAllowThreads();
30119 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
30120
30121 wxPyEndAllowThreads(__tstate);
30122 if (PyErr_Occurred()) SWIG_fail;
30123 }
30124 Py_INCREF(Py_None); resultobj = Py_None;
30125 return resultobj;
30126 fail:
30127 return NULL;
30128}
30129
30130
c32bde28 30131static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30132 PyObject *resultobj;
30133 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30134 double arg2 ;
30135 double arg3 ;
30136 int arg4 = (int) 0 ;
30137 int arg5 = (int) 0 ;
30138 PyObject * obj0 = 0 ;
8edf1c75
RD
30139 PyObject * obj1 = 0 ;
30140 PyObject * obj2 = 0 ;
30141 PyObject * obj3 = 0 ;
30142 PyObject * obj4 = 0 ;
44127b65
RD
30143 char *kwnames[] = {
30144 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30145 };
30146
8edf1c75 30147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30150 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30151 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30152 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30153 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30154 if (obj3) {
c32bde28 30155 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 30156 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30157 }
30158 if (obj4) {
c32bde28 30159 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30160 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30161 }
44127b65
RD
30162 {
30163 PyThreadState* __tstate = wxPyBeginAllowThreads();
30164 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30165
30166 wxPyEndAllowThreads(__tstate);
30167 if (PyErr_Occurred()) SWIG_fail;
30168 }
30169 Py_INCREF(Py_None); resultobj = Py_None;
30170 return resultobj;
30171 fail:
30172 return NULL;
30173}
30174
30175
c32bde28 30176static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30177 PyObject *resultobj;
30178 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30179 double arg2 ;
30180 double arg3 ;
30181 int arg4 = (int) 0 ;
30182 int arg5 = (int) 0 ;
30183 PyObject * obj0 = 0 ;
8edf1c75
RD
30184 PyObject * obj1 = 0 ;
30185 PyObject * obj2 = 0 ;
30186 PyObject * obj3 = 0 ;
30187 PyObject * obj4 = 0 ;
44127b65
RD
30188 char *kwnames[] = {
30189 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30190 };
30191
8edf1c75 30192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30195 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30196 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30197 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30198 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30199 if (obj3) {
c32bde28 30200 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 30201 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30202 }
30203 if (obj4) {
c32bde28 30204 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30205 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30206 }
44127b65
RD
30207 {
30208 PyThreadState* __tstate = wxPyBeginAllowThreads();
30209 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30210
30211 wxPyEndAllowThreads(__tstate);
30212 if (PyErr_Occurred()) SWIG_fail;
30213 }
30214 Py_INCREF(Py_None); resultobj = Py_None;
30215 return resultobj;
30216 fail:
30217 return NULL;
30218}
30219
30220
c32bde28 30221static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30222 PyObject *resultobj;
30223 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30224 double arg2 ;
30225 double arg3 ;
30226 PyObject * obj0 = 0 ;
8edf1c75
RD
30227 PyObject * obj1 = 0 ;
30228 PyObject * obj2 = 0 ;
44127b65
RD
30229 char *kwnames[] = {
30230 (char *) "self",(char *) "x",(char *) "y", NULL
30231 };
30232
8edf1c75 30233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30236 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30237 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30238 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30239 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30240 {
30241 PyThreadState* __tstate = wxPyBeginAllowThreads();
30242 (arg1)->base_OnSize(arg2,arg3);
30243
30244 wxPyEndAllowThreads(__tstate);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 }
30247 Py_INCREF(Py_None); resultobj = Py_None;
30248 return resultobj;
30249 fail:
30250 return NULL;
30251}
30252
30253
c32bde28 30254static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30255 PyObject *resultobj;
30256 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30257 wxDC *arg2 = 0 ;
30258 double arg3 ;
30259 double arg4 ;
30260 double arg5 ;
30261 double arg6 ;
ae8162c8 30262 bool arg7 = (bool) true ;
44127b65
RD
30263 bool result;
30264 PyObject * obj0 = 0 ;
30265 PyObject * obj1 = 0 ;
8edf1c75
RD
30266 PyObject * obj2 = 0 ;
30267 PyObject * obj3 = 0 ;
30268 PyObject * obj4 = 0 ;
30269 PyObject * obj5 = 0 ;
44127b65
RD
30270 PyObject * obj6 = 0 ;
30271 char *kwnames[] = {
30272 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30273 };
30274
8edf1c75 30275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30279 SWIG_POINTER_EXCEPTION | 0)) == -1)
30280 SWIG_fail;
44127b65 30281 if (arg2 == NULL) {
2f4c0a16
RD
30282 PyErr_SetString(PyExc_TypeError,"null reference");
30283 SWIG_fail;
30284 }
c32bde28 30285 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30286 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30287 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 30288 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30289 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 30290 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30291 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 30292 if (PyErr_Occurred()) SWIG_fail;
44127b65 30293 if (obj6) {
c32bde28 30294 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 30295 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30296 }
30297 {
30298 PyThreadState* __tstate = wxPyBeginAllowThreads();
30299 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30300
30301 wxPyEndAllowThreads(__tstate);
30302 if (PyErr_Occurred()) SWIG_fail;
30303 }
4f89f6a3
RD
30304 {
30305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30306 }
44127b65
RD
30307 return resultobj;
30308 fail:
30309 return NULL;
30310}
30311
30312
c32bde28 30313static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30314 PyObject *resultobj;
30315 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30316 wxDC *arg2 = 0 ;
30317 double arg3 ;
30318 double arg4 ;
30319 double arg5 ;
30320 double arg6 ;
ae8162c8 30321 bool arg7 = (bool) true ;
44127b65
RD
30322 PyObject * obj0 = 0 ;
30323 PyObject * obj1 = 0 ;
8edf1c75
RD
30324 PyObject * obj2 = 0 ;
30325 PyObject * obj3 = 0 ;
30326 PyObject * obj4 = 0 ;
30327 PyObject * obj5 = 0 ;
44127b65
RD
30328 PyObject * obj6 = 0 ;
30329 char *kwnames[] = {
30330 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30331 };
30332
8edf1c75 30333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30336 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30337 SWIG_POINTER_EXCEPTION | 0)) == -1)
30338 SWIG_fail;
44127b65 30339 if (arg2 == NULL) {
2f4c0a16
RD
30340 PyErr_SetString(PyExc_TypeError,"null reference");
30341 SWIG_fail;
30342 }
c32bde28 30343 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30344 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30345 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 30346 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30347 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 30348 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30349 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 30350 if (PyErr_Occurred()) SWIG_fail;
44127b65 30351 if (obj6) {
c32bde28 30352 arg7 = (bool)SWIG_As_bool(obj6);
2f4c0a16 30353 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30354 }
30355 {
30356 PyThreadState* __tstate = wxPyBeginAllowThreads();
30357 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30358
30359 wxPyEndAllowThreads(__tstate);
30360 if (PyErr_Occurred()) SWIG_fail;
30361 }
30362 Py_INCREF(Py_None); resultobj = Py_None;
30363 return resultobj;
30364 fail:
30365 return NULL;
30366}
30367
30368
c32bde28 30369static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30370 PyObject *resultobj;
30371 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30372 bool arg2 ;
30373 double arg3 ;
30374 double arg4 ;
30375 int arg5 = (int) 0 ;
30376 int arg6 = (int) 0 ;
30377 PyObject * obj0 = 0 ;
30378 PyObject * obj1 = 0 ;
8edf1c75
RD
30379 PyObject * obj2 = 0 ;
30380 PyObject * obj3 = 0 ;
30381 PyObject * obj4 = 0 ;
30382 PyObject * obj5 = 0 ;
44127b65
RD
30383 char *kwnames[] = {
30384 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30385 };
30386
8edf1c75 30387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30390 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 30391 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30392 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30393 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30394 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 30395 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30396 if (obj4) {
c32bde28 30397 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30398 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30399 }
30400 if (obj5) {
c32bde28 30401 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 30402 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30403 }
44127b65
RD
30404 {
30405 PyThreadState* __tstate = wxPyBeginAllowThreads();
30406 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
30407
30408 wxPyEndAllowThreads(__tstate);
30409 if (PyErr_Occurred()) SWIG_fail;
30410 }
30411 Py_INCREF(Py_None); resultobj = Py_None;
30412 return resultobj;
30413 fail:
30414 return NULL;
30415}
30416
30417
c32bde28 30418static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30419 PyObject *resultobj;
30420 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30421 double arg2 ;
30422 double arg3 ;
30423 int arg4 = (int) 0 ;
30424 int arg5 = (int) 0 ;
30425 PyObject * obj0 = 0 ;
8edf1c75
RD
30426 PyObject * obj1 = 0 ;
30427 PyObject * obj2 = 0 ;
30428 PyObject * obj3 = 0 ;
30429 PyObject * obj4 = 0 ;
44127b65 30430 char *kwnames[] = {
2f4c0a16
RD
30431 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30432 };
30433
30434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30437 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30438 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30439 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30440 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30441 if (obj3) {
c32bde28 30442 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 30443 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30444 }
30445 if (obj4) {
c32bde28 30446 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30447 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30448 }
44127b65
RD
30449 {
30450 PyThreadState* __tstate = wxPyBeginAllowThreads();
30451 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
30452
30453 wxPyEndAllowThreads(__tstate);
30454 if (PyErr_Occurred()) SWIG_fail;
30455 }
30456 Py_INCREF(Py_None); resultobj = Py_None;
30457 return resultobj;
30458 fail:
30459 return NULL;
30460}
30461
30462
c32bde28 30463static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30464 PyObject *resultobj;
30465 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30466 double arg2 ;
30467 double arg3 ;
30468 int arg4 = (int) 0 ;
30469 int arg5 = (int) 0 ;
30470 PyObject * obj0 = 0 ;
8edf1c75
RD
30471 PyObject * obj1 = 0 ;
30472 PyObject * obj2 = 0 ;
30473 PyObject * obj3 = 0 ;
30474 PyObject * obj4 = 0 ;
44127b65
RD
30475 char *kwnames[] = {
30476 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30477 };
30478
8edf1c75 30479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30482 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30483 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30484 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30485 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30486 if (obj3) {
c32bde28 30487 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 30488 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30489 }
30490 if (obj4) {
c32bde28 30491 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30492 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30493 }
44127b65
RD
30494 {
30495 PyThreadState* __tstate = wxPyBeginAllowThreads();
30496 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
30497
30498 wxPyEndAllowThreads(__tstate);
30499 if (PyErr_Occurred()) SWIG_fail;
30500 }
30501 Py_INCREF(Py_None); resultobj = Py_None;
30502 return resultobj;
30503 fail:
30504 return NULL;
30505}
30506
30507
c32bde28 30508static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30509 PyObject *resultobj;
30510 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30511 bool arg2 ;
30512 double arg3 ;
30513 double arg4 ;
30514 int arg5 = (int) 0 ;
30515 int arg6 = (int) 0 ;
30516 PyObject * obj0 = 0 ;
30517 PyObject * obj1 = 0 ;
8edf1c75
RD
30518 PyObject * obj2 = 0 ;
30519 PyObject * obj3 = 0 ;
30520 PyObject * obj4 = 0 ;
30521 PyObject * obj5 = 0 ;
44127b65
RD
30522 char *kwnames[] = {
30523 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30524 };
30525
8edf1c75 30526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30529 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 30530 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30531 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30532 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30533 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 30534 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30535 if (obj4) {
c32bde28 30536 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30537 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30538 }
30539 if (obj5) {
c32bde28 30540 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 30541 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30542 }
44127b65
RD
30543 {
30544 PyThreadState* __tstate = wxPyBeginAllowThreads();
30545 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
30546
30547 wxPyEndAllowThreads(__tstate);
30548 if (PyErr_Occurred()) SWIG_fail;
30549 }
30550 Py_INCREF(Py_None); resultobj = Py_None;
30551 return resultobj;
30552 fail:
30553 return NULL;
30554}
30555
30556
c32bde28 30557static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30558 PyObject *resultobj;
30559 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30560 double arg2 ;
30561 double arg3 ;
30562 int arg4 = (int) 0 ;
30563 int arg5 = (int) 0 ;
30564 PyObject * obj0 = 0 ;
8edf1c75
RD
30565 PyObject * obj1 = 0 ;
30566 PyObject * obj2 = 0 ;
30567 PyObject * obj3 = 0 ;
30568 PyObject * obj4 = 0 ;
44127b65
RD
30569 char *kwnames[] = {
30570 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30571 };
30572
8edf1c75 30573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30576 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30577 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30578 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30579 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30580 if (obj3) {
c32bde28 30581 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 30582 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30583 }
30584 if (obj4) {
c32bde28 30585 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30586 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30587 }
44127b65
RD
30588 {
30589 PyThreadState* __tstate = wxPyBeginAllowThreads();
30590 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
30591
30592 wxPyEndAllowThreads(__tstate);
30593 if (PyErr_Occurred()) SWIG_fail;
30594 }
30595 Py_INCREF(Py_None); resultobj = Py_None;
30596 return resultobj;
30597 fail:
30598 return NULL;
30599}
30600
30601
c32bde28 30602static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30603 PyObject *resultobj;
30604 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30605 double arg2 ;
30606 double arg3 ;
30607 int arg4 = (int) 0 ;
30608 int arg5 = (int) 0 ;
30609 PyObject * obj0 = 0 ;
8edf1c75
RD
30610 PyObject * obj1 = 0 ;
30611 PyObject * obj2 = 0 ;
30612 PyObject * obj3 = 0 ;
30613 PyObject * obj4 = 0 ;
44127b65
RD
30614 char *kwnames[] = {
30615 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30616 };
30617
8edf1c75 30618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30621 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30622 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30623 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30624 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30625 if (obj3) {
c32bde28 30626 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 30627 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30628 }
30629 if (obj4) {
c32bde28 30630 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30631 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30632 }
44127b65
RD
30633 {
30634 PyThreadState* __tstate = wxPyBeginAllowThreads();
30635 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
30636
30637 wxPyEndAllowThreads(__tstate);
30638 if (PyErr_Occurred()) SWIG_fail;
30639 }
30640 Py_INCREF(Py_None); resultobj = Py_None;
30641 return resultobj;
30642 fail:
30643 return NULL;
30644}
30645
30646
c32bde28 30647static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30648 PyObject *resultobj;
30649 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30650 wxDC *arg2 = 0 ;
30651 double arg3 ;
30652 double arg4 ;
30653 double arg5 ;
30654 double arg6 ;
30655 PyObject * obj0 = 0 ;
30656 PyObject * obj1 = 0 ;
8edf1c75
RD
30657 PyObject * obj2 = 0 ;
30658 PyObject * obj3 = 0 ;
30659 PyObject * obj4 = 0 ;
30660 PyObject * obj5 = 0 ;
44127b65
RD
30661 char *kwnames[] = {
30662 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30663 };
30664
8edf1c75 30665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30669 SWIG_POINTER_EXCEPTION | 0)) == -1)
30670 SWIG_fail;
44127b65 30671 if (arg2 == NULL) {
2f4c0a16
RD
30672 PyErr_SetString(PyExc_TypeError,"null reference");
30673 SWIG_fail;
8edf1c75 30674 }
c32bde28 30675 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30676 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30677 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 30678 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30679 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 30680 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30681 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 30682 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30683 {
30684 PyThreadState* __tstate = wxPyBeginAllowThreads();
30685 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
30686
30687 wxPyEndAllowThreads(__tstate);
30688 if (PyErr_Occurred()) SWIG_fail;
30689 }
30690 Py_INCREF(Py_None); resultobj = Py_None;
30691 return resultobj;
30692 fail:
30693 return NULL;
30694}
30695
30696
c32bde28 30697static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30698 PyObject *resultobj;
30699 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30700 wxDC *arg2 = 0 ;
30701 PyObject * obj0 = 0 ;
30702 PyObject * obj1 = 0 ;
30703 char *kwnames[] = {
30704 (char *) "self",(char *) "dc", NULL
30705 };
30706
30707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30711 SWIG_POINTER_EXCEPTION | 0)) == -1)
30712 SWIG_fail;
44127b65 30713 if (arg2 == NULL) {
2f4c0a16
RD
30714 PyErr_SetString(PyExc_TypeError,"null reference");
30715 SWIG_fail;
44127b65
RD
30716 }
30717 {
30718 PyThreadState* __tstate = wxPyBeginAllowThreads();
30719 (arg1)->base_OnDrawControlPoints(*arg2);
30720
30721 wxPyEndAllowThreads(__tstate);
30722 if (PyErr_Occurred()) SWIG_fail;
30723 }
30724 Py_INCREF(Py_None); resultobj = Py_None;
30725 return resultobj;
30726 fail:
30727 return NULL;
30728}
30729
30730
c32bde28 30731static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30732 PyObject *resultobj;
30733 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30734 wxDC *arg2 = 0 ;
30735 PyObject * obj0 = 0 ;
30736 PyObject * obj1 = 0 ;
30737 char *kwnames[] = {
30738 (char *) "self",(char *) "dc", NULL
30739 };
30740
30741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30745 SWIG_POINTER_EXCEPTION | 0)) == -1)
30746 SWIG_fail;
44127b65 30747 if (arg2 == NULL) {
2f4c0a16
RD
30748 PyErr_SetString(PyExc_TypeError,"null reference");
30749 SWIG_fail;
44127b65
RD
30750 }
30751 {
30752 PyThreadState* __tstate = wxPyBeginAllowThreads();
30753 (arg1)->base_OnEraseControlPoints(*arg2);
30754
30755 wxPyEndAllowThreads(__tstate);
30756 if (PyErr_Occurred()) SWIG_fail;
30757 }
30758 Py_INCREF(Py_None); resultobj = Py_None;
30759 return resultobj;
30760 fail:
30761 return NULL;
30762}
30763
30764
c32bde28 30765static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30766 PyObject *resultobj;
30767 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30768 wxDC *arg2 = 0 ;
ae8162c8 30769 bool arg3 = (bool) true ;
44127b65
RD
30770 PyObject * obj0 = 0 ;
30771 PyObject * obj1 = 0 ;
30772 PyObject * obj2 = 0 ;
30773 char *kwnames[] = {
30774 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30775 };
30776
30777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30781 SWIG_POINTER_EXCEPTION | 0)) == -1)
30782 SWIG_fail;
44127b65 30783 if (arg2 == NULL) {
2f4c0a16
RD
30784 PyErr_SetString(PyExc_TypeError,"null reference");
30785 SWIG_fail;
44127b65
RD
30786 }
30787 if (obj2) {
c32bde28 30788 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 30789 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30790 }
30791 {
30792 PyThreadState* __tstate = wxPyBeginAllowThreads();
30793 (arg1)->base_OnMoveLink(*arg2,arg3);
30794
30795 wxPyEndAllowThreads(__tstate);
30796 if (PyErr_Occurred()) SWIG_fail;
30797 }
30798 Py_INCREF(Py_None); resultobj = Py_None;
30799 return resultobj;
30800 fail:
30801 return NULL;
30802}
30803
30804
c32bde28 30805static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30806 PyObject *resultobj;
30807 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30808 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30809 bool arg3 ;
30810 double arg4 ;
30811 double arg5 ;
30812 int arg6 = (int) 0 ;
30813 int arg7 = (int) 0 ;
30814 PyObject * obj0 = 0 ;
30815 PyObject * obj1 = 0 ;
30816 PyObject * obj2 = 0 ;
8edf1c75
RD
30817 PyObject * obj3 = 0 ;
30818 PyObject * obj4 = 0 ;
30819 PyObject * obj5 = 0 ;
30820 PyObject * obj6 = 0 ;
44127b65
RD
30821 char *kwnames[] = {
30822 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30823 };
30824
8edf1c75 30825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30830 arg3 = (bool)SWIG_As_bool(obj2);
2f4c0a16 30831 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30832 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 30833 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30834 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 30835 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30836 if (obj5) {
c32bde28 30837 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 30838 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30839 }
30840 if (obj6) {
c32bde28 30841 arg7 = (int)SWIG_As_int(obj6);
2f4c0a16 30842 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30843 }
44127b65
RD
30844 {
30845 PyThreadState* __tstate = wxPyBeginAllowThreads();
30846 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30847
30848 wxPyEndAllowThreads(__tstate);
30849 if (PyErr_Occurred()) SWIG_fail;
30850 }
30851 Py_INCREF(Py_None); resultobj = Py_None;
30852 return resultobj;
30853 fail:
30854 return NULL;
30855}
30856
30857
c32bde28 30858static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30859 PyObject *resultobj;
30860 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30861 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30862 double arg3 ;
30863 double arg4 ;
30864 int arg5 = (int) 0 ;
30865 int arg6 = (int) 0 ;
30866 PyObject * obj0 = 0 ;
30867 PyObject * obj1 = 0 ;
8edf1c75
RD
30868 PyObject * obj2 = 0 ;
30869 PyObject * obj3 = 0 ;
30870 PyObject * obj4 = 0 ;
30871 PyObject * obj5 = 0 ;
44127b65
RD
30872 char *kwnames[] = {
30873 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30874 };
30875
8edf1c75 30876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30881 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30882 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30883 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 30884 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30885 if (obj4) {
c32bde28 30886 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30887 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30888 }
30889 if (obj5) {
c32bde28 30890 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 30891 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30892 }
44127b65
RD
30893 {
30894 PyThreadState* __tstate = wxPyBeginAllowThreads();
30895 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30896
30897 wxPyEndAllowThreads(__tstate);
30898 if (PyErr_Occurred()) SWIG_fail;
30899 }
30900 Py_INCREF(Py_None); resultobj = Py_None;
30901 return resultobj;
30902 fail:
30903 return NULL;
30904}
30905
30906
c32bde28 30907static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30908 PyObject *resultobj;
30909 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30910 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30911 double arg3 ;
30912 double arg4 ;
30913 int arg5 = (int) 0 ;
30914 int arg6 = (int) 0 ;
30915 PyObject * obj0 = 0 ;
30916 PyObject * obj1 = 0 ;
8edf1c75
RD
30917 PyObject * obj2 = 0 ;
30918 PyObject * obj3 = 0 ;
30919 PyObject * obj4 = 0 ;
30920 PyObject * obj5 = 0 ;
44127b65
RD
30921 char *kwnames[] = {
30922 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30923 };
30924
8edf1c75 30925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30930 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30931 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30932 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 30933 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30934 if (obj4) {
c32bde28 30935 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 30936 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30937 }
30938 if (obj5) {
c32bde28 30939 arg6 = (int)SWIG_As_int(obj5);
2f4c0a16 30940 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30941 }
44127b65
RD
30942 {
30943 PyThreadState* __tstate = wxPyBeginAllowThreads();
30944 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30945
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 Py_INCREF(Py_None); resultobj = Py_None;
30950 return resultobj;
30951 fail:
30952 return NULL;
30953}
30954
30955
c32bde28 30956static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30957 PyObject *resultobj;
30958 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30959 double arg2 ;
30960 double arg3 ;
30961 PyObject * obj0 = 0 ;
8edf1c75
RD
30962 PyObject * obj1 = 0 ;
30963 PyObject * obj2 = 0 ;
44127b65
RD
30964 char *kwnames[] = {
30965 (char *) "self",(char *) "w",(char *) "h", NULL
30966 };
30967
8edf1c75 30968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30971 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 30972 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30973 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 30974 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30975 {
30976 PyThreadState* __tstate = wxPyBeginAllowThreads();
30977 (arg1)->base_OnBeginSize(arg2,arg3);
30978
30979 wxPyEndAllowThreads(__tstate);
30980 if (PyErr_Occurred()) SWIG_fail;
30981 }
30982 Py_INCREF(Py_None); resultobj = Py_None;
30983 return resultobj;
30984 fail:
30985 return NULL;
30986}
30987
30988
c32bde28 30989static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30990 PyObject *resultobj;
30991 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30992 double arg2 ;
30993 double arg3 ;
30994 PyObject * obj0 = 0 ;
8edf1c75
RD
30995 PyObject * obj1 = 0 ;
30996 PyObject * obj2 = 0 ;
44127b65
RD
30997 char *kwnames[] = {
30998 (char *) "self",(char *) "w",(char *) "h", NULL
30999 };
31000
8edf1c75 31001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
31003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31004 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 31005 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31006 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 31007 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31008 {
31009 PyThreadState* __tstate = wxPyBeginAllowThreads();
31010 (arg1)->base_OnEndSize(arg2,arg3);
31011
31012 wxPyEndAllowThreads(__tstate);
31013 if (PyErr_Occurred()) SWIG_fail;
31014 }
31015 Py_INCREF(Py_None); resultobj = Py_None;
31016 return resultobj;
31017 fail:
31018 return NULL;
31019}
31020
31021
c32bde28 31022static PyObject * PyTextShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
31023 PyObject *obj;
31024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31025 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
31026 Py_INCREF(obj);
31027 return Py_BuildValue((char *)"");
31028}
c32bde28 31029static PyObject *_wrap_new_Diagram(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31030 PyObject *resultobj;
31031 wxDiagram *result;
31032 char *kwnames[] = {
31033 NULL
31034 };
31035
31036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
31037 {
31038 PyThreadState* __tstate = wxPyBeginAllowThreads();
31039 result = (wxDiagram *)new wxDiagram();
31040
31041 wxPyEndAllowThreads(__tstate);
31042 if (PyErr_Occurred()) SWIG_fail;
31043 }
31044 {
412d302d 31045 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
31046 }
31047 return resultobj;
31048 fail:
31049 return NULL;
31050}
31051
31052
c32bde28 31053static PyObject *_wrap_Diagram_AddShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31054 PyObject *resultobj;
31055 wxDiagram *arg1 = (wxDiagram *) 0 ;
31056 wxPyShape *arg2 = (wxPyShape *) 0 ;
31057 wxPyShape *arg3 = (wxPyShape *) NULL ;
31058 PyObject * obj0 = 0 ;
31059 PyObject * obj1 = 0 ;
31060 PyObject * obj2 = 0 ;
31061 char *kwnames[] = {
31062 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31063 };
31064
31065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 31070 if (obj2) {
2f4c0a16
RD
31071 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31073 }
31074 {
31075 PyThreadState* __tstate = wxPyBeginAllowThreads();
31076 (arg1)->AddShape(arg2,arg3);
31077
31078 wxPyEndAllowThreads(__tstate);
31079 if (PyErr_Occurred()) SWIG_fail;
31080 }
31081 Py_INCREF(Py_None); resultobj = Py_None;
31082 return resultobj;
31083 fail:
31084 return NULL;
31085}
31086
31087
c32bde28 31088static PyObject *_wrap_Diagram_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31089 PyObject *resultobj;
31090 wxDiagram *arg1 = (wxDiagram *) 0 ;
31091 wxDC *arg2 = 0 ;
31092 PyObject * obj0 = 0 ;
31093 PyObject * obj1 = 0 ;
31094 char *kwnames[] = {
31095 (char *) "self",(char *) "dc", NULL
31096 };
31097
31098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31102 SWIG_POINTER_EXCEPTION | 0)) == -1)
31103 SWIG_fail;
44127b65 31104 if (arg2 == NULL) {
2f4c0a16
RD
31105 PyErr_SetString(PyExc_TypeError,"null reference");
31106 SWIG_fail;
44127b65
RD
31107 }
31108 {
31109 PyThreadState* __tstate = wxPyBeginAllowThreads();
31110 (arg1)->Clear(*arg2);
31111
31112 wxPyEndAllowThreads(__tstate);
31113 if (PyErr_Occurred()) SWIG_fail;
31114 }
31115 Py_INCREF(Py_None); resultobj = Py_None;
31116 return resultobj;
31117 fail:
31118 return NULL;
31119}
31120
31121
c32bde28 31122static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31123 PyObject *resultobj;
31124 wxDiagram *arg1 = (wxDiagram *) 0 ;
31125 PyObject * obj0 = 0 ;
31126 char *kwnames[] = {
31127 (char *) "self", NULL
31128 };
31129
31130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31133 {
31134 PyThreadState* __tstate = wxPyBeginAllowThreads();
31135 (arg1)->DeleteAllShapes();
31136
31137 wxPyEndAllowThreads(__tstate);
31138 if (PyErr_Occurred()) SWIG_fail;
31139 }
31140 Py_INCREF(Py_None); resultobj = Py_None;
31141 return resultobj;
31142 fail:
31143 return NULL;
31144}
31145
31146
c32bde28 31147static PyObject *_wrap_Diagram_DrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31148 PyObject *resultobj;
31149 wxDiagram *arg1 = (wxDiagram *) 0 ;
31150 wxDC *arg2 = 0 ;
31151 double arg3 ;
31152 double arg4 ;
31153 double arg5 ;
31154 double arg6 ;
31155 PyObject * obj0 = 0 ;
31156 PyObject * obj1 = 0 ;
8edf1c75
RD
31157 PyObject * obj2 = 0 ;
31158 PyObject * obj3 = 0 ;
31159 PyObject * obj4 = 0 ;
31160 PyObject * obj5 = 0 ;
44127b65
RD
31161 char *kwnames[] = {
31162 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31163 };
31164
8edf1c75 31165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
31166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31169 SWIG_POINTER_EXCEPTION | 0)) == -1)
31170 SWIG_fail;
44127b65 31171 if (arg2 == NULL) {
2f4c0a16
RD
31172 PyErr_SetString(PyExc_TypeError,"null reference");
31173 SWIG_fail;
8edf1c75 31174 }
c32bde28 31175 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 31176 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31177 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 31178 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31179 arg5 = (double)SWIG_As_double(obj4);
2f4c0a16 31180 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31181 arg6 = (double)SWIG_As_double(obj5);
2f4c0a16 31182 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31183 {
31184 PyThreadState* __tstate = wxPyBeginAllowThreads();
31185 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
31186
31187 wxPyEndAllowThreads(__tstate);
31188 if (PyErr_Occurred()) SWIG_fail;
31189 }
31190 Py_INCREF(Py_None); resultobj = Py_None;
31191 return resultobj;
31192 fail:
31193 return NULL;
31194}
31195
31196
c32bde28 31197static PyObject *_wrap_Diagram_FindShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31198 PyObject *resultobj;
31199 wxDiagram *arg1 = (wxDiagram *) 0 ;
31200 long arg2 ;
31201 wxPyShape *result;
31202 PyObject * obj0 = 0 ;
8edf1c75 31203 PyObject * obj1 = 0 ;
44127b65
RD
31204 char *kwnames[] = {
31205 (char *) "self",(char *) "id", NULL
31206 };
31207
8edf1c75 31208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31211 arg2 = (long)SWIG_As_long(obj1);
2f4c0a16 31212 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31213 {
31214 PyThreadState* __tstate = wxPyBeginAllowThreads();
31215 result = (wxPyShape *)(arg1)->FindShape(arg2);
31216
31217 wxPyEndAllowThreads(__tstate);
31218 if (PyErr_Occurred()) SWIG_fail;
31219 }
31220 {
412d302d 31221 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
31222 }
31223 return resultobj;
31224 fail:
31225 return NULL;
31226}
31227
31228
c32bde28 31229static PyObject *_wrap_Diagram_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31230 PyObject *resultobj;
31231 wxDiagram *arg1 = (wxDiagram *) 0 ;
31232 wxPyShapeCanvas *result;
31233 PyObject * obj0 = 0 ;
31234 char *kwnames[] = {
31235 (char *) "self", NULL
31236 };
31237
31238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31241 {
31242 PyThreadState* __tstate = wxPyBeginAllowThreads();
31243 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
31244
31245 wxPyEndAllowThreads(__tstate);
31246 if (PyErr_Occurred()) SWIG_fail;
31247 }
31248 {
412d302d 31249 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
31250 }
31251 return resultobj;
31252 fail:
31253 return NULL;
31254}
31255
31256
c32bde28 31257static PyObject *_wrap_Diagram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31258 PyObject *resultobj;
31259 wxDiagram *arg1 = (wxDiagram *) 0 ;
31260 int result;
31261 PyObject * obj0 = 0 ;
31262 char *kwnames[] = {
31263 (char *) "self", NULL
31264 };
31265
31266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31269 {
31270 PyThreadState* __tstate = wxPyBeginAllowThreads();
31271 result = (int)(arg1)->GetCount();
31272
31273 wxPyEndAllowThreads(__tstate);
31274 if (PyErr_Occurred()) SWIG_fail;
31275 }
c32bde28 31276 resultobj = SWIG_From_int((int)result);
44127b65
RD
31277 return resultobj;
31278 fail:
31279 return NULL;
31280}
31281
31282
c32bde28 31283static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31284 PyObject *resultobj;
31285 wxDiagram *arg1 = (wxDiagram *) 0 ;
31286 double result;
31287 PyObject * obj0 = 0 ;
31288 char *kwnames[] = {
31289 (char *) "self", NULL
31290 };
31291
31292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31295 {
31296 PyThreadState* __tstate = wxPyBeginAllowThreads();
31297 result = (double)(arg1)->GetGridSpacing();
31298
31299 wxPyEndAllowThreads(__tstate);
31300 if (PyErr_Occurred()) SWIG_fail;
31301 }
c32bde28 31302 resultobj = SWIG_From_double((double)result);
44127b65
RD
31303 return resultobj;
31304 fail:
31305 return NULL;
31306}
31307
31308
c32bde28 31309static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31310 PyObject *resultobj;
31311 wxDiagram *arg1 = (wxDiagram *) 0 ;
31312 int result;
31313 PyObject * obj0 = 0 ;
31314 char *kwnames[] = {
31315 (char *) "self", NULL
31316 };
31317
31318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31321 {
31322 PyThreadState* __tstate = wxPyBeginAllowThreads();
31323 result = (int)(arg1)->GetMouseTolerance();
31324
31325 wxPyEndAllowThreads(__tstate);
31326 if (PyErr_Occurred()) SWIG_fail;
31327 }
c32bde28 31328 resultobj = SWIG_From_int((int)result);
44127b65
RD
31329 return resultobj;
31330 fail:
31331 return NULL;
31332}
31333
31334
c32bde28 31335static PyObject *_wrap_Diagram_GetShapeList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31336 PyObject *resultobj;
31337 wxDiagram *arg1 = (wxDiagram *) 0 ;
31338 PyObject *result;
31339 PyObject * obj0 = 0 ;
31340 char *kwnames[] = {
31341 (char *) "self", NULL
31342 };
31343
31344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31347 {
31348 PyThreadState* __tstate = wxPyBeginAllowThreads();
31349 result = (PyObject *)wxDiagram_GetShapeList(arg1);
31350
31351 wxPyEndAllowThreads(__tstate);
31352 if (PyErr_Occurred()) SWIG_fail;
31353 }
31354 resultobj = result;
31355 return resultobj;
31356 fail:
31357 return NULL;
31358}
31359
31360
c32bde28 31361static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31362 PyObject *resultobj;
31363 wxDiagram *arg1 = (wxDiagram *) 0 ;
31364 bool result;
31365 PyObject * obj0 = 0 ;
31366 char *kwnames[] = {
31367 (char *) "self", NULL
31368 };
31369
31370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31373 {
31374 PyThreadState* __tstate = wxPyBeginAllowThreads();
31375 result = (bool)(arg1)->GetQuickEditMode();
31376
31377 wxPyEndAllowThreads(__tstate);
31378 if (PyErr_Occurred()) SWIG_fail;
31379 }
4f89f6a3
RD
31380 {
31381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31382 }
44127b65
RD
31383 return resultobj;
31384 fail:
31385 return NULL;
31386}
31387
31388
c32bde28 31389static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31390 PyObject *resultobj;
31391 wxDiagram *arg1 = (wxDiagram *) 0 ;
31392 bool result;
31393 PyObject * obj0 = 0 ;
31394 char *kwnames[] = {
31395 (char *) "self", NULL
31396 };
31397
31398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31401 {
31402 PyThreadState* __tstate = wxPyBeginAllowThreads();
31403 result = (bool)(arg1)->GetSnapToGrid();
31404
31405 wxPyEndAllowThreads(__tstate);
31406 if (PyErr_Occurred()) SWIG_fail;
31407 }
4f89f6a3
RD
31408 {
31409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31410 }
44127b65
RD
31411 return resultobj;
31412 fail:
31413 return NULL;
31414}
31415
31416
c32bde28 31417static PyObject *_wrap_Diagram_InsertShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31418 PyObject *resultobj;
31419 wxDiagram *arg1 = (wxDiagram *) 0 ;
31420 wxPyShape *arg2 = (wxPyShape *) 0 ;
31421 PyObject * obj0 = 0 ;
31422 PyObject * obj1 = 0 ;
31423 char *kwnames[] = {
31424 (char *) "self",(char *) "shape", NULL
31425 };
31426
31427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31432 {
31433 PyThreadState* __tstate = wxPyBeginAllowThreads();
31434 (arg1)->InsertShape(arg2);
31435
31436 wxPyEndAllowThreads(__tstate);
31437 if (PyErr_Occurred()) SWIG_fail;
31438 }
31439 Py_INCREF(Py_None); resultobj = Py_None;
31440 return resultobj;
31441 fail:
31442 return NULL;
31443}
31444
31445
c32bde28 31446static PyObject *_wrap_Diagram_RecentreAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31447 PyObject *resultobj;
31448 wxDiagram *arg1 = (wxDiagram *) 0 ;
31449 wxDC *arg2 = 0 ;
31450 PyObject * obj0 = 0 ;
31451 PyObject * obj1 = 0 ;
31452 char *kwnames[] = {
31453 (char *) "self",(char *) "dc", NULL
31454 };
31455
31456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31460 SWIG_POINTER_EXCEPTION | 0)) == -1)
31461 SWIG_fail;
44127b65 31462 if (arg2 == NULL) {
2f4c0a16
RD
31463 PyErr_SetString(PyExc_TypeError,"null reference");
31464 SWIG_fail;
44127b65
RD
31465 }
31466 {
31467 PyThreadState* __tstate = wxPyBeginAllowThreads();
31468 (arg1)->RecentreAll(*arg2);
31469
31470 wxPyEndAllowThreads(__tstate);
31471 if (PyErr_Occurred()) SWIG_fail;
31472 }
31473 Py_INCREF(Py_None); resultobj = Py_None;
31474 return resultobj;
31475 fail:
31476 return NULL;
31477}
31478
31479
c32bde28 31480static PyObject *_wrap_Diagram_Redraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31481 PyObject *resultobj;
31482 wxDiagram *arg1 = (wxDiagram *) 0 ;
31483 wxDC *arg2 = 0 ;
31484 PyObject * obj0 = 0 ;
31485 PyObject * obj1 = 0 ;
31486 char *kwnames[] = {
31487 (char *) "self",(char *) "dc", NULL
31488 };
31489
31490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31494 SWIG_POINTER_EXCEPTION | 0)) == -1)
31495 SWIG_fail;
44127b65 31496 if (arg2 == NULL) {
2f4c0a16
RD
31497 PyErr_SetString(PyExc_TypeError,"null reference");
31498 SWIG_fail;
44127b65
RD
31499 }
31500 {
31501 PyThreadState* __tstate = wxPyBeginAllowThreads();
31502 (arg1)->Redraw(*arg2);
31503
31504 wxPyEndAllowThreads(__tstate);
31505 if (PyErr_Occurred()) SWIG_fail;
31506 }
31507 Py_INCREF(Py_None); resultobj = Py_None;
31508 return resultobj;
31509 fail:
31510 return NULL;
31511}
31512
31513
c32bde28 31514static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31515 PyObject *resultobj;
31516 wxDiagram *arg1 = (wxDiagram *) 0 ;
31517 PyObject * obj0 = 0 ;
31518 char *kwnames[] = {
31519 (char *) "self", NULL
31520 };
31521
31522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31525 {
31526 PyThreadState* __tstate = wxPyBeginAllowThreads();
31527 (arg1)->RemoveAllShapes();
31528
31529 wxPyEndAllowThreads(__tstate);
31530 if (PyErr_Occurred()) SWIG_fail;
31531 }
31532 Py_INCREF(Py_None); resultobj = Py_None;
31533 return resultobj;
31534 fail:
31535 return NULL;
31536}
31537
31538
c32bde28 31539static PyObject *_wrap_Diagram_RemoveShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31540 PyObject *resultobj;
31541 wxDiagram *arg1 = (wxDiagram *) 0 ;
31542 wxPyShape *arg2 = (wxPyShape *) 0 ;
31543 PyObject * obj0 = 0 ;
31544 PyObject * obj1 = 0 ;
31545 char *kwnames[] = {
31546 (char *) "self",(char *) "shape", NULL
31547 };
31548
31549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31554 {
31555 PyThreadState* __tstate = wxPyBeginAllowThreads();
31556 (arg1)->RemoveShape(arg2);
31557
31558 wxPyEndAllowThreads(__tstate);
31559 if (PyErr_Occurred()) SWIG_fail;
31560 }
31561 Py_INCREF(Py_None); resultobj = Py_None;
31562 return resultobj;
31563 fail:
31564 return NULL;
31565}
31566
31567
c32bde28 31568static PyObject *_wrap_Diagram_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31569 PyObject *resultobj;
31570 wxDiagram *arg1 = (wxDiagram *) 0 ;
31571 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
31572 PyObject * obj0 = 0 ;
31573 PyObject * obj1 = 0 ;
31574 char *kwnames[] = {
31575 (char *) "self",(char *) "canvas", NULL
31576 };
31577
31578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
31582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31583 {
31584 PyThreadState* __tstate = wxPyBeginAllowThreads();
31585 (arg1)->SetCanvas(arg2);
31586
31587 wxPyEndAllowThreads(__tstate);
31588 if (PyErr_Occurred()) SWIG_fail;
31589 }
31590 Py_INCREF(Py_None); resultobj = Py_None;
31591 return resultobj;
31592 fail:
31593 return NULL;
31594}
31595
31596
c32bde28 31597static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31598 PyObject *resultobj;
31599 wxDiagram *arg1 = (wxDiagram *) 0 ;
31600 double arg2 ;
31601 PyObject * obj0 = 0 ;
8edf1c75 31602 PyObject * obj1 = 0 ;
44127b65
RD
31603 char *kwnames[] = {
31604 (char *) "self",(char *) "spacing", NULL
31605 };
31606
8edf1c75 31607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31610 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 31611 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31612 {
31613 PyThreadState* __tstate = wxPyBeginAllowThreads();
31614 (arg1)->SetGridSpacing(arg2);
31615
31616 wxPyEndAllowThreads(__tstate);
31617 if (PyErr_Occurred()) SWIG_fail;
31618 }
31619 Py_INCREF(Py_None); resultobj = Py_None;
31620 return resultobj;
31621 fail:
31622 return NULL;
31623}
31624
31625
c32bde28 31626static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31627 PyObject *resultobj;
31628 wxDiagram *arg1 = (wxDiagram *) 0 ;
31629 int arg2 ;
31630 PyObject * obj0 = 0 ;
8edf1c75 31631 PyObject * obj1 = 0 ;
44127b65
RD
31632 char *kwnames[] = {
31633 (char *) "self",(char *) "tolerance", NULL
31634 };
31635
8edf1c75 31636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31639 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 31640 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31641 {
31642 PyThreadState* __tstate = wxPyBeginAllowThreads();
31643 (arg1)->SetMouseTolerance(arg2);
31644
31645 wxPyEndAllowThreads(__tstate);
31646 if (PyErr_Occurred()) SWIG_fail;
31647 }
31648 Py_INCREF(Py_None); resultobj = Py_None;
31649 return resultobj;
31650 fail:
31651 return NULL;
31652}
31653
31654
c32bde28 31655static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31656 PyObject *resultobj;
31657 wxDiagram *arg1 = (wxDiagram *) 0 ;
31658 bool arg2 ;
31659 PyObject * obj0 = 0 ;
31660 PyObject * obj1 = 0 ;
31661 char *kwnames[] = {
31662 (char *) "self",(char *) "mode", NULL
31663 };
31664
31665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31668 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 31669 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31670 {
31671 PyThreadState* __tstate = wxPyBeginAllowThreads();
31672 (arg1)->SetQuickEditMode(arg2);
31673
31674 wxPyEndAllowThreads(__tstate);
31675 if (PyErr_Occurred()) SWIG_fail;
31676 }
31677 Py_INCREF(Py_None); resultobj = Py_None;
31678 return resultobj;
31679 fail:
31680 return NULL;
31681}
31682
31683
c32bde28 31684static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31685 PyObject *resultobj;
31686 wxDiagram *arg1 = (wxDiagram *) 0 ;
31687 bool arg2 ;
31688 PyObject * obj0 = 0 ;
31689 PyObject * obj1 = 0 ;
31690 char *kwnames[] = {
31691 (char *) "self",(char *) "snap", NULL
31692 };
31693
31694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31697 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 31698 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31699 {
31700 PyThreadState* __tstate = wxPyBeginAllowThreads();
31701 (arg1)->SetSnapToGrid(arg2);
31702
31703 wxPyEndAllowThreads(__tstate);
31704 if (PyErr_Occurred()) SWIG_fail;
31705 }
31706 Py_INCREF(Py_None); resultobj = Py_None;
31707 return resultobj;
31708 fail:
31709 return NULL;
31710}
31711
31712
c32bde28 31713static PyObject *_wrap_Diagram_ShowAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31714 PyObject *resultobj;
31715 wxDiagram *arg1 = (wxDiagram *) 0 ;
31716 bool arg2 ;
31717 PyObject * obj0 = 0 ;
31718 PyObject * obj1 = 0 ;
31719 char *kwnames[] = {
31720 (char *) "self",(char *) "show", NULL
31721 };
31722
31723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31726 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 31727 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31728 {
31729 PyThreadState* __tstate = wxPyBeginAllowThreads();
31730 (arg1)->ShowAll(arg2);
31731
31732 wxPyEndAllowThreads(__tstate);
31733 if (PyErr_Occurred()) SWIG_fail;
31734 }
31735 Py_INCREF(Py_None); resultobj = Py_None;
31736 return resultobj;
31737 fail:
31738 return NULL;
31739}
31740
31741
c32bde28 31742static PyObject *_wrap_Diagram_Snap(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31743 PyObject *resultobj;
31744 wxDiagram *arg1 = (wxDiagram *) 0 ;
31745 double *arg2 = (double *) 0 ;
31746 double *arg3 = (double *) 0 ;
31747 double temp2 ;
c32bde28 31748 int res2 = 0 ;
44127b65 31749 double temp3 ;
c32bde28 31750 int res3 = 0 ;
44127b65
RD
31751 PyObject * obj0 = 0 ;
31752 PyObject * obj1 = 0 ;
31753 PyObject * obj2 = 0 ;
31754 char *kwnames[] = {
31755 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31756 };
31757
31758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 31761 {
c32bde28
RD
31762 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,0) != -1)) {
31763 temp2 = SWIG_As_double(obj1);
31764 if (PyErr_Occurred()) SWIG_fail;
31765 arg2 = &temp2;
31766 res2 = SWIG_NEWOBJ;
31767 }
44127b65
RD
31768 }
31769 {
c32bde28
RD
31770 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,0) != -1)) {
31771 temp3 = SWIG_As_double(obj2);
31772 if (PyErr_Occurred()) SWIG_fail;
31773 arg3 = &temp3;
31774 res3 = SWIG_NEWOBJ;
31775 }
44127b65
RD
31776 }
31777 {
31778 PyThreadState* __tstate = wxPyBeginAllowThreads();
31779 (arg1)->Snap(arg2,arg3);
31780
31781 wxPyEndAllowThreads(__tstate);
31782 if (PyErr_Occurred()) SWIG_fail;
31783 }
31784 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
31785 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
31786 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
31787 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31788 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
31789 return resultobj;
31790 fail:
31791 return NULL;
31792}
31793
31794
c32bde28 31795static PyObject * Diagram_swigregister(PyObject *, PyObject *args) {
44127b65
RD
31796 PyObject *obj;
31797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31798 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
31799 Py_INCREF(obj);
31800 return Py_BuildValue((char *)"");
31801}
c32bde28 31802static PyObject *_wrap_new_PyShapeCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31803 PyObject *resultobj;
31804 wxWindow *arg1 = (wxWindow *) NULL ;
31805 int arg2 = (int) -1 ;
31806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31808 wxSize const &arg4_defvalue = wxDefaultSize ;
31809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31810 long arg5 = (long) wxBORDER ;
31811 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
31812 wxString *arg6 = (wxString *) &arg6_defvalue ;
31813 wxPyShapeCanvas *result;
31814 wxPoint temp3 ;
31815 wxSize temp4 ;
ae8162c8 31816 bool temp6 = false ;
44127b65 31817 PyObject * obj0 = 0 ;
8edf1c75 31818 PyObject * obj1 = 0 ;
44127b65
RD
31819 PyObject * obj2 = 0 ;
31820 PyObject * obj3 = 0 ;
8edf1c75 31821 PyObject * obj4 = 0 ;
44127b65
RD
31822 PyObject * obj5 = 0 ;
31823 char *kwnames[] = {
31824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31825 };
31826
8edf1c75 31827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 31828 if (obj0) {
2f4c0a16
RD
31829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 31831 }
8edf1c75 31832 if (obj1) {
c32bde28 31833 arg2 = (int)SWIG_As_int(obj1);
2f4c0a16 31834 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31835 }
44127b65
RD
31836 if (obj2) {
31837 {
31838 arg3 = &temp3;
31839 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31840 }
31841 }
31842 if (obj3) {
31843 {
31844 arg4 = &temp4;
31845 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31846 }
31847 }
8edf1c75 31848 if (obj4) {
c32bde28 31849 arg5 = (long)SWIG_As_long(obj4);
2f4c0a16 31850 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31851 }
44127b65
RD
31852 if (obj5) {
31853 {
31854 arg6 = wxString_in_helper(obj5);
31855 if (arg6 == NULL) SWIG_fail;
ae8162c8 31856 temp6 = true;
44127b65
RD
31857 }
31858 }
31859 {
0439c23b 31860 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
31861 PyThreadState* __tstate = wxPyBeginAllowThreads();
31862 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31863
31864 wxPyEndAllowThreads(__tstate);
110da5b0 31865 if (PyErr_Occurred()) SWIG_fail;
44127b65 31866 }
b0f7404b 31867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShapeCanvas, 1);
44127b65
RD
31868 {
31869 if (temp6)
31870 delete arg6;
31871 }
31872 return resultobj;
31873 fail:
31874 {
31875 if (temp6)
31876 delete arg6;
31877 }
31878 return NULL;
31879}
31880
31881
c32bde28 31882static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31883 PyObject *resultobj;
31884 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31885 PyObject *arg2 = (PyObject *) 0 ;
31886 PyObject *arg3 = (PyObject *) 0 ;
31887 PyObject * obj0 = 0 ;
31888 PyObject * obj1 = 0 ;
31889 PyObject * obj2 = 0 ;
31890 char *kwnames[] = {
31891 (char *) "self",(char *) "self",(char *) "_class", NULL
31892 };
31893
31894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31897 arg2 = obj1;
31898 arg3 = obj2;
31899 {
31900 PyThreadState* __tstate = wxPyBeginAllowThreads();
31901 (arg1)->_setCallbackInfo(arg2,arg3);
31902
31903 wxPyEndAllowThreads(__tstate);
31904 if (PyErr_Occurred()) SWIG_fail;
31905 }
31906 Py_INCREF(Py_None); resultobj = Py_None;
31907 return resultobj;
31908 fail:
31909 return NULL;
31910}
31911
31912
c32bde28 31913static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31914 PyObject *resultobj;
31915 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31916 wxPyShape *arg2 = (wxPyShape *) 0 ;
31917 wxPyShape *arg3 = (wxPyShape *) NULL ;
31918 PyObject * obj0 = 0 ;
31919 PyObject * obj1 = 0 ;
31920 PyObject * obj2 = 0 ;
31921 char *kwnames[] = {
31922 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31923 };
31924
31925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 31930 if (obj2) {
2f4c0a16
RD
31931 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31933 }
31934 {
31935 PyThreadState* __tstate = wxPyBeginAllowThreads();
31936 (arg1)->AddShape(arg2,arg3);
31937
31938 wxPyEndAllowThreads(__tstate);
31939 if (PyErr_Occurred()) SWIG_fail;
31940 }
31941 Py_INCREF(Py_None); resultobj = Py_None;
31942 return resultobj;
31943 fail:
31944 return NULL;
31945}
31946
31947
c32bde28 31948static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31949 PyObject *resultobj;
31950 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31951 double arg2 ;
31952 double arg3 ;
31953 int *arg4 = (int *) 0 ;
31954 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
31955 wxPyShape *arg6 = (wxPyShape *) NULL ;
31956 wxPyShape *result;
31957 int temp4 ;
c32bde28 31958 int res4 = 0 ;
44127b65 31959 PyObject * obj0 = 0 ;
8edf1c75
RD
31960 PyObject * obj1 = 0 ;
31961 PyObject * obj2 = 0 ;
44127b65
RD
31962 PyObject * obj3 = 0 ;
31963 PyObject * obj4 = 0 ;
31964 char *kwnames[] = {
31965 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31966 };
31967
c32bde28 31968 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 31969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
31970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31972 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 31973 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31974 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 31975 if (PyErr_Occurred()) SWIG_fail;
44127b65 31976 if (obj3) {
2f4c0a16
RD
31977 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
31978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31979 }
31980 if (obj4) {
2f4c0a16
RD
31981 if ((SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_wxPyShape,
31982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31983 }
31984 {
31985 PyThreadState* __tstate = wxPyBeginAllowThreads();
31986 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
31987
31988 wxPyEndAllowThreads(__tstate);
31989 if (PyErr_Occurred()) SWIG_fail;
31990 }
31991 {
412d302d 31992 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65 31993 }
c32bde28
RD
31994 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31995 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
31996 return resultobj;
31997 fail:
31998 return NULL;
31999}
32000
32001
c32bde28 32002static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32003 PyObject *resultobj;
32004 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32005 double arg2 ;
32006 double arg3 ;
32007 int *arg4 = (int *) 0 ;
32008 int arg5 ;
32009 wxPyShape *result;
32010 int temp4 ;
c32bde28 32011 int res4 = 0 ;
44127b65 32012 PyObject * obj0 = 0 ;
8edf1c75
RD
32013 PyObject * obj1 = 0 ;
32014 PyObject * obj2 = 0 ;
32015 PyObject * obj3 = 0 ;
44127b65
RD
32016 char *kwnames[] = {
32017 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
32018 };
32019
c32bde28 32020 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 32021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32024 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 32025 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32026 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32027 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32028 arg5 = (int)SWIG_As_int(obj3);
2f4c0a16 32029 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
32030 {
32031 PyThreadState* __tstate = wxPyBeginAllowThreads();
32032 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
32033
32034 wxPyEndAllowThreads(__tstate);
32035 if (PyErr_Occurred()) SWIG_fail;
32036 }
32037 {
412d302d 32038 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65 32039 }
c32bde28
RD
32040 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
32041 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
32042 return resultobj;
32043 fail:
32044 return NULL;
32045}
32046
32047
c32bde28 32048static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32049 PyObject *resultobj;
32050 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32051 wxDiagram *result;
32052 PyObject * obj0 = 0 ;
32053 char *kwnames[] = {
32054 (char *) "self", NULL
32055 };
32056
32057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32060 {
32061 PyThreadState* __tstate = wxPyBeginAllowThreads();
32062 result = (wxDiagram *)(arg1)->GetDiagram();
32063
32064 wxPyEndAllowThreads(__tstate);
32065 if (PyErr_Occurred()) SWIG_fail;
32066 }
32067 {
412d302d 32068 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
32069 }
32070 return resultobj;
32071 fail:
32072 return NULL;
32073}
32074
32075
c32bde28 32076static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32077 PyObject *resultobj;
32078 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32079 bool result;
32080 PyObject * obj0 = 0 ;
32081 char *kwnames[] = {
32082 (char *) "self", NULL
32083 };
32084
32085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32088 {
32089 PyThreadState* __tstate = wxPyBeginAllowThreads();
32090 result = (bool)(arg1)->GetQuickEditMode();
32091
32092 wxPyEndAllowThreads(__tstate);
32093 if (PyErr_Occurred()) SWIG_fail;
32094 }
4f89f6a3
RD
32095 {
32096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32097 }
44127b65
RD
32098 return resultobj;
32099 fail:
32100 return NULL;
32101}
32102
32103
c32bde28 32104static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32105 PyObject *resultobj;
32106 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32107 wxPyShape *arg2 = (wxPyShape *) 0 ;
32108 PyObject * obj0 = 0 ;
32109 PyObject * obj1 = 0 ;
32110 char *kwnames[] = {
32111 (char *) "self",(char *) "shape", NULL
32112 };
32113
32114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32119 {
32120 PyThreadState* __tstate = wxPyBeginAllowThreads();
32121 (arg1)->InsertShape(arg2);
32122
32123 wxPyEndAllowThreads(__tstate);
32124 if (PyErr_Occurred()) SWIG_fail;
32125 }
32126 Py_INCREF(Py_None); resultobj = Py_None;
32127 return resultobj;
32128 fail:
32129 return NULL;
32130}
32131
32132
c32bde28 32133static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32134 PyObject *resultobj;
32135 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32136 double arg2 ;
32137 double arg3 ;
32138 int arg4 = (int) 0 ;
32139 PyObject * obj0 = 0 ;
8edf1c75
RD
32140 PyObject * obj1 = 0 ;
32141 PyObject * obj2 = 0 ;
32142 PyObject * obj3 = 0 ;
44127b65
RD
32143 char *kwnames[] = {
32144 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32145 };
32146
8edf1c75 32147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32150 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 32151 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32152 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32153 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32154 if (obj3) {
c32bde28 32155 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 32156 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32157 }
44127b65
RD
32158 {
32159 PyThreadState* __tstate = wxPyBeginAllowThreads();
32160 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
32161
32162 wxPyEndAllowThreads(__tstate);
32163 if (PyErr_Occurred()) SWIG_fail;
32164 }
32165 Py_INCREF(Py_None); resultobj = Py_None;
32166 return resultobj;
32167 fail:
32168 return NULL;
32169}
32170
32171
c32bde28 32172static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32173 PyObject *resultobj;
32174 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32175 double arg2 ;
32176 double arg3 ;
32177 int arg4 = (int) 0 ;
32178 PyObject * obj0 = 0 ;
8edf1c75
RD
32179 PyObject * obj1 = 0 ;
32180 PyObject * obj2 = 0 ;
32181 PyObject * obj3 = 0 ;
44127b65
RD
32182 char *kwnames[] = {
32183 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32184 };
32185
8edf1c75 32186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32189 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 32190 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32191 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32192 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32193 if (obj3) {
c32bde28 32194 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 32195 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32196 }
44127b65
RD
32197 {
32198 PyThreadState* __tstate = wxPyBeginAllowThreads();
32199 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
32200
32201 wxPyEndAllowThreads(__tstate);
32202 if (PyErr_Occurred()) SWIG_fail;
32203 }
32204 Py_INCREF(Py_None); resultobj = Py_None;
32205 return resultobj;
32206 fail:
32207 return NULL;
32208}
32209
32210
c32bde28 32211static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32212 PyObject *resultobj;
32213 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32214 double arg2 ;
32215 double arg3 ;
32216 int arg4 = (int) 0 ;
32217 PyObject * obj0 = 0 ;
8edf1c75
RD
32218 PyObject * obj1 = 0 ;
32219 PyObject * obj2 = 0 ;
32220 PyObject * obj3 = 0 ;
44127b65
RD
32221 char *kwnames[] = {
32222 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32223 };
32224
8edf1c75 32225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32228 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 32229 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32230 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32231 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32232 if (obj3) {
c32bde28 32233 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 32234 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32235 }
44127b65
RD
32236 {
32237 PyThreadState* __tstate = wxPyBeginAllowThreads();
32238 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
32239
32240 wxPyEndAllowThreads(__tstate);
32241 if (PyErr_Occurred()) SWIG_fail;
32242 }
32243 Py_INCREF(Py_None); resultobj = Py_None;
32244 return resultobj;
32245 fail:
32246 return NULL;
32247}
32248
32249
c32bde28 32250static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32251 PyObject *resultobj;
32252 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32253 double arg2 ;
32254 double arg3 ;
32255 int arg4 = (int) 0 ;
32256 PyObject * obj0 = 0 ;
8edf1c75
RD
32257 PyObject * obj1 = 0 ;
32258 PyObject * obj2 = 0 ;
32259 PyObject * obj3 = 0 ;
44127b65
RD
32260 char *kwnames[] = {
32261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32262 };
32263
8edf1c75 32264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32267 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 32268 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32269 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32270 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32271 if (obj3) {
c32bde28 32272 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 32273 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32274 }
44127b65
RD
32275 {
32276 PyThreadState* __tstate = wxPyBeginAllowThreads();
32277 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32278
32279 wxPyEndAllowThreads(__tstate);
32280 if (PyErr_Occurred()) SWIG_fail;
32281 }
32282 Py_INCREF(Py_None); resultobj = Py_None;
32283 return resultobj;
32284 fail:
32285 return NULL;
32286}
32287
32288
c32bde28 32289static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32290 PyObject *resultobj;
32291 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32292 bool arg2 ;
32293 double arg3 ;
32294 double arg4 ;
32295 int arg5 = (int) 0 ;
32296 PyObject * obj0 = 0 ;
32297 PyObject * obj1 = 0 ;
8edf1c75
RD
32298 PyObject * obj2 = 0 ;
32299 PyObject * obj3 = 0 ;
32300 PyObject * obj4 = 0 ;
44127b65
RD
32301 char *kwnames[] = {
32302 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32303 };
32304
8edf1c75 32305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32308 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 32309 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32310 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32311 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32312 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 32313 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32314 if (obj4) {
c32bde28 32315 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 32316 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32317 }
44127b65
RD
32318 {
32319 PyThreadState* __tstate = wxPyBeginAllowThreads();
32320 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32321
32322 wxPyEndAllowThreads(__tstate);
32323 if (PyErr_Occurred()) SWIG_fail;
32324 }
32325 Py_INCREF(Py_None); resultobj = Py_None;
32326 return resultobj;
32327 fail:
32328 return NULL;
32329}
32330
32331
c32bde28 32332static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32333 PyObject *resultobj;
32334 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32335 bool arg2 ;
32336 double arg3 ;
32337 double arg4 ;
32338 int arg5 = (int) 0 ;
32339 PyObject * obj0 = 0 ;
32340 PyObject * obj1 = 0 ;
8edf1c75
RD
32341 PyObject * obj2 = 0 ;
32342 PyObject * obj3 = 0 ;
32343 PyObject * obj4 = 0 ;
44127b65
RD
32344 char *kwnames[] = {
32345 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32346 };
32347
8edf1c75 32348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32351 arg2 = (bool)SWIG_As_bool(obj1);
2f4c0a16 32352 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32353 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32354 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32355 arg4 = (double)SWIG_As_double(obj3);
2f4c0a16 32356 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32357 if (obj4) {
c32bde28 32358 arg5 = (int)SWIG_As_int(obj4);
2f4c0a16 32359 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32360 }
44127b65
RD
32361 {
32362 PyThreadState* __tstate = wxPyBeginAllowThreads();
32363 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
32364
32365 wxPyEndAllowThreads(__tstate);
32366 if (PyErr_Occurred()) SWIG_fail;
32367 }
32368 Py_INCREF(Py_None); resultobj = Py_None;
32369 return resultobj;
32370 fail:
32371 return NULL;
32372}
32373
32374
c32bde28 32375static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32376 PyObject *resultobj;
32377 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32378 double arg2 ;
32379 double arg3 ;
32380 int arg4 = (int) 0 ;
32381 PyObject * obj0 = 0 ;
8edf1c75
RD
32382 PyObject * obj1 = 0 ;
32383 PyObject * obj2 = 0 ;
32384 PyObject * obj3 = 0 ;
44127b65
RD
32385 char *kwnames[] = {
32386 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32387 };
32388
8edf1c75 32389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32392 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 32393 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32394 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32395 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32396 if (obj3) {
c32bde28 32397 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 32398 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32399 }
44127b65
RD
32400 {
32401 PyThreadState* __tstate = wxPyBeginAllowThreads();
32402 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
32403
32404 wxPyEndAllowThreads(__tstate);
32405 if (PyErr_Occurred()) SWIG_fail;
32406 }
32407 Py_INCREF(Py_None); resultobj = Py_None;
32408 return resultobj;
32409 fail:
32410 return NULL;
32411}
32412
32413
c32bde28 32414static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32415 PyObject *resultobj;
32416 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32417 double arg2 ;
32418 double arg3 ;
32419 int arg4 = (int) 0 ;
32420 PyObject * obj0 = 0 ;
8edf1c75
RD
32421 PyObject * obj1 = 0 ;
32422 PyObject * obj2 = 0 ;
32423 PyObject * obj3 = 0 ;
44127b65
RD
32424 char *kwnames[] = {
32425 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32426 };
32427
8edf1c75 32428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32431 arg2 = (double)SWIG_As_double(obj1);
2f4c0a16 32432 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32433 arg3 = (double)SWIG_As_double(obj2);
2f4c0a16 32434 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32435 if (obj3) {
c32bde28 32436 arg4 = (int)SWIG_As_int(obj3);
2f4c0a16 32437 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32438 }
44127b65
RD
32439 {
32440 PyThreadState* __tstate = wxPyBeginAllowThreads();
32441 (arg1)->base_OnRightClick(arg2,arg3,arg4);
32442
32443 wxPyEndAllowThreads(__tstate);
32444 if (PyErr_Occurred()) SWIG_fail;
32445 }
32446 Py_INCREF(Py_None); resultobj = Py_None;
32447 return resultobj;
32448 fail:
32449 return NULL;
32450}
32451
32452
c32bde28 32453static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32454 PyObject *resultobj;
32455 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32456 wxDC *arg2 = 0 ;
32457 PyObject * obj0 = 0 ;
32458 PyObject * obj1 = 0 ;
32459 char *kwnames[] = {
32460 (char *) "self",(char *) "dc", NULL
32461 };
32462
32463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
32467 SWIG_POINTER_EXCEPTION | 0)) == -1)
32468 SWIG_fail;
44127b65 32469 if (arg2 == NULL) {
2f4c0a16
RD
32470 PyErr_SetString(PyExc_TypeError,"null reference");
32471 SWIG_fail;
44127b65
RD
32472 }
32473 {
32474 PyThreadState* __tstate = wxPyBeginAllowThreads();
32475 (arg1)->Redraw(*arg2);
32476
32477 wxPyEndAllowThreads(__tstate);
32478 if (PyErr_Occurred()) SWIG_fail;
32479 }
32480 Py_INCREF(Py_None); resultobj = Py_None;
32481 return resultobj;
32482 fail:
32483 return NULL;
32484}
32485
32486
c32bde28 32487static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32488 PyObject *resultobj;
32489 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32490 wxPyShape *arg2 = (wxPyShape *) 0 ;
32491 PyObject * obj0 = 0 ;
32492 PyObject * obj1 = 0 ;
32493 char *kwnames[] = {
32494 (char *) "self",(char *) "shape", NULL
32495 };
32496
32497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32502 {
32503 PyThreadState* __tstate = wxPyBeginAllowThreads();
32504 (arg1)->RemoveShape(arg2);
32505
32506 wxPyEndAllowThreads(__tstate);
32507 if (PyErr_Occurred()) SWIG_fail;
32508 }
32509 Py_INCREF(Py_None); resultobj = Py_None;
32510 return resultobj;
32511 fail:
32512 return NULL;
32513}
32514
32515
c32bde28 32516static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32517 PyObject *resultobj;
32518 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32519 wxDiagram *arg2 = (wxDiagram *) 0 ;
32520 PyObject * obj0 = 0 ;
32521 PyObject * obj1 = 0 ;
32522 char *kwnames[] = {
32523 (char *) "self",(char *) "diagram", NULL
32524 };
32525
32526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDiagram,
32530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32531 {
32532 PyThreadState* __tstate = wxPyBeginAllowThreads();
32533 (arg1)->SetDiagram(arg2);
32534
32535 wxPyEndAllowThreads(__tstate);
32536 if (PyErr_Occurred()) SWIG_fail;
32537 }
32538 Py_INCREF(Py_None); resultobj = Py_None;
32539 return resultobj;
32540 fail:
32541 return NULL;
32542}
32543
32544
c32bde28 32545static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32546 PyObject *resultobj;
32547 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32548 double *arg2 = (double *) 0 ;
32549 double *arg3 = (double *) 0 ;
32550 double temp2 ;
c32bde28 32551 int res2 = 0 ;
44127b65 32552 double temp3 ;
c32bde28 32553 int res3 = 0 ;
44127b65
RD
32554 PyObject * obj0 = 0 ;
32555 PyObject * obj1 = 0 ;
32556 PyObject * obj2 = 0 ;
32557 char *kwnames[] = {
32558 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32559 };
32560
32561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 32564 {
c32bde28
RD
32565 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,0) != -1)) {
32566 temp2 = SWIG_As_double(obj1);
32567 if (PyErr_Occurred()) SWIG_fail;
32568 arg2 = &temp2;
32569 res2 = SWIG_NEWOBJ;
32570 }
44127b65
RD
32571 }
32572 {
c32bde28
RD
32573 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,0) != -1)) {
32574 temp3 = SWIG_As_double(obj2);
32575 if (PyErr_Occurred()) SWIG_fail;
32576 arg3 = &temp3;
32577 res3 = SWIG_NEWOBJ;
32578 }
44127b65
RD
32579 }
32580 {
32581 PyThreadState* __tstate = wxPyBeginAllowThreads();
32582 (arg1)->Snap(arg2,arg3);
32583
32584 wxPyEndAllowThreads(__tstate);
32585 if (PyErr_Occurred()) SWIG_fail;
32586 }
32587 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32588 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32589 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
32590 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32591 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
32592 return resultobj;
32593 fail:
32594 return NULL;
32595}
32596
32597
c32bde28 32598static PyObject * PyShapeCanvas_swigregister(PyObject *, PyObject *args) {
44127b65
RD
32599 PyObject *obj;
32600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32601 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
32602 Py_INCREF(obj);
32603 return Py_BuildValue((char *)"");
32604}
c32bde28 32605static PyObject *_wrap_OGLInitialize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32606 PyObject *resultobj;
32607 char *kwnames[] = {
32608 NULL
32609 };
32610
32611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
32612 {
0439c23b 32613 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
32614 PyThreadState* __tstate = wxPyBeginAllowThreads();
32615 wxOGLInitialize();
32616
32617 wxPyEndAllowThreads(__tstate);
110da5b0 32618 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
32619 }
32620 Py_INCREF(Py_None); resultobj = Py_None;
32621 return resultobj;
32622 fail:
32623 return NULL;
32624}
32625
32626
c32bde28 32627static PyObject *_wrap_OGLCleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32628 PyObject *resultobj;
32629 char *kwnames[] = {
32630 NULL
32631 };
32632
32633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
32634 {
0439c23b 32635 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
32636 PyThreadState* __tstate = wxPyBeginAllowThreads();
32637 wxOGLCleanUp();
32638
32639 wxPyEndAllowThreads(__tstate);
110da5b0 32640 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
32641 }
32642 Py_INCREF(Py_None); resultobj = Py_None;
32643 return resultobj;
32644 fail:
32645 return NULL;
32646}
32647
32648
32649static PyMethodDef SwigMethods[] = {
c32bde28
RD
32650 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS, NULL },
32651 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
32652 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32653 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
32654 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32655 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32656 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS, NULL },
32657 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS, NULL },
32658 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
32659 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
32660 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
32661 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32662 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
32663 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
32664 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32665 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32666 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS, NULL },
32667 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
32668 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
32669 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS, NULL },
32670 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS, NULL },
32671 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS, NULL },
32672 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32673 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32674 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS, NULL },
32675 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS, NULL },
32676 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32677 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
32678 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS, NULL },
32679 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS, NULL },
32680 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32681 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS, NULL },
32682 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS, NULL },
32683 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
32684 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
32685 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
32686 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
32687 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS, NULL },
32688 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS, NULL },
32689 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32690 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32691 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
32692 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS, NULL },
32693 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
32694 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
32695 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS, NULL },
32696 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
32697 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
32698 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
32699 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
32700 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
32701 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
32702 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
32703 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
32704 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
32705 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
32706 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
32707 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
32708 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
32709 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
32710 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32711 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32712 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32713 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32714 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32715 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32716 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
32717 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32718 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32719 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
32720 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32721 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32722 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32723 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
32724 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
32725 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS, NULL },
32726 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS, NULL },
32727 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32728 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS, NULL },
32729 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS, NULL },
32730 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32731 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
32732 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
32733 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
32734 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
32735 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
32736 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
32737 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
32738 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
32739 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS, NULL },
32740 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
32741 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
32742 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS, NULL },
32743 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
32744 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS, NULL },
32745 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS, NULL },
32746 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS, NULL },
32747 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32748 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32749 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32750 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
32751 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
32752 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32753 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32754 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS, NULL },
32755 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS, NULL },
32756 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS, NULL },
32757 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
32758 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS, NULL },
32759 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS, NULL },
32760 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS, NULL },
32761 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32762 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS, NULL },
32763 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS, NULL },
32764 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS, NULL },
32765 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS, NULL },
32766 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS, NULL },
32767 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS, NULL },
32768 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS, NULL },
32769 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS, NULL },
32770 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS, NULL },
32771 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS, NULL },
32772 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
32773 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS, NULL },
32774 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS, NULL },
32775 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS, NULL },
32776 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS, NULL },
32777 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS, NULL },
32778 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32779 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS, NULL },
32780 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS, NULL },
32781 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS, NULL },
32782 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
32783 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
32784 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS, NULL },
32785 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
32786 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS, NULL },
32787 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
32788 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS, NULL },
32789 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS, NULL },
32790 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
32791 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
32792 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS, NULL },
32793 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
32794 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
32795 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32796 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS, NULL },
32797 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
32798 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
32799 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS, NULL },
32800 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS, NULL },
32801 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS, NULL },
32802 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS, NULL },
32803 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS, NULL },
32804 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
32805 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS, NULL },
32806 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS, NULL },
32807 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS, NULL },
32808 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS, NULL },
32809 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32810 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32811 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32812 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32813 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS, NULL },
32814 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS, NULL },
32815 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS, NULL },
32816 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS, NULL },
32817 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS, NULL },
32818 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS, NULL },
32819 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS, NULL },
32820 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS, NULL },
32821 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS, NULL },
32822 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS, NULL },
32823 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS, NULL },
32824 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS, NULL },
32825 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS, NULL },
32826 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS, NULL },
32827 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS, NULL },
32828 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS, NULL },
32829 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS, NULL },
32830 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS, NULL },
32831 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS, NULL },
32832 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS, NULL },
32833 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS, NULL },
32834 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS, NULL },
32835 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS, NULL },
32836 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS, NULL },
32837 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS, NULL },
32838 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32839 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32840 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
32841 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS, NULL },
32842 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS, NULL },
32843 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS, NULL },
32844 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS, NULL },
32845 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32846 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
32847 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32848 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS, NULL },
32849 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS, NULL },
32850 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS, NULL },
32851 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS, NULL },
32852 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS, NULL },
32853 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS, NULL },
32854 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
32855 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS, NULL },
32856 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
32857 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS, NULL },
32858 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS, NULL },
32859 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS, NULL },
32860 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS, NULL },
32861 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS, NULL },
32862 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS, NULL },
32863 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS, NULL },
32864 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
32865 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
32866 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
32867 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
32868 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
32869 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
32870 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
32871 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
32872 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
32873 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
32874 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
32875 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
32876 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
32877 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
32878 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32879 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32880 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32881 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32882 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32883 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32884 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
32885 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32886 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32887 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
32888 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32889 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32890 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32891 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
32892 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
32893 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS, NULL },
32894 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
32895 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
32896 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
32897 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
32898 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
32899 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS, NULL },
32900 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS, NULL },
32901 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS, NULL },
32902 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
32903 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
32904 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS, NULL },
32905 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS, NULL },
32906 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS, NULL },
32907 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS, NULL },
32908 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
32909 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS, NULL },
32910 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS, NULL },
32911 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS, NULL },
32912 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS, NULL },
32913 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS, NULL },
32914 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS, NULL },
32915 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
32916 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL },
32917 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
32918 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
32919 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL },
32920 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL },
32921 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS, NULL },
32922 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32923 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS, NULL },
32924 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL },
32925 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL },
32926 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL },
32927 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
32928 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
32929 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS, NULL },
32930 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
32931 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
32932 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
32933 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
32934 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL },
32935 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS, NULL },
32936 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS, NULL },
32937 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32938 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS, NULL },
32939 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS, NULL },
32940 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
32941 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
32942 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
32943 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
32944 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
32945 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
32946 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
32947 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
32948 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
32949 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
32950 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
32951 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
32952 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
32953 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
32954 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32955 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32956 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32957 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32958 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32959 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32960 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
32961 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32962 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32963 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
32964 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32965 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32966 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32967 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
32968 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
32969 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS, NULL },
32970 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS, NULL },
32971 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
32972 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS, NULL },
32973 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
32974 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
32975 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
32976 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
32977 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
32978 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
32979 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
32980 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
32981 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
32982 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
32983 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
32984 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
32985 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
32986 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
32987 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32988 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32989 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32990 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32991 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32992 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
32993 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
32994 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32995 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
32996 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
32997 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32998 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
32999 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33000 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33001 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33002 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS, NULL },
33003 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS, NULL },
33004 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33005 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
33006 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
33007 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
33008 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
33009 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
33010 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33011 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33012 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33013 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33014 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33015 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33016 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33017 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33018 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33019 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33020 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33021 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33022 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33023 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33024 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33025 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33026 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33027 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33028 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33029 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33030 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33031 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33032 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33033 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33034 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33035 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33036 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33037 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33038 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS, NULL },
33039 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS, NULL },
33040 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33041 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS, NULL },
33042 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
33043 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL },
33044 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS, NULL },
33045 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL },
33046 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL },
33047 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL },
33048 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL },
33049 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL },
33050 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
33051 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
33052 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL },
33053 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS, NULL },
33054 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS, NULL },
33055 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
33056 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS, NULL },
33057 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
33058 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
33059 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
33060 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
33061 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL },
33062 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS, NULL },
33063 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS, NULL },
33064 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS, NULL },
33065 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
33066 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS, NULL },
33067 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS, NULL },
33068 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS, NULL },
33069 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
33070 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33071 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33072 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33073 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33074 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33075 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33076 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33077 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33078 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33079 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33080 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33081 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33082 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33083 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33084 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33085 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33086 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33087 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33088 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33089 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33090 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33091 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33092 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33093 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33094 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33095 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33096 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33097 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33098 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS, NULL },
33099 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
33100 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS, NULL },
33101 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
33102 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS, NULL },
33103 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS, NULL },
33104 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS, NULL },
33105 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33106 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
33107 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
33108 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS, NULL },
33109 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
33110 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS, NULL },
33111 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS, NULL },
33112 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
33113 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS, NULL },
33114 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS, NULL },
33115 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
33116 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS, NULL },
33117 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS, NULL },
33118 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS, NULL },
33119 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
33120 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
33121 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33122 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33123 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33124 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33125 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33126 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33127 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33128 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33129 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33130 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33131 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33132 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33133 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33134 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33135 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33136 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33137 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33138 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33139 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33140 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33141 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33142 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33143 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33144 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33145 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33146 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33147 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33148 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33149 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS, NULL },
33150 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS, NULL },
33151 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33152 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS, NULL },
33153 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS, NULL },
33154 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
33155 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33156 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33157 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33158 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33159 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33160 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33161 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33162 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33163 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33164 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33165 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33166 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33167 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33168 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33169 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33170 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33171 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33172 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33173 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33174 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33175 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33176 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33177 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33178 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33179 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33180 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33181 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33182 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33183 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS, NULL },
33184 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS, NULL },
33185 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33186 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS, NULL },
33187 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33188 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS, NULL },
33189 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS, NULL },
33190 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS, NULL },
33191 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS, NULL },
33192 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS, NULL },
33193 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS, NULL },
33194 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS, NULL },
33195 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS, NULL },
33196 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS, NULL },
33197 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS, NULL },
33198 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS, NULL },
33199 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS, NULL },
33200 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS, NULL },
33201 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
33202 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS, NULL },
33203 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS, NULL },
33204 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS, NULL },
33205 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS, NULL },
33206 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS, NULL },
33207 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS, NULL },
33208 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS, NULL },
33209 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS, NULL },
33210 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS, NULL },
33211 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
33212 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33213 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33214 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33215 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33216 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33217 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33218 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33219 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33220 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33221 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33222 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33223 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33224 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33225 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33226 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33227 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33228 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33229 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33230 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33231 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33232 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33233 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33234 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33235 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33236 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33237 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33238 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33239 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33240 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS, NULL },
33241 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS, NULL },
33242 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33243 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33244 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33245 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33246 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33247 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33248 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33249 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33250 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33251 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33252 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33253 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33254 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33255 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33256 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33257 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33258 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33259 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33260 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33261 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33262 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33263 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33264 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33265 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33266 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33267 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33268 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33269 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33270 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33271 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS, NULL },
33272 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS, NULL },
33273 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33274 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33275 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33276 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33277 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33278 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33279 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33280 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33281 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33282 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33283 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33284 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33285 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33286 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33287 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33288 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33289 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33290 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33291 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33292 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33293 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33294 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33295 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33296 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33297 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33298 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33299 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33300 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33301 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33302 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS, NULL },
33303 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS, NULL },
33304 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS, NULL },
33305 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS, NULL },
33306 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
33307 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
33308 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL },
33309 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS, NULL },
33310 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
33311 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
33312 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
33313 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL },
33314 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS, NULL },
33315 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
33316 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
33317 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS, NULL },
33318 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS, NULL },
33319 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
33320 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
33321 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS, NULL },
33322 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS, NULL },
33323 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33324 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS, NULL },
33325 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS, NULL },
33326 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS, NULL },
33327 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS, NULL },
33328 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS, NULL },
33329 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS, NULL },
33330 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS, NULL },
33331 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS, NULL },
33332 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS, NULL },
33333 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS, NULL },
33334 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS, NULL },
33335 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS, NULL },
33336 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS, NULL },
33337 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33338 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS, NULL },
33339 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS, NULL },
33340 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS, NULL },
33341 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS, NULL },
33342 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS, NULL },
33343 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS, NULL },
33344 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS, NULL },
33345 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS, NULL },
33346 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS, NULL },
33347 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS, NULL },
33348 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS, NULL },
33349 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS, NULL },
33350 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS, NULL },
33351 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS, NULL },
33352 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33353 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33354 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction) _wrap_PyLineShape_SetLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33355 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS, NULL },
33356 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS, NULL },
33357 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS, NULL },
33358 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS, NULL },
33359 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS, NULL },
33360 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS, NULL },
33361 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS, NULL },
33362 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS, NULL },
33363 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS, NULL },
33364 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS, NULL },
33365 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
33366 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS, NULL },
33367 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
33368 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS, NULL },
33369 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS, NULL },
33370 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS, NULL },
33371 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33372 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33373 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33374 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33375 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33376 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33377 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33378 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33379 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33380 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33381 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33382 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33383 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33384 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33385 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33386 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33387 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33388 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33389 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33390 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33391 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33392 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33393 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33394 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33395 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33396 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33397 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33398 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33399 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS, NULL },
33400 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS, NULL },
33401 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33402 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS, NULL },
33403 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS, NULL },
33404 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS, NULL },
33405 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS, NULL },
33406 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33407 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33408 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS, NULL },
33409 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
33410 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS, NULL },
33411 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
33412 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33413 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33414 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33415 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33416 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33417 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33418 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33419 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33420 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33421 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33422 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33423 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33424 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33425 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33426 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33427 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33428 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33429 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33430 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33431 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33432 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33433 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33434 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33435 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33436 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33437 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33438 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33439 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33440 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33441 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS, NULL },
33442 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS, NULL },
33443 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33444 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL },
33445 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL },
33446 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL },
33447 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL },
33448 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL },
33449 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL },
33450 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL },
33451 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL },
33452 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33453 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL },
33454 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33455 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL },
33456 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL },
33457 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL },
33458 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33459 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33460 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33461 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33462 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33463 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33464 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33465 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33466 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL },
33467 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL },
33468 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33469 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33470 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33471 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL },
33472 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL },
33473 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS, NULL },
33474 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS, NULL },
33475 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS, NULL },
33476 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
33477 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS, NULL },
33478 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS, NULL },
33479 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS, NULL },
33480 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
33481 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
33482 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
33483 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS, NULL },
33484 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS, NULL },
33485 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS, NULL },
33486 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS, NULL },
33487 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS, NULL },
33488 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS, NULL },
33489 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS, NULL },
33490 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS, NULL },
33491 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS, NULL },
33492 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
33493 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
33494 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS, NULL },
33495 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS, NULL },
33496 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS, NULL },
33497 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS, NULL },
33498 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS, NULL },
33499 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS, NULL },
33500 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
33501 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
33502 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS, NULL },
33503 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS, NULL },
33504 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS, NULL },
33505 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS, NULL },
33506 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS, NULL },
33507 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS, NULL },
33508 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33509 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33510 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33511 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33512 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL },
33513 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL },
33514 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL },
33515 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL },
33516 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS, NULL },
33517 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS, NULL },
33518 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS, NULL },
33519 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS, NULL },
33520 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS, NULL },
33521 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS, NULL },
33522 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS, NULL },
33523 { NULL, NULL, 0, NULL }
44127b65
RD
33524};
33525
33526
33527/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33528
33529static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33530 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33531}
33532static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33533 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33534}
a2482628
RD
33535static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33536 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33537}
44127b65
RD
33538static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33539 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33540}
33541static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33542 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33543}
33544static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33545 return (void *)((wxPanel *) ((wxPyPanel *) x));
33546}
33547static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33548 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33549}
33550static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33551 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33552}
33553static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33554 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33555}
33556static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
33557 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33558}
a2482628
RD
33559static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33560 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33561}
44127b65
RD
33562static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33563 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33564}
33565static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
33566 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33567}
33568static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33569 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33570}
33571static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33572 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33573}
33574static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33575 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33576}
33577static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33578 return (void *)((wxWindow *) ((wxMenuBar *) x));
33579}
33580static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33581 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33582}
33583static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33584 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33585}
33586static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33587 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33588}
c1cb24a4
RD
33589static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33590 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33591}
44127b65
RD
33592static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33593 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33594}
33595static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33596 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33597}
33598static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33599 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33600}
33601static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33602 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33603}
33604static void *_p_wxPanelTo_p_wxWindow(void *x) {
33605 return (void *)((wxWindow *) ((wxPanel *) x));
33606}
33607static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33608 return (void *)((wxWindow *) ((wxStatusBar *) x));
33609}
44127b65
RD
33610static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33611 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33612}
33613static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33614 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33615}
33616static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33617 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33618}
33619static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33620 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33621}
33622static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33623 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33624}
33625static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33626 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33627}
33628static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33629 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33630}
33631static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33632 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33633}
33634static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33635 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33636}
33637static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33638 return (void *)((wxWindow *) ((wxSashWindow *) x));
33639}
c1cb24a4
RD
33640static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33641 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33642}
a2482628
RD
33643static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33644 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33645}
44127b65
RD
33646static void *_p_wxControlTo_p_wxWindow(void *x) {
33647 return (void *)((wxWindow *) ((wxControl *) x));
33648}
33649static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33650 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33651}
33652static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33653 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33654}
33655static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33656 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33657}
33658static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33659 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33660}
33661static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33662 return (void *)((wxWindow *) ((wxPyWindow *) x));
33663}
33664static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33665 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33666}
33667static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
33668 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33669}
33670static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33671 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33672}
33673static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33674 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33675}
33676static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33677 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33678}
33679static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33680 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33681}
33682static void *_p_wxFrameTo_p_wxWindow(void *x) {
33683 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33684}
33685static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33686 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33687}
33688static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33689 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33690}
33691static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33692 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33693}
33694static void *_p_wxDialogTo_p_wxWindow(void *x) {
33695 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33696}
44127b65
RD
33697static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33698 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33699}
33700static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33701 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33702}
33703static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33704 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33705}
33706static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
33707 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33708}
33709static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33711}
33712static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33714}
33715static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33716 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33717}
33718static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33719 return (void *)((wxObject *) ((wxSizerItem *) x));
33720}
33721static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33723}
33724static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33725 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33726}
33727static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
33728 return (void *)((wxObject *) ((wxOGLConstraint *) x));
33729}
33730static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33731 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33732}
33733static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33734 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33735}
33736static void *_p_wxSizerTo_p_wxObject(void *x) {
33737 return (void *)((wxObject *) ((wxSizer *) x));
33738}
33739static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
33740 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33741}
33742static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
33743 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33744}
33745static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
33746 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
33747}
33748static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33749 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33750}
33751static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33752 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33753}
33754static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
33755 return (void *)((wxObject *) ((wxArrowHead *) x));
33756}
33757static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33759}
33760static void *_p_wxEventTo_p_wxObject(void *x) {
33761 return (void *)((wxObject *) ((wxEvent *) x));
33762}
33763static void *_p_wxFontDataTo_p_wxObject(void *x) {
33764 return (void *)((wxObject *) ((wxFontData *) x));
33765}
33766static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33767 return (void *)((wxObject *) ((wxPrintData *) x));
33768}
33769static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33770 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33771}
33772static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33773 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33774}
33775static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33776 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33777}
33778static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33779 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33780}
84f85550
RD
33781static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
33782 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
33783}
33784static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33785 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33786}
33787static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33788 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33789}
33790static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33791 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33792}
33793static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33794 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33795}
33796static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33797 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33798}
33799static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33800 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33801}
33802static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33803 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33804}
33805static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33807}
33808static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
33809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33810}
33811static void *_p_wxControlTo_p_wxObject(void *x) {
33812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33813}
33814static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
33815 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
33816}
33817static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33818 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33819}
33820static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33821 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33822}
33823static void *_p_wxFSFileTo_p_wxObject(void *x) {
33824 return (void *)((wxObject *) ((wxFSFile *) x));
33825}
33826static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33827 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33828}
33829static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
33830 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33831}
33832static void *_p_wxPySizerTo_p_wxObject(void *x) {
33833 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33834}
33835static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33837}
33838static void *_p_wxColourDataTo_p_wxObject(void *x) {
33839 return (void *)((wxObject *) ((wxColourData *) x));
33840}
33841static void *_p_wxPyEventTo_p_wxObject(void *x) {
33842 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33843}
33844static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33846}
33847static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33849}
33850static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33852}
33853static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33855}
33856static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33858}
33859static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33861}
33862static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33864}
c1cb24a4
RD
33865static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
33866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33867}
44127b65
RD
33868static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33870}
33871static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33873}
33874static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33876}
33877static void *_p_wxShowEventTo_p_wxObject(void *x) {
33878 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33879}
33880static void *_p_wxPrinterTo_p_wxObject(void *x) {
33881 return (void *)((wxObject *) ((wxPrinter *) x));
33882}
33883static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33884 return (void *)((wxObject *) ((wxMenuItem *) x));
33885}
33886static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33887 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33888}
33889static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33890 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33891}
33892static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33893 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33894}
33895static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33896 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33897}
33898static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33899 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33900}
33901static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33902 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33903}
33904static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33905 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33906}
33907static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33908 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33909}
33910static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33911 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33912}
33913static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33914 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33915}
33916static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33917 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33918}
33919static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33920 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33921}
33922static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33923 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33924}
33925static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33926 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33927}
33928static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33929 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33930}
33931static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33932 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33933}
33934static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33935 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33936}
33937static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33938 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33939}
33940static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33941 return (void *)((wxObject *) ((wxImageHandler *) x));
33942}
33943static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33944 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33945}
33946static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33947 return (void *)((wxObject *) ((wxEvtHandler *) x));
33948}
33949static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33950 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33951}
33952static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
33953 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
33954}
33955static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33957}
33958static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33960}
33961static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
33962 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33963}
33964static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33965 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33966}
33967static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
33968 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33969}
33970static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33972}
33973static void *_p_wxImageTo_p_wxObject(void *x) {
33974 return (void *)((wxObject *) ((wxImage *) x));
33975}
33976static void *_p_wxFrameTo_p_wxObject(void *x) {
33977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33978}
33979static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33980 return (void *)((wxObject *) ((wxPyPrintout *) x));
33981}
33982static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33983 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33984}
33985static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33986 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33987}
33988static void *_p_wxDiagramTo_p_wxObject(void *x) {
33989 return (void *)((wxObject *) ((wxDiagram *) x));
33990}
33991static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33993}
33994static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33996}
33997static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33998 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33999}
34000static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
34001 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
34002}
34003static void *_p_wxKeyEventTo_p_wxObject(void *x) {
34004 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
34005}
44127b65
RD
34006static void *_p_wxWindowTo_p_wxObject(void *x) {
34007 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
34008}
34009static void *_p_wxMenuTo_p_wxObject(void *x) {
34010 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
34011}
34012static void *_p_wxMenuBarTo_p_wxObject(void *x) {
34013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
34014}
41f1cec7
RD
34015static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
34016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34017}
44127b65
RD
34018static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
34019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
34020}
34021static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
34022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
34023}
34024static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
34025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
34026}
34027static void *_p_wxSashWindowTo_p_wxObject(void *x) {
34028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
34029}
34030static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
34031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34032}
34033static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
34034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
34035}
34036static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
34037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34038}
34039static void *_p_wxTipWindowTo_p_wxObject(void *x) {
34040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34041}
34042static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
34043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34044}
34045static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
34046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
34047}
a2482628
RD
34048static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
34049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34050}
44127b65
RD
34051static void *_p_wxSashEventTo_p_wxObject(void *x) {
34052 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
34053}
34054static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
34055 return (void *)((wxObject *) ((wxPrintPreview *) x));
34056}
34057static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
34058 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
34059}
34060static void *_p_wxPanelTo_p_wxObject(void *x) {
34061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
34062}
34063static void *_p_wxDialogTo_p_wxObject(void *x) {
34064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34065}
34066static void *_p_wxColourDialogTo_p_wxObject(void *x) {
34067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34068}
34069static void *_p_wxDirDialogTo_p_wxObject(void *x) {
34070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34071}
34072static void *_p_wxFontDialogTo_p_wxObject(void *x) {
34073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34074}
34075static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 34076 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
44127b65
RD
34077}
34078static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 34079 return (void *)((wxObject *) ((wxPrintDialog *) x));
44127b65 34080}
7a0a63ae
RD
34081static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
34082 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
34083}
44127b65
RD
34084static void *_p_wxPyShapeTo_p_wxObject(void *x) {
34085 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
34086}
34087static void *_p_wxFileSystemTo_p_wxObject(void *x) {
34088 return (void *)((wxObject *) ((wxFileSystem *) x));
34089}
34090static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
34091 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
34092}
34093static void *_p_wxMenuEventTo_p_wxObject(void *x) {
34094 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
34095}
34096static void *_p_wxPyAppTo_p_wxObject(void *x) {
34097 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
34098}
34099static void *_p_wxCloseEventTo_p_wxObject(void *x) {
34100 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
34101}
34102static void *_p_wxMouseEventTo_p_wxObject(void *x) {
34103 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
34104}
34105static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34106 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34107}
34108static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34110}
34111static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34112 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34113}
34114static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
34115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34116}
34117static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
34118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34119}
34120static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34121 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34122}
34123static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34124 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34125}
34126static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34127 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34128}
34129static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
34130 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
34131}
34132static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
34133 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34134}
34135static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
34136 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34137}
34138static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
34139 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
34140}
34141static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
34142 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
34143}
34144static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34146}
34147static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
34148 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
34149}
34150static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
34151 return (void *)((wxObject *) ((wxPrintDialogData *) x));
34152}
34153static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34154 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34155}
34156static void *_p_wxValidatorTo_p_wxObject(void *x) {
34157 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34158}
34159static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
34160 return (void *)((wxObject *) ((wxShapeRegion *) x));
34161}
34162static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34163 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
34164}
34165static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
34166 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34167}
34168static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
34169 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34170}
34171static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34172 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34173}
34174static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
34175 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
34176}
34177static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
34178 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34179}
34180static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
34181 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34182}
34183static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
34184 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34185}
34186static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
34187 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34188}
34189static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
34190 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
34191}
34192static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
34193 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34194}
34195static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
34196 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
34197}
34198static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
34199 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
34200}
34201static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34203}
34204static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34206}
34207static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34208 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34209}
34210static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34211 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34212}
34213static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34214 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34215}
34216static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34217 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34218}
34219static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34220 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34221}
c1cb24a4
RD
34222static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
34223 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34224}
44127b65
RD
34225static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34226 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34227}
34228static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34229 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34230}
34231static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34232 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34233}
34234static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34235 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34236}
34237static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34239}
34240static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34241 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34242}
34243static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34245}
34246static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34247 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34248}
34249static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34250 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34251}
34252static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34253 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34254}
34255static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34256 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34257}
34258static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34259 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34260}
34261static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34262 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34263}
34264static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34265 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34266}
34267static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34268 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34269}
34270static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34271 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34272}
34273static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34274 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34275}
34276static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34277 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34278}
34279static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34280 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34281}
34282static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34283 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34284}
34285static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34286 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34287}
a2482628
RD
34288static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
34289 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34290}
44127b65
RD
34291static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34292 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34293}
34294static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34295 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34296}
34297static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34298 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34299}
34300static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34301 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34302}
34303static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34304 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34305}
34306static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34307 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34308}
34309static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34310 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34311}
34312static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34313 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34314}
34315static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34316 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34317}
34318static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34319 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34320}
34321static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34322 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34323}
34324static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34325 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34326}
34327static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34328 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34329}
84f85550
RD
34330static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
34331 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
34332}
34333static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34334 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34335}
44127b65
RD
34336static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34337 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34338}
34339static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34340 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34341}
34342static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34343 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34344}
c1cb24a4
RD
34345static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34346 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34347}
44127b65
RD
34348static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34349 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34350}
34351static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
34352 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
34353}
34354static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
34355 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
34356}
34357static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
34358 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34359}
34360static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
34361 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34362}
34363static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
34364 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
34365}
34366static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
34367 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
34368}
34369static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
34370 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
34371}
34372static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
34373 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
34374}
34375static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
34376 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34377}
34378static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
34379 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34380}
34381static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
34382 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
34383}
34384static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
34385 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
34386}
34387static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
34388 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
34389}
34390static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
34391 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34392}
34393static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
34394 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34395}
34396static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
34397 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
34398}
34399static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
34400 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
34401}
34402static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
34403 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34404}
34405static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
34406 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34407}
34408static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
34409 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
34410}
34411static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
34412 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34413}
2f4c0a16
RD
34414static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0, 0, 0, 0},{"_p_wxOGLConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34415static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34416static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34417static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0, 0, 0, 0},{"_p_wxShapeRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34418static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34419static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34420static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0, 0, 0, 0},{"_p_wxPyControlPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34421static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0, 0, 0, 0},{"_p_wxArrowHead", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34422static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34423static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0, 0, 0, 0},{"_p_wxStringList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 34424static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
34425static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34426static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0, 0, 0, 0},{"_p_wxList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34427static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 34428static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 34429static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
34430static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34431static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0, 0, 0, 0},{"_p_wxPyDivisionShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34432static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0, 0, 0, 0},{"_p_wxPyDrawnShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34433static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0, 0, 0, 0},{"_p_wxPyPolygonShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34434static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 34435static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
34436static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0, 0, 0, 0},{"_p_wxPyBitmapShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34437static swig_type_info _swigt__p_wxPyShapeEvtHandler[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 34438static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
34439static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34440static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0, 0, 0, 0},{"_p_wxPyShapeCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34441static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34442static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0, 0, 0, 0},{"_p_wxDiagram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34443static swig_type_info _swigt__p_wxPyShape[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34444static swig_type_info _swigt__p_wxAttachmentPoint[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0, 0, 0, 0},{"_p_wxAttachmentPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34445static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0, 0, 0, 0},{"_p_wxClassInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34446static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0, 0, 0, 0},{"_p_wxPyLineShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34447static swig_type_info _swigt__p_wxPyRectangleShape[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34448static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0, 0, 0, 0},{"_p_wxPyCompositeShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34449static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34450static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34451static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34452static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0, 0, 0, 0},{"_p_wxPseudoMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34453static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0, 0, 0, 0},{"_p_wxPyTextShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34454static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0, 0, 0, 0},{"_p_wxPyDividedShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
44127b65
RD
34455
34456static swig_type_info *swig_types_initial[] = {
34457_swigt__p_wxOGLConstraint,
34458_swigt__p_wxBrush,
34459_swigt__p_wxColour,
34460_swigt__p_wxShapeRegion,
34461_swigt__p_wxDC,
34462_swigt__p_wxRealPoint,
34463_swigt__p_wxPyControlPoint,
34464_swigt__p_wxArrowHead,
8edf1c75 34465_swigt__p_char,
44127b65
RD
34466_swigt__p_wxStringList,
34467_swigt__p_wxPanel,
34468_swigt__p_bool,
34469_swigt__p_wxList,
34470_swigt__p_wxFont,
34471_swigt__p_wxScrolledWindow,
34472_swigt__p_wxWindow,
34473_swigt__p_double,
8edf1c75 34474_swigt__p_wxPyDivisionShape,
4e760a36 34475_swigt__p_wxPyDrawnShape,
44127b65
RD
34476_swigt__p_wxPyPolygonShape,
34477_swigt__p_wxBitmap,
34478_swigt__p_wxObject,
34479_swigt__p_wxPyBitmapShape,
44127b65
RD
34480_swigt__p_wxPyShapeEvtHandler,
34481_swigt__p_wxEvtHandler,
34482_swigt__p_wxPyEllipseShape,
34483_swigt__p_wxPyShapeCanvas,
34484_swigt__p_wxPoint,
34485_swigt__p_wxDiagram,
34486_swigt__p_wxPyShape,
7a0a63ae 34487_swigt__p_wxAttachmentPoint,
44127b65
RD
34488_swigt__p_wxClassInfo,
34489_swigt__p_wxPyLineShape,
34490_swigt__p_wxPyRectangleShape,
34491_swigt__p_wxPyCompositeShape,
34492_swigt__p_wxPyCircleShape,
34493_swigt__p_wxPen,
34494_swigt__p_int,
34495_swigt__p_wxPseudoMetaFile,
34496_swigt__p_wxPyTextShape,
34497_swigt__p_wxPyDividedShape,
344980
34499};
34500
34501
34502/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34503
34504static swig_const_info swig_const_table[] = {
c32bde28 34505{0, 0, 0, 0.0, 0, 0}};
44127b65
RD
34506
34507#ifdef __cplusplus
34508}
34509#endif
34510
34511#ifdef __cplusplus
34512extern "C"
34513#endif
34514SWIGEXPORT(void) SWIG_init(void) {
34515 static PyObject *SWIG_globals = 0;
34516 static int typeinit = 0;
34517 PyObject *m, *d;
34518 int i;
34519 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34520 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34521 d = PyModule_GetDict(m);
34522
34523 if (!typeinit) {
34524 for (i = 0; swig_types_initial[i]; i++) {
34525 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34526 }
34527 typeinit = 1;
34528 }
34529 SWIG_InstallConstants(d,swig_const_table);
34530
c32bde28
RD
34531 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_From_int((int)oglMETAFLAGS_OUTLINE));
34532 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_From_int((int)oglMETAFLAGS_ATTACHMENTS));
34533 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_From_int((int)KEY_SHIFT));
34534 PyDict_SetItemString(d,"KEY_CTRL", SWIG_From_int((int)KEY_CTRL));
34535 PyDict_SetItemString(d,"ARROW_NONE", SWIG_From_int((int)ARROW_NONE));
34536 PyDict_SetItemString(d,"ARROW_END", SWIG_From_int((int)ARROW_END));
34537 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_From_int((int)ARROW_BOTH));
34538 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_From_int((int)ARROW_MIDDLE));
34539 PyDict_SetItemString(d,"ARROW_START", SWIG_From_int((int)ARROW_START));
34540 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_From_int((int)ARROW_HOLLOW_CIRCLE));
34541 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_From_int((int)ARROW_FILLED_CIRCLE));
34542 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_From_int((int)ARROW_ARROW));
34543 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_From_int((int)ARROW_SINGLE_OBLIQUE));
34544 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_From_int((int)ARROW_DOUBLE_OBLIQUE));
34545 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_From_int((int)ARROW_METAFILE));
34546 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_From_int((int)ARROW_POSITION_END));
34547 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_From_int((int)ARROW_POSITION_START));
34548 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_From_int((int)CONTROL_POINT_VERTICAL));
34549 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_From_int((int)CONTROL_POINT_HORIZONTAL));
34550 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_From_int((int)CONTROL_POINT_DIAGONAL));
34551 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_From_int((int)CONTROL_POINT_ENDPOINT_TO));
34552 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_From_int((int)CONTROL_POINT_ENDPOINT_FROM));
34553 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_From_int((int)CONTROL_POINT_LINE));
34554 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_From_int((int)FORMAT_NONE));
34555 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_From_int((int)FORMAT_CENTRE_HORIZ));
34556 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_From_int((int)FORMAT_CENTRE_VERT));
34557 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_From_int((int)FORMAT_SIZE_TO_CONTENTS));
34558 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_From_int((int)LINE_ALIGNMENT_HORIZ));
34559 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_From_int((int)LINE_ALIGNMENT_VERT));
34560 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_From_int((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
34561 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_From_int((int)LINE_ALIGNMENT_NONE));
34562 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_From_int((int)SHADOW_NONE));
34563 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_From_int((int)SHADOW_LEFT));
34564 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_From_int((int)SHADOW_RIGHT));
34565 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_From_int((int)OP_CLICK_LEFT));
34566 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_From_int((int)OP_CLICK_RIGHT));
34567 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_From_int((int)OP_DRAG_LEFT));
34568 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_From_int((int)OP_DRAG_RIGHT));
34569 PyDict_SetItemString(d,"OP_ALL", SWIG_From_int((int)OP_ALL));
34570 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_From_int((int)ATTACHMENT_MODE_NONE));
34571 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_From_int((int)ATTACHMENT_MODE_EDGE));
34572 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_From_int((int)ATTACHMENT_MODE_BRANCHING));
34573 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_From_int((int)BRANCHING_ATTACHMENT_NORMAL));
34574 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_From_int((int)BRANCHING_ATTACHMENT_BLOB));
34575 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_From_int((int)gyCONSTRAINT_CENTRED_VERTICALLY));
34576 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_From_int((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
34577 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_From_int((int)gyCONSTRAINT_CENTRED_BOTH));
34578 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_From_int((int)gyCONSTRAINT_LEFT_OF));
34579 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_From_int((int)gyCONSTRAINT_RIGHT_OF));
34580 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_From_int((int)gyCONSTRAINT_ABOVE));
34581 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_From_int((int)gyCONSTRAINT_BELOW));
34582 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_TOP));
34583 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_BOTTOM));
34584 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_LEFT));
34585 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_RIGHT));
34586 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_TOP));
34587 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
34588 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_LEFT));
34589 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
34590 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_From_int((int)DIVISION_SIDE_NONE));
34591 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_From_int((int)DIVISION_SIDE_LEFT));
34592 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_From_int((int)DIVISION_SIDE_TOP));
34593 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_From_int((int)DIVISION_SIDE_RIGHT));
34594 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_From_int((int)DIVISION_SIDE_BOTTOM));
44127b65
RD
34595
34596
34597 // initoglbasicc();
34598 // initoglshapesc();
34599 // initoglshapes2c();
34600 // initoglcanvasc();
34601
34602
34603 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34604 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34605 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34606 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34607 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34608 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34609 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34610 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34611 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34612 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34613 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34614 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34615 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34616 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
34617
34618
34619}
34620