]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/mac/ogl_wrap.cpp
fixed case typo
[wxWidgets.git] / wxPython / contrib / ogl / mac / ogl_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
2dbef272 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
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
44127b65
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
44127b65 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
44127b65
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
44127b65 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
44127b65
RD
91#endif
92
44127b65
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
44127b65
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
44127b65
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
44127b65
RD
120
121
122#ifdef __cplusplus
123}
44127b65
RD
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
44127b65
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
44127b65
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 173
44127b65
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
44127b65
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
44127b65 187
0f774bef
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
44127b65 196
44127b65
RD
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
44127b65
RD
202#ifdef __cplusplus
203}
204#endif
205
206
44127b65
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxOGLConstraint swig_types[0]
210#define SWIGTYPE_p_wxBrush swig_types[1]
211#define SWIGTYPE_p_wxColour swig_types[2]
212#define SWIGTYPE_p_wxShapeRegion swig_types[3]
213#define SWIGTYPE_p_wxDC swig_types[4]
214#define SWIGTYPE_p_wxRealPoint swig_types[5]
215#define SWIGTYPE_p_wxPyControlPoint swig_types[6]
216#define SWIGTYPE_p_wxArrowHead swig_types[7]
8edf1c75
RD
217#define SWIGTYPE_p_char swig_types[8]
218#define SWIGTYPE_p_wxStringList swig_types[9]
219#define SWIGTYPE_p_wxPanel swig_types[10]
220#define SWIGTYPE_p_bool swig_types[11]
221#define SWIGTYPE_p_wxList swig_types[12]
222#define SWIGTYPE_p_wxFont swig_types[13]
223#define SWIGTYPE_p_wxScrolledWindow swig_types[14]
224#define SWIGTYPE_p_wxWindow swig_types[15]
225#define SWIGTYPE_p_double swig_types[16]
02a34c4c
RD
226#define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
227#define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
8edf1c75
RD
228#define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
229#define SWIGTYPE_p_wxBitmap swig_types[20]
230#define SWIGTYPE_p_wxObject swig_types[21]
231#define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
02a34c4c
RD
232#define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
233#define SWIGTYPE_p_wxEvtHandler swig_types[24]
234#define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
235#define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
236#define SWIGTYPE_p_wxPoint swig_types[27]
237#define SWIGTYPE_p_wxDiagram swig_types[28]
238#define SWIGTYPE_p_wxPyShape swig_types[29]
239#define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
240#define SWIGTYPE_p_wxClassInfo swig_types[31]
241#define SWIGTYPE_p_wxPyLineShape swig_types[32]
242#define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
243#define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
244#define SWIGTYPE_p_wxPyCircleShape swig_types[35]
245#define SWIGTYPE_p_wxPen swig_types[36]
246#define SWIGTYPE_p_int swig_types[37]
247#define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
248#define SWIGTYPE_p_wxPyTextShape swig_types[39]
249#define SWIGTYPE_p_wxPyDividedShape swig_types[40]
250static swig_type_info *swig_types[42];
44127b65
RD
251
252/* -------- TYPES TABLE (END) -------- */
253
254
255/*-----------------------------------------------
256 @(target):= _ogl.so
257 ------------------------------------------------*/
258#define SWIG_init init_ogl
259
260#define SWIG_name "_ogl"
261
2f4c0a16 262/* Auxiliar swig macros */
8edf1c75 263
8edf1c75 264#ifdef __cplusplus
2f4c0a16 265#define SWIGSTATICINLINE(a) static inline a
8edf1c75 266#define SWIGSTATIC(a) static a
2f4c0a16
RD
267#define swig_new_array(type, size) (new type[(size)])
268#define swig_delete_array(cptr) delete[] cptr
269#define swig_const_cast(type,a) const_cast<type>(a)
270#define swig_static_cast(type,a) static_cast<type>(a)
271#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 272
8edf1c75 273#ifdef HAVE_NUMERIC_CAST
2f4c0a16 274#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 275#else
2f4c0a16 276#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
277#endif
278
2f4c0a16
RD
279#else /* C case */
280
281#define SWIGSTATICINLINE(a) static a
282#define SWIGSTATIC(a) static a
283#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
284#define swig_delete_array(cptr) free((char*)cptr)
285#define swig_const_cast(type,a) (type)(a)
286#define swig_static_cast(type,a) (type)(a)
287#define swig_reinterpret_cast(type,a) (type)(a)
288#define swig_numeric_cast(type,a) (type)(a)
289
290#endif /* __cplusplus */
8edf1c75
RD
291
292
2f4c0a16
RD
293#define SWIG_FromSignedChar PyInt_FromLong
294#define SWIG_FromUnsignedChar PyInt_FromLong
295#define SWIG_FromShort PyInt_FromLong
296#define SWIG_FromUnsignedShort PyInt_FromLong
297#define SWIG_FromInt PyInt_FromLong
298#define SWIG_FromLong PyInt_FromLong
299#define SWIG_FromFloat PyFloat_FromDouble
300#define SWIG_FromDouble PyFloat_FromDouble
301#define SWIG_FromFloat PyFloat_FromDouble
302#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
303
304
44127b65
RD
305#include "wx/wxPython/wxPython.h"
306#include "wx/wxPython/pyclasses.h"
307#include "oglhelpers.h"
308
309
cbd72d4f 310 static const wxString wxPyEmptyString(wxEmptyString);
44127b65 311
2f4c0a16
RD
312SWIGSTATICINLINE(double)
313SWIG_AsDouble(PyObject *obj)
8edf1c75 314{
69223c70
RD
315 if (PyNumber_Check(obj))
316 return PyFloat_AsDouble(obj);
317 else {
318 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
319 obj->ob_type->tp_name);
320 PyErr_SetObject(PyExc_TypeError, errmsg);
321 Py_DECREF(errmsg);
322 return 0;
323 }
2f4c0a16
RD
324}
325
326
327SWIGSTATICINLINE(int)
328SWIG_CheckDouble(PyObject* obj)
329{
330 SWIG_AsDouble(obj);
331 if (PyErr_Occurred()) {
332 PyErr_Clear();
333 return 0;
334 } else {
335 return 1;
336 }
337}
338
339
340#include <limits.h>
341
342
343SWIGSTATICINLINE(long)
344SWIG_CheckLongInRange(long value, const char* type,
345 long min_value, long max_value)
346{
347 if (!PyErr_Occurred()) {
348 if (value < min_value) {
349 PyObject *err =
350 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
351 value, type, min_value);
352
353 PyErr_SetObject(PyExc_OverflowError, err);
354 Py_DECREF(err);
355 } else if (value > max_value) {
356 PyObject *err =
357 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
358 value, type, max_value);
359 PyErr_SetObject(PyExc_OverflowError, err);
360 Py_DECREF(err);
361 }
362 }
363 return value;
8edf1c75
RD
364}
365
366
2f4c0a16
RD
367SWIGSTATICINLINE(long)
368SWIG_AsLong(PyObject * obj)
369{
69223c70
RD
370 if (PyNumber_Check(obj))
371 return PyInt_AsLong(obj);
372 else {
373 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
374 obj->ob_type->tp_name);
375 PyErr_SetObject(PyExc_TypeError, errmsg);
376 Py_DECREF(errmsg);
377 return 0;
378 }
2f4c0a16
RD
379}
380
381
382#if INT_MAX != LONG_MAX
383SWIGSTATICINLINE(int)
384SWIG_AsInt(PyObject *obj)
8edf1c75 385{
2f4c0a16
RD
386 return swig_numeric_cast(int,
387 SWIG_CheckLongInRange(SWIG_AsLong(obj),
388 "int", INT_MIN, INT_MAX));
389}
390#else
391#define SWIG_AsInt SWIG_AsLong
392#endif
393
394
395SWIGSTATICINLINE(int)
396SWIG_CheckInt(PyObject* obj)
397{
398 SWIG_AsInt(obj);
399 if (PyErr_Occurred()) {
400 PyErr_Clear();
401 return 0;
402 } else {
403 return 1;
404 }
8edf1c75
RD
405}
406
407
44127b65
RD
408static PyObject* t_output_helper(PyObject* target, PyObject* o) {
409 PyObject* o2;
410 PyObject* o3;
411
412 if (!target) {
413 target = o;
414 } else if (target == Py_None) {
415 Py_DECREF(Py_None);
416 target = o;
417 } else {
418 if (!PyTuple_Check(target)) {
419 o2 = target;
420 target = PyTuple_New(1);
421 PyTuple_SetItem(target, 0, o2);
422 }
423 o3 = PyTuple_New(1);
424 PyTuple_SetItem(o3, 0, o);
425
426 o2 = target;
427 target = PySequence_Concat(o2, o3);
428 Py_DECREF(o2);
429 Py_DECREF(o3);
430 }
431 return target;
432}
433
434
435 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
436
437void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
438 self->SetClientObject(new wxPyOORClientData(_self));
439 }
440
2f4c0a16
RD
441SWIGSTATICINLINE(bool)
442SWIG_AsBool(PyObject *obj)
8edf1c75
RD
443{
444 return PyObject_IsTrue(obj) ? true : false;
445}
446
447
2f4c0a16
RD
448SWIGSTATICINLINE(int)
449SWIG_CheckBool(PyObject* obj)
450{
451 SWIG_AsBool(obj);
452 if (PyErr_Occurred()) {
453 PyErr_Clear();
454 return 0;
455 } else {
456 return 1;
457 }
458}
459
460
44127b65
RD
461 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
462
463PyObject *wxPyShape_GetChildren(wxPyShape *self){
464 wxList& list = self->GetChildren();
465 return wxPy_ConvertShapeList(&list);
466 }
467PyObject *wxPyShape_GetLines(wxPyShape *self){
468 wxList& list = self->GetLines();
469 return wxPy_ConvertShapeList(&list);
470 }
8edf1c75 471
2f4c0a16
RD
472SWIGSTATICINLINE(int)
473SWIG_CheckLong(PyObject* obj)
8edf1c75 474{
2f4c0a16
RD
475 SWIG_AsLong(obj);
476 if (PyErr_Occurred()) {
477 PyErr_Clear();
478 return 0;
479 } else {
480 return 1;
481 }
8edf1c75
RD
482}
483
44127b65
RD
484PyObject *wxPyShape_GetRegions(wxPyShape *self){
485 wxList& list = self->GetRegions();
486 return wxPy_ConvertList(&list);
487 }
7a0a63ae
RD
488PyObject *wxPyShape_GetAttachments(wxPyShape *self){
489 wxList& list = self->GetAttachments();
490 return wxPy_ConvertList(&list);
491 }
44127b65
RD
492void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
493 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
494 self->ApplyAttachmentOrdering(*list);
495 delete list;
496 }
497
498// Using this macro can sometimes provoke an Internal Compiler Error in MSVC
499// 6, so instead I'l just expand it out by hand...
500// WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
501
502 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
503 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
504 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
505 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
506 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
507 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
508 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
509 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
510 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
511 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
512 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
513 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
514 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
515 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
516 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
517 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
518 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
519 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
520 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
521 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
522 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
523 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
524 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
525 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
526 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
527 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
528 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
529 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
530 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
531
532
533
534 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
535
536
537 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
538
539
540 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
541
542wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
543 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
544 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
545 delete list;
546 return rv;
547 }
548
549 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
550
551wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
552 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
553 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
554 delete list;
555 return rv;
556 }
557PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
558 wxList& list = self->GetConstraints();
559 return wxPy_ConvertList(&list);
560 }
561PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
562 wxList& list = self->GetDivisions();
563 return wxPy_ConvertShapeList(&list);
564 }
565
566 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
567
568
569 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
570
571
572 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
573
574
575 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
576
577
578 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
579
580void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
581 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
582 self->AddArrowOrdered(arrow, *list, end);
583 delete list;
584 }
585PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
586 wxList* list = self->GetLineControlPoints();
0346c964
RD
587 return wxPy_ConvertRealPointList(list);
588 }
589void wxPyLineShape_SetLineControlPoints(wxPyLineShape *self,PyObject *list){
590 wxList* real_point_list = wxPy_wxRealPoint_ListHelper(list);
591 self->MakeLineControlPoints((int)(real_point_list->GetCount()));
592 wxList* old_control_points = self->GetLineControlPoints();
593 wxNode* old_node = old_control_points->GetFirst();
594 wxNode* real_node = real_point_list->GetFirst();
595 while(old_node)
596 {
597 wxRealPoint* old_point = (wxRealPoint*)old_node->GetData();
598 wxRealPoint* new_point = (wxRealPoint*)real_node->GetData();
599 old_point->x = new_point->x;
600 old_point->y = new_point->y;
601 old_node = old_node->GetNext();
602 real_node = real_node->GetNext();
603 }
604 self->ClearPointList(*real_point_list);
605 delete real_point_list;
44127b65
RD
606 }
607
608 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
609
610PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
611 wxList* list = wxPy_wxRealPoint_ListHelper(points);
612 if (list) {
613 self->Create(list);
614 Py_INCREF(Py_None);
615 return Py_None;
616 }
617 else return NULL;
618 }
619PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
620 wxList* list = self->GetPoints();
0346c964 621 return wxPy_ConvertRealPointList(list);
7a0a63ae
RD
622 }
623PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
624 wxList* list = self->GetOriginalPoints();
625 PyObject* pyList;
626 PyObject* pyObj;
627 wxObject* wxObj;
628 wxNode* node = list->GetFirst();
629
fbc46b20 630 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
631 pyList = PyList_New(0);
632 while (node) {
633 wxObj = node->GetData();
634 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
635 PyList_Append(pyList, pyObj);
636 node = node->GetNext();
637 }
fbc46b20 638 wxPyEndBlockThreads(blocked);
44127b65
RD
639 return pyList;
640 }
641
642 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
643
644
645 // Put some wx default wxChar* values into wxStrings.
646 DECLARE_DEF_STRING(ShapeCanvasNameStr);
647
648PyObject *wxDiagram_GetShapeList(wxDiagram *self){
649 wxList* list = self->GetShapeList();
650 return wxPy_ConvertShapeList(list);
651 }
652
653 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
654 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
655 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
656 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
657 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
658 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
659 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
660 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
661
662
663//---------------------------------------------------------------------------
664
665// Convert from a Python list to a list of className objects. This one will
666// work for any class for the VERY generic cases, but beyond that the helper
667// needs to know more about the type.
668wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
fbc46b20 669 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
670 if (!PyList_Check(pyList)) {
671 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
fbc46b20 672 wxPyEndBlockThreads(blocked);
44127b65
RD
673 return NULL;
674 }
675 int count = PyList_Size(pyList);
676 wxList* list = new wxList;
677 if (! list) {
678 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
fbc46b20 679 wxPyEndBlockThreads(blocked);
44127b65
RD
680 return NULL;
681 }
682 for (int x=0; x<count; x++) {
683 PyObject* pyo = PyList_GetItem(pyList, x);
684 wxObject* wxo = NULL;
685
686 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
687 wxString errmsg;
688 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
689 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
fbc46b20 690 wxPyEndBlockThreads(blocked);
44127b65
RD
691 return NULL;
692 }
693 list->Append(wxo);
694 }
fbc46b20 695 wxPyEndBlockThreads(blocked);
44127b65
RD
696 return list;
697}
698
699//---------------------------------------------------------------------------
700
701wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
fbc46b20 702 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
703 if (!PyList_Check(pyList)) {
704 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
fbc46b20 705 wxPyEndBlockThreads(blocked);
44127b65
RD
706 return NULL;
707 }
708 int count = PyList_Size(pyList);
709 wxList* list = new wxList;
710 if (! list) {
711 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
fbc46b20 712 wxPyEndBlockThreads(blocked);
44127b65
RD
713 return NULL;
714 }
715 for (int x=0; x<count; x++) {
716 PyObject* pyo = PyList_GetItem(pyList, x);
717
718 if (PyTuple_Check(pyo)) {
719 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
720 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
721
722 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
723 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
724
725 list->Append((wxObject*) new wxRealPoint(val1, val2));
726
727 } else {
728 wxRealPoint* wxo = NULL;
729 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
730 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
fbc46b20 731 wxPyEndBlockThreads(blocked);
44127b65
RD
732 return NULL;
733 }
734 list->Append((wxObject*) new wxRealPoint(*wxo));
735 }
736 }
fbc46b20 737 wxPyEndBlockThreads(blocked);
44127b65
RD
738 return list;
739}
740
741//---------------------------------------------------------------------------
742
412d302d 743PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source, bool setThisOwn) {
44127b65
RD
744 PyObject* target = NULL;
745
746 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
747 // If it's derived from wxShapeEvtHandler then there may
748 // already be a pointer to a Python object that we can use
749 // in the OOR data.
750 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
751 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
752 if (data) {
753 target = data->m_obj;
754 Py_INCREF(target);
755 }
756 }
757 if (! target) {
412d302d 758 target = wxPyMake_wxObject2(source, setThisOwn, false);
44127b65
RD
759 if (target != Py_None)
760 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
761 }
762 return target;
763}
764
765//---------------------------------------------------------------------------
766
0346c964
RD
767PyObject* wxPy_ConvertRealPointList(wxListBase* listbase) {
768 wxList* list = (wxList*)listbase;
769 PyObject* pyList;
770 PyObject* pyObj;
771 wxObject* wxObj;
772 wxNode* node = list->GetFirst();
773
774 bool blocked = wxPyBeginBlockThreads();
775 pyList = PyList_New(0);
776 while (node) {
777 wxObj = node->GetData();
778 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
779 PyList_Append(pyList, pyObj);
780 node = node->GetNext();
781 }
782 wxPyEndBlockThreads(blocked);
783 return pyList;
784}
785
786//---------------------------------------------------------------------------
787
44127b65
RD
788PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
789 wxList* list = (wxList*)listbase;
790 PyObject* pyList;
791 PyObject* pyObj;
792 wxObject* wxObj;
793 wxNode* node = list->GetFirst();
794
fbc46b20 795 bool blocked = wxPyBeginBlockThreads();
44127b65
RD
796 pyList = PyList_New(0);
797 while (node) {
798 wxObj = node->GetData();
412d302d 799 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj, false);
44127b65
RD
800 PyList_Append(pyList, pyObj);
801 node = node->GetNext();
802 }
fbc46b20 803 wxPyEndBlockThreads(blocked);
44127b65
RD
804 return pyList;
805}
806
807
808//---------------------------------------------------------------------------
809
810IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
811IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
812IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
813IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
814IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
815IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
816IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
817IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
818IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
819IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
820IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
821IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
822IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
823IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
824IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
825
826//---------------------------------------------------------------------------
827
828// extern "C" SWIGEXPORT(void) initoglbasicc();
829// extern "C" SWIGEXPORT(void) initoglshapesc();
830// extern "C" SWIGEXPORT(void) initoglshapes2c();
831// extern "C" SWIGEXPORT(void) initoglcanvasc();
832
833#ifdef __cplusplus
834extern "C" {
835#endif
a95a7133 836static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
837 PyObject *resultobj;
838 wxShapeRegion *result;
839 char *kwnames[] = {
840 NULL
841 };
842
843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
844 {
845 PyThreadState* __tstate = wxPyBeginAllowThreads();
846 result = (wxShapeRegion *)new wxShapeRegion();
847
848 wxPyEndAllowThreads(__tstate);
849 if (PyErr_Occurred()) SWIG_fail;
850 }
2f4c0a16 851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShapeRegion, 1);
44127b65
RD
852 return resultobj;
853 fail:
854 return NULL;
855}
856
857
a95a7133 858static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
859 PyObject *resultobj;
860 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
861 wxString *arg2 = 0 ;
862 bool temp2 = False ;
863 PyObject * obj0 = 0 ;
864 PyObject * obj1 = 0 ;
865 char *kwnames[] = {
866 (char *) "self",(char *) "s", NULL
867 };
868
869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
872 {
873 arg2 = wxString_in_helper(obj1);
874 if (arg2 == NULL) SWIG_fail;
875 temp2 = True;
876 }
877 {
878 PyThreadState* __tstate = wxPyBeginAllowThreads();
879 (arg1)->SetText((wxString const &)*arg2);
880
881 wxPyEndAllowThreads(__tstate);
882 if (PyErr_Occurred()) SWIG_fail;
883 }
884 Py_INCREF(Py_None); resultobj = Py_None;
885 {
886 if (temp2)
887 delete arg2;
888 }
889 return resultobj;
890 fail:
891 {
892 if (temp2)
893 delete arg2;
894 }
895 return NULL;
896}
897
898
a95a7133 899static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
900 PyObject *resultobj;
901 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
902 wxFont *arg2 = (wxFont *) 0 ;
903 PyObject * obj0 = 0 ;
904 PyObject * obj1 = 0 ;
905 char *kwnames[] = {
906 (char *) "self",(char *) "f", NULL
907 };
908
909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
912 {
913 wxFont* temp;
914 if (obj1) {
915 if (obj1 == Py_None) {
916 temp = NULL;
917 }
918 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
919 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
920 return NULL;
921 }
922 }
923 if (temp)
924 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
925 temp->GetFamily(),
926 temp->GetStyle(),
927 temp->GetWeight(),
928 temp->GetUnderlined(),
929 temp->GetFaceName(),
930 temp->GetEncoding());
931 else
932 arg2 = NULL;
933 }
934 {
935 PyThreadState* __tstate = wxPyBeginAllowThreads();
936 (arg1)->SetFont(arg2);
937
938 wxPyEndAllowThreads(__tstate);
939 if (PyErr_Occurred()) SWIG_fail;
940 }
941 Py_INCREF(Py_None); resultobj = Py_None;
942 return resultobj;
943 fail:
944 return NULL;
945}
946
947
a95a7133 948static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
949 PyObject *resultobj;
950 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
951 double arg2 ;
952 double arg3 ;
953 PyObject * obj0 = 0 ;
8edf1c75
RD
954 PyObject * obj1 = 0 ;
955 PyObject * obj2 = 0 ;
44127b65
RD
956 char *kwnames[] = {
957 (char *) "self",(char *) "w",(char *) "h", NULL
958 };
959
8edf1c75 960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
963 arg2 = (double) SWIG_AsDouble(obj1);
964 if (PyErr_Occurred()) SWIG_fail;
965 arg3 = (double) SWIG_AsDouble(obj2);
966 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
967 {
968 PyThreadState* __tstate = wxPyBeginAllowThreads();
969 (arg1)->SetMinSize(arg2,arg3);
970
971 wxPyEndAllowThreads(__tstate);
972 if (PyErr_Occurred()) SWIG_fail;
973 }
974 Py_INCREF(Py_None); resultobj = Py_None;
975 return resultobj;
976 fail:
977 return NULL;
978}
979
980
a95a7133 981static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
982 PyObject *resultobj;
983 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
984 double arg2 ;
985 double arg3 ;
986 PyObject * obj0 = 0 ;
8edf1c75
RD
987 PyObject * obj1 = 0 ;
988 PyObject * obj2 = 0 ;
44127b65
RD
989 char *kwnames[] = {
990 (char *) "self",(char *) "w",(char *) "h", NULL
991 };
992
8edf1c75 993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
996 arg2 = (double) SWIG_AsDouble(obj1);
997 if (PyErr_Occurred()) SWIG_fail;
998 arg3 = (double) SWIG_AsDouble(obj2);
999 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1000 {
1001 PyThreadState* __tstate = wxPyBeginAllowThreads();
1002 (arg1)->SetSize(arg2,arg3);
1003
1004 wxPyEndAllowThreads(__tstate);
1005 if (PyErr_Occurred()) SWIG_fail;
1006 }
1007 Py_INCREF(Py_None); resultobj = Py_None;
1008 return resultobj;
1009 fail:
1010 return NULL;
1011}
1012
1013
a95a7133 1014static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1015 PyObject *resultobj;
1016 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1017 double arg2 ;
1018 double arg3 ;
1019 PyObject * obj0 = 0 ;
8edf1c75
RD
1020 PyObject * obj1 = 0 ;
1021 PyObject * obj2 = 0 ;
44127b65
RD
1022 char *kwnames[] = {
1023 (char *) "self",(char *) "x",(char *) "y", NULL
1024 };
1025
8edf1c75 1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1029 arg2 = (double) SWIG_AsDouble(obj1);
1030 if (PyErr_Occurred()) SWIG_fail;
1031 arg3 = (double) SWIG_AsDouble(obj2);
1032 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 (arg1)->SetPosition(arg2,arg3);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) SWIG_fail;
1039 }
1040 Py_INCREF(Py_None); resultobj = Py_None;
1041 return resultobj;
1042 fail:
1043 return NULL;
1044}
1045
1046
a95a7133 1047static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1048 PyObject *resultobj;
1049 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1050 double arg2 ;
1051 double arg3 ;
1052 PyObject * obj0 = 0 ;
8edf1c75
RD
1053 PyObject * obj1 = 0 ;
1054 PyObject * obj2 = 0 ;
44127b65
RD
1055 char *kwnames[] = {
1056 (char *) "self",(char *) "x",(char *) "y", NULL
1057 };
1058
8edf1c75 1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1062 arg2 = (double) SWIG_AsDouble(obj1);
1063 if (PyErr_Occurred()) SWIG_fail;
1064 arg3 = (double) SWIG_AsDouble(obj2);
1065 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1066 {
1067 PyThreadState* __tstate = wxPyBeginAllowThreads();
1068 (arg1)->SetProportions(arg2,arg3);
1069
1070 wxPyEndAllowThreads(__tstate);
1071 if (PyErr_Occurred()) SWIG_fail;
1072 }
1073 Py_INCREF(Py_None); resultobj = Py_None;
1074 return resultobj;
1075 fail:
1076 return NULL;
1077}
1078
1079
a95a7133 1080static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1081 PyObject *resultobj;
1082 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1083 int arg2 ;
1084 PyObject * obj0 = 0 ;
8edf1c75 1085 PyObject * obj1 = 0 ;
44127b65
RD
1086 char *kwnames[] = {
1087 (char *) "self",(char *) "mode", NULL
1088 };
1089
8edf1c75 1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1093 arg2 = (int) SWIG_AsInt(obj1);
1094 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1095 {
1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
1097 (arg1)->SetFormatMode(arg2);
1098
1099 wxPyEndAllowThreads(__tstate);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 Py_INCREF(Py_None); resultobj = Py_None;
1103 return resultobj;
1104 fail:
1105 return NULL;
1106}
1107
1108
a95a7133 1109static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1110 PyObject *resultobj;
1111 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1112 wxString *arg2 = 0 ;
1113 bool temp2 = False ;
1114 PyObject * obj0 = 0 ;
1115 PyObject * obj1 = 0 ;
1116 char *kwnames[] = {
1117 (char *) "self",(char *) "s", NULL
1118 };
1119
1120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1123 {
1124 arg2 = wxString_in_helper(obj1);
1125 if (arg2 == NULL) SWIG_fail;
1126 temp2 = True;
1127 }
1128 {
1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
1130 (arg1)->SetName((wxString const &)*arg2);
1131
1132 wxPyEndAllowThreads(__tstate);
1133 if (PyErr_Occurred()) SWIG_fail;
1134 }
1135 Py_INCREF(Py_None); resultobj = Py_None;
1136 {
1137 if (temp2)
1138 delete arg2;
1139 }
1140 return resultobj;
1141 fail:
1142 {
1143 if (temp2)
1144 delete arg2;
1145 }
1146 return NULL;
1147}
1148
1149
a95a7133 1150static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1151 PyObject *resultobj;
1152 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1153 wxString *arg2 = 0 ;
1154 bool temp2 = False ;
1155 PyObject * obj0 = 0 ;
1156 PyObject * obj1 = 0 ;
1157 char *kwnames[] = {
1158 (char *) "self",(char *) "col", NULL
1159 };
1160
1161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1164 {
1165 arg2 = wxString_in_helper(obj1);
1166 if (arg2 == NULL) SWIG_fail;
1167 temp2 = True;
1168 }
1169 {
1170 PyThreadState* __tstate = wxPyBeginAllowThreads();
1171 (arg1)->SetColour((wxString const &)*arg2);
1172
1173 wxPyEndAllowThreads(__tstate);
1174 if (PyErr_Occurred()) SWIG_fail;
1175 }
1176 Py_INCREF(Py_None); resultobj = Py_None;
1177 {
1178 if (temp2)
1179 delete arg2;
1180 }
1181 return resultobj;
1182 fail:
1183 {
1184 if (temp2)
1185 delete arg2;
1186 }
1187 return NULL;
1188}
1189
1190
a95a7133 1191static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1192 PyObject *resultobj;
1193 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1194 wxString result;
1195 PyObject * obj0 = 0 ;
1196 char *kwnames[] = {
1197 (char *) "self", NULL
1198 };
1199
1200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1203 {
1204 PyThreadState* __tstate = wxPyBeginAllowThreads();
1205 result = (arg1)->GetText();
1206
1207 wxPyEndAllowThreads(__tstate);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 }
1210 {
1211#if wxUSE_UNICODE
1212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1213#else
1214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1215#endif
1216 }
1217 return resultobj;
1218 fail:
1219 return NULL;
1220}
1221
1222
a95a7133 1223static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1224 PyObject *resultobj;
1225 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1226 wxFont *result;
1227 PyObject * obj0 = 0 ;
1228 char *kwnames[] = {
1229 (char *) "self", NULL
1230 };
1231
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1235 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 result = (wxFont *)(arg1)->GetFont();
1238
1239 wxPyEndAllowThreads(__tstate);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
2f4c0a16 1242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
44127b65
RD
1243 return resultobj;
1244 fail:
1245 return NULL;
1246}
1247
1248
a95a7133 1249static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1250 PyObject *resultobj;
1251 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1252 double *arg2 = (double *) 0 ;
1253 double *arg3 = (double *) 0 ;
1254 double temp2 ;
1255 double temp3 ;
1256 PyObject * obj0 = 0 ;
1257 char *kwnames[] = {
1258 (char *) "self", NULL
1259 };
1260
1261 arg2 = &temp2;
1262 arg3 = &temp3;
1263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1266 {
1267 PyThreadState* __tstate = wxPyBeginAllowThreads();
1268 (arg1)->GetMinSize(arg2,arg3);
1269
1270 wxPyEndAllowThreads(__tstate);
1271 if (PyErr_Occurred()) SWIG_fail;
1272 }
1273 Py_INCREF(Py_None); resultobj = Py_None;
1274 {
1275 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1276 resultobj = t_output_helper(resultobj,o);
1277 }
1278 {
1279 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1280 resultobj = t_output_helper(resultobj,o);
1281 }
1282 return resultobj;
1283 fail:
1284 return NULL;
1285}
1286
1287
a95a7133 1288static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1289 PyObject *resultobj;
1290 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1291 double *arg2 = (double *) 0 ;
1292 double *arg3 = (double *) 0 ;
1293 double temp2 ;
1294 double temp3 ;
1295 PyObject * obj0 = 0 ;
1296 char *kwnames[] = {
1297 (char *) "self", NULL
1298 };
1299
1300 arg2 = &temp2;
1301 arg3 = &temp3;
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1305 {
1306 PyThreadState* __tstate = wxPyBeginAllowThreads();
1307 (arg1)->GetProportion(arg2,arg3);
1308
1309 wxPyEndAllowThreads(__tstate);
1310 if (PyErr_Occurred()) SWIG_fail;
1311 }
1312 Py_INCREF(Py_None); resultobj = Py_None;
1313 {
1314 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1315 resultobj = t_output_helper(resultobj,o);
1316 }
1317 {
1318 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1319 resultobj = t_output_helper(resultobj,o);
1320 }
1321 return resultobj;
1322 fail:
1323 return NULL;
1324}
1325
1326
a95a7133 1327static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1328 PyObject *resultobj;
1329 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1330 double *arg2 = (double *) 0 ;
1331 double *arg3 = (double *) 0 ;
1332 double temp2 ;
1333 double temp3 ;
1334 PyObject * obj0 = 0 ;
1335 char *kwnames[] = {
1336 (char *) "self", NULL
1337 };
1338
1339 arg2 = &temp2;
1340 arg3 = &temp3;
1341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1344 {
1345 PyThreadState* __tstate = wxPyBeginAllowThreads();
1346 (arg1)->GetSize(arg2,arg3);
1347
1348 wxPyEndAllowThreads(__tstate);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 Py_INCREF(Py_None); resultobj = Py_None;
1352 {
1353 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1354 resultobj = t_output_helper(resultobj,o);
1355 }
1356 {
1357 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1358 resultobj = t_output_helper(resultobj,o);
1359 }
1360 return resultobj;
1361 fail:
1362 return NULL;
1363}
1364
1365
a95a7133 1366static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1367 PyObject *resultobj;
1368 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1369 double *arg2 = (double *) 0 ;
1370 double *arg3 = (double *) 0 ;
1371 double temp2 ;
1372 double temp3 ;
1373 PyObject * obj0 = 0 ;
1374 char *kwnames[] = {
1375 (char *) "self", NULL
1376 };
1377
1378 arg2 = &temp2;
1379 arg3 = &temp3;
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 (arg1)->GetPosition(arg2,arg3);
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 Py_INCREF(Py_None); resultobj = Py_None;
1391 {
1392 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1393 resultobj = t_output_helper(resultobj,o);
1394 }
1395 {
1396 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1397 resultobj = t_output_helper(resultobj,o);
1398 }
1399 return resultobj;
1400 fail:
1401 return NULL;
1402}
1403
1404
a95a7133 1405static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1406 PyObject *resultobj;
1407 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1408 int result;
1409 PyObject * obj0 = 0 ;
1410 char *kwnames[] = {
1411 (char *) "self", NULL
1412 };
1413
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1417 {
1418 PyThreadState* __tstate = wxPyBeginAllowThreads();
1419 result = (int)(arg1)->GetFormatMode();
1420
1421 wxPyEndAllowThreads(__tstate);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
2f4c0a16 1424 resultobj = SWIG_FromInt((int)result);
44127b65
RD
1425 return resultobj;
1426 fail:
1427 return NULL;
1428}
1429
1430
a95a7133 1431static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1432 PyObject *resultobj;
1433 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1434 wxString result;
1435 PyObject * obj0 = 0 ;
1436 char *kwnames[] = {
1437 (char *) "self", NULL
1438 };
1439
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 result = (arg1)->GetName();
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 {
1451#if wxUSE_UNICODE
1452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1453#else
1454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1455#endif
1456 }
1457 return resultobj;
1458 fail:
1459 return NULL;
1460}
1461
1462
a95a7133 1463static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1464 PyObject *resultobj;
1465 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1466 wxString result;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1475 {
1476 PyThreadState* __tstate = wxPyBeginAllowThreads();
1477 result = (arg1)->GetColour();
1478
1479 wxPyEndAllowThreads(__tstate);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
1482 {
1483#if wxUSE_UNICODE
1484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1485#else
1486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1487#endif
1488 }
1489 return resultobj;
1490 fail:
1491 return NULL;
1492}
1493
1494
a95a7133 1495static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1496 PyObject *resultobj;
1497 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
d896a793 1498 wxColour result;
44127b65
RD
1499 PyObject * obj0 = 0 ;
1500 char *kwnames[] = {
1501 (char *) "self", NULL
1502 };
1503
1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
d896a793 1509 result = (arg1)->GetActualColourObject();
44127b65
RD
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) SWIG_fail;
1513 }
d896a793
RD
1514 {
1515 wxColour * resultptr;
1516 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d896a793 1518 }
44127b65
RD
1519 return resultobj;
1520 fail:
1521 return NULL;
1522}
1523
1524
a95a7133 1525static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1526 PyObject *resultobj;
1527 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1528 wxList *result;
1529 PyObject * obj0 = 0 ;
1530 char *kwnames[] = {
1531 (char *) "self", NULL
1532 };
1533
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1537 {
1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
1539 {
1540 wxList &_result_ref = (arg1)->GetFormattedText();
1541 result = (wxList *) &_result_ref;
1542 }
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
2f4c0a16 1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxList, 0);
44127b65
RD
1548 return resultobj;
1549 fail:
1550 return NULL;
1551}
1552
1553
a95a7133 1554static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1555 PyObject *resultobj;
1556 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1557 wxString result;
1558 PyObject * obj0 = 0 ;
1559 char *kwnames[] = {
1560 (char *) "self", NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1566 {
1567 PyThreadState* __tstate = wxPyBeginAllowThreads();
1568 result = (arg1)->GetPenColour();
1569
1570 wxPyEndAllowThreads(__tstate);
1571 if (PyErr_Occurred()) SWIG_fail;
1572 }
1573 {
1574#if wxUSE_UNICODE
1575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1576#else
1577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1578#endif
1579 }
1580 return resultobj;
1581 fail:
1582 return NULL;
1583}
1584
1585
a95a7133 1586static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1587 PyObject *resultobj;
1588 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1589 int result;
1590 PyObject * obj0 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "self", NULL
1593 };
1594
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1598 {
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 result = (int)(arg1)->GetPenStyle();
1601
1602 wxPyEndAllowThreads(__tstate);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
2f4c0a16 1605 resultobj = SWIG_FromInt((int)result);
44127b65
RD
1606 return resultobj;
1607 fail:
1608 return NULL;
1609}
1610
1611
a95a7133 1612static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1613 PyObject *resultobj;
1614 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1615 int arg2 ;
1616 PyObject * obj0 = 0 ;
8edf1c75 1617 PyObject * obj1 = 0 ;
44127b65
RD
1618 char *kwnames[] = {
1619 (char *) "self",(char *) "style", NULL
1620 };
1621
8edf1c75 1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1625 arg2 = (int) SWIG_AsInt(obj1);
1626 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 (arg1)->SetPenStyle(arg2);
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
1634 Py_INCREF(Py_None); resultobj = Py_None;
1635 return resultobj;
1636 fail:
1637 return NULL;
1638}
1639
1640
a95a7133 1641static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1642 PyObject *resultobj;
1643 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1644 wxString *arg2 = 0 ;
1645 bool temp2 = False ;
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self",(char *) "col", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1655 {
1656 arg2 = wxString_in_helper(obj1);
1657 if (arg2 == NULL) SWIG_fail;
1658 temp2 = True;
1659 }
1660 {
1661 PyThreadState* __tstate = wxPyBeginAllowThreads();
1662 (arg1)->SetPenColour((wxString const &)*arg2);
1663
1664 wxPyEndAllowThreads(__tstate);
1665 if (PyErr_Occurred()) SWIG_fail;
1666 }
1667 Py_INCREF(Py_None); resultobj = Py_None;
1668 {
1669 if (temp2)
1670 delete arg2;
1671 }
1672 return resultobj;
1673 fail:
1674 {
1675 if (temp2)
1676 delete arg2;
1677 }
1678 return NULL;
1679}
1680
1681
a95a7133 1682static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1683 PyObject *resultobj;
1684 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1685 wxPen *result;
1686 PyObject * obj0 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 result = (wxPen *)(arg1)->GetActualPen();
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
2f4c0a16 1701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
1702 return resultobj;
1703 fail:
1704 return NULL;
1705}
1706
1707
a95a7133 1708static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1709 PyObject *resultobj;
1710 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1711 double result;
1712 PyObject * obj0 = 0 ;
1713 char *kwnames[] = {
1714 (char *) "self", NULL
1715 };
1716
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 result = (double)(arg1)->GetWidth();
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
2f4c0a16 1727 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
1728 return resultobj;
1729 fail:
1730 return NULL;
1731}
1732
1733
a95a7133 1734static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1735 PyObject *resultobj;
1736 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1737 double result;
1738 PyObject * obj0 = 0 ;
1739 char *kwnames[] = {
1740 (char *) "self", NULL
1741 };
1742
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 result = (double)(arg1)->GetHeight();
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
2f4c0a16 1753 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
1754 return resultobj;
1755 fail:
1756 return NULL;
1757}
1758
1759
a95a7133 1760static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1761 PyObject *resultobj;
1762 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1763 PyObject * obj0 = 0 ;
1764 char *kwnames[] = {
1765 (char *) "self", NULL
1766 };
1767
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShapeRegion,
1770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 (arg1)->ClearText();
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 Py_INCREF(Py_None); resultobj = Py_None;
1779 return resultobj;
1780 fail:
1781 return NULL;
1782}
1783
1784
a95a7133 1785static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
1786 PyObject *obj;
1787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1789 Py_INCREF(obj);
1790 return Py_BuildValue((char *)"");
1791}
a95a7133 1792static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1793 PyObject *resultobj;
1794 int arg1 = (int) 0 ;
1795 double arg2 = (double) 0.0 ;
1796 double arg3 = (double) 0.0 ;
1797 wxAttachmentPoint *result;
8edf1c75
RD
1798 PyObject * obj0 = 0 ;
1799 PyObject * obj1 = 0 ;
1800 PyObject * obj2 = 0 ;
7a0a63ae
RD
1801 char *kwnames[] = {
1802 (char *) "id",(char *) "x",(char *) "y", NULL
1803 };
1804
8edf1c75
RD
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
1806 if (obj0) {
2f4c0a16
RD
1807 arg1 = (int) SWIG_AsInt(obj0);
1808 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1809 }
1810 if (obj1) {
2f4c0a16
RD
1811 arg2 = (double) SWIG_AsDouble(obj1);
1812 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1813 }
1814 if (obj2) {
2f4c0a16
RD
1815 arg3 = (double) SWIG_AsDouble(obj2);
1816 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1817 }
7a0a63ae
RD
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
2f4c0a16 1825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAttachmentPoint, 1);
7a0a63ae
RD
1826 return resultobj;
1827 fail:
1828 return NULL;
1829}
1830
1831
a95a7133 1832static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1833 PyObject *resultobj;
1834 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1835 int arg2 ;
1836 PyObject * obj0 = 0 ;
8edf1c75 1837 PyObject * obj1 = 0 ;
7a0a63ae
RD
1838 char *kwnames[] = {
1839 (char *) "self",(char *) "m_id", NULL
1840 };
1841
8edf1c75 1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1845 arg2 = (int) SWIG_AsInt(obj1);
1846 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
1847 if (arg1) (arg1)->m_id = arg2;
1848
1849 Py_INCREF(Py_None); resultobj = Py_None;
1850 return resultobj;
1851 fail:
1852 return NULL;
1853}
1854
1855
a95a7133 1856static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1857 PyObject *resultobj;
1858 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1859 int result;
1860 PyObject * obj0 = 0 ;
1861 char *kwnames[] = {
1862 (char *) "self", NULL
1863 };
1864
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
1868 result = (int) ((arg1)->m_id);
1869
2f4c0a16 1870 resultobj = SWIG_FromInt((int)result);
7a0a63ae
RD
1871 return resultobj;
1872 fail:
1873 return NULL;
1874}
1875
1876
a95a7133 1877static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1878 PyObject *resultobj;
1879 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1880 double arg2 ;
1881 PyObject * obj0 = 0 ;
8edf1c75 1882 PyObject * obj1 = 0 ;
7a0a63ae
RD
1883 char *kwnames[] = {
1884 (char *) "self",(char *) "m_x", NULL
1885 };
1886
8edf1c75 1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1890 arg2 = (double) SWIG_AsDouble(obj1);
1891 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
1892 if (arg1) (arg1)->m_x = arg2;
1893
1894 Py_INCREF(Py_None); resultobj = Py_None;
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
a95a7133 1901static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1902 PyObject *resultobj;
1903 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1904 double result;
1905 PyObject * obj0 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
1913 result = (double) ((arg1)->m_x);
1914
2f4c0a16 1915 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
1916 return resultobj;
1917 fail:
1918 return NULL;
1919}
1920
1921
a95a7133 1922static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1923 PyObject *resultobj;
1924 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1925 double arg2 ;
1926 PyObject * obj0 = 0 ;
8edf1c75 1927 PyObject * obj1 = 0 ;
7a0a63ae
RD
1928 char *kwnames[] = {
1929 (char *) "self",(char *) "m_y", NULL
1930 };
1931
8edf1c75 1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1935 arg2 = (double) SWIG_AsDouble(obj1);
1936 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
1937 if (arg1) (arg1)->m_y = arg2;
1938
1939 Py_INCREF(Py_None); resultobj = Py_None;
1940 return resultobj;
1941 fail:
1942 return NULL;
1943}
1944
1945
a95a7133 1946static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
1947 PyObject *resultobj;
1948 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1949 double result;
1950 PyObject * obj0 = 0 ;
1951 char *kwnames[] = {
1952 (char *) "self", NULL
1953 };
1954
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAttachmentPoint,
1957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
1958 result = (double) ((arg1)->m_y);
1959
2f4c0a16 1960 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
1961 return resultobj;
1962 fail:
1963 return NULL;
1964}
1965
1966
a95a7133 1967static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
7a0a63ae
RD
1968 PyObject *obj;
1969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1970 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1971 Py_INCREF(obj);
1972 return Py_BuildValue((char *)"");
1973}
a95a7133 1974static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
1975 PyObject *resultobj;
1976 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1977 wxPyShape *arg2 = (wxPyShape *) NULL ;
1978 wxPyShapeEvtHandler *result;
1979 PyObject * obj0 = 0 ;
1980 PyObject * obj1 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "prev",(char *) "shape", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1986 if (obj0) {
2f4c0a16
RD
1987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
1988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1989 }
1990 if (obj1) {
2f4c0a16
RD
1991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
1992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
1993 }
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
b0f7404b 2001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShapeEvtHandler, 1);
44127b65
RD
2002 return resultobj;
2003 fail:
2004 return NULL;
2005}
2006
2007
a95a7133 2008static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2009 PyObject *resultobj;
2010 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2011 PyObject *arg2 = (PyObject *) 0 ;
2012 PyObject *arg3 = (PyObject *) 0 ;
2013 PyObject * obj0 = 0 ;
2014 PyObject * obj1 = 0 ;
2015 PyObject * obj2 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self",(char *) "self",(char *) "_class", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2023 arg2 = obj1;
2024 arg3 = obj2;
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
2027 (arg1)->_setCallbackInfo(arg2,arg3);
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
2032 Py_INCREF(Py_None); resultobj = Py_None;
2033 return resultobj;
2034 fail:
2035 return NULL;
2036}
2037
2038
a95a7133 2039static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2040 PyObject *resultobj;
2041 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2042 PyObject *arg2 = (PyObject *) 0 ;
2043 PyObject * obj0 = 0 ;
2044 PyObject * obj1 = 0 ;
2045 char *kwnames[] = {
2046 (char *) "self",(char *) "_self", NULL
2047 };
2048
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2052 arg2 = obj1;
2053 {
2054 PyThreadState* __tstate = wxPyBeginAllowThreads();
2055 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
2056
2057 wxPyEndAllowThreads(__tstate);
2058 if (PyErr_Occurred()) SWIG_fail;
2059 }
2060 Py_INCREF(Py_None); resultobj = Py_None;
2061 return resultobj;
2062 fail:
2063 return NULL;
2064}
2065
2066
a95a7133 2067static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2068 PyObject *resultobj;
2069 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2070 wxPyShape *arg2 = (wxPyShape *) 0 ;
2071 PyObject * obj0 = 0 ;
2072 PyObject * obj1 = 0 ;
2073 char *kwnames[] = {
2074 (char *) "self",(char *) "sh", NULL
2075 };
2076
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
2081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2082 {
2083 PyThreadState* __tstate = wxPyBeginAllowThreads();
2084 (arg1)->SetShape(arg2);
2085
2086 wxPyEndAllowThreads(__tstate);
2087 if (PyErr_Occurred()) SWIG_fail;
2088 }
2089 Py_INCREF(Py_None); resultobj = Py_None;
2090 return resultobj;
2091 fail:
2092 return NULL;
2093}
2094
2095
a95a7133 2096static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2097 PyObject *resultobj;
2098 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2099 wxPyShape *result;
2100 PyObject * obj0 = 0 ;
2101 char *kwnames[] = {
2102 (char *) "self", NULL
2103 };
2104
2105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 result = (wxPyShape *)(arg1)->GetShape();
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 {
412d302d 2116 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
2117 }
2118 return resultobj;
2119 fail:
2120 return NULL;
2121}
2122
2123
a95a7133 2124static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2125 PyObject *resultobj;
2126 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2127 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2128 PyObject * obj0 = 0 ;
2129 PyObject * obj1 = 0 ;
2130 char *kwnames[] = {
2131 (char *) "self",(char *) "handler", NULL
2132 };
2133
2134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
2138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 (arg1)->SetPreviousHandler(arg2);
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 }
2146 Py_INCREF(Py_None); resultobj = Py_None;
2147 return resultobj;
2148 fail:
2149 return NULL;
2150}
2151
2152
a95a7133 2153static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2154 PyObject *resultobj;
2155 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2156 wxPyShapeEvtHandler *result;
2157 PyObject * obj0 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self", NULL
2160 };
2161
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2165 {
2166 PyThreadState* __tstate = wxPyBeginAllowThreads();
2167 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2168
2169 wxPyEndAllowThreads(__tstate);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
2172 {
412d302d 2173 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
2174 }
2175 return resultobj;
2176 fail:
2177 return NULL;
2178}
2179
2180
a95a7133 2181static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2182 PyObject *resultobj;
2183 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2184 wxPyShapeEvtHandler *result;
2185 PyObject * obj0 = 0 ;
2186 char *kwnames[] = {
2187 (char *) "self", NULL
2188 };
2189
2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2193 {
2194 PyThreadState* __tstate = wxPyBeginAllowThreads();
2195 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2196
2197 wxPyEndAllowThreads(__tstate);
2198 if (PyErr_Occurred()) SWIG_fail;
2199 }
2200 {
412d302d 2201 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
2202 }
2203 return resultobj;
2204 fail:
2205 return NULL;
2206}
2207
2208
a95a7133 2209static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2210 PyObject *resultobj;
2211 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2212 PyObject * obj0 = 0 ;
2213 char *kwnames[] = {
2214 (char *) "self", NULL
2215 };
2216
2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 (arg1)->base_OnDelete();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 Py_INCREF(Py_None); resultobj = Py_None;
2228 return resultobj;
2229 fail:
2230 return NULL;
2231}
2232
2233
a95a7133 2234static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2235 PyObject *resultobj;
2236 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2237 wxDC *arg2 = 0 ;
2238 PyObject * obj0 = 0 ;
2239 PyObject * obj1 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "self",(char *) "dc", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2248 SWIG_POINTER_EXCEPTION | 0)) == -1)
2249 SWIG_fail;
44127b65 2250 if (arg2 == NULL) {
2f4c0a16
RD
2251 PyErr_SetString(PyExc_TypeError,"null reference");
2252 SWIG_fail;
44127b65
RD
2253 }
2254 {
2255 PyThreadState* __tstate = wxPyBeginAllowThreads();
2256 (arg1)->base_OnDraw(*arg2);
2257
2258 wxPyEndAllowThreads(__tstate);
2259 if (PyErr_Occurred()) SWIG_fail;
2260 }
2261 Py_INCREF(Py_None); resultobj = Py_None;
2262 return resultobj;
2263 fail:
2264 return NULL;
2265}
2266
2267
a95a7133 2268static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2269 PyObject *resultobj;
2270 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2271 wxDC *arg2 = 0 ;
2272 PyObject * obj0 = 0 ;
2273 PyObject * obj1 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self",(char *) "dc", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2282 SWIG_POINTER_EXCEPTION | 0)) == -1)
2283 SWIG_fail;
44127b65 2284 if (arg2 == NULL) {
2f4c0a16
RD
2285 PyErr_SetString(PyExc_TypeError,"null reference");
2286 SWIG_fail;
44127b65
RD
2287 }
2288 {
2289 PyThreadState* __tstate = wxPyBeginAllowThreads();
2290 (arg1)->base_OnDrawContents(*arg2);
2291
2292 wxPyEndAllowThreads(__tstate);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
2295 Py_INCREF(Py_None); resultobj = Py_None;
2296 return resultobj;
2297 fail:
2298 return NULL;
2299}
2300
2301
a95a7133 2302static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2303 PyObject *resultobj;
2304 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2305 wxDC *arg2 = 0 ;
2306 bool arg3 = (bool) False ;
2307 PyObject * obj0 = 0 ;
2308 PyObject * obj1 = 0 ;
2309 PyObject * obj2 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "self",(char *) "dc",(char *) "erase", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2318 SWIG_POINTER_EXCEPTION | 0)) == -1)
2319 SWIG_fail;
44127b65 2320 if (arg2 == NULL) {
2f4c0a16
RD
2321 PyErr_SetString(PyExc_TypeError,"null reference");
2322 SWIG_fail;
44127b65
RD
2323 }
2324 if (obj2) {
2f4c0a16
RD
2325 arg3 = (bool) SWIG_AsBool(obj2);
2326 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2327 }
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 (arg1)->base_OnDrawBranches(*arg2,arg3);
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 Py_INCREF(Py_None); resultobj = Py_None;
2336 return resultobj;
2337 fail:
2338 return NULL;
2339}
2340
2341
a95a7133 2342static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2343 PyObject *resultobj;
2344 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2345 wxDC *arg2 = 0 ;
2346 PyObject * obj0 = 0 ;
2347 PyObject * obj1 = 0 ;
2348 char *kwnames[] = {
2349 (char *) "self",(char *) "dc", NULL
2350 };
2351
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2356 SWIG_POINTER_EXCEPTION | 0)) == -1)
2357 SWIG_fail;
44127b65 2358 if (arg2 == NULL) {
2f4c0a16
RD
2359 PyErr_SetString(PyExc_TypeError,"null reference");
2360 SWIG_fail;
44127b65
RD
2361 }
2362 {
2363 PyThreadState* __tstate = wxPyBeginAllowThreads();
2364 (arg1)->base_OnMoveLinks(*arg2);
2365
2366 wxPyEndAllowThreads(__tstate);
2367 if (PyErr_Occurred()) SWIG_fail;
2368 }
2369 Py_INCREF(Py_None); resultobj = Py_None;
2370 return resultobj;
2371 fail:
2372 return NULL;
2373}
2374
2375
a95a7133 2376static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2377 PyObject *resultobj;
2378 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2379 wxDC *arg2 = 0 ;
2380 PyObject * obj0 = 0 ;
2381 PyObject * obj1 = 0 ;
2382 char *kwnames[] = {
2383 (char *) "self",(char *) "dc", NULL
2384 };
2385
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2390 SWIG_POINTER_EXCEPTION | 0)) == -1)
2391 SWIG_fail;
44127b65 2392 if (arg2 == NULL) {
2f4c0a16
RD
2393 PyErr_SetString(PyExc_TypeError,"null reference");
2394 SWIG_fail;
44127b65
RD
2395 }
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->base_OnErase(*arg2);
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 return resultobj;
2405 fail:
2406 return NULL;
2407}
2408
2409
a95a7133 2410static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2411 PyObject *resultobj;
2412 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2413 wxDC *arg2 = 0 ;
2414 PyObject * obj0 = 0 ;
2415 PyObject * obj1 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "self",(char *) "dc", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2424 SWIG_POINTER_EXCEPTION | 0)) == -1)
2425 SWIG_fail;
44127b65 2426 if (arg2 == NULL) {
2f4c0a16
RD
2427 PyErr_SetString(PyExc_TypeError,"null reference");
2428 SWIG_fail;
44127b65
RD
2429 }
2430 {
2431 PyThreadState* __tstate = wxPyBeginAllowThreads();
2432 (arg1)->base_OnEraseContents(*arg2);
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
a95a7133 2444static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, 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_OnHighlight",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_OnHighlight(*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
a95a7133 2478static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2479 PyObject *resultobj;
2480 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2481 double arg2 ;
2482 double arg3 ;
2483 int arg4 = (int) 0 ;
2484 int arg5 = (int) 0 ;
2485 PyObject * obj0 = 0 ;
8edf1c75
RD
2486 PyObject * obj1 = 0 ;
2487 PyObject * obj2 = 0 ;
2488 PyObject * obj3 = 0 ;
2489 PyObject * obj4 = 0 ;
44127b65
RD
2490 char *kwnames[] = {
2491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2492 };
2493
8edf1c75 2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2497 arg2 = (double) SWIG_AsDouble(obj1);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 arg3 = (double) SWIG_AsDouble(obj2);
2500 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2501 if (obj3) {
2f4c0a16
RD
2502 arg4 = (int) SWIG_AsInt(obj3);
2503 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2504 }
2505 if (obj4) {
2f4c0a16
RD
2506 arg5 = (int) SWIG_AsInt(obj4);
2507 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2508 }
44127b65
RD
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 Py_INCREF(Py_None); resultobj = Py_None;
2517 return resultobj;
2518 fail:
2519 return NULL;
2520}
2521
2522
a95a7133 2523static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2524 PyObject *resultobj;
2525 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2526 double arg2 ;
2527 double arg3 ;
2528 int arg4 = (int) 0 ;
2529 int arg5 = (int) 0 ;
2530 PyObject * obj0 = 0 ;
8edf1c75
RD
2531 PyObject * obj1 = 0 ;
2532 PyObject * obj2 = 0 ;
2533 PyObject * obj3 = 0 ;
2534 PyObject * obj4 = 0 ;
44127b65
RD
2535 char *kwnames[] = {
2536 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2537 };
2538
8edf1c75 2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2542 arg2 = (double) SWIG_AsDouble(obj1);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 arg3 = (double) SWIG_AsDouble(obj2);
2545 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2546 if (obj3) {
2f4c0a16
RD
2547 arg4 = (int) SWIG_AsInt(obj3);
2548 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2549 }
2550 if (obj4) {
2f4c0a16
RD
2551 arg5 = (int) SWIG_AsInt(obj4);
2552 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2553 }
44127b65
RD
2554 {
2555 PyThreadState* __tstate = wxPyBeginAllowThreads();
2556 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2557
2558 wxPyEndAllowThreads(__tstate);
2559 if (PyErr_Occurred()) SWIG_fail;
2560 }
2561 Py_INCREF(Py_None); resultobj = Py_None;
2562 return resultobj;
2563 fail:
2564 return NULL;
2565}
2566
2567
a95a7133 2568static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2569 PyObject *resultobj;
2570 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2571 double arg2 ;
2572 double arg3 ;
2573 int arg4 = (int) 0 ;
2574 int arg5 = (int) 0 ;
2575 PyObject * obj0 = 0 ;
8edf1c75
RD
2576 PyObject * obj1 = 0 ;
2577 PyObject * obj2 = 0 ;
2578 PyObject * obj3 = 0 ;
2579 PyObject * obj4 = 0 ;
44127b65
RD
2580 char *kwnames[] = {
2581 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2582 };
2583
8edf1c75 2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2587 arg2 = (double) SWIG_AsDouble(obj1);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 arg3 = (double) SWIG_AsDouble(obj2);
2590 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2591 if (obj3) {
2f4c0a16
RD
2592 arg4 = (int) SWIG_AsInt(obj3);
2593 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2594 }
2595 if (obj4) {
2f4c0a16
RD
2596 arg5 = (int) SWIG_AsInt(obj4);
2597 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2598 }
44127b65
RD
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 Py_INCREF(Py_None); resultobj = Py_None;
2607 return resultobj;
2608 fail:
2609 return NULL;
2610}
2611
2612
a95a7133 2613static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2614 PyObject *resultobj;
2615 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2616 double arg2 ;
2617 double arg3 ;
2618 PyObject * obj0 = 0 ;
8edf1c75
RD
2619 PyObject * obj1 = 0 ;
2620 PyObject * obj2 = 0 ;
44127b65
RD
2621 char *kwnames[] = {
2622 (char *) "self",(char *) "x",(char *) "y", NULL
2623 };
2624
8edf1c75 2625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2628 arg2 = (double) SWIG_AsDouble(obj1);
2629 if (PyErr_Occurred()) SWIG_fail;
2630 arg3 = (double) SWIG_AsDouble(obj2);
2631 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2632 {
2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
2634 (arg1)->base_OnSize(arg2,arg3);
2635
2636 wxPyEndAllowThreads(__tstate);
44127b65
RD
2637 if (PyErr_Occurred()) SWIG_fail;
2638 }
2639 Py_INCREF(Py_None); resultobj = Py_None;
2640 return resultobj;
2641 fail:
2642 return NULL;
2643}
2644
2645
a95a7133 2646static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2647 PyObject *resultobj;
2648 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2649 wxDC *arg2 = 0 ;
2650 double arg3 ;
2651 double arg4 ;
2652 double arg5 ;
2653 double arg6 ;
2654 bool arg7 = (bool) True ;
2655 bool result;
2656 PyObject * obj0 = 0 ;
2657 PyObject * obj1 = 0 ;
8edf1c75
RD
2658 PyObject * obj2 = 0 ;
2659 PyObject * obj3 = 0 ;
2660 PyObject * obj4 = 0 ;
2661 PyObject * obj5 = 0 ;
44127b65
RD
2662 PyObject * obj6 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2665 };
2666
8edf1c75 2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
2668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2671 SWIG_POINTER_EXCEPTION | 0)) == -1)
2672 SWIG_fail;
44127b65 2673 if (arg2 == NULL) {
2f4c0a16
RD
2674 PyErr_SetString(PyExc_TypeError,"null reference");
2675 SWIG_fail;
2676 }
2677 arg3 = (double) SWIG_AsDouble(obj2);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 arg4 = (double) SWIG_AsDouble(obj3);
2680 if (PyErr_Occurred()) SWIG_fail;
2681 arg5 = (double) SWIG_AsDouble(obj4);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 arg6 = (double) SWIG_AsDouble(obj5);
2684 if (PyErr_Occurred()) SWIG_fail;
44127b65 2685 if (obj6) {
2f4c0a16
RD
2686 arg7 = (bool) SWIG_AsBool(obj6);
2687 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2688 }
2689 {
2690 PyThreadState* __tstate = wxPyBeginAllowThreads();
2691 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2692
2693 wxPyEndAllowThreads(__tstate);
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
fbc46b20
RD
2696 {
2697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2698 }
44127b65
RD
2699 return resultobj;
2700 fail:
2701 return NULL;
2702}
2703
2704
a95a7133 2705static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2706 PyObject *resultobj;
2707 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2708 wxDC *arg2 = 0 ;
2709 double arg3 ;
2710 double arg4 ;
2711 double arg5 ;
2712 double arg6 ;
2713 bool arg7 = (bool) True ;
2714 PyObject * obj0 = 0 ;
2715 PyObject * obj1 = 0 ;
8edf1c75
RD
2716 PyObject * obj2 = 0 ;
2717 PyObject * obj3 = 0 ;
2718 PyObject * obj4 = 0 ;
2719 PyObject * obj5 = 0 ;
44127b65
RD
2720 PyObject * obj6 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2723 };
2724
8edf1c75 2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
2726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2729 SWIG_POINTER_EXCEPTION | 0)) == -1)
2730 SWIG_fail;
44127b65 2731 if (arg2 == NULL) {
2f4c0a16
RD
2732 PyErr_SetString(PyExc_TypeError,"null reference");
2733 SWIG_fail;
2734 }
2735 arg3 = (double) SWIG_AsDouble(obj2);
2736 if (PyErr_Occurred()) SWIG_fail;
2737 arg4 = (double) SWIG_AsDouble(obj3);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 arg5 = (double) SWIG_AsDouble(obj4);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 arg6 = (double) SWIG_AsDouble(obj5);
2742 if (PyErr_Occurred()) SWIG_fail;
44127b65 2743 if (obj6) {
2f4c0a16
RD
2744 arg7 = (bool) SWIG_AsBool(obj6);
2745 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2746 }
2747 {
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2750
2751 wxPyEndAllowThreads(__tstate);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 Py_INCREF(Py_None); resultobj = Py_None;
2755 return resultobj;
2756 fail:
2757 return NULL;
2758}
2759
2760
a95a7133 2761static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2762 PyObject *resultobj;
2763 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2764 bool arg2 ;
2765 double arg3 ;
2766 double arg4 ;
2767 int arg5 = (int) 0 ;
2768 int arg6 = (int) 0 ;
2769 PyObject * obj0 = 0 ;
2770 PyObject * obj1 = 0 ;
8edf1c75
RD
2771 PyObject * obj2 = 0 ;
2772 PyObject * obj3 = 0 ;
2773 PyObject * obj4 = 0 ;
2774 PyObject * obj5 = 0 ;
44127b65
RD
2775 char *kwnames[] = {
2776 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2777 };
2778
8edf1c75 2779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
2780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2782 arg2 = (bool) SWIG_AsBool(obj1);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 arg3 = (double) SWIG_AsDouble(obj2);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 arg4 = (double) SWIG_AsDouble(obj3);
2787 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2788 if (obj4) {
2f4c0a16
RD
2789 arg5 = (int) SWIG_AsInt(obj4);
2790 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2791 }
2792 if (obj5) {
2f4c0a16
RD
2793 arg6 = (int) SWIG_AsInt(obj5);
2794 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2795 }
44127b65
RD
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 Py_INCREF(Py_None); resultobj = Py_None;
2804 return resultobj;
2805 fail:
2806 return NULL;
2807}
2808
2809
a95a7133 2810static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2811 PyObject *resultobj;
2812 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2813 double arg2 ;
2814 double arg3 ;
2815 int arg4 = (int) 0 ;
2816 int arg5 = (int) 0 ;
2817 PyObject * obj0 = 0 ;
8edf1c75
RD
2818 PyObject * obj1 = 0 ;
2819 PyObject * obj2 = 0 ;
2820 PyObject * obj3 = 0 ;
2821 PyObject * obj4 = 0 ;
44127b65
RD
2822 char *kwnames[] = {
2823 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2824 };
2825
8edf1c75 2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2829 arg2 = (double) SWIG_AsDouble(obj1);
2830 if (PyErr_Occurred()) SWIG_fail;
2831 arg3 = (double) SWIG_AsDouble(obj2);
2832 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2833 if (obj3) {
2f4c0a16
RD
2834 arg4 = (int) SWIG_AsInt(obj3);
2835 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2836 }
2837 if (obj4) {
2f4c0a16
RD
2838 arg5 = (int) SWIG_AsInt(obj4);
2839 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2840 }
44127b65
RD
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 Py_INCREF(Py_None); resultobj = Py_None;
2849 return resultobj;
2850 fail:
2851 return NULL;
2852}
2853
2854
a95a7133 2855static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2856 PyObject *resultobj;
2857 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2858 double arg2 ;
2859 double arg3 ;
2860 int arg4 = (int) 0 ;
2861 int arg5 = (int) 0 ;
2862 PyObject * obj0 = 0 ;
8edf1c75
RD
2863 PyObject * obj1 = 0 ;
2864 PyObject * obj2 = 0 ;
2865 PyObject * obj3 = 0 ;
2866 PyObject * obj4 = 0 ;
44127b65
RD
2867 char *kwnames[] = {
2868 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2869 };
2870
8edf1c75 2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2874 arg2 = (double) SWIG_AsDouble(obj1);
2875 if (PyErr_Occurred()) SWIG_fail;
2876 arg3 = (double) SWIG_AsDouble(obj2);
2877 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2878 if (obj3) {
2f4c0a16
RD
2879 arg4 = (int) SWIG_AsInt(obj3);
2880 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2881 }
2882 if (obj4) {
2f4c0a16
RD
2883 arg5 = (int) SWIG_AsInt(obj4);
2884 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2885 }
44127b65
RD
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 Py_INCREF(Py_None); resultobj = Py_None;
2894 return resultobj;
2895 fail:
2896 return NULL;
2897}
2898
2899
a95a7133 2900static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2901 PyObject *resultobj;
2902 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2903 bool arg2 ;
2904 double arg3 ;
2905 double arg4 ;
2906 int arg5 = (int) 0 ;
2907 int arg6 = (int) 0 ;
2908 PyObject * obj0 = 0 ;
2909 PyObject * obj1 = 0 ;
8edf1c75
RD
2910 PyObject * obj2 = 0 ;
2911 PyObject * obj3 = 0 ;
2912 PyObject * obj4 = 0 ;
2913 PyObject * obj5 = 0 ;
44127b65
RD
2914 char *kwnames[] = {
2915 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2916 };
2917
8edf1c75 2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
2919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2921 arg2 = (bool) SWIG_AsBool(obj1);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 arg3 = (double) SWIG_AsDouble(obj2);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 arg4 = (double) SWIG_AsDouble(obj3);
2926 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2927 if (obj4) {
2f4c0a16
RD
2928 arg5 = (int) SWIG_AsInt(obj4);
2929 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2930 }
2931 if (obj5) {
2f4c0a16
RD
2932 arg6 = (int) SWIG_AsInt(obj5);
2933 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2934 }
44127b65
RD
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 Py_INCREF(Py_None); resultobj = Py_None;
2943 return resultobj;
2944 fail:
2945 return NULL;
2946}
2947
2948
a95a7133 2949static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2950 PyObject *resultobj;
2951 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2952 double arg2 ;
2953 double arg3 ;
2954 int arg4 = (int) 0 ;
2955 int arg5 = (int) 0 ;
2956 PyObject * obj0 = 0 ;
8edf1c75
RD
2957 PyObject * obj1 = 0 ;
2958 PyObject * obj2 = 0 ;
2959 PyObject * obj3 = 0 ;
2960 PyObject * obj4 = 0 ;
44127b65
RD
2961 char *kwnames[] = {
2962 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2963 };
2964
8edf1c75 2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
2966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
2967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2968 arg2 = (double) SWIG_AsDouble(obj1);
2969 if (PyErr_Occurred()) SWIG_fail;
2970 arg3 = (double) SWIG_AsDouble(obj2);
2971 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2972 if (obj3) {
2f4c0a16
RD
2973 arg4 = (int) SWIG_AsInt(obj3);
2974 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2975 }
2976 if (obj4) {
2f4c0a16
RD
2977 arg5 = (int) SWIG_AsInt(obj4);
2978 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2979 }
44127b65
RD
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 Py_INCREF(Py_None); resultobj = Py_None;
2988 return resultobj;
2989 fail:
2990 return NULL;
2991}
2992
2993
a95a7133 2994static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
2995 PyObject *resultobj;
2996 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2997 double arg2 ;
2998 double arg3 ;
2999 int arg4 = (int) 0 ;
3000 int arg5 = (int) 0 ;
3001 PyObject * obj0 = 0 ;
8edf1c75
RD
3002 PyObject * obj1 = 0 ;
3003 PyObject * obj2 = 0 ;
3004 PyObject * obj3 = 0 ;
3005 PyObject * obj4 = 0 ;
44127b65
RD
3006 char *kwnames[] = {
3007 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3008 };
3009
8edf1c75 3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3013 arg2 = (double) SWIG_AsDouble(obj1);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 arg3 = (double) SWIG_AsDouble(obj2);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 if (obj3) {
3018 arg4 = (int) SWIG_AsInt(obj3);
8edf1c75
RD
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
2f4c0a16
RD
3021 if (obj4) {
3022 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
44127b65
RD
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
3032 Py_INCREF(Py_None); resultobj = Py_None;
3033 return resultobj;
3034 fail:
3035 return NULL;
3036}
3037
3038
a95a7133 3039static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3040 PyObject *resultobj;
3041 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3042 wxDC *arg2 = 0 ;
3043 double arg3 ;
3044 double arg4 ;
3045 double arg5 ;
3046 double arg6 ;
3047 PyObject * obj0 = 0 ;
3048 PyObject * obj1 = 0 ;
8edf1c75
RD
3049 PyObject * obj2 = 0 ;
3050 PyObject * obj3 = 0 ;
3051 PyObject * obj4 = 0 ;
3052 PyObject * obj5 = 0 ;
44127b65
RD
3053 char *kwnames[] = {
3054 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3055 };
3056
8edf1c75 3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3061 SWIG_POINTER_EXCEPTION | 0)) == -1)
3062 SWIG_fail;
44127b65 3063 if (arg2 == NULL) {
2f4c0a16
RD
3064 PyErr_SetString(PyExc_TypeError,"null reference");
3065 SWIG_fail;
8edf1c75 3066 }
2f4c0a16
RD
3067 arg3 = (double) SWIG_AsDouble(obj2);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 arg4 = (double) SWIG_AsDouble(obj3);
3070 if (PyErr_Occurred()) SWIG_fail;
3071 arg5 = (double) SWIG_AsDouble(obj4);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 arg6 = (double) SWIG_AsDouble(obj5);
3074 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 Py_INCREF(Py_None); resultobj = Py_None;
3083 return resultobj;
3084 fail:
3085 return NULL;
3086}
3087
3088
a95a7133 3089static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3090 PyObject *resultobj;
3091 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3092 wxDC *arg2 = 0 ;
3093 PyObject * obj0 = 0 ;
3094 PyObject * obj1 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self",(char *) "dc", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3103 SWIG_POINTER_EXCEPTION | 0)) == -1)
3104 SWIG_fail;
44127b65 3105 if (arg2 == NULL) {
2f4c0a16
RD
3106 PyErr_SetString(PyExc_TypeError,"null reference");
3107 SWIG_fail;
44127b65
RD
3108 }
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 (arg1)->base_OnDrawControlPoints(*arg2);
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 Py_INCREF(Py_None); resultobj = Py_None;
3117 return resultobj;
3118 fail:
3119 return NULL;
3120}
3121
3122
a95a7133 3123static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3124 PyObject *resultobj;
3125 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3126 wxDC *arg2 = 0 ;
3127 PyObject * obj0 = 0 ;
3128 PyObject * obj1 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "self",(char *) "dc", NULL
3131 };
3132
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3137 SWIG_POINTER_EXCEPTION | 0)) == -1)
3138 SWIG_fail;
44127b65 3139 if (arg2 == NULL) {
2f4c0a16
RD
3140 PyErr_SetString(PyExc_TypeError,"null reference");
3141 SWIG_fail;
44127b65
RD
3142 }
3143 {
3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
3145 (arg1)->base_OnEraseControlPoints(*arg2);
3146
3147 wxPyEndAllowThreads(__tstate);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 Py_INCREF(Py_None); resultobj = Py_None;
3151 return resultobj;
3152 fail:
3153 return NULL;
3154}
3155
3156
a95a7133 3157static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3158 PyObject *resultobj;
3159 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3160 wxDC *arg2 = 0 ;
3161 bool arg3 = (bool) True ;
3162 PyObject * obj0 = 0 ;
3163 PyObject * obj1 = 0 ;
3164 PyObject * obj2 = 0 ;
3165 char *kwnames[] = {
3166 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3167 };
3168
3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1)
3174 SWIG_fail;
44127b65 3175 if (arg2 == NULL) {
2f4c0a16
RD
3176 PyErr_SetString(PyExc_TypeError,"null reference");
3177 SWIG_fail;
44127b65
RD
3178 }
3179 if (obj2) {
2f4c0a16
RD
3180 arg3 = (bool) SWIG_AsBool(obj2);
3181 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 (arg1)->base_OnMoveLink(*arg2,arg3);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 Py_INCREF(Py_None); resultobj = Py_None;
3191 return resultobj;
3192 fail:
3193 return NULL;
3194}
3195
3196
a95a7133 3197static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3198 PyObject *resultobj;
3199 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3200 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3201 bool arg3 ;
3202 double arg4 ;
3203 double arg5 ;
3204 int arg6 = (int) 0 ;
3205 int arg7 = (int) 0 ;
3206 PyObject * obj0 = 0 ;
3207 PyObject * obj1 = 0 ;
3208 PyObject * obj2 = 0 ;
8edf1c75
RD
3209 PyObject * obj3 = 0 ;
3210 PyObject * obj4 = 0 ;
3211 PyObject * obj5 = 0 ;
3212 PyObject * obj6 = 0 ;
44127b65
RD
3213 char *kwnames[] = {
3214 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3215 };
3216
8edf1c75 3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
3218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3222 arg3 = (bool) SWIG_AsBool(obj2);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 arg4 = (double) SWIG_AsDouble(obj3);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 arg5 = (double) SWIG_AsDouble(obj4);
3227 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3228 if (obj5) {
2f4c0a16
RD
3229 arg6 = (int) SWIG_AsInt(obj5);
3230 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3231 }
3232 if (obj6) {
2f4c0a16
RD
3233 arg7 = (int) SWIG_AsInt(obj6);
3234 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3235 }
44127b65
RD
3236 {
3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
3238 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 Py_INCREF(Py_None); resultobj = Py_None;
3244 return resultobj;
3245 fail:
3246 return NULL;
3247}
3248
3249
a95a7133 3250static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3251 PyObject *resultobj;
3252 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3253 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3254 double arg3 ;
3255 double arg4 ;
3256 int arg5 = (int) 0 ;
3257 int arg6 = (int) 0 ;
3258 PyObject * obj0 = 0 ;
3259 PyObject * obj1 = 0 ;
8edf1c75
RD
3260 PyObject * obj2 = 0 ;
3261 PyObject * obj3 = 0 ;
3262 PyObject * obj4 = 0 ;
3263 PyObject * obj5 = 0 ;
44127b65
RD
3264 char *kwnames[] = {
3265 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3266 };
3267
8edf1c75 3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3273 arg3 = (double) SWIG_AsDouble(obj2);
3274 if (PyErr_Occurred()) SWIG_fail;
3275 arg4 = (double) SWIG_AsDouble(obj3);
3276 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3277 if (obj4) {
2f4c0a16
RD
3278 arg5 = (int) SWIG_AsInt(obj4);
3279 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3280 }
3281 if (obj5) {
2f4c0a16
RD
3282 arg6 = (int) SWIG_AsInt(obj5);
3283 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3284 }
44127b65
RD
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
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
a95a7133 3299static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3300 PyObject *resultobj;
3301 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3302 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3303 double arg3 ;
3304 double arg4 ;
3305 int arg5 = (int) 0 ;
3306 int arg6 = (int) 0 ;
3307 PyObject * obj0 = 0 ;
3308 PyObject * obj1 = 0 ;
8edf1c75
RD
3309 PyObject * obj2 = 0 ;
3310 PyObject * obj3 = 0 ;
3311 PyObject * obj4 = 0 ;
3312 PyObject * obj5 = 0 ;
44127b65
RD
3313 char *kwnames[] = {
3314 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3315 };
3316
8edf1c75 3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
3318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
3321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3322 arg3 = (double) SWIG_AsDouble(obj2);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 arg4 = (double) SWIG_AsDouble(obj3);
3325 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3326 if (obj4) {
2f4c0a16
RD
3327 arg5 = (int) SWIG_AsInt(obj4);
3328 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3329 }
3330 if (obj5) {
2f4c0a16
RD
3331 arg6 = (int) SWIG_AsInt(obj5);
3332 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3333 }
44127b65
RD
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 Py_INCREF(Py_None); resultobj = Py_None;
3342 return resultobj;
3343 fail:
3344 return NULL;
3345}
3346
3347
a95a7133 3348static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3349 PyObject *resultobj;
3350 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3351 double arg2 ;
3352 double arg3 ;
3353 PyObject * obj0 = 0 ;
8edf1c75
RD
3354 PyObject * obj1 = 0 ;
3355 PyObject * obj2 = 0 ;
44127b65
RD
3356 char *kwnames[] = {
3357 (char *) "self",(char *) "w",(char *) "h", NULL
3358 };
3359
8edf1c75 3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3363 arg2 = (double) SWIG_AsDouble(obj1);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 arg3 = (double) SWIG_AsDouble(obj2);
3366 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3367 {
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 (arg1)->base_OnBeginSize(arg2,arg3);
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 Py_INCREF(Py_None); resultobj = Py_None;
3375 return resultobj;
3376 fail:
3377 return NULL;
3378}
3379
3380
a95a7133 3381static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3382 PyObject *resultobj;
3383 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3384 double arg2 ;
3385 double arg3 ;
3386 PyObject * obj0 = 0 ;
8edf1c75
RD
3387 PyObject * obj1 = 0 ;
3388 PyObject * obj2 = 0 ;
44127b65
RD
3389 char *kwnames[] = {
3390 (char *) "self",(char *) "w",(char *) "h", NULL
3391 };
3392
8edf1c75 3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeEvtHandler,
3395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3396 arg2 = (double) SWIG_AsDouble(obj1);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 arg3 = (double) SWIG_AsDouble(obj2);
3399 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 (arg1)->base_OnEndSize(arg2,arg3);
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
3407 Py_INCREF(Py_None); resultobj = Py_None;
3408 return resultobj;
3409 fail:
3410 return NULL;
3411}
3412
3413
a95a7133 3414static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
3415 PyObject *obj;
3416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3417 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3418 Py_INCREF(obj);
3419 return Py_BuildValue((char *)"");
3420}
a95a7133 3421static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3422 PyObject *resultobj;
3423 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3424 wxPyShape *result;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "can", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3431 if (obj0) {
2f4c0a16
RD
3432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
3433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 result = (wxPyShape *)new wxPyShape(arg1);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
b0f7404b 3442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShape, 1);
44127b65
RD
3443 return resultobj;
3444 fail:
3445 return NULL;
3446}
3447
3448
a95a7133 3449static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3450 PyObject *resultobj;
3451 wxPyShape *arg1 = (wxPyShape *) 0 ;
3452 PyObject *arg2 = (PyObject *) 0 ;
3453 PyObject *arg3 = (PyObject *) 0 ;
3454 PyObject * obj0 = 0 ;
3455 PyObject * obj1 = 0 ;
3456 PyObject * obj2 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self",(char *) "self",(char *) "_class", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3464 arg2 = obj1;
3465 arg3 = obj2;
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 (arg1)->_setCallbackInfo(arg2,arg3);
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 Py_INCREF(Py_None); resultobj = Py_None;
3474 return resultobj;
3475 fail:
3476 return NULL;
3477}
3478
3479
a95a7133 3480static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3481 PyObject *resultobj;
3482 wxPyShape *arg1 = (wxPyShape *) 0 ;
3483 double *arg2 = (double *) 0 ;
3484 double *arg3 = (double *) 0 ;
3485 double temp2 ;
3486 double temp3 ;
3487 PyObject * obj0 = 0 ;
3488 char *kwnames[] = {
3489 (char *) "self", NULL
3490 };
3491
3492 arg2 = &temp2;
3493 arg3 = &temp3;
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 (arg1)->GetBoundingBoxMax(arg2,arg3);
3500
3501 wxPyEndAllowThreads(__tstate);
3502 if (PyErr_Occurred()) SWIG_fail;
3503 }
3504 Py_INCREF(Py_None); resultobj = Py_None;
3505 {
3506 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3507 resultobj = t_output_helper(resultobj,o);
3508 }
3509 {
3510 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3511 resultobj = t_output_helper(resultobj,o);
3512 }
3513 return resultobj;
3514 fail:
3515 return NULL;
3516}
3517
3518
a95a7133 3519static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3520 PyObject *resultobj;
3521 wxPyShape *arg1 = (wxPyShape *) 0 ;
3522 double *arg2 = (double *) 0 ;
3523 double *arg3 = (double *) 0 ;
3524 double temp2 ;
3525 double temp3 ;
3526 PyObject * obj0 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "self", NULL
3529 };
3530
3531 arg2 = &temp2;
3532 arg3 = &temp3;
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 (arg1)->GetBoundingBoxMin(arg2,arg3);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 Py_INCREF(Py_None); resultobj = Py_None;
3544 {
3545 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3546 resultobj = t_output_helper(resultobj,o);
3547 }
3548 {
3549 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3550 resultobj = t_output_helper(resultobj,o);
3551 }
3552 return resultobj;
3553 fail:
3554 return NULL;
3555}
3556
3557
a95a7133 3558static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3559 PyObject *resultobj;
3560 wxPyShape *arg1 = (wxPyShape *) 0 ;
3561 double arg2 ;
3562 double arg3 ;
3563 double arg4 ;
3564 double arg5 ;
3565 double *arg6 = (double *) 0 ;
3566 double *arg7 = (double *) 0 ;
3567 bool result;
3568 double temp6 ;
3569 double temp7 ;
3570 PyObject * obj0 = 0 ;
8edf1c75
RD
3571 PyObject * obj1 = 0 ;
3572 PyObject * obj2 = 0 ;
3573 PyObject * obj3 = 0 ;
3574 PyObject * obj4 = 0 ;
3575 char *kwnames[] = {
3576 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
44127b65
RD
3577 };
3578
3579 arg6 = &temp6;
3580 arg7 = &temp7;
8edf1c75 3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
3582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3584 arg2 = (double) SWIG_AsDouble(obj1);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 arg3 = (double) SWIG_AsDouble(obj2);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 arg4 = (double) SWIG_AsDouble(obj3);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 arg5 = (double) SWIG_AsDouble(obj4);
3591 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3595
3596 wxPyEndAllowThreads(__tstate);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
fbc46b20
RD
3599 {
3600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3601 }
44127b65
RD
3602 {
3603 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3604 resultobj = t_output_helper(resultobj,o);
3605 }
3606 {
3607 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3608 resultobj = t_output_helper(resultobj,o);
3609 }
3610 return resultobj;
3611 fail:
3612 return NULL;
3613}
3614
3615
a95a7133 3616static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3617 PyObject *resultobj;
3618 wxPyShape *arg1 = (wxPyShape *) 0 ;
3619 wxPyShapeCanvas *result;
3620 PyObject * obj0 = 0 ;
3621 char *kwnames[] = {
3622 (char *) "self", NULL
3623 };
3624
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 {
412d302d 3636 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
3637 }
3638 return resultobj;
3639 fail:
3640 return NULL;
3641}
3642
3643
a95a7133 3644static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3645 PyObject *resultobj;
3646 wxPyShape *arg1 = (wxPyShape *) 0 ;
3647 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self",(char *) "the_canvas", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 (arg1)->SetCanvas(arg2);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 Py_INCREF(Py_None); resultobj = Py_None;
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
a95a7133 3673static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3674 PyObject *resultobj;
3675 wxPyShape *arg1 = (wxPyShape *) 0 ;
3676 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3677 wxPyShape *arg3 = (wxPyShape *) NULL ;
3678 PyObject * obj0 = 0 ;
3679 PyObject * obj1 = 0 ;
3680 PyObject * obj2 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 3690 if (obj2) {
2f4c0a16
RD
3691 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3693 }
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 (arg1)->AddToCanvas(arg2,arg3);
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 Py_INCREF(Py_None); resultobj = Py_None;
3702 return resultobj;
3703 fail:
3704 return NULL;
3705}
3706
3707
a95a7133 3708static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3709 PyObject *resultobj;
3710 wxPyShape *arg1 = (wxPyShape *) 0 ;
3711 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3712 PyObject * obj0 = 0 ;
3713 PyObject * obj1 = 0 ;
3714 char *kwnames[] = {
3715 (char *) "self",(char *) "the_canvas", NULL
3716 };
3717
3718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 (arg1)->InsertInCanvas(arg2);
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 Py_INCREF(Py_None); resultobj = Py_None;
3731 return resultobj;
3732 fail:
3733 return NULL;
3734}
3735
3736
a95a7133 3737static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3738 PyObject *resultobj;
3739 wxPyShape *arg1 = (wxPyShape *) 0 ;
3740 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3741 PyObject * obj0 = 0 ;
3742 PyObject * obj1 = 0 ;
3743 char *kwnames[] = {
3744 (char *) "self",(char *) "the_canvas", NULL
3745 };
3746
3747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
3751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->RemoveFromCanvas(arg2);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 Py_INCREF(Py_None); resultobj = Py_None;
3760 return resultobj;
3761 fail:
3762 return NULL;
3763}
3764
3765
a95a7133 3766static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3767 PyObject *resultobj;
3768 wxPyShape *arg1 = (wxPyShape *) 0 ;
3769 double result;
3770 PyObject * obj0 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 result = (double)(arg1)->GetX();
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
2f4c0a16 3785 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
3786 return resultobj;
3787 fail:
3788 return NULL;
3789}
3790
3791
a95a7133 3792static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3793 PyObject *resultobj;
3794 wxPyShape *arg1 = (wxPyShape *) 0 ;
3795 double result;
3796 PyObject * obj0 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3804 {
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 result = (double)(arg1)->GetY();
3807
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
2f4c0a16 3811 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
3812 return resultobj;
3813 fail:
3814 return NULL;
3815}
3816
3817
a95a7133 3818static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3819 PyObject *resultobj;
3820 wxPyShape *arg1 = (wxPyShape *) 0 ;
3821 double arg2 ;
3822 PyObject * obj0 = 0 ;
8edf1c75 3823 PyObject * obj1 = 0 ;
44127b65
RD
3824 char *kwnames[] = {
3825 (char *) "self",(char *) "x", NULL
3826 };
3827
8edf1c75 3828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3831 arg2 = (double) SWIG_AsDouble(obj1);
3832 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 (arg1)->SetX(arg2);
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 Py_INCREF(Py_None); resultobj = Py_None;
3841 return resultobj;
3842 fail:
3843 return NULL;
3844}
3845
3846
a95a7133 3847static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3848 PyObject *resultobj;
3849 wxPyShape *arg1 = (wxPyShape *) 0 ;
3850 double arg2 ;
3851 PyObject * obj0 = 0 ;
8edf1c75 3852 PyObject * obj1 = 0 ;
44127b65
RD
3853 char *kwnames[] = {
3854 (char *) "self",(char *) "y", NULL
3855 };
3856
8edf1c75 3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3860 arg2 = (double) SWIG_AsDouble(obj1);
3861 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
3862 {
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 (arg1)->SetY(arg2);
3865
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 Py_INCREF(Py_None); resultobj = Py_None;
3870 return resultobj;
3871 fail:
3872 return NULL;
3873}
3874
3875
a95a7133 3876static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3877 PyObject *resultobj;
3878 wxPyShape *arg1 = (wxPyShape *) 0 ;
3879 wxPyShape *result;
3880 PyObject * obj0 = 0 ;
3881 char *kwnames[] = {
3882 (char *) "self", NULL
3883 };
3884
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 result = (wxPyShape *)(arg1)->GetParent();
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 {
412d302d 3896 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
3897 }
3898 return resultobj;
3899 fail:
3900 return NULL;
3901}
3902
3903
a95a7133 3904static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3905 PyObject *resultobj;
3906 wxPyShape *arg1 = (wxPyShape *) 0 ;
3907 wxPyShape *arg2 = (wxPyShape *) 0 ;
3908 PyObject * obj0 = 0 ;
3909 PyObject * obj1 = 0 ;
3910 char *kwnames[] = {
3911 (char *) "self",(char *) "p", NULL
3912 };
3913
3914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
3918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3919 {
3920 PyThreadState* __tstate = wxPyBeginAllowThreads();
3921 (arg1)->SetParent(arg2);
3922
3923 wxPyEndAllowThreads(__tstate);
3924 if (PyErr_Occurred()) SWIG_fail;
3925 }
3926 Py_INCREF(Py_None); resultobj = Py_None;
3927 return resultobj;
3928 fail:
3929 return NULL;
3930}
3931
3932
a95a7133 3933static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3934 PyObject *resultobj;
3935 wxPyShape *arg1 = (wxPyShape *) 0 ;
3936 wxPyShape *result;
3937 PyObject * obj0 = 0 ;
3938 char *kwnames[] = {
3939 (char *) "self", NULL
3940 };
3941
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 result = (wxPyShape *)(arg1)->GetTopAncestor();
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 {
412d302d 3953 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
3954 }
3955 return resultobj;
3956 fail:
3957 return NULL;
3958}
3959
3960
a95a7133 3961static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3962 PyObject *resultobj;
3963 wxPyShape *arg1 = (wxPyShape *) 0 ;
3964 PyObject *result;
3965 PyObject * obj0 = 0 ;
3966 char *kwnames[] = {
3967 (char *) "self", NULL
3968 };
3969
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3973 {
3974 PyThreadState* __tstate = wxPyBeginAllowThreads();
3975 result = (PyObject *)wxPyShape_GetChildren(arg1);
3976
3977 wxPyEndAllowThreads(__tstate);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 resultobj = result;
3981 return resultobj;
3982 fail:
3983 return NULL;
3984}
3985
3986
a95a7133 3987static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
3988 PyObject *resultobj;
3989 wxPyShape *arg1 = (wxPyShape *) 0 ;
3990 PyObject * obj0 = 0 ;
3991 char *kwnames[] = {
3992 (char *) "self", NULL
3993 };
3994
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
3997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 (arg1)->Unlink();
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 Py_INCREF(Py_None); resultobj = Py_None;
4006 return resultobj;
4007 fail:
4008 return NULL;
4009}
4010
4011
a95a7133 4012static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4013 PyObject *resultobj;
4014 wxPyShape *arg1 = (wxPyShape *) 0 ;
4015 bool arg2 ;
4016 PyObject * obj0 = 0 ;
4017 PyObject * obj1 = 0 ;
4018 char *kwnames[] = {
4019 (char *) "self",(char *) "drawH", NULL
4020 };
4021
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4025 arg2 = (bool) SWIG_AsBool(obj1);
4026 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 (arg1)->SetDrawHandles(arg2);
4030
4031 wxPyEndAllowThreads(__tstate);
4032 if (PyErr_Occurred()) SWIG_fail;
4033 }
4034 Py_INCREF(Py_None); resultobj = Py_None;
4035 return resultobj;
4036 fail:
4037 return NULL;
4038}
4039
4040
a95a7133 4041static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4042 PyObject *resultobj;
4043 wxPyShape *arg1 = (wxPyShape *) 0 ;
4044 bool result;
4045 PyObject * obj0 = 0 ;
4046 char *kwnames[] = {
4047 (char *) "self", NULL
4048 };
4049
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 result = (bool)(arg1)->GetDrawHandles();
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
fbc46b20
RD
4060 {
4061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4062 }
44127b65
RD
4063 return resultobj;
4064 fail:
4065 return NULL;
4066}
4067
4068
a95a7133 4069static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4070 PyObject *resultobj;
4071 wxPyShape *arg1 = (wxPyShape *) 0 ;
4072 PyObject * obj0 = 0 ;
4073 char *kwnames[] = {
4074 (char *) "self", NULL
4075 };
4076
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4080 {
4081 PyThreadState* __tstate = wxPyBeginAllowThreads();
4082 (arg1)->MakeControlPoints();
4083
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 Py_INCREF(Py_None); resultobj = Py_None;
4088 return resultobj;
4089 fail:
4090 return NULL;
4091}
4092
4093
a95a7133 4094static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4095 PyObject *resultobj;
4096 wxPyShape *arg1 = (wxPyShape *) 0 ;
4097 wxDC *arg2 = (wxDC *) NULL ;
4098 PyObject * obj0 = 0 ;
4099 PyObject * obj1 = 0 ;
4100 char *kwnames[] = {
4101 (char *) "self",(char *) "dc", NULL
4102 };
4103
4104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4107 if (obj1) {
2f4c0a16
RD
4108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
4109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4110 }
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 (arg1)->DeleteControlPoints(arg2);
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 Py_INCREF(Py_None); resultobj = Py_None;
4119 return resultobj;
4120 fail:
4121 return NULL;
4122}
4123
4124
a95a7133 4125static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4126 PyObject *resultobj;
4127 wxPyShape *arg1 = (wxPyShape *) 0 ;
4128 PyObject * obj0 = 0 ;
4129 char *kwnames[] = {
4130 (char *) "self", NULL
4131 };
4132
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 (arg1)->ResetControlPoints();
4139
4140 wxPyEndAllowThreads(__tstate);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4143 Py_INCREF(Py_None); resultobj = Py_None;
4144 return resultobj;
4145 fail:
4146 return NULL;
4147}
4148
4149
a95a7133 4150static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4151 PyObject *resultobj;
4152 wxPyShape *arg1 = (wxPyShape *) 0 ;
4153 wxPyShapeEvtHandler *result;
4154 PyObject * obj0 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "self", NULL
4157 };
4158
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 {
412d302d 4170 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
4171 }
4172 return resultobj;
4173 fail:
4174 return NULL;
4175}
4176
4177
a95a7133 4178static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4179 PyObject *resultobj;
4180 wxPyShape *arg1 = (wxPyShape *) 0 ;
4181 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4182 PyObject * obj0 = 0 ;
4183 PyObject * obj1 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self",(char *) "handler", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeEvtHandler,
4192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 (arg1)->SetEventHandler(arg2);
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 Py_INCREF(Py_None); resultobj = Py_None;
4201 return resultobj;
4202 fail:
4203 return NULL;
4204}
4205
4206
a95a7133 4207static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4208 PyObject *resultobj;
4209 wxPyShape *arg1 = (wxPyShape *) 0 ;
4210 PyObject * obj0 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 (arg1)->MakeMandatoryControlPoints();
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 Py_INCREF(Py_None); resultobj = Py_None;
4226 return resultobj;
4227 fail:
4228 return NULL;
4229}
4230
4231
a95a7133 4232static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4233 PyObject *resultobj;
4234 wxPyShape *arg1 = (wxPyShape *) 0 ;
4235 PyObject * obj0 = 0 ;
4236 char *kwnames[] = {
4237 (char *) "self", NULL
4238 };
4239
4240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 (arg1)->ResetMandatoryControlPoints();
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
4250 Py_INCREF(Py_None); resultobj = Py_None;
4251 return resultobj;
4252 fail:
4253 return NULL;
4254}
4255
4256
a95a7133 4257static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4258 PyObject *resultobj;
4259 wxPyShape *arg1 = (wxPyShape *) 0 ;
4260 bool result;
4261 PyObject * obj0 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "self", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4269 {
4270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4271 result = (bool)(arg1)->Recompute();
4272
4273 wxPyEndAllowThreads(__tstate);
4274 if (PyErr_Occurred()) SWIG_fail;
4275 }
fbc46b20
RD
4276 {
4277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4278 }
44127b65
RD
4279 return resultobj;
4280 fail:
4281 return NULL;
4282}
4283
4284
a95a7133 4285static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4286 PyObject *resultobj;
4287 wxPyShape *arg1 = (wxPyShape *) 0 ;
4288 PyObject * obj0 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 (arg1)->CalculateSize();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307}
4308
4309
a95a7133 4310static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4311 PyObject *resultobj;
4312 wxPyShape *arg1 = (wxPyShape *) 0 ;
4313 bool arg2 = (bool) True ;
4314 wxDC *arg3 = (wxDC *) NULL ;
4315 PyObject * obj0 = 0 ;
4316 PyObject * obj1 = 0 ;
4317 PyObject * obj2 = 0 ;
4318 char *kwnames[] = {
4319 (char *) "self",(char *) "select",(char *) "dc", NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4325 if (obj1) {
2f4c0a16
RD
4326 arg2 = (bool) SWIG_AsBool(obj1);
4327 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4328 }
4329 if (obj2) {
2f4c0a16
RD
4330 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
4331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->Select(arg2,arg3);
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 Py_INCREF(Py_None); resultobj = Py_None;
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
a95a7133 4347static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4348 PyObject *resultobj;
4349 wxPyShape *arg1 = (wxPyShape *) 0 ;
4350 bool arg2 = (bool) True ;
4351 bool arg3 = (bool) False ;
4352 PyObject * obj0 = 0 ;
4353 PyObject * obj1 = 0 ;
4354 PyObject * obj2 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 4362 if (obj1) {
2f4c0a16
RD
4363 arg2 = (bool) SWIG_AsBool(obj1);
4364 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4365 }
4366 if (obj2) {
2f4c0a16
RD
4367 arg3 = (bool) SWIG_AsBool(obj2);
4368 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4369 }
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 (arg1)->SetHighlight(arg2,arg3);
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 Py_INCREF(Py_None); resultobj = Py_None;
4378 return resultobj;
4379 fail:
4380 return NULL;
4381}
4382
4383
a95a7133 4384static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4385 PyObject *resultobj;
4386 wxPyShape *arg1 = (wxPyShape *) 0 ;
4387 bool result;
4388 PyObject * obj0 = 0 ;
4389 char *kwnames[] = {
4390 (char *) "self", NULL
4391 };
4392
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 result = (bool)(arg1)->IsHighlighted();
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
fbc46b20
RD
4403 {
4404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4405 }
44127b65
RD
4406 return resultobj;
4407 fail:
4408 return NULL;
4409}
4410
4411
a95a7133 4412static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4413 PyObject *resultobj;
4414 wxPyShape *arg1 = (wxPyShape *) 0 ;
4415 bool result;
4416 PyObject * obj0 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 result = (bool)(arg1)->Selected();
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
fbc46b20
RD
4431 {
4432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4433 }
44127b65
RD
4434 return resultobj;
4435 fail:
4436 return NULL;
4437}
4438
4439
a95a7133 4440static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4441 PyObject *resultobj;
4442 wxPyShape *arg1 = (wxPyShape *) 0 ;
4443 bool result;
4444 PyObject * obj0 = 0 ;
4445 char *kwnames[] = {
4446 (char *) "self", NULL
4447 };
4448
4449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (bool)(arg1)->AncestorSelected();
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
fbc46b20
RD
4459 {
4460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4461 }
44127b65
RD
4462 return resultobj;
4463 fail:
4464 return NULL;
4465}
4466
4467
a95a7133 4468static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4469 PyObject *resultobj;
4470 wxPyShape *arg1 = (wxPyShape *) 0 ;
4471 int arg2 = (int) OP_ALL ;
4472 bool arg3 = (bool) False ;
4473 PyObject * obj0 = 0 ;
8edf1c75 4474 PyObject * obj1 = 0 ;
44127b65
RD
4475 PyObject * obj2 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4478 };
4479
8edf1c75 4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4483 if (obj1) {
2f4c0a16
RD
4484 arg2 = (int) SWIG_AsInt(obj1);
4485 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4486 }
44127b65 4487 if (obj2) {
2f4c0a16
RD
4488 arg3 = (bool) SWIG_AsBool(obj2);
4489 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4490 }
4491 {
4492 PyThreadState* __tstate = wxPyBeginAllowThreads();
4493 (arg1)->SetSensitivityFilter(arg2,arg3);
4494
4495 wxPyEndAllowThreads(__tstate);
4496 if (PyErr_Occurred()) SWIG_fail;
4497 }
4498 Py_INCREF(Py_None); resultobj = Py_None;
4499 return resultobj;
4500 fail:
4501 return NULL;
4502}
4503
4504
a95a7133 4505static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4506 PyObject *resultobj;
4507 wxPyShape *arg1 = (wxPyShape *) 0 ;
4508 int result;
4509 PyObject * obj0 = 0 ;
4510 char *kwnames[] = {
4511 (char *) "self", NULL
4512 };
4513
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 result = (int)(arg1)->GetSensitivityFilter();
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
2f4c0a16 4524 resultobj = SWIG_FromInt((int)result);
44127b65
RD
4525 return resultobj;
4526 fail:
4527 return NULL;
4528}
4529
4530
a95a7133 4531static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4532 PyObject *resultobj;
4533 wxPyShape *arg1 = (wxPyShape *) 0 ;
4534 bool arg2 ;
4535 bool arg3 = (bool) False ;
4536 PyObject * obj0 = 0 ;
4537 PyObject * obj1 = 0 ;
4538 PyObject * obj2 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4546 arg2 = (bool) SWIG_AsBool(obj1);
4547 if (PyErr_Occurred()) SWIG_fail;
2dbef272 4548 if (obj2) {
2f4c0a16
RD
4549 arg3 = (bool) SWIG_AsBool(obj2);
4550 if (PyErr_Occurred()) SWIG_fail;
2dbef272 4551 }
44127b65
RD
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 (arg1)->SetDraggable(arg2,arg3);
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 Py_INCREF(Py_None); resultobj = Py_None;
4560 return resultobj;
4561 fail:
4562 return NULL;
4563}
4564
4565
a95a7133 4566static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4567 PyObject *resultobj;
4568 wxPyShape *arg1 = (wxPyShape *) 0 ;
4569 bool arg2 ;
4570 bool arg3 ;
4571 PyObject * obj0 = 0 ;
4572 PyObject * obj1 = 0 ;
4573 PyObject * obj2 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self",(char *) "x",(char *) "y", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4581 arg2 = (bool) SWIG_AsBool(obj1);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 arg3 = (bool) SWIG_AsBool(obj2);
4584 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 (arg1)->SetFixedSize(arg2,arg3);
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 Py_INCREF(Py_None); resultobj = Py_None;
4593 return resultobj;
4594 fail:
4595 return NULL;
4596}
4597
4598
a95a7133 4599static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4600 PyObject *resultobj;
4601 wxPyShape *arg1 = (wxPyShape *) 0 ;
4602 bool *arg2 = (bool *) 0 ;
4603 bool *arg3 = (bool *) 0 ;
4604 bool temp2 ;
4605 bool temp3 ;
4606 PyObject * obj0 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "self", NULL
4609 };
4610
4611 arg2 = &temp2;
4612 arg3 = &temp3;
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 (arg1)->GetFixedSize(arg2,arg3);
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 Py_INCREF(Py_None); resultobj = Py_None;
4624 {
4625 PyObject *o = PyInt_FromLong((long) (*arg2));
4626 resultobj = t_output_helper(resultobj,o);
4627 }
4628 {
4629 PyObject *o = PyInt_FromLong((long) (*arg3));
4630 resultobj = t_output_helper(resultobj,o);
4631 }
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
a95a7133 4638static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4639 PyObject *resultobj;
4640 wxPyShape *arg1 = (wxPyShape *) 0 ;
4641 bool result;
4642 PyObject * obj0 = 0 ;
4643 char *kwnames[] = {
4644 (char *) "self", NULL
4645 };
4646
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = (bool)(arg1)->GetFixedWidth();
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
fbc46b20
RD
4657 {
4658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4659 }
44127b65
RD
4660 return resultobj;
4661 fail:
4662 return NULL;
4663}
4664
4665
a95a7133 4666static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4667 PyObject *resultobj;
4668 wxPyShape *arg1 = (wxPyShape *) 0 ;
4669 bool result;
4670 PyObject * obj0 = 0 ;
4671 char *kwnames[] = {
4672 (char *) "self", NULL
4673 };
4674
4675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (bool)(arg1)->GetFixedHeight();
4681
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
fbc46b20
RD
4685 {
4686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4687 }
44127b65
RD
4688 return resultobj;
4689 fail:
4690 return NULL;
4691}
4692
4693
a95a7133 4694static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4695 PyObject *resultobj;
4696 wxPyShape *arg1 = (wxPyShape *) 0 ;
4697 bool arg2 ;
4698 PyObject * obj0 = 0 ;
4699 PyObject * obj1 = 0 ;
4700 char *kwnames[] = {
4701 (char *) "self",(char *) "sp", NULL
4702 };
4703
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4707 arg2 = (bool) SWIG_AsBool(obj1);
4708 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 (arg1)->SetSpaceAttachments(arg2);
4712
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 Py_INCREF(Py_None); resultobj = Py_None;
4717 return resultobj;
4718 fail:
4719 return NULL;
4720}
4721
4722
a95a7133 4723static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4724 PyObject *resultobj;
4725 wxPyShape *arg1 = (wxPyShape *) 0 ;
4726 bool result;
4727 PyObject * obj0 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "self", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 result = (bool)(arg1)->GetSpaceAttachments();
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
fbc46b20
RD
4742 {
4743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4744 }
44127b65
RD
4745 return resultobj;
4746 fail:
4747 return NULL;
4748}
4749
4750
a95a7133 4751static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4752 PyObject *resultobj;
4753 wxPyShape *arg1 = (wxPyShape *) 0 ;
4754 int arg2 ;
4755 bool arg3 = (bool) False ;
4756 PyObject * obj0 = 0 ;
8edf1c75 4757 PyObject * obj1 = 0 ;
44127b65
RD
4758 PyObject * obj2 = 0 ;
4759 char *kwnames[] = {
4760 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4761 };
4762
8edf1c75 4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4766 arg2 = (int) SWIG_AsInt(obj1);
4767 if (PyErr_Occurred()) SWIG_fail;
44127b65 4768 if (obj2) {
2f4c0a16
RD
4769 arg3 = (bool) SWIG_AsBool(obj2);
4770 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4771 }
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 (arg1)->SetShadowMode(arg2,arg3);
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 Py_INCREF(Py_None); resultobj = Py_None;
4780 return resultobj;
4781 fail:
4782 return NULL;
4783}
4784
4785
a95a7133 4786static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4787 PyObject *resultobj;
4788 wxPyShape *arg1 = (wxPyShape *) 0 ;
4789 int result;
4790 PyObject * obj0 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self", NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = (int)(arg1)->GetShadowMode();
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
2f4c0a16 4805 resultobj = SWIG_FromInt((int)result);
44127b65
RD
4806 return resultobj;
4807 fail:
4808 return NULL;
4809}
4810
4811
a95a7133 4812static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4813 PyObject *resultobj;
4814 wxPyShape *arg1 = (wxPyShape *) 0 ;
4815 double arg2 ;
4816 double arg3 ;
4817 int *arg4 = (int *) 0 ;
4818 double *arg5 = (double *) 0 ;
4819 bool result;
4820 int temp4 ;
4821 double temp5 ;
4822 PyObject * obj0 = 0 ;
8edf1c75
RD
4823 PyObject * obj1 = 0 ;
4824 PyObject * obj2 = 0 ;
44127b65
RD
4825 char *kwnames[] = {
4826 (char *) "self",(char *) "x",(char *) "y", NULL
4827 };
4828
4829 arg4 = &temp4;
4830 arg5 = &temp5;
8edf1c75 4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4834 arg2 = (double) SWIG_AsDouble(obj1);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 arg3 = (double) SWIG_AsDouble(obj2);
4837 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
fbc46b20
RD
4845 {
4846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4847 }
44127b65
RD
4848 {
4849 PyObject *o = PyInt_FromLong((long) (*arg4));
4850 resultobj = t_output_helper(resultobj,o);
4851 }
4852 {
4853 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4854 resultobj = t_output_helper(resultobj,o);
4855 }
4856 return resultobj;
4857 fail:
4858 return NULL;
4859}
4860
4861
a95a7133 4862static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4863 PyObject *resultobj;
4864 wxPyShape *arg1 = (wxPyShape *) 0 ;
4865 bool arg2 ;
4866 PyObject * obj0 = 0 ;
4867 PyObject * obj1 = 0 ;
4868 char *kwnames[] = {
4869 (char *) "self",(char *) "cr", NULL
4870 };
4871
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4875 arg2 = (bool) SWIG_AsBool(obj1);
4876 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4877 {
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 (arg1)->SetCentreResize(arg2);
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 Py_INCREF(Py_None); resultobj = Py_None;
4885 return resultobj;
4886 fail:
4887 return NULL;
4888}
4889
4890
a95a7133 4891static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4892 PyObject *resultobj;
4893 wxPyShape *arg1 = (wxPyShape *) 0 ;
4894 bool result;
4895 PyObject * obj0 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "self", NULL
4898 };
4899
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 result = (bool)(arg1)->GetCentreResize();
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
fbc46b20
RD
4910 {
4911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4912 }
44127b65
RD
4913 return resultobj;
4914 fail:
4915 return NULL;
4916}
4917
4918
a95a7133 4919static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4920 PyObject *resultobj;
4921 wxPyShape *arg1 = (wxPyShape *) 0 ;
4922 bool arg2 ;
4923 PyObject * obj0 = 0 ;
4924 PyObject * obj1 = 0 ;
4925 char *kwnames[] = {
4926 (char *) "self",(char *) "ar", NULL
4927 };
4928
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4932 arg2 = (bool) SWIG_AsBool(obj1);
4933 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
4934 {
4935 PyThreadState* __tstate = wxPyBeginAllowThreads();
4936 (arg1)->SetMaintainAspectRatio(arg2);
4937
4938 wxPyEndAllowThreads(__tstate);
4939 if (PyErr_Occurred()) SWIG_fail;
4940 }
4941 Py_INCREF(Py_None); resultobj = Py_None;
4942 return resultobj;
4943 fail:
4944 return NULL;
4945}
4946
4947
a95a7133 4948static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4949 PyObject *resultobj;
4950 wxPyShape *arg1 = (wxPyShape *) 0 ;
4951 bool result;
4952 PyObject * obj0 = 0 ;
4953 char *kwnames[] = {
4954 (char *) "self", NULL
4955 };
4956
4957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 result = (bool)(arg1)->GetMaintainAspectRatio();
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
fbc46b20
RD
4967 {
4968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4969 }
44127b65
RD
4970 return resultobj;
4971 fail:
4972 return NULL;
4973}
4974
4975
a95a7133 4976static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
4977 PyObject *resultobj;
4978 wxPyShape *arg1 = (wxPyShape *) 0 ;
4979 PyObject *result;
4980 PyObject * obj0 = 0 ;
4981 char *kwnames[] = {
4982 (char *) "self", NULL
4983 };
4984
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
4987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 result = (PyObject *)wxPyShape_GetLines(arg1);
4991
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
4995 resultobj = result;
4996 return resultobj;
4997 fail:
4998 return NULL;
4999}
5000
5001
a95a7133 5002static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5003 PyObject *resultobj;
5004 wxPyShape *arg1 = (wxPyShape *) 0 ;
5005 bool arg2 ;
5006 PyObject * obj0 = 0 ;
5007 PyObject * obj1 = 0 ;
5008 char *kwnames[] = {
5009 (char *) "self",(char *) "flag", NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5015 arg2 = (bool) SWIG_AsBool(obj1);
5016 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 (arg1)->SetDisableLabel(arg2);
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 Py_INCREF(Py_None); resultobj = Py_None;
5025 return resultobj;
5026 fail:
5027 return NULL;
5028}
5029
5030
a95a7133 5031static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5032 PyObject *resultobj;
5033 wxPyShape *arg1 = (wxPyShape *) 0 ;
5034 bool result;
5035 PyObject * obj0 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 result = (bool)(arg1)->GetDisableLabel();
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
fbc46b20
RD
5050 {
5051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5052 }
44127b65
RD
5053 return resultobj;
5054 fail:
5055 return NULL;
5056}
5057
5058
a95a7133 5059static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5060 PyObject *resultobj;
5061 wxPyShape *arg1 = (wxPyShape *) 0 ;
5062 int arg2 ;
5063 PyObject * obj0 = 0 ;
8edf1c75 5064 PyObject * obj1 = 0 ;
44127b65
RD
5065 char *kwnames[] = {
5066 (char *) "self",(char *) "mode", NULL
5067 };
5068
8edf1c75 5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5072 arg2 = (int) SWIG_AsInt(obj1);
5073 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 (arg1)->SetAttachmentMode(arg2);
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 Py_INCREF(Py_None); resultobj = Py_None;
5082 return resultobj;
5083 fail:
5084 return NULL;
5085}
5086
5087
a95a7133 5088static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5089 PyObject *resultobj;
5090 wxPyShape *arg1 = (wxPyShape *) 0 ;
5091 int result;
5092 PyObject * obj0 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 result = (int)(arg1)->GetAttachmentMode();
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
2f4c0a16 5107 resultobj = SWIG_FromInt((int)result);
44127b65
RD
5108 return resultobj;
5109 fail:
5110 return NULL;
5111}
5112
5113
a95a7133 5114static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5115 PyObject *resultobj;
5116 wxPyShape *arg1 = (wxPyShape *) 0 ;
5117 long arg2 ;
5118 PyObject * obj0 = 0 ;
8edf1c75 5119 PyObject * obj1 = 0 ;
44127b65
RD
5120 char *kwnames[] = {
5121 (char *) "self",(char *) "i", NULL
5122 };
5123
8edf1c75 5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5127 arg2 = (long) SWIG_AsLong(obj1);
5128 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 (arg1)->SetId(arg2);
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 Py_INCREF(Py_None); resultobj = Py_None;
5137 return resultobj;
5138 fail:
5139 return NULL;
5140}
5141
5142
a95a7133 5143static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5144 PyObject *resultobj;
5145 wxPyShape *arg1 = (wxPyShape *) 0 ;
5146 long result;
5147 PyObject * obj0 = 0 ;
5148 char *kwnames[] = {
5149 (char *) "self", NULL
5150 };
5151
5152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 result = (long)(arg1)->GetId();
5158
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
2f4c0a16 5162 resultobj = SWIG_FromLong((long)result);
44127b65
RD
5163 return resultobj;
5164 fail:
5165 return NULL;
5166}
5167
5168
a95a7133 5169static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5170 PyObject *resultobj;
5171 wxPyShape *arg1 = (wxPyShape *) 0 ;
5172 wxPen *arg2 = (wxPen *) 0 ;
5173 PyObject * obj0 = 0 ;
5174 PyObject * obj1 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self",(char *) "pen", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5182 {
5183 wxPen* temp;
5184 if (obj1) {
5185 if (obj1 == Py_None) {
5186 temp = NULL;
5187 }
5188 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5189 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5190 return NULL;
5191 }
5192 }
5193 if (temp)
5194 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5195 temp->GetWidth(),
5196 temp->GetStyle());
5197 else
5198 arg2 = NULL;
5199 }
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 (arg1)->SetPen(arg2);
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 Py_INCREF(Py_None); resultobj = Py_None;
5208 return resultobj;
5209 fail:
5210 return NULL;
5211}
5212
5213
a95a7133 5214static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5215 PyObject *resultobj;
5216 wxPyShape *arg1 = (wxPyShape *) 0 ;
5217 wxBrush *arg2 = (wxBrush *) 0 ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 char *kwnames[] = {
5221 (char *) "self",(char *) "brush", NULL
5222 };
5223
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5227 {
5228 wxBrush* temp;
5229 if (obj1) {
5230 if (obj1 == Py_None) {
5231 temp = NULL;
5232 }
5233 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5234 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5235 return NULL;
5236 }
5237 }
5238 if (temp)
5239 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5240 else
5241 arg2 = NULL;
5242 }
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 (arg1)->SetBrush(arg2);
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 Py_INCREF(Py_None); resultobj = Py_None;
5251 return resultobj;
5252 fail:
5253 return NULL;
5254}
5255
5256
a95a7133 5257static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5258 PyObject *resultobj;
5259 wxPyShape *arg1 = (wxPyShape *) 0 ;
5260 bool arg2 ;
5261 PyObject * obj0 = 0 ;
5262 PyObject * obj1 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self",(char *) "show", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5270 arg2 = (bool) SWIG_AsBool(obj1);
5271 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 (arg1)->Show(arg2);
5275
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 Py_INCREF(Py_None); resultobj = Py_None;
5280 return resultobj;
5281 fail:
5282 return NULL;
5283}
5284
5285
a95a7133 5286static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5287 PyObject *resultobj;
5288 wxPyShape *arg1 = (wxPyShape *) 0 ;
5289 bool result;
5290 PyObject * obj0 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 result = (bool)(arg1)->IsShown();
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
fbc46b20
RD
5305 {
5306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5307 }
44127b65
RD
5308 return resultobj;
5309 fail:
5310 return NULL;
5311}
5312
5313
a95a7133 5314static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5315 PyObject *resultobj;
5316 wxPyShape *arg1 = (wxPyShape *) 0 ;
5317 wxDC *arg2 = 0 ;
5318 double arg3 ;
5319 double arg4 ;
5320 bool arg5 = (bool) True ;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
8edf1c75
RD
5323 PyObject * obj2 = 0 ;
5324 PyObject * obj3 = 0 ;
44127b65
RD
5325 PyObject * obj4 = 0 ;
5326 char *kwnames[] = {
5327 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5328 };
5329
8edf1c75 5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
5331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5334 SWIG_POINTER_EXCEPTION | 0)) == -1)
5335 SWIG_fail;
44127b65 5336 if (arg2 == NULL) {
2f4c0a16
RD
5337 PyErr_SetString(PyExc_TypeError,"null reference");
5338 SWIG_fail;
8edf1c75 5339 }
2f4c0a16
RD
5340 arg3 = (double) SWIG_AsDouble(obj2);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 arg4 = (double) SWIG_AsDouble(obj3);
5343 if (PyErr_Occurred()) SWIG_fail;
44127b65 5344 if (obj4) {
2f4c0a16
RD
5345 arg5 = (bool) SWIG_AsBool(obj4);
5346 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5347 }
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 (arg1)->Move(*arg2,arg3,arg4,arg5);
5351
5352 wxPyEndAllowThreads(__tstate);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
5355 Py_INCREF(Py_None); resultobj = Py_None;
5356 return resultobj;
5357 fail:
5358 return NULL;
5359}
5360
5361
a95a7133 5362static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5363 PyObject *resultobj;
5364 wxPyShape *arg1 = (wxPyShape *) 0 ;
5365 wxDC *arg2 = 0 ;
5366 PyObject * obj0 = 0 ;
5367 PyObject * obj1 = 0 ;
5368 char *kwnames[] = {
5369 (char *) "self",(char *) "dc", NULL
5370 };
5371
5372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5376 SWIG_POINTER_EXCEPTION | 0)) == -1)
5377 SWIG_fail;
44127b65 5378 if (arg2 == NULL) {
2f4c0a16
RD
5379 PyErr_SetString(PyExc_TypeError,"null reference");
5380 SWIG_fail;
44127b65
RD
5381 }
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 (arg1)->Erase(*arg2);
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 Py_INCREF(Py_None); resultobj = Py_None;
5390 return resultobj;
5391 fail:
5392 return NULL;
5393}
5394
5395
a95a7133 5396static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5397 PyObject *resultobj;
5398 wxPyShape *arg1 = (wxPyShape *) 0 ;
5399 wxDC *arg2 = 0 ;
5400 PyObject * obj0 = 0 ;
5401 PyObject * obj1 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self",(char *) "dc", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5410 SWIG_POINTER_EXCEPTION | 0)) == -1)
5411 SWIG_fail;
44127b65 5412 if (arg2 == NULL) {
2f4c0a16
RD
5413 PyErr_SetString(PyExc_TypeError,"null reference");
5414 SWIG_fail;
44127b65
RD
5415 }
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 (arg1)->EraseContents(*arg2);
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 Py_INCREF(Py_None); resultobj = Py_None;
5424 return resultobj;
5425 fail:
5426 return NULL;
5427}
5428
5429
a95a7133 5430static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5431 PyObject *resultobj;
5432 wxPyShape *arg1 = (wxPyShape *) 0 ;
5433 wxDC *arg2 = 0 ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self",(char *) "dc", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5444 SWIG_POINTER_EXCEPTION | 0)) == -1)
5445 SWIG_fail;
44127b65 5446 if (arg2 == NULL) {
2f4c0a16
RD
5447 PyErr_SetString(PyExc_TypeError,"null reference");
5448 SWIG_fail;
44127b65
RD
5449 }
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 (arg1)->Draw(*arg2);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 Py_INCREF(Py_None); resultobj = Py_None;
5458 return resultobj;
5459 fail:
5460 return NULL;
5461}
5462
5463
a95a7133 5464static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5465 PyObject *resultobj;
5466 wxPyShape *arg1 = (wxPyShape *) 0 ;
5467 PyObject * obj0 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 (arg1)->Flash();
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 Py_INCREF(Py_None); resultobj = Py_None;
5483 return resultobj;
5484 fail:
5485 return NULL;
5486}
5487
5488
a95a7133 5489static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5490 PyObject *resultobj;
5491 wxPyShape *arg1 = (wxPyShape *) 0 ;
5492 wxDC *arg2 = 0 ;
5493 PyObject * obj0 = 0 ;
5494 PyObject * obj1 = 0 ;
5495 char *kwnames[] = {
5496 (char *) "self",(char *) "dc", NULL
5497 };
5498
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5503 SWIG_POINTER_EXCEPTION | 0)) == -1)
5504 SWIG_fail;
44127b65 5505 if (arg2 == NULL) {
2f4c0a16
RD
5506 PyErr_SetString(PyExc_TypeError,"null reference");
5507 SWIG_fail;
44127b65
RD
5508 }
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 (arg1)->MoveLinks(*arg2);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 Py_INCREF(Py_None); resultobj = Py_None;
5517 return resultobj;
5518 fail:
5519 return NULL;
5520}
5521
5522
a95a7133 5523static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5524 PyObject *resultobj;
5525 wxPyShape *arg1 = (wxPyShape *) 0 ;
5526 wxDC *arg2 = 0 ;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self",(char *) "dc", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5537 SWIG_POINTER_EXCEPTION | 0)) == -1)
5538 SWIG_fail;
44127b65 5539 if (arg2 == NULL) {
2f4c0a16
RD
5540 PyErr_SetString(PyExc_TypeError,"null reference");
5541 SWIG_fail;
44127b65
RD
5542 }
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 (arg1)->DrawContents(*arg2);
5546
5547 wxPyEndAllowThreads(__tstate);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 Py_INCREF(Py_None); resultobj = Py_None;
5551 return resultobj;
5552 fail:
5553 return NULL;
5554}
5555
5556
a95a7133 5557static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5558 PyObject *resultobj;
5559 wxPyShape *arg1 = (wxPyShape *) 0 ;
5560 double arg2 ;
5561 double arg3 ;
5562 bool arg4 = (bool) True ;
5563 PyObject * obj0 = 0 ;
8edf1c75
RD
5564 PyObject * obj1 = 0 ;
5565 PyObject * obj2 = 0 ;
44127b65
RD
5566 PyObject * obj3 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5569 };
5570
8edf1c75 5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5574 arg2 = (double) SWIG_AsDouble(obj1);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 arg3 = (double) SWIG_AsDouble(obj2);
5577 if (PyErr_Occurred()) SWIG_fail;
44127b65 5578 if (obj3) {
2f4c0a16
RD
5579 arg4 = (bool) SWIG_AsBool(obj3);
5580 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5581 }
5582 {
5583 PyThreadState* __tstate = wxPyBeginAllowThreads();
5584 (arg1)->SetSize(arg2,arg3,arg4);
5585
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 Py_INCREF(Py_None); resultobj = Py_None;
5590 return resultobj;
5591 fail:
5592 return NULL;
5593}
5594
5595
a95a7133 5596static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5597 PyObject *resultobj;
5598 wxPyShape *arg1 = (wxPyShape *) 0 ;
5599 double arg2 ;
5600 double arg3 ;
5601 PyObject * obj0 = 0 ;
8edf1c75
RD
5602 PyObject * obj1 = 0 ;
5603 PyObject * obj2 = 0 ;
44127b65
RD
5604 char *kwnames[] = {
5605 (char *) "self",(char *) "x",(char *) "y", NULL
5606 };
5607
8edf1c75 5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 arg2 = (double) SWIG_AsDouble(obj1);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 arg3 = (double) SWIG_AsDouble(obj2);
5614 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 (arg1)->SetAttachmentSize(arg2,arg3);
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
5622 Py_INCREF(Py_None); resultobj = Py_None;
5623 return resultobj;
5624 fail:
5625 return NULL;
5626}
5627
5628
a95a7133 5629static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5630 PyObject *resultobj;
5631 wxPyShape *arg1 = (wxPyShape *) 0 ;
5632 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5633 PyObject * obj0 = 0 ;
5634 PyObject * obj1 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "self",(char *) "can", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
5643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->Attach(arg2);
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 Py_INCREF(Py_None); resultobj = Py_None;
5652 return resultobj;
5653 fail:
5654 return NULL;
5655}
5656
5657
a95a7133 5658static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5659 PyObject *resultobj;
5660 wxPyShape *arg1 = (wxPyShape *) 0 ;
5661 PyObject * obj0 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 (arg1)->Detach();
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 Py_INCREF(Py_None); resultobj = Py_None;
5677 return resultobj;
5678 fail:
5679 return NULL;
5680}
5681
5682
a95a7133 5683static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5684 PyObject *resultobj;
5685 wxPyShape *arg1 = (wxPyShape *) 0 ;
5686 bool result;
5687 PyObject * obj0 = 0 ;
5688 char *kwnames[] = {
5689 (char *) "self", NULL
5690 };
5691
5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 result = (bool)(arg1)->Constrain();
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
fbc46b20
RD
5702 {
5703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5704 }
44127b65
RD
5705 return resultobj;
5706 fail:
5707 return NULL;
5708}
5709
5710
a95a7133 5711static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5712 PyObject *resultobj;
5713 wxPyShape *arg1 = (wxPyShape *) 0 ;
5714 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5715 wxPyShape *arg3 = (wxPyShape *) 0 ;
5716 int arg4 = (int) 0 ;
5717 int arg5 = (int) 0 ;
5718 int arg6 = (int) -1 ;
5719 int arg7 = (int) -1 ;
5720 PyObject * obj0 = 0 ;
5721 PyObject * obj1 = 0 ;
5722 PyObject * obj2 = 0 ;
8edf1c75
RD
5723 PyObject * obj3 = 0 ;
5724 PyObject * obj4 = 0 ;
5725 PyObject * obj5 = 0 ;
5726 PyObject * obj6 = 0 ;
44127b65
RD
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5729 };
5730
8edf1c75 5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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_wxPyLineShape,
5735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5736 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5738 if (obj3) {
2f4c0a16
RD
5739 arg4 = (int) SWIG_AsInt(obj3);
5740 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5741 }
5742 if (obj4) {
2f4c0a16
RD
5743 arg5 = (int) SWIG_AsInt(obj4);
5744 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5745 }
5746 if (obj5) {
2f4c0a16
RD
5747 arg6 = (int) SWIG_AsInt(obj5);
5748 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5749 }
5750 if (obj6) {
2f4c0a16
RD
5751 arg7 = (int) SWIG_AsInt(obj6);
5752 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5753 }
44127b65
RD
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 Py_INCREF(Py_None); resultobj = Py_None;
5762 return resultobj;
5763 fail:
5764 return NULL;
5765}
5766
5767
a95a7133 5768static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5769 PyObject *resultobj;
5770 wxPyShape *arg1 = (wxPyShape *) 0 ;
5771 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5772 int result;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char *kwnames[] = {
5776 (char *) "self",(char *) "line", NULL
5777 };
5778
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
5783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = (int)(arg1)->GetLinePosition(arg2);
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
2f4c0a16 5791 resultobj = SWIG_FromInt((int)result);
44127b65
RD
5792 return resultobj;
5793 fail:
5794 return NULL;
5795}
5796
5797
a95a7133 5798static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5799 PyObject *resultobj;
5800 wxPyShape *arg1 = (wxPyShape *) 0 ;
5801 wxString *arg2 = 0 ;
5802 bool temp2 = False ;
5803 PyObject * obj0 = 0 ;
5804 PyObject * obj1 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "self",(char *) "string", NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5812 {
5813 arg2 = wxString_in_helper(obj1);
5814 if (arg2 == NULL) SWIG_fail;
5815 temp2 = True;
5816 }
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 (arg1)->AddText((wxString const &)*arg2);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 Py_INCREF(Py_None); resultobj = Py_None;
5825 {
5826 if (temp2)
5827 delete arg2;
5828 }
5829 return resultobj;
5830 fail:
5831 {
5832 if (temp2)
5833 delete arg2;
5834 }
5835 return NULL;
5836}
5837
5838
a95a7133 5839static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5840 PyObject *resultobj;
5841 wxPyShape *arg1 = (wxPyShape *) 0 ;
5842 wxPen *result;
5843 PyObject * obj0 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (wxPen *)(arg1)->GetPen();
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
2f4c0a16 5858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
5859 return resultobj;
5860 fail:
5861 return NULL;
5862}
5863
5864
a95a7133 5865static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5866 PyObject *resultobj;
5867 wxPyShape *arg1 = (wxPyShape *) 0 ;
5868 wxBrush *result;
5869 PyObject * obj0 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5877 {
5878 PyThreadState* __tstate = wxPyBeginAllowThreads();
5879 result = (wxBrush *)(arg1)->GetBrush();
5880
5881 wxPyEndAllowThreads(__tstate);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
2f4c0a16 5884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
44127b65
RD
5885 return resultobj;
5886 fail:
5887 return NULL;
5888}
5889
5890
a95a7133 5891static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5892 PyObject *resultobj;
5893 wxPyShape *arg1 = (wxPyShape *) 0 ;
5894 PyObject * obj0 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
5902 {
5903 PyThreadState* __tstate = wxPyBeginAllowThreads();
5904 (arg1)->SetDefaultRegionSize();
5905
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 Py_INCREF(Py_None); resultobj = Py_None;
5910 return resultobj;
5911 fail:
5912 return NULL;
5913}
5914
5915
a95a7133 5916static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5917 PyObject *resultobj;
5918 wxPyShape *arg1 = (wxPyShape *) 0 ;
5919 wxDC *arg2 = 0 ;
5920 wxString *arg3 = 0 ;
5921 int arg4 = (int) 0 ;
5922 bool temp3 = False ;
5923 PyObject * obj0 = 0 ;
5924 PyObject * obj1 = 0 ;
5925 PyObject * obj2 = 0 ;
8edf1c75 5926 PyObject * obj3 = 0 ;
44127b65
RD
5927 char *kwnames[] = {
5928 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5929 };
5930
8edf1c75 5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5935 SWIG_POINTER_EXCEPTION | 0)) == -1)
5936 SWIG_fail;
44127b65 5937 if (arg2 == NULL) {
2f4c0a16
RD
5938 PyErr_SetString(PyExc_TypeError,"null reference");
5939 SWIG_fail;
44127b65
RD
5940 }
5941 {
5942 arg3 = wxString_in_helper(obj2);
5943 if (arg3 == NULL) SWIG_fail;
5944 temp3 = True;
5945 }
8edf1c75 5946 if (obj3) {
2f4c0a16
RD
5947 arg4 = (int) SWIG_AsInt(obj3);
5948 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5949 }
44127b65
RD
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 Py_INCREF(Py_None); resultobj = Py_None;
5958 {
5959 if (temp3)
5960 delete arg3;
5961 }
5962 return resultobj;
5963 fail:
5964 {
5965 if (temp3)
5966 delete arg3;
5967 }
5968 return NULL;
5969}
5970
5971
a95a7133 5972static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
5973 PyObject *resultobj;
5974 wxPyShape *arg1 = (wxPyShape *) 0 ;
5975 int arg2 ;
5976 int arg3 = (int) 0 ;
5977 PyObject * obj0 = 0 ;
8edf1c75
RD
5978 PyObject * obj1 = 0 ;
5979 PyObject * obj2 = 0 ;
44127b65
RD
5980 char *kwnames[] = {
5981 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5982 };
5983
8edf1c75 5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
5986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5987 arg2 = (int) SWIG_AsInt(obj1);
5988 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5989 if (obj2) {
2f4c0a16
RD
5990 arg3 = (int) SWIG_AsInt(obj2);
5991 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5992 }
44127b65
RD
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 (arg1)->SetFormatMode(arg2,arg3);
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 Py_INCREF(Py_None); resultobj = Py_None;
6001 return resultobj;
6002 fail:
6003 return NULL;
6004}
6005
6006
a95a7133 6007static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6008 PyObject *resultobj;
6009 wxPyShape *arg1 = (wxPyShape *) 0 ;
6010 int arg2 = (int) 0 ;
6011 int result;
6012 PyObject * obj0 = 0 ;
8edf1c75 6013 PyObject * obj1 = 0 ;
44127b65
RD
6014 char *kwnames[] = {
6015 (char *) "self",(char *) "regionId", NULL
6016 };
6017
8edf1c75 6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6021 if (obj1) {
2f4c0a16
RD
6022 arg2 = (int) SWIG_AsInt(obj1);
6023 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6024 }
44127b65
RD
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 result = (int)(arg1)->GetFormatMode(arg2);
6028
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
2f4c0a16 6032 resultobj = SWIG_FromInt((int)result);
44127b65
RD
6033 return resultobj;
6034 fail:
6035 return NULL;
6036}
6037
6038
a95a7133 6039static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6040 PyObject *resultobj;
6041 wxPyShape *arg1 = (wxPyShape *) 0 ;
6042 wxFont *arg2 = (wxFont *) 0 ;
6043 int arg3 = (int) 0 ;
6044 PyObject * obj0 = 0 ;
6045 PyObject * obj1 = 0 ;
8edf1c75 6046 PyObject * obj2 = 0 ;
44127b65
RD
6047 char *kwnames[] = {
6048 (char *) "self",(char *) "font",(char *) "regionId", NULL
6049 };
6050
8edf1c75 6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6054 {
6055 wxFont* temp;
6056 if (obj1) {
6057 if (obj1 == Py_None) {
6058 temp = NULL;
6059 }
6060 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
6061 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
6062 return NULL;
6063 }
6064 }
6065 if (temp)
6066 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6067 temp->GetFamily(),
6068 temp->GetStyle(),
6069 temp->GetWeight(),
6070 temp->GetUnderlined(),
6071 temp->GetFaceName(),
6072 temp->GetEncoding());
6073 else
6074 arg2 = NULL;
6075 }
8edf1c75 6076 if (obj2) {
2f4c0a16
RD
6077 arg3 = (int) SWIG_AsInt(obj2);
6078 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6079 }
44127b65
RD
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 (arg1)->SetFont(arg2,arg3);
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 Py_INCREF(Py_None); resultobj = Py_None;
6088 return resultobj;
6089 fail:
6090 return NULL;
6091}
6092
6093
a95a7133 6094static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6095 PyObject *resultobj;
6096 wxPyShape *arg1 = (wxPyShape *) 0 ;
6097 int arg2 = (int) 0 ;
6098 wxFont *result;
6099 PyObject * obj0 = 0 ;
8edf1c75 6100 PyObject * obj1 = 0 ;
44127b65
RD
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "regionId", NULL
6103 };
6104
8edf1c75 6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6108 if (obj1) {
2f4c0a16
RD
6109 arg2 = (int) SWIG_AsInt(obj1);
6110 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6111 }
44127b65
RD
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 result = (wxFont *)(arg1)->GetFont(arg2);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
2f4c0a16 6119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
44127b65
RD
6120 return resultobj;
6121 fail:
6122 return NULL;
6123}
6124
6125
a95a7133 6126static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6127 PyObject *resultobj;
6128 wxPyShape *arg1 = (wxPyShape *) 0 ;
6129 wxString *arg2 = 0 ;
6130 int arg3 = (int) 0 ;
6131 bool temp2 = False ;
6132 PyObject * obj0 = 0 ;
6133 PyObject * obj1 = 0 ;
8edf1c75 6134 PyObject * obj2 = 0 ;
44127b65
RD
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6137 };
6138
8edf1c75 6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6142 {
6143 arg2 = wxString_in_helper(obj1);
6144 if (arg2 == NULL) SWIG_fail;
6145 temp2 = True;
6146 }
8edf1c75 6147 if (obj2) {
2f4c0a16
RD
6148 arg3 = (int) SWIG_AsInt(obj2);
6149 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6150 }
44127b65
RD
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 Py_INCREF(Py_None); resultobj = Py_None;
6159 {
6160 if (temp2)
6161 delete arg2;
6162 }
6163 return resultobj;
6164 fail:
6165 {
6166 if (temp2)
6167 delete arg2;
6168 }
6169 return NULL;
6170}
6171
6172
a95a7133 6173static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6174 PyObject *resultobj;
6175 wxPyShape *arg1 = (wxPyShape *) 0 ;
6176 int arg2 = (int) 0 ;
6177 wxString result;
6178 PyObject * obj0 = 0 ;
8edf1c75 6179 PyObject * obj1 = 0 ;
44127b65
RD
6180 char *kwnames[] = {
6181 (char *) "self",(char *) "regionId", NULL
6182 };
6183
8edf1c75 6184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6187 if (obj1) {
2f4c0a16
RD
6188 arg2 = (int) SWIG_AsInt(obj1);
6189 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6190 }
44127b65
RD
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (arg1)->GetTextColour(arg2);
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 {
6199#if wxUSE_UNICODE
6200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6201#else
6202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6203#endif
6204 }
6205 return resultobj;
6206 fail:
6207 return NULL;
6208}
6209
6210
a95a7133 6211static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6212 PyObject *resultobj;
6213 wxPyShape *arg1 = (wxPyShape *) 0 ;
6214 int result;
6215 PyObject * obj0 = 0 ;
6216 char *kwnames[] = {
6217 (char *) "self", NULL
6218 };
6219
6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (int)(arg1)->GetNumberOfTextRegions();
6226
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
2f4c0a16 6230 resultobj = SWIG_FromInt((int)result);
44127b65
RD
6231 return resultobj;
6232 fail:
6233 return NULL;
6234}
6235
6236
a95a7133 6237static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6238 PyObject *resultobj;
6239 wxPyShape *arg1 = (wxPyShape *) 0 ;
6240 wxString *arg2 = 0 ;
6241 int arg3 = (int) 0 ;
6242 bool temp2 = False ;
6243 PyObject * obj0 = 0 ;
6244 PyObject * obj1 = 0 ;
8edf1c75 6245 PyObject * obj2 = 0 ;
44127b65
RD
6246 char *kwnames[] = {
6247 (char *) "self",(char *) "name",(char *) "regionId", NULL
6248 };
6249
8edf1c75 6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6253 {
6254 arg2 = wxString_in_helper(obj1);
6255 if (arg2 == NULL) SWIG_fail;
6256 temp2 = True;
6257 }
8edf1c75 6258 if (obj2) {
2f4c0a16
RD
6259 arg3 = (int) SWIG_AsInt(obj2);
6260 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6261 }
44127b65
RD
6262 {
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6265
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 Py_INCREF(Py_None); resultobj = Py_None;
6270 {
6271 if (temp2)
6272 delete arg2;
6273 }
6274 return resultobj;
6275 fail:
6276 {
6277 if (temp2)
6278 delete arg2;
6279 }
6280 return NULL;
6281}
6282
6283
a95a7133 6284static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6285 PyObject *resultobj;
6286 wxPyShape *arg1 = (wxPyShape *) 0 ;
6287 int arg2 ;
6288 wxString result;
6289 PyObject * obj0 = 0 ;
8edf1c75 6290 PyObject * obj1 = 0 ;
44127b65
RD
6291 char *kwnames[] = {
6292 (char *) "self",(char *) "regionId", NULL
6293 };
6294
8edf1c75 6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6298 arg2 = (int) SWIG_AsInt(obj1);
6299 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (arg1)->GetRegionName(arg2);
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 {
6308#if wxUSE_UNICODE
6309 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6310#else
6311 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6312#endif
6313 }
6314 return resultobj;
6315 fail:
6316 return NULL;
6317}
6318
6319
a95a7133 6320static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6321 PyObject *resultobj;
6322 wxPyShape *arg1 = (wxPyShape *) 0 ;
6323 wxString *arg2 = 0 ;
6324 int result;
6325 bool temp2 = False ;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 char *kwnames[] = {
6329 (char *) "self",(char *) "name", NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6335 {
6336 arg2 = wxString_in_helper(obj1);
6337 if (arg2 == NULL) SWIG_fail;
6338 temp2 = True;
6339 }
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
2f4c0a16 6347 resultobj = SWIG_FromInt((int)result);
44127b65
RD
6348 {
6349 if (temp2)
6350 delete arg2;
6351 }
6352 return resultobj;
6353 fail:
6354 {
6355 if (temp2)
6356 delete arg2;
6357 }
6358 return NULL;
6359}
6360
6361
a95a7133 6362static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6363 PyObject *resultobj;
6364 wxPyShape *arg1 = (wxPyShape *) 0 ;
41f1cec7 6365 wxString const &arg2_defvalue = wxPyEmptyString ;
44127b65
RD
6366 wxString *arg2 = (wxString *) &arg2_defvalue ;
6367 bool temp2 = False ;
6368 PyObject * obj0 = 0 ;
6369 PyObject * obj1 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "self",(char *) "parentName", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6377 if (obj1) {
6378 {
6379 arg2 = wxString_in_helper(obj1);
6380 if (arg2 == NULL) SWIG_fail;
6381 temp2 = True;
6382 }
6383 }
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 (arg1)->NameRegions((wxString const &)*arg2);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 Py_INCREF(Py_None); resultobj = Py_None;
6392 {
6393 if (temp2)
6394 delete arg2;
6395 }
6396 return resultobj;
6397 fail:
6398 {
6399 if (temp2)
6400 delete arg2;
6401 }
6402 return NULL;
6403}
6404
6405
a95a7133 6406static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6407 PyObject *resultobj;
6408 wxPyShape *arg1 = (wxPyShape *) 0 ;
6409 PyObject *result;
6410 PyObject * obj0 = 0 ;
6411 char *kwnames[] = {
6412 (char *) "self", NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (PyObject *)wxPyShape_GetRegions(arg1);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = result;
6426 return resultobj;
6427 fail:
6428 return NULL;
6429}
6430
6431
a95a7133 6432static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6433 PyObject *resultobj;
6434 wxPyShape *arg1 = (wxPyShape *) 0 ;
6435 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self",(char *) "region", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxShapeRegion,
6446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 (arg1)->AddRegion(arg2);
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 Py_INCREF(Py_None); resultobj = Py_None;
6455 return resultobj;
6456 fail:
6457 return NULL;
6458}
6459
6460
a95a7133 6461static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6462 PyObject *resultobj;
6463 wxPyShape *arg1 = (wxPyShape *) 0 ;
6464 PyObject * obj0 = 0 ;
6465 char *kwnames[] = {
6466 (char *) "self", NULL
6467 };
6468
6469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 (arg1)->ClearRegions();
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 Py_INCREF(Py_None); resultobj = Py_None;
6480 return resultobj;
6481 fail:
6482 return NULL;
6483}
6484
6485
a95a7133 6486static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6487 PyObject *resultobj;
6488 wxPyShape *arg1 = (wxPyShape *) 0 ;
6489 PyObject * obj0 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "self", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 (arg1)->AssignNewIds();
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 Py_INCREF(Py_None); resultobj = Py_None;
6505 return resultobj;
6506 fail:
6507 return NULL;
6508}
6509
6510
a95a7133 6511static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6512 PyObject *resultobj;
6513 wxPyShape *arg1 = (wxPyShape *) 0 ;
6514 wxString *arg2 = 0 ;
6515 int *arg3 = (int *) 0 ;
6516 wxPyShape *result;
6517 bool temp2 = False ;
6518 int temp3 ;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 char *kwnames[] = {
6522 (char *) "self",(char *) "regionName", NULL
6523 };
6524
6525 arg3 = &temp3;
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6529 {
6530 arg2 = wxString_in_helper(obj1);
6531 if (arg2 == NULL) SWIG_fail;
6532 temp2 = True;
6533 }
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 {
412d302d 6542 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
6543 }
6544 {
6545 PyObject *o = PyInt_FromLong((long) (*arg3));
6546 resultobj = t_output_helper(resultobj,o);
6547 }
6548 {
6549 if (temp2)
6550 delete arg2;
6551 }
6552 return resultobj;
6553 fail:
6554 {
6555 if (temp2)
6556 delete arg2;
6557 }
6558 return NULL;
6559}
6560
6561
a95a7133 6562static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6563 PyObject *resultobj;
6564 wxPyShape *arg1 = (wxPyShape *) 0 ;
6565 wxStringList *arg2 = 0 ;
6566 PyObject * obj0 = 0 ;
6567 PyObject * obj1 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self",(char *) "list", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStringList,
6576 SWIG_POINTER_EXCEPTION | 0)) == -1)
6577 SWIG_fail;
44127b65 6578 if (arg2 == NULL) {
2f4c0a16
RD
6579 PyErr_SetString(PyExc_TypeError,"null reference");
6580 SWIG_fail;
44127b65
RD
6581 }
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 (arg1)->FindRegionNames(*arg2);
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 Py_INCREF(Py_None); resultobj = Py_None;
6590 return resultobj;
6591 fail:
6592 return NULL;
6593}
6594
6595
a95a7133 6596static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6597 PyObject *resultobj;
6598 wxPyShape *arg1 = (wxPyShape *) 0 ;
6599 int arg2 = (int) 0 ;
6600 PyObject * obj0 = 0 ;
8edf1c75 6601 PyObject * obj1 = 0 ;
44127b65
RD
6602 char *kwnames[] = {
6603 (char *) "self",(char *) "regionId", NULL
6604 };
6605
8edf1c75 6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 6609 if (obj1) {
2f4c0a16
RD
6610 arg2 = (int) SWIG_AsInt(obj1);
6611 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6612 }
44127b65
RD
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 (arg1)->ClearText(arg2);
6616
6617 wxPyEndAllowThreads(__tstate);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 Py_INCREF(Py_None); resultobj = Py_None;
6621 return resultobj;
6622 fail:
6623 return NULL;
6624}
6625
6626
a95a7133 6627static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6628 PyObject *resultobj;
6629 wxPyShape *arg1 = (wxPyShape *) 0 ;
6630 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6631 PyObject * obj0 = 0 ;
6632 PyObject * obj1 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self",(char *) "line", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyLineShape,
6641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 (arg1)->RemoveLine(arg2);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 Py_INCREF(Py_None); resultobj = Py_None;
6650 return resultobj;
6651 fail:
6652 return NULL;
6653}
6654
6655
a95a7133 6656static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6657 PyObject *resultobj;
6658 wxPyShape *arg1 = (wxPyShape *) 0 ;
6659 int arg2 ;
6660 double *arg3 = (double *) 0 ;
6661 double *arg4 = (double *) 0 ;
6662 int arg5 = (int) 0 ;
6663 int arg6 = (int) 1 ;
6664 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6665 bool result;
6666 double temp3 ;
6667 double temp4 ;
6668 PyObject * obj0 = 0 ;
8edf1c75
RD
6669 PyObject * obj1 = 0 ;
6670 PyObject * obj2 = 0 ;
6671 PyObject * obj3 = 0 ;
44127b65
RD
6672 PyObject * obj4 = 0 ;
6673 char *kwnames[] = {
6674 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6675 };
6676
6677 arg3 = &temp3;
6678 arg4 = &temp4;
8edf1c75 6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
6680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6682 arg2 = (int) SWIG_AsInt(obj1);
6683 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6684 if (obj2) {
2f4c0a16
RD
6685 arg5 = (int) SWIG_AsInt(obj2);
6686 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6687 }
6688 if (obj3) {
2f4c0a16
RD
6689 arg6 = (int) SWIG_AsInt(obj3);
6690 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6691 }
44127b65 6692 if (obj4) {
2f4c0a16
RD
6693 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6695 }
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
fbc46b20
RD
6703 {
6704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6705 }
44127b65
RD
6706 {
6707 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6708 resultobj = t_output_helper(resultobj,o);
6709 }
6710 {
6711 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6712 resultobj = t_output_helper(resultobj,o);
6713 }
6714 return resultobj;
6715 fail:
6716 return NULL;
6717}
6718
6719
a95a7133 6720static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6721 PyObject *resultobj;
6722 wxPyShape *arg1 = (wxPyShape *) 0 ;
6723 int result;
6724 PyObject * obj0 = 0 ;
6725 char *kwnames[] = {
6726 (char *) "self", NULL
6727 };
6728
6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = (int)(arg1)->GetNumberOfAttachments();
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
2f4c0a16 6739 resultobj = SWIG_FromInt((int)result);
44127b65
RD
6740 return resultobj;
6741 fail:
6742 return NULL;
6743}
6744
6745
a95a7133 6746static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6747 PyObject *resultobj;
6748 wxPyShape *arg1 = (wxPyShape *) 0 ;
6749 int arg2 ;
6750 bool result;
6751 PyObject * obj0 = 0 ;
8edf1c75 6752 PyObject * obj1 = 0 ;
44127b65
RD
6753 char *kwnames[] = {
6754 (char *) "self",(char *) "attachment", NULL
6755 };
6756
8edf1c75 6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6760 arg2 = (int) SWIG_AsInt(obj1);
6761 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 result = (bool)(arg1)->AttachmentIsValid(arg2);
6765
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
fbc46b20
RD
6769 {
6770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6771 }
44127b65
RD
6772 return resultobj;
6773 fail:
6774 return NULL;
6775}
6776
6777
a95a7133 6778static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
6779 PyObject *resultobj;
6780 wxPyShape *arg1 = (wxPyShape *) 0 ;
6781 PyObject *result;
6782 PyObject * obj0 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 resultobj = result;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801}
6802
6803
a95a7133 6804static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6805 PyObject *resultobj;
6806 wxPyShape *arg1 = (wxPyShape *) 0 ;
6807 int arg2 ;
6808 double *arg3 = (double *) 0 ;
6809 double *arg4 = (double *) 0 ;
6810 int arg5 = (int) 0 ;
6811 int arg6 = (int) 1 ;
6812 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6813 bool result;
6814 double temp3 ;
6815 double temp4 ;
6816 PyObject * obj0 = 0 ;
8edf1c75
RD
6817 PyObject * obj1 = 0 ;
6818 PyObject * obj2 = 0 ;
6819 PyObject * obj3 = 0 ;
44127b65
RD
6820 PyObject * obj4 = 0 ;
6821 char *kwnames[] = {
6822 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6823 };
6824
6825 arg3 = &temp3;
6826 arg4 = &temp4;
8edf1c75 6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
6828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6830 arg2 = (int) SWIG_AsInt(obj1);
6831 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6832 if (obj2) {
2f4c0a16
RD
6833 arg5 = (int) SWIG_AsInt(obj2);
6834 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6835 }
6836 if (obj3) {
2f4c0a16
RD
6837 arg6 = (int) SWIG_AsInt(obj3);
6838 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6839 }
44127b65 6840 if (obj4) {
2f4c0a16
RD
6841 if ((SWIG_ConvertPtr(obj4,(void **)(&arg7),SWIGTYPE_p_wxPyLineShape,
6842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6843 }
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
fbc46b20
RD
6851 {
6852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6853 }
44127b65
RD
6854 {
6855 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6856 resultobj = t_output_helper(resultobj,o);
6857 }
6858 {
6859 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6860 resultobj = t_output_helper(resultobj,o);
6861 }
6862 return resultobj;
6863 fail:
6864 return NULL;
6865}
6866
6867
a95a7133 6868static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6869 PyObject *resultobj;
6870 wxPyShape *arg1 = (wxPyShape *) 0 ;
6871 wxRealPoint *arg2 = 0 ;
6872 wxRealPoint *arg3 = 0 ;
6873 int arg4 ;
6874 int arg5 ;
6875 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6876 wxRealPoint result;
6877 wxRealPoint temp2 ;
6878 wxRealPoint temp3 ;
6879 PyObject * obj0 = 0 ;
6880 PyObject * obj1 = 0 ;
6881 PyObject * obj2 = 0 ;
8edf1c75
RD
6882 PyObject * obj3 = 0 ;
6883 PyObject * obj4 = 0 ;
44127b65
RD
6884 PyObject * obj5 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6887 };
6888
8edf1c75 6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
6890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6892 {
6893 arg2 = &temp2;
6894 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6895 }
6896 {
6897 arg3 = &temp3;
6898 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6899 }
2f4c0a16
RD
6900 arg4 = (int) SWIG_AsInt(obj3);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 arg5 = (int) SWIG_AsInt(obj4);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyLineShape,
6905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 {
6914 wxRealPoint * resultptr;
6915 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 6916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
44127b65
RD
6917 }
6918 return resultobj;
6919 fail:
6920 return NULL;
6921}
6922
6923
a95a7133 6924static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6925 PyObject *resultobj;
6926 wxPyShape *arg1 = (wxPyShape *) 0 ;
6927 int arg2 ;
6928 wxRealPoint *arg3 = 0 ;
6929 wxRealPoint *arg4 = 0 ;
6930 bool result;
6931 wxRealPoint temp3 ;
6932 wxRealPoint temp4 ;
6933 PyObject * obj0 = 0 ;
8edf1c75 6934 PyObject * obj1 = 0 ;
44127b65
RD
6935 PyObject * obj2 = 0 ;
6936 PyObject * obj3 = 0 ;
6937 char *kwnames[] = {
6938 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6939 };
6940
8edf1c75 6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6944 arg2 = (int) SWIG_AsInt(obj1);
6945 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
6946 {
6947 arg3 = &temp3;
6948 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6949 }
6950 {
6951 arg4 = &temp4;
6952 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6953 }
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
fbc46b20
RD
6961 {
6962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6963 }
44127b65
RD
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
a95a7133 6970static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
6971 PyObject *resultobj;
6972 wxPyShape *arg1 = (wxPyShape *) 0 ;
6973 wxDC *arg2 = 0 ;
6974 int arg3 = (int) -1 ;
6975 bool arg4 = (bool) False ;
6976 PyObject * obj0 = 0 ;
6977 PyObject * obj1 = 0 ;
8edf1c75 6978 PyObject * obj2 = 0 ;
44127b65
RD
6979 PyObject * obj3 = 0 ;
6980 char *kwnames[] = {
6981 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6982 };
6983
8edf1c75 6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
6985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
6986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6988 SWIG_POINTER_EXCEPTION | 0)) == -1)
6989 SWIG_fail;
44127b65 6990 if (arg2 == NULL) {
2f4c0a16
RD
6991 PyErr_SetString(PyExc_TypeError,"null reference");
6992 SWIG_fail;
44127b65 6993 }
8edf1c75 6994 if (obj2) {
2f4c0a16
RD
6995 arg3 = (int) SWIG_AsInt(obj2);
6996 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6997 }
44127b65 6998 if (obj3) {
2f4c0a16
RD
6999 arg4 = (bool) SWIG_AsBool(obj3);
7000 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7001 }
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 (arg1)->EraseLinks(*arg2,arg3,arg4);
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 Py_INCREF(Py_None); resultobj = Py_None;
7010 return resultobj;
7011 fail:
7012 return NULL;
7013}
7014
7015
a95a7133 7016static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7017 PyObject *resultobj;
7018 wxPyShape *arg1 = (wxPyShape *) 0 ;
7019 wxDC *arg2 = 0 ;
7020 int arg3 = (int) -1 ;
7021 bool arg4 = (bool) False ;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
8edf1c75 7024 PyObject * obj2 = 0 ;
44127b65
RD
7025 PyObject * obj3 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7028 };
7029
8edf1c75 7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7034 SWIG_POINTER_EXCEPTION | 0)) == -1)
7035 SWIG_fail;
44127b65 7036 if (arg2 == NULL) {
2f4c0a16
RD
7037 PyErr_SetString(PyExc_TypeError,"null reference");
7038 SWIG_fail;
44127b65 7039 }
8edf1c75 7040 if (obj2) {
2f4c0a16
RD
7041 arg3 = (int) SWIG_AsInt(obj2);
7042 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7043 }
44127b65 7044 if (obj3) {
2f4c0a16
RD
7045 arg4 = (bool) SWIG_AsBool(obj3);
7046 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7047 }
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 (arg1)->DrawLinks(*arg2,arg3,arg4);
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 Py_INCREF(Py_None); resultobj = Py_None;
7056 return resultobj;
7057 fail:
7058 return NULL;
7059}
7060
7061
a95a7133 7062static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7063 PyObject *resultobj;
7064 wxPyShape *arg1 = (wxPyShape *) 0 ;
7065 wxDC *arg2 = 0 ;
7066 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
7067 double arg4 ;
7068 double arg5 ;
7069 bool result;
7070 PyObject * obj0 = 0 ;
7071 PyObject * obj1 = 0 ;
7072 PyObject * obj2 = 0 ;
8edf1c75
RD
7073 PyObject * obj3 = 0 ;
7074 PyObject * obj4 = 0 ;
44127b65
RD
7075 char *kwnames[] = {
7076 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7077 };
7078
8edf1c75 7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7083 SWIG_POINTER_EXCEPTION | 0)) == -1)
7084 SWIG_fail;
44127b65 7085 if (arg2 == NULL) {
2f4c0a16
RD
7086 PyErr_SetString(PyExc_TypeError,"null reference");
7087 SWIG_fail;
8edf1c75 7088 }
2f4c0a16
RD
7089 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyLineShape,
7090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7091 arg4 = (double) SWIG_AsDouble(obj3);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 arg5 = (double) SWIG_AsDouble(obj4);
7094 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
fbc46b20
RD
7102 {
7103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7104 }
44127b65
RD
7105 return resultobj;
7106 fail:
7107 return NULL;
7108}
7109
7110
a95a7133 7111static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7112 PyObject *resultobj;
7113 wxPyShape *arg1 = (wxPyShape *) 0 ;
7114 PyObject *arg2 = (PyObject *) 0 ;
7115 PyObject * obj0 = 0 ;
7116 PyObject * obj1 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "self",(char *) "linesToSort", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7124 arg2 = obj1;
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 Py_INCREF(Py_None); resultobj = Py_None;
7133 return resultobj;
7134 fail:
7135 return NULL;
7136}
7137
7138
a95a7133 7139static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7140 PyObject *resultobj;
7141 wxPyShape *arg1 = (wxPyShape *) 0 ;
7142 int arg2 ;
7143 wxRealPoint result;
7144 PyObject * obj0 = 0 ;
8edf1c75 7145 PyObject * obj1 = 0 ;
44127b65
RD
7146 char *kwnames[] = {
7147 (char *) "self",(char *) "attachment", NULL
7148 };
7149
8edf1c75 7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7153 arg2 = (int) SWIG_AsInt(obj1);
7154 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7158
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 {
7163 wxRealPoint * resultptr;
7164 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 7165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
44127b65
RD
7166 }
7167 return resultobj;
7168 fail:
7169 return NULL;
7170}
7171
7172
a95a7133 7173static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7174 PyObject *resultobj;
7175 wxPyShape *arg1 = (wxPyShape *) 0 ;
7176 int arg2 ;
7177 wxRealPoint *arg3 = 0 ;
7178 wxRealPoint *arg4 = 0 ;
7179 wxRealPoint *arg5 = 0 ;
7180 wxRealPoint *arg6 = 0 ;
7181 bool result;
7182 wxRealPoint temp3 ;
7183 wxRealPoint temp4 ;
7184 wxRealPoint temp5 ;
7185 wxRealPoint temp6 ;
7186 PyObject * obj0 = 0 ;
8edf1c75 7187 PyObject * obj1 = 0 ;
44127b65
RD
7188 PyObject * obj2 = 0 ;
7189 PyObject * obj3 = 0 ;
7190 PyObject * obj4 = 0 ;
7191 PyObject * obj5 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7194 };
7195
8edf1c75 7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
7197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7199 arg2 = (int) SWIG_AsInt(obj1);
7200 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7201 {
7202 arg3 = &temp3;
7203 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7204 }
7205 {
7206 arg4 = &temp4;
7207 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7208 }
7209 {
7210 arg5 = &temp5;
7211 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7212 }
7213 {
7214 arg6 = &temp6;
7215 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7216 }
7217 {
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7220
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
fbc46b20
RD
7224 {
7225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7226 }
44127b65
RD
7227 return resultobj;
7228 fail:
7229 return NULL;
7230}
7231
7232
a95a7133 7233static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7234 PyObject *resultobj;
7235 wxPyShape *arg1 = (wxPyShape *) 0 ;
7236 int arg2 ;
7237 int arg3 ;
7238 wxRealPoint *arg4 = 0 ;
7239 wxRealPoint *arg5 = 0 ;
7240 bool result;
7241 wxRealPoint temp4 ;
7242 wxRealPoint temp5 ;
7243 PyObject * obj0 = 0 ;
8edf1c75
RD
7244 PyObject * obj1 = 0 ;
7245 PyObject * obj2 = 0 ;
44127b65
RD
7246 PyObject * obj3 = 0 ;
7247 PyObject * obj4 = 0 ;
7248 char *kwnames[] = {
7249 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7250 };
7251
8edf1c75 7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7255 arg2 = (int) SWIG_AsInt(obj1);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 arg3 = (int) SWIG_AsInt(obj2);
7258 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7259 {
7260 arg4 = &temp4;
7261 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7262 }
7263 {
7264 arg5 = &temp5;
7265 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7266 }
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
fbc46b20
RD
7274 {
7275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7276 }
44127b65
RD
7277 return resultobj;
7278 fail:
7279 return NULL;
7280}
7281
7282
a95a7133 7283static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7284 PyObject *resultobj;
7285 wxPyShape *arg1 = (wxPyShape *) 0 ;
7286 int arg2 ;
7287 int result;
7288 PyObject * obj0 = 0 ;
8edf1c75 7289 PyObject * obj1 = 0 ;
44127b65
RD
7290 char *kwnames[] = {
7291 (char *) "self",(char *) "attachment", NULL
7292 };
7293
8edf1c75 7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7297 arg2 = (int) SWIG_AsInt(obj1);
7298 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
2f4c0a16 7306 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7307 return resultobj;
7308 fail:
7309 return NULL;
7310}
7311
7312
a95a7133 7313static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7314 PyObject *resultobj;
7315 wxPyShape *arg1 = (wxPyShape *) 0 ;
7316 int arg2 ;
7317 PyObject * obj0 = 0 ;
8edf1c75 7318 PyObject * obj1 = 0 ;
44127b65
RD
7319 char *kwnames[] = {
7320 (char *) "self",(char *) "len", NULL
7321 };
7322
8edf1c75 7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7326 arg2 = (int) SWIG_AsInt(obj1);
7327 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 (arg1)->SetBranchNeckLength(arg2);
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
7335 Py_INCREF(Py_None); resultobj = Py_None;
7336 return resultobj;
7337 fail:
7338 return NULL;
7339}
7340
7341
a95a7133 7342static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7343 PyObject *resultobj;
7344 wxPyShape *arg1 = (wxPyShape *) 0 ;
7345 int result;
7346 PyObject * obj0 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (int)(arg1)->GetBranchNeckLength();
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
2f4c0a16 7361 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7362 return resultobj;
7363 fail:
7364 return NULL;
7365}
7366
7367
a95a7133 7368static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7369 PyObject *resultobj;
7370 wxPyShape *arg1 = (wxPyShape *) 0 ;
7371 int arg2 ;
7372 PyObject * obj0 = 0 ;
8edf1c75 7373 PyObject * obj1 = 0 ;
44127b65
RD
7374 char *kwnames[] = {
7375 (char *) "self",(char *) "len", NULL
7376 };
7377
8edf1c75 7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7381 arg2 = (int) SWIG_AsInt(obj1);
7382 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65
RD
7385 (arg1)->SetBranchStemLength(arg2);
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 Py_INCREF(Py_None); resultobj = Py_None;
7391 return resultobj;
7392 fail:
7393 return NULL;
7394}
7395
7396
a95a7133 7397static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7398 PyObject *resultobj;
7399 wxPyShape *arg1 = (wxPyShape *) 0 ;
7400 int result;
7401 PyObject * obj0 = 0 ;
7402 char *kwnames[] = {
7403 (char *) "self", NULL
7404 };
7405
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7409 {
7410 PyThreadState* __tstate = wxPyBeginAllowThreads();
7411 result = (int)(arg1)->GetBranchStemLength();
7412
7413 wxPyEndAllowThreads(__tstate);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
2f4c0a16 7416 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7417 return resultobj;
7418 fail:
7419 return NULL;
7420}
7421
7422
a95a7133 7423static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7424 PyObject *resultobj;
7425 wxPyShape *arg1 = (wxPyShape *) 0 ;
7426 int arg2 ;
7427 PyObject * obj0 = 0 ;
8edf1c75 7428 PyObject * obj1 = 0 ;
44127b65
RD
7429 char *kwnames[] = {
7430 (char *) "self",(char *) "len", NULL
7431 };
7432
8edf1c75 7433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7436 arg2 = (int) SWIG_AsInt(obj1);
7437 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 (arg1)->SetBranchSpacing(arg2);
7441
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 Py_INCREF(Py_None); resultobj = Py_None;
7446 return resultobj;
7447 fail:
7448 return NULL;
7449}
7450
7451
a95a7133 7452static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7453 PyObject *resultobj;
7454 wxPyShape *arg1 = (wxPyShape *) 0 ;
7455 int result;
7456 PyObject * obj0 = 0 ;
7457 char *kwnames[] = {
7458 (char *) "self", NULL
7459 };
7460
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 result = (int)(arg1)->GetBranchSpacing();
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
2f4c0a16 7471 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7472 return resultobj;
7473 fail:
7474 return NULL;
7475}
7476
7477
a95a7133 7478static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7479 PyObject *resultobj;
7480 wxPyShape *arg1 = (wxPyShape *) 0 ;
7481 long arg2 ;
7482 PyObject * obj0 = 0 ;
8edf1c75 7483 PyObject * obj1 = 0 ;
44127b65
RD
7484 char *kwnames[] = {
7485 (char *) "self",(char *) "style", NULL
7486 };
7487
8edf1c75 7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7491 arg2 = (long) SWIG_AsLong(obj1);
7492 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 (arg1)->SetBranchStyle(arg2);
7496
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
7500 Py_INCREF(Py_None); resultobj = Py_None;
7501 return resultobj;
7502 fail:
7503 return NULL;
7504}
7505
7506
a95a7133 7507static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7508 PyObject *resultobj;
7509 wxPyShape *arg1 = (wxPyShape *) 0 ;
7510 long result;
7511 PyObject * obj0 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (long)(arg1)->GetBranchStyle();
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
2f4c0a16 7526 resultobj = SWIG_FromLong((long)result);
44127b65
RD
7527 return resultobj;
7528 fail:
7529 return NULL;
7530}
7531
7532
a95a7133 7533static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7534 PyObject *resultobj;
7535 wxPyShape *arg1 = (wxPyShape *) 0 ;
7536 int arg2 ;
7537 int result;
7538 PyObject * obj0 = 0 ;
8edf1c75 7539 PyObject * obj1 = 0 ;
44127b65
RD
7540 char *kwnames[] = {
7541 (char *) "self",(char *) "physicalAttachment", NULL
7542 };
7543
8edf1c75 7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7547 arg2 = (int) SWIG_AsInt(obj1);
7548 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7549 {
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7552
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
2f4c0a16 7556 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7557 return resultobj;
7558 fail:
7559 return NULL;
7560}
7561
7562
a95a7133 7563static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7564 PyObject *resultobj;
7565 wxPyShape *arg1 = (wxPyShape *) 0 ;
7566 int arg2 ;
7567 int result;
7568 PyObject * obj0 = 0 ;
8edf1c75 7569 PyObject * obj1 = 0 ;
44127b65
RD
7570 char *kwnames[] = {
7571 (char *) "self",(char *) "logicalAttachment", NULL
7572 };
7573
8edf1c75 7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7577 arg2 = (int) SWIG_AsInt(obj1);
7578 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
2f4c0a16 7586 resultobj = SWIG_FromInt((int)result);
44127b65
RD
7587 return resultobj;
7588 fail:
7589 return NULL;
7590}
7591
7592
a95a7133 7593static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7594 PyObject *resultobj;
7595 wxPyShape *arg1 = (wxPyShape *) 0 ;
7596 bool result;
7597 PyObject * obj0 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 result = (bool)(arg1)->Draggable();
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
fbc46b20
RD
7612 {
7613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7614 }
44127b65
RD
7615 return resultobj;
7616 fail:
7617 return NULL;
7618}
7619
7620
a95a7133 7621static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7622 PyObject *resultobj;
7623 wxPyShape *arg1 = (wxPyShape *) 0 ;
7624 wxPyShape *arg2 = (wxPyShape *) 0 ;
7625 bool result;
7626 PyObject * obj0 = 0 ;
7627 PyObject * obj1 = 0 ;
7628 char *kwnames[] = {
7629 (char *) "self",(char *) "image", NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 result = (bool)(arg1)->HasDescendant(arg2);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
fbc46b20
RD
7644 {
7645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7646 }
44127b65
RD
7647 return resultobj;
7648 fail:
7649 return NULL;
7650}
7651
7652
a95a7133 7653static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7654 PyObject *resultobj;
7655 wxPyShape *arg1 = (wxPyShape *) 0 ;
7656 bool arg2 = (bool) True ;
7657 bool arg3 = (bool) True ;
7658 wxPyShape *result;
7659 PyObject * obj0 = 0 ;
7660 PyObject * obj1 = 0 ;
7661 PyObject * obj2 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 7669 if (obj1) {
2f4c0a16
RD
7670 arg2 = (bool) SWIG_AsBool(obj1);
7671 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7672 }
7673 if (obj2) {
2f4c0a16
RD
7674 arg3 = (bool) SWIG_AsBool(obj2);
7675 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7676 }
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 {
412d302d 7685 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
7686 }
7687 return resultobj;
7688 fail:
7689 return NULL;
7690}
7691
7692
a95a7133 7693static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7694 PyObject *resultobj;
7695 wxPyShape *arg1 = (wxPyShape *) 0 ;
7696 wxPyShape *arg2 = 0 ;
7697 PyObject * obj0 = 0 ;
7698 PyObject * obj1 = 0 ;
7699 char *kwnames[] = {
7700 (char *) "self",(char *) "copy", NULL
7701 };
7702
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7707 SWIG_POINTER_EXCEPTION | 0)) == -1)
7708 SWIG_fail;
44127b65 7709 if (arg2 == NULL) {
2f4c0a16
RD
7710 PyErr_SetString(PyExc_TypeError,"null reference");
7711 SWIG_fail;
44127b65
RD
7712 }
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 (arg1)->Copy(*arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 Py_INCREF(Py_None); resultobj = Py_None;
7721 return resultobj;
7722 fail:
7723 return NULL;
7724}
7725
7726
a95a7133 7727static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7728 PyObject *resultobj;
7729 wxPyShape *arg1 = (wxPyShape *) 0 ;
7730 wxPyShape *arg2 = 0 ;
7731 PyObject * obj0 = 0 ;
7732 PyObject * obj1 = 0 ;
7733 char *kwnames[] = {
7734 (char *) "self",(char *) "copy", NULL
7735 };
7736
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1)
7742 SWIG_fail;
44127b65 7743 if (arg2 == NULL) {
2f4c0a16
RD
7744 PyErr_SetString(PyExc_TypeError,"null reference");
7745 SWIG_fail;
44127b65
RD
7746 }
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 (arg1)->CopyWithHandler(*arg2);
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 Py_INCREF(Py_None); resultobj = Py_None;
7755 return resultobj;
7756 fail:
7757 return NULL;
7758}
7759
7760
a95a7133 7761static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7762 PyObject *resultobj;
7763 wxPyShape *arg1 = (wxPyShape *) 0 ;
7764 double arg2 ;
7765 double arg3 ;
7766 double arg4 ;
7767 PyObject * obj0 = 0 ;
8edf1c75
RD
7768 PyObject * obj1 = 0 ;
7769 PyObject * obj2 = 0 ;
7770 PyObject * obj3 = 0 ;
44127b65
RD
7771 char *kwnames[] = {
7772 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7773 };
7774
8edf1c75 7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7778 arg2 = (double) SWIG_AsDouble(obj1);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 arg3 = (double) SWIG_AsDouble(obj2);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 arg4 = (double) SWIG_AsDouble(obj3);
7783 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 (arg1)->Rotate(arg2,arg3,arg4);
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 Py_INCREF(Py_None); resultobj = Py_None;
7792 return resultobj;
7793 fail:
7794 return NULL;
7795}
7796
7797
a95a7133 7798static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7799 PyObject *resultobj;
7800 wxPyShape *arg1 = (wxPyShape *) 0 ;
7801 double result;
7802 PyObject * obj0 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 result = (double)(arg1)->GetRotation();
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
2f4c0a16 7817 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
7818 return resultobj;
7819 fail:
7820 return NULL;
7821}
7822
7823
a95a7133 7824static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
7825 PyObject *resultobj;
7826 wxPyShape *arg1 = (wxPyShape *) 0 ;
7827 double arg2 ;
7828 PyObject * obj0 = 0 ;
8edf1c75 7829 PyObject * obj1 = 0 ;
7a0a63ae
RD
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "rotation", NULL
7832 };
7833
8edf1c75 7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7837 arg2 = (double) SWIG_AsDouble(obj1);
7838 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 (arg1)->SetRotation(arg2);
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 Py_INCREF(Py_None); resultobj = Py_None;
7847 return resultobj;
7848 fail:
7849 return NULL;
7850}
7851
7852
a95a7133 7853static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7854 PyObject *resultobj;
7855 wxPyShape *arg1 = (wxPyShape *) 0 ;
7856 PyObject * obj0 = 0 ;
7857 char *kwnames[] = {
7858 (char *) "self", NULL
7859 };
7860
7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->ClearAttachments();
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875}
7876
7877
a95a7133 7878static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7879 PyObject *resultobj;
7880 wxPyShape *arg1 = (wxPyShape *) 0 ;
7881 wxDC *arg2 = 0 ;
7882 PyObject * obj0 = 0 ;
7883 PyObject * obj1 = 0 ;
7884 char *kwnames[] = {
7885 (char *) "self",(char *) "dc", NULL
7886 };
7887
7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
7892 SWIG_POINTER_EXCEPTION | 0)) == -1)
7893 SWIG_fail;
44127b65 7894 if (arg2 == NULL) {
2f4c0a16
RD
7895 PyErr_SetString(PyExc_TypeError,"null reference");
7896 SWIG_fail;
44127b65
RD
7897 }
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 (arg1)->Recentre(*arg2);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 Py_INCREF(Py_None); resultobj = Py_None;
7906 return resultobj;
7907 fail:
7908 return NULL;
7909}
7910
7911
a95a7133 7912static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7913 PyObject *resultobj;
7914 wxPyShape *arg1 = (wxPyShape *) 0 ;
7915 wxList *arg2 = 0 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self",(char *) "list", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxList,
7926 SWIG_POINTER_EXCEPTION | 0)) == -1)
7927 SWIG_fail;
44127b65 7928 if (arg2 == NULL) {
2f4c0a16
RD
7929 PyErr_SetString(PyExc_TypeError,"null reference");
7930 SWIG_fail;
44127b65
RD
7931 }
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 (arg1)->ClearPointList(*arg2);
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 Py_INCREF(Py_None); resultobj = Py_None;
7940 return resultobj;
7941 fail:
7942 return NULL;
7943}
7944
7945
a95a7133 7946static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7947 PyObject *resultobj;
7948 wxPyShape *arg1 = (wxPyShape *) 0 ;
7949 wxPen result;
7950 PyObject * obj0 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "self", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = (arg1)->GetBackgroundPen();
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 {
7966 wxPen * resultptr;
7967 resultptr = new wxPen((wxPen &) result);
2f4c0a16 7968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPen, 1);
44127b65
RD
7969 }
7970 return resultobj;
7971 fail:
7972 return NULL;
7973}
7974
7975
a95a7133 7976static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
7977 PyObject *resultobj;
7978 wxPyShape *arg1 = (wxPyShape *) 0 ;
7979 wxBrush result;
7980 PyObject * obj0 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "self", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
7987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = (arg1)->GetBackgroundBrush();
7991
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 {
7996 wxBrush * resultptr;
7997 resultptr = new wxBrush((wxBrush &) result);
2f4c0a16 7998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBrush, 1);
44127b65
RD
7999 }
8000 return resultobj;
8001 fail:
8002 return NULL;
8003}
8004
8005
a95a7133 8006static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8007 PyObject *resultobj;
8008 wxPyShape *arg1 = (wxPyShape *) 0 ;
8009 PyObject * obj0 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 (arg1)->base_OnDelete();
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 Py_INCREF(Py_None); resultobj = Py_None;
8025 return resultobj;
8026 fail:
8027 return NULL;
8028}
8029
8030
a95a7133 8031static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8032 PyObject *resultobj;
8033 wxPyShape *arg1 = (wxPyShape *) 0 ;
8034 wxDC *arg2 = 0 ;
8035 PyObject * obj0 = 0 ;
8036 PyObject * obj1 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "self",(char *) "dc", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8045 SWIG_POINTER_EXCEPTION | 0)) == -1)
8046 SWIG_fail;
44127b65 8047 if (arg2 == NULL) {
2f4c0a16
RD
8048 PyErr_SetString(PyExc_TypeError,"null reference");
8049 SWIG_fail;
44127b65
RD
8050 }
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 (arg1)->base_OnDraw(*arg2);
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 Py_INCREF(Py_None); resultobj = Py_None;
8059 return resultobj;
8060 fail:
8061 return NULL;
8062}
8063
8064
a95a7133 8065static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8066 PyObject *resultobj;
8067 wxPyShape *arg1 = (wxPyShape *) 0 ;
8068 wxDC *arg2 = 0 ;
8069 PyObject * obj0 = 0 ;
8070 PyObject * obj1 = 0 ;
8071 char *kwnames[] = {
8072 (char *) "self",(char *) "dc", NULL
8073 };
8074
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8079 SWIG_POINTER_EXCEPTION | 0)) == -1)
8080 SWIG_fail;
44127b65 8081 if (arg2 == NULL) {
2f4c0a16
RD
8082 PyErr_SetString(PyExc_TypeError,"null reference");
8083 SWIG_fail;
44127b65
RD
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 (arg1)->base_OnDrawContents(*arg2);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 Py_INCREF(Py_None); resultobj = Py_None;
8093 return resultobj;
8094 fail:
8095 return NULL;
8096}
8097
8098
a95a7133 8099static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8100 PyObject *resultobj;
8101 wxPyShape *arg1 = (wxPyShape *) 0 ;
8102 wxDC *arg2 = 0 ;
8103 bool arg3 = (bool) False ;
8104 PyObject * obj0 = 0 ;
8105 PyObject * obj1 = 0 ;
8106 PyObject * obj2 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self",(char *) "dc",(char *) "erase", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8115 SWIG_POINTER_EXCEPTION | 0)) == -1)
8116 SWIG_fail;
44127b65 8117 if (arg2 == NULL) {
2f4c0a16
RD
8118 PyErr_SetString(PyExc_TypeError,"null reference");
8119 SWIG_fail;
44127b65
RD
8120 }
8121 if (obj2) {
2f4c0a16
RD
8122 arg3 = (bool) SWIG_AsBool(obj2);
8123 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8124 }
8125 {
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 (arg1)->base_OnDrawBranches(*arg2,arg3);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 Py_INCREF(Py_None); resultobj = Py_None;
8133 return resultobj;
8134 fail:
8135 return NULL;
8136}
8137
8138
a95a7133 8139static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8140 PyObject *resultobj;
8141 wxPyShape *arg1 = (wxPyShape *) 0 ;
8142 wxDC *arg2 = 0 ;
8143 PyObject * obj0 = 0 ;
8144 PyObject * obj1 = 0 ;
8145 char *kwnames[] = {
8146 (char *) "self",(char *) "dc", NULL
8147 };
8148
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8153 SWIG_POINTER_EXCEPTION | 0)) == -1)
8154 SWIG_fail;
44127b65 8155 if (arg2 == NULL) {
2f4c0a16
RD
8156 PyErr_SetString(PyExc_TypeError,"null reference");
8157 SWIG_fail;
44127b65
RD
8158 }
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
8161 (arg1)->base_OnMoveLinks(*arg2);
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 Py_INCREF(Py_None); resultobj = Py_None;
8167 return resultobj;
8168 fail:
8169 return NULL;
8170}
8171
8172
a95a7133 8173static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8174 PyObject *resultobj;
8175 wxPyShape *arg1 = (wxPyShape *) 0 ;
8176 wxDC *arg2 = 0 ;
8177 PyObject * obj0 = 0 ;
8178 PyObject * obj1 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "self",(char *) "dc", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8187 SWIG_POINTER_EXCEPTION | 0)) == -1)
8188 SWIG_fail;
44127b65 8189 if (arg2 == NULL) {
2f4c0a16
RD
8190 PyErr_SetString(PyExc_TypeError,"null reference");
8191 SWIG_fail;
44127b65
RD
8192 }
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 (arg1)->base_OnErase(*arg2);
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 Py_INCREF(Py_None); resultobj = Py_None;
8201 return resultobj;
8202 fail:
8203 return NULL;
8204}
8205
8206
a95a7133 8207static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8208 PyObject *resultobj;
8209 wxPyShape *arg1 = (wxPyShape *) 0 ;
8210 wxDC *arg2 = 0 ;
8211 PyObject * obj0 = 0 ;
8212 PyObject * obj1 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "self",(char *) "dc", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8221 SWIG_POINTER_EXCEPTION | 0)) == -1)
8222 SWIG_fail;
44127b65 8223 if (arg2 == NULL) {
2f4c0a16
RD
8224 PyErr_SetString(PyExc_TypeError,"null reference");
8225 SWIG_fail;
44127b65
RD
8226 }
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 (arg1)->base_OnEraseContents(*arg2);
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 Py_INCREF(Py_None); resultobj = Py_None;
8235 return resultobj;
8236 fail:
8237 return NULL;
8238}
8239
8240
a95a7133 8241static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8242 PyObject *resultobj;
8243 wxPyShape *arg1 = (wxPyShape *) 0 ;
8244 wxDC *arg2 = 0 ;
8245 PyObject * obj0 = 0 ;
8246 PyObject * obj1 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self",(char *) "dc", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8254 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8255 SWIG_POINTER_EXCEPTION | 0)) == -1)
8256 SWIG_fail;
44127b65 8257 if (arg2 == NULL) {
2f4c0a16
RD
8258 PyErr_SetString(PyExc_TypeError,"null reference");
8259 SWIG_fail;
44127b65
RD
8260 }
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 (arg1)->base_OnHighlight(*arg2);
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 Py_INCREF(Py_None); resultobj = Py_None;
8269 return resultobj;
8270 fail:
8271 return NULL;
8272}
8273
8274
a95a7133 8275static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8276 PyObject *resultobj;
8277 wxPyShape *arg1 = (wxPyShape *) 0 ;
8278 double arg2 ;
8279 double arg3 ;
8280 int arg4 = (int) 0 ;
8281 int arg5 = (int) 0 ;
8282 PyObject * obj0 = 0 ;
8edf1c75
RD
8283 PyObject * obj1 = 0 ;
8284 PyObject * obj2 = 0 ;
8285 PyObject * obj3 = 0 ;
8286 PyObject * obj4 = 0 ;
44127b65
RD
8287 char *kwnames[] = {
8288 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8289 };
8290
8edf1c75 8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8294 arg2 = (double) SWIG_AsDouble(obj1);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 arg3 = (double) SWIG_AsDouble(obj2);
8297 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8298 if (obj3) {
2f4c0a16
RD
8299 arg4 = (int) SWIG_AsInt(obj3);
8300 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8301 }
8302 if (obj4) {
2f4c0a16
RD
8303 arg5 = (int) SWIG_AsInt(obj4);
8304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8305 }
44127b65
RD
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 Py_INCREF(Py_None); resultobj = Py_None;
8314 return resultobj;
8315 fail:
8316 return NULL;
8317}
8318
8319
a95a7133 8320static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8321 PyObject *resultobj;
8322 wxPyShape *arg1 = (wxPyShape *) 0 ;
8323 double arg2 ;
8324 double arg3 ;
8325 int arg4 = (int) 0 ;
8326 int arg5 = (int) 0 ;
8327 PyObject * obj0 = 0 ;
8edf1c75
RD
8328 PyObject * obj1 = 0 ;
8329 PyObject * obj2 = 0 ;
8330 PyObject * obj3 = 0 ;
8331 PyObject * obj4 = 0 ;
44127b65
RD
8332 char *kwnames[] = {
8333 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8334 };
8335
8edf1c75 8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8339 arg2 = (double) SWIG_AsDouble(obj1);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 arg3 = (double) SWIG_AsDouble(obj2);
8342 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8343 if (obj3) {
2f4c0a16
RD
8344 arg4 = (int) SWIG_AsInt(obj3);
8345 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8346 }
8347 if (obj4) {
2f4c0a16
RD
8348 arg5 = (int) SWIG_AsInt(obj4);
8349 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8350 }
44127b65
RD
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 Py_INCREF(Py_None); resultobj = Py_None;
8359 return resultobj;
8360 fail:
8361 return NULL;
8362}
8363
8364
a95a7133 8365static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8366 PyObject *resultobj;
8367 wxPyShape *arg1 = (wxPyShape *) 0 ;
8368 double arg2 ;
8369 double arg3 ;
8370 int arg4 = (int) 0 ;
8371 int arg5 = (int) 0 ;
8372 PyObject * obj0 = 0 ;
8edf1c75
RD
8373 PyObject * obj1 = 0 ;
8374 PyObject * obj2 = 0 ;
8375 PyObject * obj3 = 0 ;
8376 PyObject * obj4 = 0 ;
44127b65
RD
8377 char *kwnames[] = {
8378 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8379 };
8380
8edf1c75 8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8384 arg2 = (double) SWIG_AsDouble(obj1);
8385 if (PyErr_Occurred()) SWIG_fail;
8386 arg3 = (double) SWIG_AsDouble(obj2);
8387 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8388 if (obj3) {
2f4c0a16
RD
8389 arg4 = (int) SWIG_AsInt(obj3);
8390 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8391 }
8392 if (obj4) {
2f4c0a16
RD
8393 arg5 = (int) SWIG_AsInt(obj4);
8394 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8395 }
44127b65
RD
8396 {
8397 PyThreadState* __tstate = wxPyBeginAllowThreads();
8398 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8399
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 Py_INCREF(Py_None); resultobj = Py_None;
8404 return resultobj;
8405 fail:
8406 return NULL;
8407}
8408
8409
a95a7133 8410static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8411 PyObject *resultobj;
8412 wxPyShape *arg1 = (wxPyShape *) 0 ;
8413 double arg2 ;
8414 double arg3 ;
8415 PyObject * obj0 = 0 ;
8edf1c75
RD
8416 PyObject * obj1 = 0 ;
8417 PyObject * obj2 = 0 ;
44127b65
RD
8418 char *kwnames[] = {
8419 (char *) "self",(char *) "x",(char *) "y", NULL
8420 };
8421
8edf1c75 8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8425 arg2 = (double) SWIG_AsDouble(obj1);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 arg3 = (double) SWIG_AsDouble(obj2);
8428 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8429 {
8430 PyThreadState* __tstate = wxPyBeginAllowThreads();
8431 (arg1)->base_OnSize(arg2,arg3);
8432
8433 wxPyEndAllowThreads(__tstate);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 }
8436 Py_INCREF(Py_None); resultobj = Py_None;
8437 return resultobj;
8438 fail:
8439 return NULL;
8440}
8441
8442
a95a7133 8443static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8444 PyObject *resultobj;
8445 wxPyShape *arg1 = (wxPyShape *) 0 ;
8446 wxDC *arg2 = 0 ;
8447 double arg3 ;
8448 double arg4 ;
8449 double arg5 ;
8450 double arg6 ;
8451 bool arg7 = (bool) True ;
8452 bool result;
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8edf1c75
RD
8455 PyObject * obj2 = 0 ;
8456 PyObject * obj3 = 0 ;
8457 PyObject * obj4 = 0 ;
8458 PyObject * obj5 = 0 ;
44127b65
RD
8459 PyObject * obj6 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8462 };
8463
8edf1c75 8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
8465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8468 SWIG_POINTER_EXCEPTION | 0)) == -1)
8469 SWIG_fail;
44127b65 8470 if (arg2 == NULL) {
2f4c0a16
RD
8471 PyErr_SetString(PyExc_TypeError,"null reference");
8472 SWIG_fail;
8473 }
8474 arg3 = (double) SWIG_AsDouble(obj2);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 arg4 = (double) SWIG_AsDouble(obj3);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 arg5 = (double) SWIG_AsDouble(obj4);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 arg6 = (double) SWIG_AsDouble(obj5);
8481 if (PyErr_Occurred()) SWIG_fail;
44127b65 8482 if (obj6) {
2f4c0a16
RD
8483 arg7 = (bool) SWIG_AsBool(obj6);
8484 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8485 }
8486 {
8487 PyThreadState* __tstate = wxPyBeginAllowThreads();
8488 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8489
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
fbc46b20
RD
8493 {
8494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8495 }
44127b65
RD
8496 return resultobj;
8497 fail:
8498 return NULL;
8499}
8500
8501
a95a7133 8502static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8503 PyObject *resultobj;
8504 wxPyShape *arg1 = (wxPyShape *) 0 ;
8505 wxDC *arg2 = 0 ;
8506 double arg3 ;
8507 double arg4 ;
8508 double arg5 ;
8509 double arg6 ;
8510 bool arg7 = (bool) True ;
8511 PyObject * obj0 = 0 ;
8512 PyObject * obj1 = 0 ;
8edf1c75
RD
8513 PyObject * obj2 = 0 ;
8514 PyObject * obj3 = 0 ;
8515 PyObject * obj4 = 0 ;
8516 PyObject * obj5 = 0 ;
44127b65
RD
8517 PyObject * obj6 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8520 };
8521
8edf1c75 8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
8523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8526 SWIG_POINTER_EXCEPTION | 0)) == -1)
8527 SWIG_fail;
44127b65 8528 if (arg2 == NULL) {
2f4c0a16
RD
8529 PyErr_SetString(PyExc_TypeError,"null reference");
8530 SWIG_fail;
8531 }
8532 arg3 = (double) SWIG_AsDouble(obj2);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 arg4 = (double) SWIG_AsDouble(obj3);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 arg5 = (double) SWIG_AsDouble(obj4);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 arg6 = (double) SWIG_AsDouble(obj5);
8539 if (PyErr_Occurred()) SWIG_fail;
44127b65 8540 if (obj6) {
2f4c0a16
RD
8541 arg7 = (bool) SWIG_AsBool(obj6);
8542 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8543 }
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 Py_INCREF(Py_None); resultobj = Py_None;
8552 return resultobj;
8553 fail:
8554 return NULL;
8555}
8556
8557
a95a7133 8558static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8559 PyObject *resultobj;
8560 wxPyShape *arg1 = (wxPyShape *) 0 ;
8561 bool arg2 ;
8562 double arg3 ;
8563 double arg4 ;
8564 int arg5 = (int) 0 ;
8565 int arg6 = (int) 0 ;
8566 PyObject * obj0 = 0 ;
8567 PyObject * obj1 = 0 ;
8edf1c75
RD
8568 PyObject * obj2 = 0 ;
8569 PyObject * obj3 = 0 ;
8570 PyObject * obj4 = 0 ;
8571 PyObject * obj5 = 0 ;
44127b65
RD
8572 char *kwnames[] = {
8573 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8574 };
8575
8edf1c75 8576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8579 arg2 = (bool) SWIG_AsBool(obj1);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 arg3 = (double) SWIG_AsDouble(obj2);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 arg4 = (double) SWIG_AsDouble(obj3);
8584 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8585 if (obj4) {
2f4c0a16
RD
8586 arg5 = (int) SWIG_AsInt(obj4);
8587 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8588 }
8589 if (obj5) {
2f4c0a16
RD
8590 arg6 = (int) SWIG_AsInt(obj5);
8591 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8592 }
44127b65
RD
8593 {
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8596
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 Py_INCREF(Py_None); resultobj = Py_None;
8601 return resultobj;
8602 fail:
8603 return NULL;
8604}
8605
8606
a95a7133 8607static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8608 PyObject *resultobj;
8609 wxPyShape *arg1 = (wxPyShape *) 0 ;
8610 double arg2 ;
8611 double arg3 ;
8612 int arg4 = (int) 0 ;
8613 int arg5 = (int) 0 ;
8614 PyObject * obj0 = 0 ;
8edf1c75
RD
8615 PyObject * obj1 = 0 ;
8616 PyObject * obj2 = 0 ;
8617 PyObject * obj3 = 0 ;
8618 PyObject * obj4 = 0 ;
44127b65
RD
8619 char *kwnames[] = {
8620 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8621 };
8622
8edf1c75 8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8626 arg2 = (double) SWIG_AsDouble(obj1);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 arg3 = (double) SWIG_AsDouble(obj2);
8629 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8630 if (obj3) {
2f4c0a16
RD
8631 arg4 = (int) SWIG_AsInt(obj3);
8632 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8633 }
8634 if (obj4) {
2f4c0a16
RD
8635 arg5 = (int) SWIG_AsInt(obj4);
8636 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8637 }
44127b65
RD
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 Py_INCREF(Py_None); resultobj = Py_None;
8646 return resultobj;
8647 fail:
8648 return NULL;
8649}
8650
8651
a95a7133 8652static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8653 PyObject *resultobj;
8654 wxPyShape *arg1 = (wxPyShape *) 0 ;
8655 double arg2 ;
8656 double arg3 ;
8657 int arg4 = (int) 0 ;
8658 int arg5 = (int) 0 ;
8659 PyObject * obj0 = 0 ;
8edf1c75
RD
8660 PyObject * obj1 = 0 ;
8661 PyObject * obj2 = 0 ;
8662 PyObject * obj3 = 0 ;
8663 PyObject * obj4 = 0 ;
44127b65
RD
8664 char *kwnames[] = {
8665 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8666 };
8667
8edf1c75 8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8671 arg2 = (double) SWIG_AsDouble(obj1);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 arg3 = (double) SWIG_AsDouble(obj2);
8674 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8675 if (obj3) {
2f4c0a16
RD
8676 arg4 = (int) SWIG_AsInt(obj3);
8677 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8678 }
8679 if (obj4) {
2f4c0a16
RD
8680 arg5 = (int) SWIG_AsInt(obj4);
8681 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8682 }
44127b65
RD
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 Py_INCREF(Py_None); resultobj = Py_None;
8691 return resultobj;
8692 fail:
8693 return NULL;
8694}
8695
8696
a95a7133 8697static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8698 PyObject *resultobj;
8699 wxPyShape *arg1 = (wxPyShape *) 0 ;
8700 bool arg2 ;
8701 double arg3 ;
8702 double arg4 ;
8703 int arg5 = (int) 0 ;
8704 int arg6 = (int) 0 ;
8705 PyObject * obj0 = 0 ;
8706 PyObject * obj1 = 0 ;
8edf1c75
RD
8707 PyObject * obj2 = 0 ;
8708 PyObject * obj3 = 0 ;
8709 PyObject * obj4 = 0 ;
8710 PyObject * obj5 = 0 ;
44127b65
RD
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8713 };
8714
8edf1c75 8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8718 arg2 = (bool) SWIG_AsBool(obj1);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 arg3 = (double) SWIG_AsDouble(obj2);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 arg4 = (double) SWIG_AsDouble(obj3);
8723 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8724 if (obj4) {
2f4c0a16
RD
8725 arg5 = (int) SWIG_AsInt(obj4);
8726 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8727 }
8728 if (obj5) {
2f4c0a16
RD
8729 arg6 = (int) SWIG_AsInt(obj5);
8730 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8731 }
44127b65
RD
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 Py_INCREF(Py_None); resultobj = Py_None;
8740 return resultobj;
8741 fail:
8742 return NULL;
8743}
8744
8745
a95a7133 8746static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8747 PyObject *resultobj;
8748 wxPyShape *arg1 = (wxPyShape *) 0 ;
8749 double arg2 ;
8750 double arg3 ;
8751 int arg4 = (int) 0 ;
8752 int arg5 = (int) 0 ;
8753 PyObject * obj0 = 0 ;
8edf1c75
RD
8754 PyObject * obj1 = 0 ;
8755 PyObject * obj2 = 0 ;
8756 PyObject * obj3 = 0 ;
8757 PyObject * obj4 = 0 ;
44127b65
RD
8758 char *kwnames[] = {
8759 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8760 };
8761
8edf1c75 8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8765 arg2 = (double) SWIG_AsDouble(obj1);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 arg3 = (double) SWIG_AsDouble(obj2);
8768 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8769 if (obj3) {
2f4c0a16
RD
8770 arg4 = (int) SWIG_AsInt(obj3);
8771 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8772 }
8773 if (obj4) {
2f4c0a16
RD
8774 arg5 = (int) SWIG_AsInt(obj4);
8775 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8776 }
44127b65
RD
8777 {
8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
8779 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8780
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
8784 Py_INCREF(Py_None); resultobj = Py_None;
8785 return resultobj;
8786 fail:
8787 return NULL;
8788}
8789
8790
a95a7133 8791static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8792 PyObject *resultobj;
8793 wxPyShape *arg1 = (wxPyShape *) 0 ;
8794 double arg2 ;
8795 double arg3 ;
8796 int arg4 = (int) 0 ;
8797 int arg5 = (int) 0 ;
8798 PyObject * obj0 = 0 ;
8edf1c75
RD
8799 PyObject * obj1 = 0 ;
8800 PyObject * obj2 = 0 ;
8801 PyObject * obj3 = 0 ;
8802 PyObject * obj4 = 0 ;
44127b65
RD
8803 char *kwnames[] = {
8804 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8805 };
8806
8edf1c75 8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
8808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8810 arg2 = (double) SWIG_AsDouble(obj1);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 arg3 = (double) SWIG_AsDouble(obj2);
8813 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8814 if (obj3) {
2f4c0a16
RD
8815 arg4 = (int) SWIG_AsInt(obj3);
8816 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8817 }
8818 if (obj4) {
2f4c0a16
RD
8819 arg5 = (int) SWIG_AsInt(obj4);
8820 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8821 }
44127b65
RD
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 Py_INCREF(Py_None); resultobj = Py_None;
8830 return resultobj;
8831 fail:
8832 return NULL;
8833}
8834
8835
a95a7133 8836static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8837 PyObject *resultobj;
8838 wxPyShape *arg1 = (wxPyShape *) 0 ;
8839 wxDC *arg2 = 0 ;
8840 double arg3 ;
8841 double arg4 ;
8842 double arg5 ;
8843 double arg6 ;
8844 PyObject * obj0 = 0 ;
8845 PyObject * obj1 = 0 ;
8edf1c75
RD
8846 PyObject * obj2 = 0 ;
8847 PyObject * obj3 = 0 ;
8848 PyObject * obj4 = 0 ;
8849 PyObject * obj5 = 0 ;
44127b65
RD
8850 char *kwnames[] = {
8851 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8852 };
8853
8edf1c75 8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8858 SWIG_POINTER_EXCEPTION | 0)) == -1)
8859 SWIG_fail;
44127b65 8860 if (arg2 == NULL) {
2f4c0a16
RD
8861 PyErr_SetString(PyExc_TypeError,"null reference");
8862 SWIG_fail;
8edf1c75 8863 }
2f4c0a16
RD
8864 arg3 = (double) SWIG_AsDouble(obj2);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 arg4 = (double) SWIG_AsDouble(obj3);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 arg5 = (double) SWIG_AsDouble(obj4);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 arg6 = (double) SWIG_AsDouble(obj5);
8871 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 Py_INCREF(Py_None); resultobj = Py_None;
8880 return resultobj;
8881 fail:
8882 return NULL;
8883}
8884
8885
a95a7133 8886static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8887 PyObject *resultobj;
8888 wxPyShape *arg1 = (wxPyShape *) 0 ;
8889 wxDC *arg2 = 0 ;
8890 PyObject * obj0 = 0 ;
8891 PyObject * obj1 = 0 ;
8892 char *kwnames[] = {
8893 (char *) "self",(char *) "dc", NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8899 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8900 SWIG_POINTER_EXCEPTION | 0)) == -1)
8901 SWIG_fail;
44127b65 8902 if (arg2 == NULL) {
2f4c0a16
RD
8903 PyErr_SetString(PyExc_TypeError,"null reference");
8904 SWIG_fail;
44127b65
RD
8905 }
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 (arg1)->base_OnDrawControlPoints(*arg2);
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 Py_INCREF(Py_None); resultobj = Py_None;
8914 return resultobj;
8915 fail:
8916 return NULL;
8917}
8918
8919
a95a7133 8920static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8921 PyObject *resultobj;
8922 wxPyShape *arg1 = (wxPyShape *) 0 ;
8923 wxDC *arg2 = 0 ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 char *kwnames[] = {
8927 (char *) "self",(char *) "dc", NULL
8928 };
8929
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8934 SWIG_POINTER_EXCEPTION | 0)) == -1)
8935 SWIG_fail;
44127b65 8936 if (arg2 == NULL) {
2f4c0a16
RD
8937 PyErr_SetString(PyExc_TypeError,"null reference");
8938 SWIG_fail;
44127b65
RD
8939 }
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 (arg1)->base_OnEraseControlPoints(*arg2);
8943
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 }
8947 Py_INCREF(Py_None); resultobj = Py_None;
8948 return resultobj;
8949 fail:
8950 return NULL;
8951}
8952
8953
a95a7133 8954static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8955 PyObject *resultobj;
8956 wxPyShape *arg1 = (wxPyShape *) 0 ;
8957 wxDC *arg2 = 0 ;
8958 bool arg3 = (bool) True ;
8959 PyObject * obj0 = 0 ;
8960 PyObject * obj1 = 0 ;
8961 PyObject * obj2 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
8970 SWIG_POINTER_EXCEPTION | 0)) == -1)
8971 SWIG_fail;
44127b65 8972 if (arg2 == NULL) {
2f4c0a16
RD
8973 PyErr_SetString(PyExc_TypeError,"null reference");
8974 SWIG_fail;
44127b65
RD
8975 }
8976 if (obj2) {
2f4c0a16
RD
8977 arg3 = (bool) SWIG_AsBool(obj2);
8978 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->base_OnMoveLink(*arg2,arg3);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 Py_INCREF(Py_None); resultobj = Py_None;
8988 return resultobj;
8989 fail:
8990 return NULL;
8991}
8992
8993
a95a7133 8994static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
8995 PyObject *resultobj;
8996 wxPyShape *arg1 = (wxPyShape *) 0 ;
8997 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8998 bool arg3 ;
8999 double arg4 ;
9000 double arg5 ;
9001 int arg6 = (int) 0 ;
9002 int arg7 = (int) 0 ;
9003 PyObject * obj0 = 0 ;
9004 PyObject * obj1 = 0 ;
9005 PyObject * obj2 = 0 ;
8edf1c75
RD
9006 PyObject * obj3 = 0 ;
9007 PyObject * obj4 = 0 ;
9008 PyObject * obj5 = 0 ;
9009 PyObject * obj6 = 0 ;
44127b65
RD
9010 char *kwnames[] = {
9011 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9012 };
9013
8edf1c75 9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
9015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9019 arg3 = (bool) SWIG_AsBool(obj2);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 arg4 = (double) SWIG_AsDouble(obj3);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 arg5 = (double) SWIG_AsDouble(obj4);
9024 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9025 if (obj5) {
2f4c0a16
RD
9026 arg6 = (int) SWIG_AsInt(obj5);
9027 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9028 }
9029 if (obj6) {
2f4c0a16
RD
9030 arg7 = (int) SWIG_AsInt(obj6);
9031 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9032 }
44127b65
RD
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 Py_INCREF(Py_None); resultobj = Py_None;
9041 return resultobj;
9042 fail:
9043 return NULL;
9044}
9045
9046
a95a7133 9047static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9048 PyObject *resultobj;
9049 wxPyShape *arg1 = (wxPyShape *) 0 ;
9050 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9051 double arg3 ;
9052 double arg4 ;
9053 int arg5 = (int) 0 ;
9054 int arg6 = (int) 0 ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
8edf1c75
RD
9057 PyObject * obj2 = 0 ;
9058 PyObject * obj3 = 0 ;
9059 PyObject * obj4 = 0 ;
9060 PyObject * obj5 = 0 ;
44127b65
RD
9061 char *kwnames[] = {
9062 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9063 };
9064
8edf1c75 9065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9070 arg3 = (double) SWIG_AsDouble(obj2);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 arg4 = (double) SWIG_AsDouble(obj3);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 if (obj4) {
9075 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
2f4c0a16
RD
9078 if (obj5) {
9079 arg6 = (int) SWIG_AsInt(obj5);
8edf1c75
RD
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
44127b65
RD
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 Py_INCREF(Py_None); resultobj = Py_None;
9090 return resultobj;
9091 fail:
9092 return NULL;
9093}
9094
9095
a95a7133 9096static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9097 PyObject *resultobj;
9098 wxPyShape *arg1 = (wxPyShape *) 0 ;
9099 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9100 double arg3 ;
9101 double arg4 ;
9102 int arg5 = (int) 0 ;
9103 int arg6 = (int) 0 ;
9104 PyObject * obj0 = 0 ;
9105 PyObject * obj1 = 0 ;
8edf1c75
RD
9106 PyObject * obj2 = 0 ;
9107 PyObject * obj3 = 0 ;
9108 PyObject * obj4 = 0 ;
9109 PyObject * obj5 = 0 ;
44127b65
RD
9110 char *kwnames[] = {
9111 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9112 };
9113
8edf1c75 9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
9118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9119 arg3 = (double) SWIG_AsDouble(obj2);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 arg4 = (double) SWIG_AsDouble(obj3);
9122 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9123 if (obj4) {
2f4c0a16
RD
9124 arg5 = (int) SWIG_AsInt(obj4);
9125 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9126 }
9127 if (obj5) {
2f4c0a16
RD
9128 arg6 = (int) SWIG_AsInt(obj5);
9129 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9130 }
44127b65
RD
9131 {
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 Py_INCREF(Py_None); resultobj = Py_None;
9139 return resultobj;
9140 fail:
9141 return NULL;
9142}
9143
9144
a95a7133 9145static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9146 PyObject *resultobj;
9147 wxPyShape *arg1 = (wxPyShape *) 0 ;
9148 double arg2 ;
9149 double arg3 ;
9150 PyObject * obj0 = 0 ;
8edf1c75
RD
9151 PyObject * obj1 = 0 ;
9152 PyObject * obj2 = 0 ;
44127b65
RD
9153 char *kwnames[] = {
9154 (char *) "self",(char *) "w",(char *) "h", NULL
9155 };
9156
8edf1c75 9157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9160 arg2 = (double) SWIG_AsDouble(obj1);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 arg3 = (double) SWIG_AsDouble(obj2);
9163 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 (arg1)->base_OnBeginSize(arg2,arg3);
9167
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
9171 Py_INCREF(Py_None); resultobj = Py_None;
9172 return resultobj;
9173 fail:
9174 return NULL;
9175}
9176
9177
a95a7133 9178static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9179 PyObject *resultobj;
9180 wxPyShape *arg1 = (wxPyShape *) 0 ;
9181 double arg2 ;
9182 double arg3 ;
9183 PyObject * obj0 = 0 ;
8edf1c75
RD
9184 PyObject * obj1 = 0 ;
9185 PyObject * obj2 = 0 ;
44127b65
RD
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "w",(char *) "h", NULL
9188 };
9189
8edf1c75 9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShape,
9192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9193 arg2 = (double) SWIG_AsDouble(obj1);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 arg3 = (double) SWIG_AsDouble(obj2);
9196 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 (arg1)->base_OnEndSize(arg2,arg3);
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 Py_INCREF(Py_None); resultobj = Py_None;
9205 return resultobj;
9206 fail:
9207 return NULL;
9208}
9209
9210
a95a7133 9211static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
9212 PyObject *obj;
9213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9214 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9215 Py_INCREF(obj);
9216 return Py_BuildValue((char *)"");
9217}
a95a7133 9218static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9219 PyObject *resultobj;
9220 wxPseudoMetaFile *result;
9221 char *kwnames[] = {
9222 NULL
9223 };
9224
9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 {
412d302d 9234 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
9235 }
9236 return resultobj;
9237 fail:
9238 return NULL;
9239}
9240
9241
a95a7133 9242static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9243 PyObject *resultobj;
9244 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9245 PyObject * obj0 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "self", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 delete arg1;
9256
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 Py_INCREF(Py_None); resultobj = Py_None;
9261 return resultobj;
9262 fail:
9263 return NULL;
9264}
9265
9266
a95a7133 9267static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9268 PyObject *resultobj;
9269 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9270 wxDC *arg2 = 0 ;
9271 double arg3 ;
9272 double arg4 ;
9273 PyObject * obj0 = 0 ;
9274 PyObject * obj1 = 0 ;
8edf1c75
RD
9275 PyObject * obj2 = 0 ;
9276 PyObject * obj3 = 0 ;
44127b65
RD
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9279 };
9280
8edf1c75 9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
9285 SWIG_POINTER_EXCEPTION | 0)) == -1)
9286 SWIG_fail;
44127b65 9287 if (arg2 == NULL) {
2f4c0a16
RD
9288 PyErr_SetString(PyExc_TypeError,"null reference");
9289 SWIG_fail;
8edf1c75 9290 }
2f4c0a16
RD
9291 arg3 = (double) SWIG_AsDouble(obj2);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 arg4 = (double) SWIG_AsDouble(obj3);
9294 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 (arg1)->Draw(*arg2,arg3,arg4);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 Py_INCREF(Py_None); resultobj = Py_None;
9303 return resultobj;
9304 fail:
9305 return NULL;
9306}
9307
9308
a95a7133 9309static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9310 PyObject *resultobj;
9311 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9312 PyObject * obj0 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 (arg1)->Clear();
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 Py_INCREF(Py_None); resultobj = Py_None;
9328 return resultobj;
9329 fail:
9330 return NULL;
9331}
9332
9333
a95a7133 9334static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9335 PyObject *resultobj;
9336 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9337 wxPseudoMetaFile *arg2 = 0 ;
9338 PyObject * obj0 = 0 ;
9339 PyObject * obj1 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self",(char *) "copy", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPseudoMetaFile,
9348 SWIG_POINTER_EXCEPTION | 0)) == -1)
9349 SWIG_fail;
44127b65 9350 if (arg2 == NULL) {
2f4c0a16
RD
9351 PyErr_SetString(PyExc_TypeError,"null reference");
9352 SWIG_fail;
44127b65
RD
9353 }
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 (arg1)->Copy(*arg2);
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 Py_INCREF(Py_None); resultobj = Py_None;
9362 return resultobj;
9363 fail:
9364 return NULL;
9365}
9366
9367
a95a7133 9368static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9369 PyObject *resultobj;
9370 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9371 double arg2 ;
9372 double arg3 ;
9373 PyObject * obj0 = 0 ;
8edf1c75
RD
9374 PyObject * obj1 = 0 ;
9375 PyObject * obj2 = 0 ;
44127b65
RD
9376 char *kwnames[] = {
9377 (char *) "self",(char *) "sx",(char *) "sy", NULL
9378 };
9379
8edf1c75 9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9383 arg2 = (double) SWIG_AsDouble(obj1);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 arg3 = (double) SWIG_AsDouble(obj2);
9386 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 (arg1)->Scale(arg2,arg3);
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 Py_INCREF(Py_None); resultobj = Py_None;
9395 return resultobj;
9396 fail:
9397 return NULL;
9398}
9399
9400
a95a7133 9401static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9402 PyObject *resultobj;
9403 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9404 double arg2 ;
9405 double arg3 ;
9406 PyObject * obj0 = 0 ;
8edf1c75
RD
9407 PyObject * obj1 = 0 ;
9408 PyObject * obj2 = 0 ;
44127b65
RD
9409 char *kwnames[] = {
9410 (char *) "self",(char *) "w",(char *) "h", NULL
9411 };
9412
8edf1c75 9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9416 arg2 = (double) SWIG_AsDouble(obj1);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 arg3 = (double) SWIG_AsDouble(obj2);
9419 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 (arg1)->ScaleTo(arg2,arg3);
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 Py_INCREF(Py_None); resultobj = Py_None;
9428 return resultobj;
9429 fail:
9430 return NULL;
9431}
9432
9433
a95a7133 9434static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9435 PyObject *resultobj;
9436 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9437 double arg2 ;
9438 double arg3 ;
9439 PyObject * obj0 = 0 ;
8edf1c75
RD
9440 PyObject * obj1 = 0 ;
9441 PyObject * obj2 = 0 ;
44127b65
RD
9442 char *kwnames[] = {
9443 (char *) "self",(char *) "x",(char *) "y", NULL
9444 };
9445
8edf1c75 9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9449 arg2 = (double) SWIG_AsDouble(obj1);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 arg3 = (double) SWIG_AsDouble(obj2);
9452 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 (arg1)->Translate(arg2,arg3);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 Py_INCREF(Py_None); resultobj = Py_None;
9461 return resultobj;
9462 fail:
9463 return NULL;
9464}
9465
9466
a95a7133 9467static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9468 PyObject *resultobj;
9469 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9470 double arg2 ;
9471 double arg3 ;
9472 double arg4 ;
9473 PyObject * obj0 = 0 ;
8edf1c75
RD
9474 PyObject * obj1 = 0 ;
9475 PyObject * obj2 = 0 ;
9476 PyObject * obj3 = 0 ;
44127b65
RD
9477 char *kwnames[] = {
9478 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9479 };
9480
8edf1c75 9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9484 arg2 = (double) SWIG_AsDouble(obj1);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 arg3 = (double) SWIG_AsDouble(obj2);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 arg4 = (double) SWIG_AsDouble(obj3);
9489 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 (arg1)->Rotate(arg2,arg3,arg4);
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 Py_INCREF(Py_None); resultobj = Py_None;
9498 return resultobj;
9499 fail:
9500 return NULL;
9501}
9502
9503
a95a7133 9504static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9505 PyObject *resultobj;
9506 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9507 wxString *arg2 = 0 ;
9508 double *arg3 = (double *) 0 ;
9509 double *arg4 = (double *) 0 ;
9510 bool result;
9511 bool temp2 = False ;
9512 PyObject * obj0 = 0 ;
9513 PyObject * obj1 = 0 ;
9514 PyObject * obj2 = 0 ;
9515 PyObject * obj3 = 0 ;
9516 char *kwnames[] = {
9517 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9518 };
9519
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9523 {
9524 arg2 = wxString_in_helper(obj1);
9525 if (arg2 == NULL) SWIG_fail;
9526 temp2 = True;
9527 }
2f4c0a16
RD
9528 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9530 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9535
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
fbc46b20
RD
9539 {
9540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9541 }
44127b65
RD
9542 {
9543 if (temp2)
9544 delete arg2;
9545 }
9546 return resultobj;
9547 fail:
9548 {
9549 if (temp2)
9550 delete arg2;
9551 }
9552 return NULL;
9553}
9554
9555
a95a7133 9556static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9557 PyObject *resultobj;
9558 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9559 double *arg2 = (double *) 0 ;
9560 double *arg3 = (double *) 0 ;
9561 double *arg4 = (double *) 0 ;
9562 double *arg5 = (double *) 0 ;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 PyObject * obj2 = 0 ;
9566 PyObject * obj3 = 0 ;
9567 PyObject * obj4 = 0 ;
9568 char *kwnames[] = {
9569 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9570 };
9571
9572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
9573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,
9576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9577 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
9578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9579 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_double,
9580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9581 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_double,
9582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 Py_INCREF(Py_None); resultobj = Py_None;
9591 return resultobj;
9592 fail:
9593 return NULL;
9594}
9595
9596
a95a7133 9597static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9598 PyObject *resultobj;
9599 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9600 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9601 PyObject * obj0 = 0 ;
9602 PyObject * obj1 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self",(char *) "shape", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDrawnShape,
9611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 (arg1)->CalculateSize(arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 Py_INCREF(Py_None); resultobj = Py_None;
9620 return resultobj;
9621 fail:
9622 return NULL;
9623}
9624
9625
a95a7133 9626static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9627 PyObject *resultobj;
9628 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9629 bool arg2 ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self",(char *) "rot", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9639 arg2 = (bool) SWIG_AsBool(obj1);
9640 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 (arg1)->SetRotateable(arg2);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 Py_INCREF(Py_None); resultobj = Py_None;
9649 return resultobj;
9650 fail:
9651 return NULL;
9652}
9653
9654
a95a7133 9655static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9656 PyObject *resultobj;
9657 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9658 bool result;
9659 PyObject * obj0 = 0 ;
9660 char *kwnames[] = {
9661 (char *) "self", NULL
9662 };
9663
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 result = (bool)(arg1)->GetRotateable();
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
fbc46b20
RD
9674 {
9675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9676 }
44127b65
RD
9677 return resultobj;
9678 fail:
9679 return NULL;
9680}
9681
9682
a95a7133 9683static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9684 PyObject *resultobj;
9685 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9686 double arg2 ;
9687 double arg3 ;
9688 PyObject * obj0 = 0 ;
8edf1c75
RD
9689 PyObject * obj1 = 0 ;
9690 PyObject * obj2 = 0 ;
44127b65
RD
9691 char *kwnames[] = {
9692 (char *) "self",(char *) "w",(char *) "h", NULL
9693 };
9694
8edf1c75 9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9698 arg2 = (double) SWIG_AsDouble(obj1);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 arg3 = (double) SWIG_AsDouble(obj2);
9701 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 (arg1)->SetSize(arg2,arg3);
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 Py_INCREF(Py_None); resultobj = Py_None;
9710 return resultobj;
9711 fail:
9712 return NULL;
9713}
9714
9715
a95a7133 9716static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9717 PyObject *resultobj;
9718 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9719 wxBrush *arg2 = (wxBrush *) 0 ;
9720 PyObject * obj0 = 0 ;
9721 PyObject * obj1 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self",(char *) "brush", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9729 {
9730 wxBrush* temp;
9731 if (obj1) {
9732 if (obj1 == Py_None) {
9733 temp = NULL;
9734 }
9735 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9736 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9737 return NULL;
9738 }
9739 }
9740 if (temp)
9741 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9742 else
9743 arg2 = NULL;
9744 }
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 (arg1)->SetFillBrush(arg2);
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 Py_INCREF(Py_None); resultobj = Py_None;
9753 return resultobj;
9754 fail:
9755 return NULL;
9756}
9757
9758
a95a7133 9759static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9760 PyObject *resultobj;
9761 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9762 wxBrush *result;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (wxBrush *)(arg1)->GetFillBrush();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
2f4c0a16 9778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
44127b65
RD
9779 return resultobj;
9780 fail:
9781 return NULL;
9782}
9783
9784
a95a7133 9785static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9786 PyObject *resultobj;
9787 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9788 wxPen *arg2 = (wxPen *) 0 ;
9789 PyObject * obj0 = 0 ;
9790 PyObject * obj1 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self",(char *) "pen", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9798 {
9799 wxPen* temp;
9800 if (obj1) {
9801 if (obj1 == Py_None) {
9802 temp = NULL;
9803 }
9804 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9805 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9806 return NULL;
9807 }
9808 }
9809 if (temp)
9810 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9811 temp->GetWidth(),
9812 temp->GetStyle());
9813 else
9814 arg2 = NULL;
9815 }
9816 {
9817 PyThreadState* __tstate = wxPyBeginAllowThreads();
9818 (arg1)->SetOutlinePen(arg2);
9819
9820 wxPyEndAllowThreads(__tstate);
9821 if (PyErr_Occurred()) SWIG_fail;
9822 }
9823 Py_INCREF(Py_None); resultobj = Py_None;
9824 return resultobj;
9825 fail:
9826 return NULL;
9827}
9828
9829
a95a7133 9830static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9831 PyObject *resultobj;
9832 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9833 wxPen *result;
9834 PyObject * obj0 = 0 ;
9835 char *kwnames[] = {
9836 (char *) "self", NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9842 {
9843 PyThreadState* __tstate = wxPyBeginAllowThreads();
9844 result = (wxPen *)(arg1)->GetOutlinePen();
9845
9846 wxPyEndAllowThreads(__tstate);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 }
2f4c0a16 9849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
9850 return resultobj;
9851 fail:
9852 return NULL;
9853}
9854
9855
a95a7133 9856static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9857 PyObject *resultobj;
9858 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9859 int arg2 ;
9860 PyObject * obj0 = 0 ;
8edf1c75 9861 PyObject * obj1 = 0 ;
44127b65
RD
9862 char *kwnames[] = {
9863 (char *) "self",(char *) "op", NULL
9864 };
9865
8edf1c75 9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9869 arg2 = (int) SWIG_AsInt(obj1);
9870 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 (arg1)->SetOutlineOp(arg2);
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 Py_INCREF(Py_None); resultobj = Py_None;
9879 return resultobj;
9880 fail:
9881 return NULL;
9882}
9883
9884
a95a7133 9885static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9886 PyObject *resultobj;
9887 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9888 int result;
9889 PyObject * obj0 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (int)(arg1)->GetOutlineOp();
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
2f4c0a16 9904 resultobj = SWIG_FromInt((int)result);
44127b65
RD
9905 return resultobj;
9906 fail:
9907 return NULL;
9908}
9909
9910
a95a7133 9911static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9912 PyObject *resultobj;
9913 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9914 bool result;
9915 PyObject * obj0 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (bool)(arg1)->IsValid();
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
fbc46b20
RD
9930 {
9931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9932 }
44127b65
RD
9933 return resultobj;
9934 fail:
9935 return NULL;
9936}
9937
9938
a95a7133 9939static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9940 PyObject *resultobj;
9941 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9942 wxPoint *arg2 = 0 ;
9943 wxPoint *arg3 = 0 ;
9944 wxPoint temp2 ;
9945 wxPoint temp3 ;
9946 PyObject * obj0 = 0 ;
9947 PyObject * obj1 = 0 ;
9948 PyObject * obj2 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9956 {
9957 arg2 = &temp2;
9958 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9959 }
9960 {
9961 arg3 = &temp3;
9962 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9963 }
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 Py_INCREF(Py_None); resultobj = Py_None;
9972 return resultobj;
9973 fail:
9974 return NULL;
9975}
9976
9977
a95a7133 9978static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
9979 PyObject *resultobj;
9980 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9981 wxRect *arg2 = 0 ;
9982 wxRect temp2 ;
9983 PyObject * obj0 = 0 ;
9984 PyObject * obj1 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self",(char *) "rect", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
9991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
9992 {
9993 arg2 = &temp2;
9994 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9995 }
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 (arg1)->DrawRectangle((wxRect const &)*arg2);
9999
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 Py_INCREF(Py_None); resultobj = Py_None;
10004 return resultobj;
10005 fail:
10006 return NULL;
10007}
10008
10009
a95a7133 10010static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10011 PyObject *resultobj;
10012 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10013 wxRect *arg2 = 0 ;
10014 double arg3 ;
10015 wxRect temp2 ;
10016 PyObject * obj0 = 0 ;
10017 PyObject * obj1 = 0 ;
8edf1c75 10018 PyObject * obj2 = 0 ;
44127b65
RD
10019 char *kwnames[] = {
10020 (char *) "self",(char *) "rect",(char *) "radius", NULL
10021 };
10022
8edf1c75 10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10026 {
10027 arg2 = &temp2;
10028 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10029 }
2f4c0a16
RD
10030 arg3 = (double) SWIG_AsDouble(obj2);
10031 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
10035
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 Py_INCREF(Py_None); resultobj = Py_None;
10040 return resultobj;
10041 fail:
10042 return NULL;
10043}
10044
10045
a95a7133 10046static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10047 PyObject *resultobj;
10048 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10049 wxPoint *arg2 = 0 ;
10050 wxPoint *arg3 = 0 ;
10051 wxPoint *arg4 = 0 ;
10052 wxPoint temp2 ;
10053 wxPoint temp3 ;
10054 wxPoint temp4 ;
10055 PyObject * obj0 = 0 ;
10056 PyObject * obj1 = 0 ;
10057 PyObject * obj2 = 0 ;
10058 PyObject * obj3 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10066 {
10067 arg2 = &temp2;
10068 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10069 }
10070 {
10071 arg3 = &temp3;
10072 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10073 }
10074 {
10075 arg4 = &temp4;
10076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10077 }
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
10085 Py_INCREF(Py_None); resultobj = Py_None;
10086 return resultobj;
10087 fail:
10088 return NULL;
10089}
10090
10091
a95a7133 10092static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10093 PyObject *resultobj;
10094 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10095 wxRect *arg2 = 0 ;
10096 double arg3 ;
10097 double arg4 ;
10098 wxRect temp2 ;
10099 PyObject * obj0 = 0 ;
10100 PyObject * obj1 = 0 ;
8edf1c75
RD
10101 PyObject * obj2 = 0 ;
10102 PyObject * obj3 = 0 ;
44127b65
RD
10103 char *kwnames[] = {
10104 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10105 };
10106
8edf1c75 10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10110 {
10111 arg2 = &temp2;
10112 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10113 }
2f4c0a16
RD
10114 arg3 = (double) SWIG_AsDouble(obj2);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 arg4 = (double) SWIG_AsDouble(obj3);
10117 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10118 {
10119 PyThreadState* __tstate = wxPyBeginAllowThreads();
10120 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10121
10122 wxPyEndAllowThreads(__tstate);
10123 if (PyErr_Occurred()) SWIG_fail;
10124 }
10125 Py_INCREF(Py_None); resultobj = Py_None;
10126 return resultobj;
10127 fail:
10128 return NULL;
10129}
10130
10131
a95a7133 10132static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10133 PyObject *resultobj;
10134 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10135 wxRect *arg2 = 0 ;
10136 wxRect temp2 ;
10137 PyObject * obj0 = 0 ;
10138 PyObject * obj1 = 0 ;
10139 char *kwnames[] = {
10140 (char *) "self",(char *) "rect", NULL
10141 };
10142
10143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10146 {
10147 arg2 = &temp2;
10148 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10149 }
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 (arg1)->DrawEllipse((wxRect const &)*arg2);
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 Py_INCREF(Py_None); resultobj = Py_None;
10158 return resultobj;
10159 fail:
10160 return NULL;
10161}
10162
10163
a95a7133 10164static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10165 PyObject *resultobj;
10166 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10167 wxPoint *arg2 = 0 ;
10168 wxPoint temp2 ;
10169 PyObject * obj0 = 0 ;
10170 PyObject * obj1 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self",(char *) "pt", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10178 {
10179 arg2 = &temp2;
10180 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 (arg1)->DrawPoint((wxPoint const &)*arg2);
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 Py_INCREF(Py_None); resultobj = Py_None;
10190 return resultobj;
10191 fail:
10192 return NULL;
10193}
10194
10195
a95a7133 10196static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10197 PyObject *resultobj;
10198 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10199 wxString *arg2 = 0 ;
10200 wxPoint *arg3 = 0 ;
10201 bool temp2 = False ;
10202 wxPoint temp3 ;
10203 PyObject * obj0 = 0 ;
10204 PyObject * obj1 = 0 ;
10205 PyObject * obj2 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self",(char *) "text",(char *) "pt", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10213 {
10214 arg2 = wxString_in_helper(obj1);
10215 if (arg2 == NULL) SWIG_fail;
10216 temp2 = True;
10217 }
10218 {
10219 arg3 = &temp3;
10220 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10221 }
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 Py_INCREF(Py_None); resultobj = Py_None;
10230 {
10231 if (temp2)
10232 delete arg2;
10233 }
10234 return resultobj;
10235 fail:
10236 {
10237 if (temp2)
10238 delete arg2;
10239 }
10240 return NULL;
10241}
10242
10243
a95a7133 10244static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10245 PyObject *resultobj;
10246 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10247 int arg2 ;
10248 wxPoint *arg3 = (wxPoint *) 0 ;
10249 PyObject * obj0 = 0 ;
8edf1c75 10250 PyObject * obj1 = 0 ;
44127b65 10251 char *kwnames[] = {
a5ee0656 10252 (char *) "self",(char *) "points", NULL
44127b65
RD
10253 };
10254
a5ee0656 10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a5ee0656
RD
10258 {
10259 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10260 if (arg3 == NULL) SWIG_fail;
10261 }
44127b65
RD
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 (arg1)->DrawLines(arg2,arg3);
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
10270 {
10271 if (arg3) delete [] arg3;
10272 }
44127b65
RD
10273 return resultobj;
10274 fail:
a5ee0656
RD
10275 {
10276 if (arg3) delete [] arg3;
10277 }
44127b65
RD
10278 return NULL;
10279}
10280
10281
a95a7133 10282static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10283 PyObject *resultobj;
10284 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10285 int arg2 ;
10286 wxPoint *arg3 = (wxPoint *) 0 ;
10287 int arg4 = (int) 0 ;
10288 PyObject * obj0 = 0 ;
8edf1c75 10289 PyObject * obj1 = 0 ;
44127b65
RD
10290 PyObject * obj2 = 0 ;
10291 char *kwnames[] = {
a5ee0656 10292 (char *) "self",(char *) "points",(char *) "flags", NULL
44127b65
RD
10293 };
10294
a5ee0656 10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a5ee0656
RD
10298 {
10299 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10300 if (arg3 == NULL) SWIG_fail;
10301 }
10302 if (obj2) {
10303 arg4 = (int) SWIG_AsInt(obj2);
2f4c0a16 10304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10305 }
44127b65
RD
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->DrawPolygon(arg2,arg3,arg4);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
10314 {
10315 if (arg3) delete [] arg3;
10316 }
44127b65
RD
10317 return resultobj;
10318 fail:
a5ee0656
RD
10319 {
10320 if (arg3) delete [] arg3;
10321 }
44127b65
RD
10322 return NULL;
10323}
10324
10325
a95a7133 10326static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10327 PyObject *resultobj;
10328 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10329 int arg2 ;
10330 wxPoint *arg3 = (wxPoint *) 0 ;
10331 PyObject * obj0 = 0 ;
8edf1c75 10332 PyObject * obj1 = 0 ;
44127b65 10333 char *kwnames[] = {
a5ee0656 10334 (char *) "self",(char *) "points", NULL
44127b65
RD
10335 };
10336
a5ee0656 10337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a5ee0656
RD
10340 {
10341 arg3 = wxPoint_LIST_helper(obj1, &arg2);
10342 if (arg3 == NULL) SWIG_fail;
10343 }
44127b65
RD
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 (arg1)->DrawSpline(arg2,arg3);
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
10352 {
10353 if (arg3) delete [] arg3;
10354 }
44127b65
RD
10355 return resultobj;
10356 fail:
a5ee0656
RD
10357 {
10358 if (arg3) delete [] arg3;
10359 }
44127b65
RD
10360 return NULL;
10361}
10362
10363
a95a7133 10364static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10365 PyObject *resultobj;
10366 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10367 wxRect *arg2 = 0 ;
10368 wxRect temp2 ;
10369 PyObject * obj0 = 0 ;
10370 PyObject * obj1 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "self",(char *) "rect", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10378 {
10379 arg2 = &temp2;
10380 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10381 }
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 (arg1)->SetClippingRect((wxRect const &)*arg2);
10385
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 Py_INCREF(Py_None); resultobj = Py_None;
10390 return resultobj;
10391 fail:
10392 return NULL;
10393}
10394
10395
a95a7133 10396static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10397 PyObject *resultobj;
10398 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10399 PyObject * obj0 = 0 ;
10400 char *kwnames[] = {
10401 (char *) "self", NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 (arg1)->DestroyClippingRect();
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 Py_INCREF(Py_None); resultobj = Py_None;
10415 return resultobj;
10416 fail:
10417 return NULL;
10418}
10419
10420
a95a7133 10421static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10422 PyObject *resultobj;
10423 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10424 wxPen *arg2 = (wxPen *) 0 ;
10425 bool arg3 = (bool) FALSE ;
10426 PyObject * obj0 = 0 ;
10427 PyObject * obj1 = 0 ;
10428 PyObject * obj2 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10436 {
10437 wxPen* temp;
10438 if (obj1) {
10439 if (obj1 == Py_None) {
10440 temp = NULL;
10441 }
10442 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10443 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10444 return NULL;
10445 }
10446 }
10447 if (temp)
10448 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10449 temp->GetWidth(),
10450 temp->GetStyle());
10451 else
10452 arg2 = NULL;
10453 }
10454 if (obj2) {
2f4c0a16
RD
10455 arg3 = (bool) SWIG_AsBool(obj2);
10456 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10457 }
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 (arg1)->SetPen(arg2,arg3);
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 return resultobj;
10467 fail:
10468 return NULL;
10469}
10470
10471
a95a7133 10472static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10473 PyObject *resultobj;
10474 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10475 wxBrush *arg2 = (wxBrush *) 0 ;
10476 bool arg3 = (bool) FALSE ;
10477 PyObject * obj0 = 0 ;
10478 PyObject * obj1 = 0 ;
10479 PyObject * obj2 = 0 ;
10480 char *kwnames[] = {
10481 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10482 };
10483
10484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10487 {
10488 wxBrush* temp;
10489 if (obj1) {
10490 if (obj1 == Py_None) {
10491 temp = NULL;
10492 }
10493 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10494 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10495 return NULL;
10496 }
10497 }
10498 if (temp)
10499 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10500 else
10501 arg2 = NULL;
10502 }
10503 if (obj2) {
2f4c0a16
RD
10504 arg3 = (bool) SWIG_AsBool(obj2);
10505 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10506 }
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 (arg1)->SetBrush(arg2,arg3);
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 Py_INCREF(Py_None); resultobj = Py_None;
10515 return resultobj;
10516 fail:
10517 return NULL;
10518}
10519
10520
a95a7133 10521static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10522 PyObject *resultobj;
10523 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10524 wxFont *arg2 = (wxFont *) 0 ;
10525 PyObject * obj0 = 0 ;
10526 PyObject * obj1 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self",(char *) "font", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10534 {
10535 wxFont* temp;
10536 if (obj1) {
10537 if (obj1 == Py_None) {
10538 temp = NULL;
10539 }
10540 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10541 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10542 return NULL;
10543 }
10544 }
10545 if (temp)
10546 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10547 temp->GetFamily(),
10548 temp->GetStyle(),
10549 temp->GetWeight(),
10550 temp->GetUnderlined(),
10551 temp->GetFaceName(),
10552 temp->GetEncoding());
10553 else
10554 arg2 = NULL;
10555 }
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 (arg1)->SetFont(arg2);
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 Py_INCREF(Py_None); resultobj = Py_None;
10564 return resultobj;
10565 fail:
10566 return NULL;
10567}
10568
10569
a95a7133 10570static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10571 PyObject *resultobj;
10572 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10573 wxColour *arg2 = 0 ;
10574 wxColour temp2 ;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "self",(char *) "colour", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10584 {
10585 arg2 = &temp2;
10586 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10587 }
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 (arg1)->SetTextColour((wxColour const &)*arg2);
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 Py_INCREF(Py_None); resultobj = Py_None;
10596 return resultobj;
10597 fail:
10598 return NULL;
10599}
10600
10601
a95a7133 10602static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10603 PyObject *resultobj;
10604 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10605 wxColour *arg2 = 0 ;
10606 wxColour temp2 ;
10607 PyObject * obj0 = 0 ;
10608 PyObject * obj1 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "colour", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10616 {
10617 arg2 = &temp2;
10618 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10619 }
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 Py_INCREF(Py_None); resultobj = Py_None;
10628 return resultobj;
10629 fail:
10630 return NULL;
10631}
10632
10633
a95a7133 10634static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10635 PyObject *resultobj;
10636 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10637 int arg2 ;
10638 PyObject * obj0 = 0 ;
8edf1c75 10639 PyObject * obj1 = 0 ;
44127b65
RD
10640 char *kwnames[] = {
10641 (char *) "self",(char *) "mode", NULL
10642 };
10643
8edf1c75 10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPseudoMetaFile,
10646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10647 arg2 = (int) SWIG_AsInt(obj1);
10648 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 (arg1)->SetBackgroundMode(arg2);
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 Py_INCREF(Py_None); resultobj = Py_None;
10657 return resultobj;
10658 fail:
10659 return NULL;
10660}
10661
10662
a95a7133 10663static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
10664 PyObject *obj;
10665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10666 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10667 Py_INCREF(obj);
10668 return Py_BuildValue((char *)"");
10669}
a95a7133 10670static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10671 PyObject *resultobj;
10672 double arg1 = (double) 0.0 ;
10673 double arg2 = (double) 0.0 ;
10674 wxPyRectangleShape *result;
8edf1c75
RD
10675 PyObject * obj0 = 0 ;
10676 PyObject * obj1 = 0 ;
44127b65
RD
10677 char *kwnames[] = {
10678 (char *) "width",(char *) "height", NULL
10679 };
10680
8edf1c75
RD
10681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10682 if (obj0) {
2f4c0a16
RD
10683 arg1 = (double) SWIG_AsDouble(obj0);
10684 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10685 }
10686 if (obj1) {
2f4c0a16
RD
10687 arg2 = (double) SWIG_AsDouble(obj1);
10688 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10689 }
44127b65
RD
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
2f4c0a16 10697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyRectangleShape, 1);
44127b65
RD
10698 return resultobj;
10699 fail:
10700 return NULL;
10701}
10702
10703
a95a7133 10704static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10705 PyObject *resultobj;
10706 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10707 PyObject *arg2 = (PyObject *) 0 ;
10708 PyObject *arg3 = (PyObject *) 0 ;
10709 PyObject * obj0 = 0 ;
10710 PyObject * obj1 = 0 ;
10711 PyObject * obj2 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "self",(char *) "self",(char *) "_class", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10719 arg2 = obj1;
10720 arg3 = obj2;
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 (arg1)->_setCallbackInfo(arg2,arg3);
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 Py_INCREF(Py_None); resultobj = Py_None;
10729 return resultobj;
10730 fail:
10731 return NULL;
10732}
10733
10734
a95a7133 10735static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10736 PyObject *resultobj;
10737 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10738 double arg2 ;
10739 PyObject * obj0 = 0 ;
8edf1c75 10740 PyObject * obj1 = 0 ;
44127b65
RD
10741 char *kwnames[] = {
10742 (char *) "self",(char *) "radius", NULL
10743 };
10744
8edf1c75 10745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10748 arg2 = (double) SWIG_AsDouble(obj1);
10749 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 (arg1)->SetCornerRadius(arg2);
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 Py_INCREF(Py_None); resultobj = Py_None;
10758 return resultobj;
10759 fail:
10760 return NULL;
10761}
10762
10763
a95a7133 10764static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
10765 PyObject *resultobj;
10766 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10767 double result;
10768 PyObject * obj0 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (double)(arg1)->GetCornerRadius();
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
2f4c0a16 10783 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
10784 return resultobj;
10785 fail:
10786 return NULL;
10787}
10788
10789
a95a7133 10790static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10791 PyObject *resultobj;
10792 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10793 PyObject * obj0 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 (arg1)->base_OnDelete();
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 Py_INCREF(Py_None); resultobj = Py_None;
10809 return resultobj;
10810 fail:
10811 return NULL;
10812}
10813
10814
a95a7133 10815static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10816 PyObject *resultobj;
10817 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10818 wxDC *arg2 = 0 ;
10819 PyObject * obj0 = 0 ;
10820 PyObject * obj1 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self",(char *) "dc", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10829 SWIG_POINTER_EXCEPTION | 0)) == -1)
10830 SWIG_fail;
44127b65 10831 if (arg2 == NULL) {
2f4c0a16
RD
10832 PyErr_SetString(PyExc_TypeError,"null reference");
10833 SWIG_fail;
44127b65
RD
10834 }
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 (arg1)->base_OnDraw(*arg2);
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 Py_INCREF(Py_None); resultobj = Py_None;
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
a95a7133 10849static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10850 PyObject *resultobj;
10851 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10852 wxDC *arg2 = 0 ;
10853 PyObject * obj0 = 0 ;
10854 PyObject * obj1 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "dc", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10863 SWIG_POINTER_EXCEPTION | 0)) == -1)
10864 SWIG_fail;
44127b65 10865 if (arg2 == NULL) {
2f4c0a16
RD
10866 PyErr_SetString(PyExc_TypeError,"null reference");
10867 SWIG_fail;
44127b65
RD
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 (arg1)->base_OnDrawContents(*arg2);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 Py_INCREF(Py_None); resultobj = Py_None;
10877 return resultobj;
10878 fail:
10879 return NULL;
10880}
10881
10882
a95a7133 10883static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10884 PyObject *resultobj;
10885 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10886 wxDC *arg2 = 0 ;
10887 bool arg3 = (bool) FALSE ;
10888 PyObject * obj0 = 0 ;
10889 PyObject * obj1 = 0 ;
10890 PyObject * obj2 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self",(char *) "dc",(char *) "erase", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10899 SWIG_POINTER_EXCEPTION | 0)) == -1)
10900 SWIG_fail;
44127b65 10901 if (arg2 == NULL) {
2f4c0a16
RD
10902 PyErr_SetString(PyExc_TypeError,"null reference");
10903 SWIG_fail;
44127b65
RD
10904 }
10905 if (obj2) {
2f4c0a16
RD
10906 arg3 = (bool) SWIG_AsBool(obj2);
10907 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
10908 }
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 (arg1)->base_OnDrawBranches(*arg2,arg3);
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 Py_INCREF(Py_None); resultobj = Py_None;
10917 return resultobj;
10918 fail:
10919 return NULL;
10920}
10921
10922
a95a7133 10923static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10924 PyObject *resultobj;
10925 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10926 wxDC *arg2 = 0 ;
10927 PyObject * obj0 = 0 ;
10928 PyObject * obj1 = 0 ;
10929 char *kwnames[] = {
10930 (char *) "self",(char *) "dc", NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10937 SWIG_POINTER_EXCEPTION | 0)) == -1)
10938 SWIG_fail;
44127b65 10939 if (arg2 == NULL) {
2f4c0a16
RD
10940 PyErr_SetString(PyExc_TypeError,"null reference");
10941 SWIG_fail;
44127b65
RD
10942 }
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 (arg1)->base_OnMoveLinks(*arg2);
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 Py_INCREF(Py_None); resultobj = Py_None;
10951 return resultobj;
10952 fail:
10953 return NULL;
10954}
10955
10956
a95a7133 10957static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10958 PyObject *resultobj;
10959 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10960 wxDC *arg2 = 0 ;
10961 PyObject * obj0 = 0 ;
10962 PyObject * obj1 = 0 ;
10963 char *kwnames[] = {
10964 (char *) "self",(char *) "dc", NULL
10965 };
10966
10967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
10969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
10971 SWIG_POINTER_EXCEPTION | 0)) == -1)
10972 SWIG_fail;
44127b65 10973 if (arg2 == NULL) {
2f4c0a16
RD
10974 PyErr_SetString(PyExc_TypeError,"null reference");
10975 SWIG_fail;
44127b65
RD
10976 }
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 (arg1)->base_OnErase(*arg2);
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 Py_INCREF(Py_None); resultobj = Py_None;
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
a95a7133 10991static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
10992 PyObject *resultobj;
10993 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10994 wxDC *arg2 = 0 ;
10995 PyObject * obj0 = 0 ;
10996 PyObject * obj1 = 0 ;
10997 char *kwnames[] = {
10998 (char *) "self",(char *) "dc", NULL
10999 };
11000
11001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11005 SWIG_POINTER_EXCEPTION | 0)) == -1)
11006 SWIG_fail;
44127b65 11007 if (arg2 == NULL) {
2f4c0a16
RD
11008 PyErr_SetString(PyExc_TypeError,"null reference");
11009 SWIG_fail;
44127b65
RD
11010 }
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 (arg1)->base_OnEraseContents(*arg2);
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 Py_INCREF(Py_None); resultobj = Py_None;
11019 return resultobj;
11020 fail:
11021 return NULL;
11022}
11023
11024
a95a7133 11025static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11026 PyObject *resultobj;
11027 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11028 wxDC *arg2 = 0 ;
11029 PyObject * obj0 = 0 ;
11030 PyObject * obj1 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "self",(char *) "dc", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11039 SWIG_POINTER_EXCEPTION | 0)) == -1)
11040 SWIG_fail;
44127b65 11041 if (arg2 == NULL) {
2f4c0a16
RD
11042 PyErr_SetString(PyExc_TypeError,"null reference");
11043 SWIG_fail;
44127b65
RD
11044 }
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 (arg1)->base_OnHighlight(*arg2);
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 Py_INCREF(Py_None); resultobj = Py_None;
11053 return resultobj;
11054 fail:
11055 return NULL;
11056}
11057
11058
a95a7133 11059static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11060 PyObject *resultobj;
11061 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11062 double arg2 ;
11063 double arg3 ;
11064 int arg4 = (int) 0 ;
11065 int arg5 = (int) 0 ;
11066 PyObject * obj0 = 0 ;
8edf1c75
RD
11067 PyObject * obj1 = 0 ;
11068 PyObject * obj2 = 0 ;
11069 PyObject * obj3 = 0 ;
11070 PyObject * obj4 = 0 ;
44127b65
RD
11071 char *kwnames[] = {
11072 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11073 };
11074
8edf1c75 11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11078 arg2 = (double) SWIG_AsDouble(obj1);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 arg3 = (double) SWIG_AsDouble(obj2);
11081 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11082 if (obj3) {
2f4c0a16
RD
11083 arg4 = (int) SWIG_AsInt(obj3);
11084 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11085 }
11086 if (obj4) {
2f4c0a16
RD
11087 arg5 = (int) SWIG_AsInt(obj4);
11088 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11089 }
44127b65
RD
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 Py_INCREF(Py_None); resultobj = Py_None;
11098 return resultobj;
11099 fail:
11100 return NULL;
11101}
11102
11103
a95a7133 11104static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11105 PyObject *resultobj;
11106 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11107 double arg2 ;
11108 double arg3 ;
11109 int arg4 = (int) 0 ;
11110 int arg5 = (int) 0 ;
11111 PyObject * obj0 = 0 ;
8edf1c75
RD
11112 PyObject * obj1 = 0 ;
11113 PyObject * obj2 = 0 ;
11114 PyObject * obj3 = 0 ;
11115 PyObject * obj4 = 0 ;
44127b65
RD
11116 char *kwnames[] = {
11117 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11118 };
11119
8edf1c75 11120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11123 arg2 = (double) SWIG_AsDouble(obj1);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 arg3 = (double) SWIG_AsDouble(obj2);
11126 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11127 if (obj3) {
2f4c0a16
RD
11128 arg4 = (int) SWIG_AsInt(obj3);
11129 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11130 }
11131 if (obj4) {
2f4c0a16
RD
11132 arg5 = (int) SWIG_AsInt(obj4);
11133 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11134 }
44127b65
RD
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
11142 Py_INCREF(Py_None); resultobj = Py_None;
11143 return resultobj;
11144 fail:
11145 return NULL;
11146}
11147
11148
a95a7133 11149static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11150 PyObject *resultobj;
11151 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11152 double arg2 ;
11153 double arg3 ;
11154 int arg4 = (int) 0 ;
11155 int arg5 = (int) 0 ;
11156 PyObject * obj0 = 0 ;
8edf1c75
RD
11157 PyObject * obj1 = 0 ;
11158 PyObject * obj2 = 0 ;
11159 PyObject * obj3 = 0 ;
11160 PyObject * obj4 = 0 ;
44127b65
RD
11161 char *kwnames[] = {
11162 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11163 };
11164
8edf1c75 11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11168 arg2 = (double) SWIG_AsDouble(obj1);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 arg3 = (double) SWIG_AsDouble(obj2);
11171 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11172 if (obj3) {
2f4c0a16
RD
11173 arg4 = (int) SWIG_AsInt(obj3);
11174 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11175 }
11176 if (obj4) {
2f4c0a16
RD
11177 arg5 = (int) SWIG_AsInt(obj4);
11178 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11179 }
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11183
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 Py_INCREF(Py_None); resultobj = Py_None;
11188 return resultobj;
11189 fail:
11190 return NULL;
11191}
11192
11193
a95a7133 11194static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
11195 PyObject *resultobj;
11196 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
44127b65
RD
11197 double arg2 ;
11198 double arg3 ;
11199 PyObject * obj0 = 0 ;
8edf1c75
RD
11200 PyObject * obj1 = 0 ;
11201 PyObject * obj2 = 0 ;
44127b65
RD
11202 char *kwnames[] = {
11203 (char *) "self",(char *) "x",(char *) "y", NULL
11204 };
11205
8edf1c75 11206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11209 arg2 = (double) SWIG_AsDouble(obj1);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 arg3 = (double) SWIG_AsDouble(obj2);
11212 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 (arg1)->base_OnSize(arg2,arg3);
11216
11217 wxPyEndAllowThreads(__tstate);
11218 if (PyErr_Occurred()) SWIG_fail;
11219 }
11220 Py_INCREF(Py_None); resultobj = Py_None;
11221 return resultobj;
11222 fail:
11223 return NULL;
11224}
11225
11226
a95a7133 11227static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11228 PyObject *resultobj;
11229 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11230 wxDC *arg2 = 0 ;
11231 double arg3 ;
11232 double arg4 ;
11233 double arg5 ;
11234 double arg6 ;
11235 bool arg7 = (bool) True ;
11236 bool result;
11237 PyObject * obj0 = 0 ;
11238 PyObject * obj1 = 0 ;
8edf1c75
RD
11239 PyObject * obj2 = 0 ;
11240 PyObject * obj3 = 0 ;
11241 PyObject * obj4 = 0 ;
11242 PyObject * obj5 = 0 ;
44127b65
RD
11243 PyObject * obj6 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11246 };
11247
8edf1c75 11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11252 SWIG_POINTER_EXCEPTION | 0)) == -1)
11253 SWIG_fail;
44127b65 11254 if (arg2 == NULL) {
2f4c0a16
RD
11255 PyErr_SetString(PyExc_TypeError,"null reference");
11256 SWIG_fail;
11257 }
11258 arg3 = (double) SWIG_AsDouble(obj2);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 arg4 = (double) SWIG_AsDouble(obj3);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 arg5 = (double) SWIG_AsDouble(obj4);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 arg6 = (double) SWIG_AsDouble(obj5);
11265 if (PyErr_Occurred()) SWIG_fail;
44127b65 11266 if (obj6) {
2f4c0a16
RD
11267 arg7 = (bool) SWIG_AsBool(obj6);
11268 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11269 }
11270 {
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11273
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
fbc46b20
RD
11277 {
11278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11279 }
44127b65
RD
11280 return resultobj;
11281 fail:
11282 return NULL;
11283}
11284
11285
a95a7133 11286static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11287 PyObject *resultobj;
11288 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11289 wxDC *arg2 = 0 ;
11290 double arg3 ;
11291 double arg4 ;
11292 double arg5 ;
11293 double arg6 ;
11294 bool arg7 = (bool) True ;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
8edf1c75
RD
11297 PyObject * obj2 = 0 ;
11298 PyObject * obj3 = 0 ;
11299 PyObject * obj4 = 0 ;
11300 PyObject * obj5 = 0 ;
44127b65
RD
11301 PyObject * obj6 = 0 ;
11302 char *kwnames[] = {
11303 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11304 };
11305
8edf1c75 11306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11310 SWIG_POINTER_EXCEPTION | 0)) == -1)
11311 SWIG_fail;
44127b65 11312 if (arg2 == NULL) {
2f4c0a16
RD
11313 PyErr_SetString(PyExc_TypeError,"null reference");
11314 SWIG_fail;
11315 }
11316 arg3 = (double) SWIG_AsDouble(obj2);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 arg4 = (double) SWIG_AsDouble(obj3);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 arg5 = (double) SWIG_AsDouble(obj4);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 arg6 = (double) SWIG_AsDouble(obj5);
11323 if (PyErr_Occurred()) SWIG_fail;
44127b65 11324 if (obj6) {
2f4c0a16
RD
11325 arg7 = (bool) SWIG_AsBool(obj6);
11326 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11327 }
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 Py_INCREF(Py_None); resultobj = Py_None;
11336 return resultobj;
11337 fail:
11338 return NULL;
11339}
11340
11341
a95a7133 11342static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11343 PyObject *resultobj;
11344 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11345 bool arg2 ;
11346 double arg3 ;
11347 double arg4 ;
11348 int arg5 = (int) 0 ;
11349 int arg6 = (int) 0 ;
11350 PyObject * obj0 = 0 ;
11351 PyObject * obj1 = 0 ;
8edf1c75
RD
11352 PyObject * obj2 = 0 ;
11353 PyObject * obj3 = 0 ;
11354 PyObject * obj4 = 0 ;
11355 PyObject * obj5 = 0 ;
44127b65
RD
11356 char *kwnames[] = {
11357 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11358 };
11359
8edf1c75 11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11363 arg2 = (bool) SWIG_AsBool(obj1);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 arg3 = (double) SWIG_AsDouble(obj2);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 arg4 = (double) SWIG_AsDouble(obj3);
11368 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11369 if (obj4) {
2f4c0a16
RD
11370 arg5 = (int) SWIG_AsInt(obj4);
11371 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11372 }
11373 if (obj5) {
2f4c0a16
RD
11374 arg6 = (int) SWIG_AsInt(obj5);
11375 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11376 }
44127b65
RD
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 Py_INCREF(Py_None); resultobj = Py_None;
11385 return resultobj;
11386 fail:
11387 return NULL;
11388}
11389
11390
a95a7133 11391static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11392 PyObject *resultobj;
11393 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11394 double arg2 ;
11395 double arg3 ;
11396 int arg4 = (int) 0 ;
11397 int arg5 = (int) 0 ;
11398 PyObject * obj0 = 0 ;
8edf1c75
RD
11399 PyObject * obj1 = 0 ;
11400 PyObject * obj2 = 0 ;
11401 PyObject * obj3 = 0 ;
11402 PyObject * obj4 = 0 ;
44127b65
RD
11403 char *kwnames[] = {
11404 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11405 };
11406
8edf1c75 11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11410 arg2 = (double) SWIG_AsDouble(obj1);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 arg3 = (double) SWIG_AsDouble(obj2);
11413 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11414 if (obj3) {
2f4c0a16
RD
11415 arg4 = (int) SWIG_AsInt(obj3);
11416 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11417 }
11418 if (obj4) {
2f4c0a16
RD
11419 arg5 = (int) SWIG_AsInt(obj4);
11420 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11421 }
44127b65
RD
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 Py_INCREF(Py_None); resultobj = Py_None;
11430 return resultobj;
11431 fail:
11432 return NULL;
11433}
11434
11435
a95a7133 11436static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11437 PyObject *resultobj;
11438 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11439 double arg2 ;
11440 double arg3 ;
11441 int arg4 = (int) 0 ;
11442 int arg5 = (int) 0 ;
11443 PyObject * obj0 = 0 ;
8edf1c75
RD
11444 PyObject * obj1 = 0 ;
11445 PyObject * obj2 = 0 ;
11446 PyObject * obj3 = 0 ;
11447 PyObject * obj4 = 0 ;
44127b65
RD
11448 char *kwnames[] = {
11449 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11450 };
11451
8edf1c75 11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11455 arg2 = (double) SWIG_AsDouble(obj1);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 arg3 = (double) SWIG_AsDouble(obj2);
11458 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11459 if (obj3) {
2f4c0a16
RD
11460 arg4 = (int) SWIG_AsInt(obj3);
11461 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11462 }
11463 if (obj4) {
2f4c0a16
RD
11464 arg5 = (int) SWIG_AsInt(obj4);
11465 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11466 }
44127b65
RD
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 Py_INCREF(Py_None); resultobj = Py_None;
11475 return resultobj;
11476 fail:
11477 return NULL;
11478}
11479
11480
a95a7133 11481static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11482 PyObject *resultobj;
11483 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11484 bool arg2 ;
11485 double arg3 ;
11486 double arg4 ;
11487 int arg5 = (int) 0 ;
11488 int arg6 = (int) 0 ;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
8edf1c75
RD
11491 PyObject * obj2 = 0 ;
11492 PyObject * obj3 = 0 ;
11493 PyObject * obj4 = 0 ;
11494 PyObject * obj5 = 0 ;
44127b65
RD
11495 char *kwnames[] = {
11496 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11497 };
11498
8edf1c75 11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11502 arg2 = (bool) SWIG_AsBool(obj1);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 arg3 = (double) SWIG_AsDouble(obj2);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 arg4 = (double) SWIG_AsDouble(obj3);
11507 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11508 if (obj4) {
2f4c0a16
RD
11509 arg5 = (int) SWIG_AsInt(obj4);
11510 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11511 }
11512 if (obj5) {
2f4c0a16
RD
11513 arg6 = (int) SWIG_AsInt(obj5);
11514 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11515 }
44127b65
RD
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 Py_INCREF(Py_None); resultobj = Py_None;
11524 return resultobj;
11525 fail:
11526 return NULL;
11527}
11528
11529
a95a7133 11530static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11531 PyObject *resultobj;
11532 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11533 double arg2 ;
11534 double arg3 ;
11535 int arg4 = (int) 0 ;
11536 int arg5 = (int) 0 ;
11537 PyObject * obj0 = 0 ;
8edf1c75
RD
11538 PyObject * obj1 = 0 ;
11539 PyObject * obj2 = 0 ;
11540 PyObject * obj3 = 0 ;
11541 PyObject * obj4 = 0 ;
44127b65
RD
11542 char *kwnames[] = {
11543 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11544 };
11545
8edf1c75 11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11549 arg2 = (double) SWIG_AsDouble(obj1);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 arg3 = (double) SWIG_AsDouble(obj2);
11552 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11553 if (obj3) {
2f4c0a16
RD
11554 arg4 = (int) SWIG_AsInt(obj3);
11555 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11556 }
11557 if (obj4) {
2f4c0a16
RD
11558 arg5 = (int) SWIG_AsInt(obj4);
11559 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11560 }
44127b65
RD
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11564
11565 wxPyEndAllowThreads(__tstate);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
11568 Py_INCREF(Py_None); resultobj = Py_None;
11569 return resultobj;
11570 fail:
11571 return NULL;
11572}
11573
11574
a95a7133 11575static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11576 PyObject *resultobj;
11577 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11578 double arg2 ;
11579 double arg3 ;
11580 int arg4 = (int) 0 ;
11581 int arg5 = (int) 0 ;
11582 PyObject * obj0 = 0 ;
8edf1c75
RD
11583 PyObject * obj1 = 0 ;
11584 PyObject * obj2 = 0 ;
11585 PyObject * obj3 = 0 ;
11586 PyObject * obj4 = 0 ;
44127b65
RD
11587 char *kwnames[] = {
11588 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11589 };
11590
8edf1c75 11591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11594 arg2 = (double) SWIG_AsDouble(obj1);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 arg3 = (double) SWIG_AsDouble(obj2);
11597 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11598 if (obj3) {
2f4c0a16
RD
11599 arg4 = (int) SWIG_AsInt(obj3);
11600 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11601 }
11602 if (obj4) {
2f4c0a16
RD
11603 arg5 = (int) SWIG_AsInt(obj4);
11604 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11605 }
44127b65
RD
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 Py_INCREF(Py_None); resultobj = Py_None;
11614 return resultobj;
11615 fail:
11616 return NULL;
11617}
11618
11619
a95a7133 11620static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11621 PyObject *resultobj;
11622 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11623 wxDC *arg2 = 0 ;
11624 double arg3 ;
11625 double arg4 ;
11626 double arg5 ;
11627 double arg6 ;
11628 PyObject * obj0 = 0 ;
11629 PyObject * obj1 = 0 ;
8edf1c75
RD
11630 PyObject * obj2 = 0 ;
11631 PyObject * obj3 = 0 ;
11632 PyObject * obj4 = 0 ;
11633 PyObject * obj5 = 0 ;
44127b65
RD
11634 char *kwnames[] = {
11635 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11636 };
11637
8edf1c75 11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11642 SWIG_POINTER_EXCEPTION | 0)) == -1)
11643 SWIG_fail;
44127b65 11644 if (arg2 == NULL) {
2f4c0a16
RD
11645 PyErr_SetString(PyExc_TypeError,"null reference");
11646 SWIG_fail;
8edf1c75 11647 }
2f4c0a16
RD
11648 arg3 = (double) SWIG_AsDouble(obj2);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 arg4 = (double) SWIG_AsDouble(obj3);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 arg5 = (double) SWIG_AsDouble(obj4);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 arg6 = (double) SWIG_AsDouble(obj5);
11655 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 Py_INCREF(Py_None); resultobj = Py_None;
11664 return resultobj;
11665 fail:
11666 return NULL;
11667}
11668
11669
a95a7133 11670static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11671 PyObject *resultobj;
11672 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11673 wxDC *arg2 = 0 ;
11674 PyObject * obj0 = 0 ;
11675 PyObject * obj1 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self",(char *) "dc", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11684 SWIG_POINTER_EXCEPTION | 0)) == -1)
11685 SWIG_fail;
44127b65 11686 if (arg2 == NULL) {
2f4c0a16
RD
11687 PyErr_SetString(PyExc_TypeError,"null reference");
11688 SWIG_fail;
44127b65
RD
11689 }
11690 {
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 (arg1)->base_OnDrawControlPoints(*arg2);
11693
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
11697 Py_INCREF(Py_None); resultobj = Py_None;
11698 return resultobj;
11699 fail:
11700 return NULL;
11701}
11702
11703
a95a7133 11704static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11705 PyObject *resultobj;
11706 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11707 wxDC *arg2 = 0 ;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self",(char *) "dc", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11718 SWIG_POINTER_EXCEPTION | 0)) == -1)
11719 SWIG_fail;
44127b65 11720 if (arg2 == NULL) {
2f4c0a16
RD
11721 PyErr_SetString(PyExc_TypeError,"null reference");
11722 SWIG_fail;
44127b65
RD
11723 }
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 (arg1)->base_OnEraseControlPoints(*arg2);
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 Py_INCREF(Py_None); resultobj = Py_None;
11732 return resultobj;
11733 fail:
11734 return NULL;
11735}
11736
11737
a95a7133 11738static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11739 PyObject *resultobj;
11740 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11741 wxDC *arg2 = 0 ;
11742 bool arg3 = (bool) True ;
11743 PyObject * obj0 = 0 ;
11744 PyObject * obj1 = 0 ;
11745 PyObject * obj2 = 0 ;
11746 char *kwnames[] = {
11747 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11748 };
11749
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
11754 SWIG_POINTER_EXCEPTION | 0)) == -1)
11755 SWIG_fail;
44127b65 11756 if (arg2 == NULL) {
2f4c0a16
RD
11757 PyErr_SetString(PyExc_TypeError,"null reference");
11758 SWIG_fail;
44127b65
RD
11759 }
11760 if (obj2) {
2f4c0a16
RD
11761 arg3 = (bool) SWIG_AsBool(obj2);
11762 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11763 }
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 (arg1)->base_OnMoveLink(*arg2,arg3);
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 Py_INCREF(Py_None); resultobj = Py_None;
11772 return resultobj;
11773 fail:
11774 return NULL;
11775}
11776
11777
a95a7133 11778static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11779 PyObject *resultobj;
11780 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11781 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11782 bool arg3 ;
11783 double arg4 ;
11784 double arg5 ;
11785 int arg6 = (int) 0 ;
11786 int arg7 = (int) 0 ;
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
11789 PyObject * obj2 = 0 ;
8edf1c75
RD
11790 PyObject * obj3 = 0 ;
11791 PyObject * obj4 = 0 ;
11792 PyObject * obj5 = 0 ;
11793 PyObject * obj6 = 0 ;
44127b65
RD
11794 char *kwnames[] = {
11795 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11796 };
11797
8edf1c75 11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
11799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11803 arg3 = (bool) SWIG_AsBool(obj2);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 arg4 = (double) SWIG_AsDouble(obj3);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 arg5 = (double) SWIG_AsDouble(obj4);
11808 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11809 if (obj5) {
2f4c0a16
RD
11810 arg6 = (int) SWIG_AsInt(obj5);
11811 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11812 }
11813 if (obj6) {
2f4c0a16
RD
11814 arg7 = (int) SWIG_AsInt(obj6);
11815 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11816 }
44127b65
RD
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 Py_INCREF(Py_None); resultobj = Py_None;
11825 return resultobj;
11826 fail:
11827 return NULL;
11828}
11829
11830
a95a7133 11831static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11832 PyObject *resultobj;
11833 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11834 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11835 double arg3 ;
11836 double arg4 ;
11837 int arg5 = (int) 0 ;
11838 int arg6 = (int) 0 ;
11839 PyObject * obj0 = 0 ;
11840 PyObject * obj1 = 0 ;
8edf1c75
RD
11841 PyObject * obj2 = 0 ;
11842 PyObject * obj3 = 0 ;
11843 PyObject * obj4 = 0 ;
11844 PyObject * obj5 = 0 ;
44127b65
RD
11845 char *kwnames[] = {
11846 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11847 };
11848
8edf1c75 11849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11854 arg3 = (double) SWIG_AsDouble(obj2);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 arg4 = (double) SWIG_AsDouble(obj3);
11857 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11858 if (obj4) {
2f4c0a16
RD
11859 arg5 = (int) SWIG_AsInt(obj4);
11860 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11861 }
11862 if (obj5) {
2f4c0a16
RD
11863 arg6 = (int) SWIG_AsInt(obj5);
11864 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11865 }
44127b65
RD
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 Py_INCREF(Py_None); resultobj = Py_None;
11874 return resultobj;
11875 fail:
11876 return NULL;
11877}
11878
11879
a95a7133 11880static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11881 PyObject *resultobj;
11882 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11883 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11884 double arg3 ;
11885 double arg4 ;
11886 int arg5 = (int) 0 ;
11887 int arg6 = (int) 0 ;
11888 PyObject * obj0 = 0 ;
11889 PyObject * obj1 = 0 ;
8edf1c75
RD
11890 PyObject * obj2 = 0 ;
11891 PyObject * obj3 = 0 ;
11892 PyObject * obj4 = 0 ;
11893 PyObject * obj5 = 0 ;
44127b65
RD
11894 char *kwnames[] = {
11895 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11896 };
11897
8edf1c75 11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
11902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11903 arg3 = (double) SWIG_AsDouble(obj2);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 arg4 = (double) SWIG_AsDouble(obj3);
11906 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11907 if (obj4) {
2f4c0a16
RD
11908 arg5 = (int) SWIG_AsInt(obj4);
11909 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11910 }
11911 if (obj5) {
2f4c0a16
RD
11912 arg6 = (int) SWIG_AsInt(obj5);
11913 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11914 }
44127b65
RD
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 Py_INCREF(Py_None); resultobj = Py_None;
11923 return resultobj;
11924 fail:
11925 return NULL;
11926}
11927
11928
a95a7133 11929static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11930 PyObject *resultobj;
11931 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11932 double arg2 ;
11933 double arg3 ;
11934 PyObject * obj0 = 0 ;
8edf1c75
RD
11935 PyObject * obj1 = 0 ;
11936 PyObject * obj2 = 0 ;
44127b65
RD
11937 char *kwnames[] = {
11938 (char *) "self",(char *) "w",(char *) "h", NULL
11939 };
11940
8edf1c75 11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11944 arg2 = (double) SWIG_AsDouble(obj1);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 arg3 = (double) SWIG_AsDouble(obj2);
11947 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 (arg1)->base_OnBeginSize(arg2,arg3);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 Py_INCREF(Py_None); resultobj = Py_None;
11956 return resultobj;
11957 fail:
11958 return NULL;
11959}
11960
11961
a95a7133 11962static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
11963 PyObject *resultobj;
11964 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11965 double arg2 ;
11966 double arg3 ;
11967 PyObject * obj0 = 0 ;
8edf1c75
RD
11968 PyObject * obj1 = 0 ;
11969 PyObject * obj2 = 0 ;
44127b65
RD
11970 char *kwnames[] = {
11971 (char *) "self",(char *) "w",(char *) "h", NULL
11972 };
11973
8edf1c75 11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyRectangleShape,
11976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11977 arg2 = (double) SWIG_AsDouble(obj1);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 arg3 = (double) SWIG_AsDouble(obj2);
11980 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 (arg1)->base_OnEndSize(arg2,arg3);
11984
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 Py_INCREF(Py_None); resultobj = Py_None;
11989 return resultobj;
11990 fail:
11991 return NULL;
11992}
11993
11994
a95a7133 11995static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
11996 PyObject *obj;
11997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11998 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
11999 Py_INCREF(obj);
12000 return Py_BuildValue((char *)"");
12001}
a95a7133 12002static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12003 PyObject *resultobj;
12004 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
12005 wxPyShape *arg2 = (wxPyShape *) NULL ;
12006 double arg3 = (double) 0.0 ;
12007 double arg4 = (double) 0.0 ;
12008 double arg5 = (double) 0.0 ;
12009 int arg6 = (int) 0 ;
12010 wxPyControlPoint *result;
12011 PyObject * obj0 = 0 ;
12012 PyObject * obj1 = 0 ;
8edf1c75
RD
12013 PyObject * obj2 = 0 ;
12014 PyObject * obj3 = 0 ;
12015 PyObject * obj4 = 0 ;
12016 PyObject * obj5 = 0 ;
44127b65
RD
12017 char *kwnames[] = {
12018 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12019 };
12020
8edf1c75 12021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 12022 if (obj0) {
2f4c0a16
RD
12023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
12024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12025 }
12026 if (obj1) {
2f4c0a16
RD
12027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
12028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 12029 }
8edf1c75 12030 if (obj2) {
2f4c0a16
RD
12031 arg3 = (double) SWIG_AsDouble(obj2);
12032 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12033 }
12034 if (obj3) {
2f4c0a16
RD
12035 arg4 = (double) SWIG_AsDouble(obj3);
12036 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12037 }
12038 if (obj4) {
2f4c0a16
RD
12039 arg5 = (double) SWIG_AsDouble(obj4);
12040 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12041 }
12042 if (obj5) {
2f4c0a16
RD
12043 arg6 = (int) SWIG_AsInt(obj5);
12044 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12045 }
44127b65
RD
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
2f4c0a16 12053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControlPoint, 1);
44127b65
RD
12054 return resultobj;
12055 fail:
12056 return NULL;
12057}
12058
12059
a95a7133 12060static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12061 PyObject *resultobj;
12062 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12063 PyObject *arg2 = (PyObject *) 0 ;
12064 PyObject *arg3 = (PyObject *) 0 ;
12065 PyObject * obj0 = 0 ;
12066 PyObject * obj1 = 0 ;
12067 PyObject * obj2 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self",(char *) "self",(char *) "_class", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12075 arg2 = obj1;
12076 arg3 = obj2;
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 (arg1)->_setCallbackInfo(arg2,arg3);
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 Py_INCREF(Py_None); resultobj = Py_None;
12085 return resultobj;
12086 fail:
12087 return NULL;
12088}
12089
12090
a95a7133 12091static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12092 PyObject *resultobj;
12093 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12094 double arg2 ;
12095 PyObject * obj0 = 0 ;
8edf1c75 12096 PyObject * obj1 = 0 ;
44127b65
RD
12097 char *kwnames[] = {
12098 (char *) "self",(char *) "radius", NULL
12099 };
12100
8edf1c75 12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12104 arg2 = (double) SWIG_AsDouble(obj1);
12105 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 (arg1)->SetCornerRadius(arg2);
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 Py_INCREF(Py_None); resultobj = Py_None;
12114 return resultobj;
12115 fail:
12116 return NULL;
12117}
12118
12119
a95a7133 12120static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12121 PyObject *resultobj;
12122 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12123 PyObject * obj0 = 0 ;
12124 char *kwnames[] = {
12125 (char *) "self", NULL
12126 };
12127
12128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 (arg1)->base_OnDelete();
12134
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 Py_INCREF(Py_None); resultobj = Py_None;
12139 return resultobj;
12140 fail:
12141 return NULL;
12142}
12143
12144
a95a7133 12145static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12146 PyObject *resultobj;
12147 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12148 wxDC *arg2 = 0 ;
12149 PyObject * obj0 = 0 ;
12150 PyObject * obj1 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self",(char *) "dc", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12159 SWIG_POINTER_EXCEPTION | 0)) == -1)
12160 SWIG_fail;
44127b65 12161 if (arg2 == NULL) {
2f4c0a16
RD
12162 PyErr_SetString(PyExc_TypeError,"null reference");
12163 SWIG_fail;
44127b65
RD
12164 }
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 (arg1)->base_OnDraw(*arg2);
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 Py_INCREF(Py_None); resultobj = Py_None;
12173 return resultobj;
12174 fail:
12175 return NULL;
12176}
12177
12178
a95a7133 12179static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12180 PyObject *resultobj;
12181 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12182 wxDC *arg2 = 0 ;
12183 PyObject * obj0 = 0 ;
12184 PyObject * obj1 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self",(char *) "dc", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12193 SWIG_POINTER_EXCEPTION | 0)) == -1)
12194 SWIG_fail;
44127b65 12195 if (arg2 == NULL) {
2f4c0a16
RD
12196 PyErr_SetString(PyExc_TypeError,"null reference");
12197 SWIG_fail;
44127b65
RD
12198 }
12199 {
12200 PyThreadState* __tstate = wxPyBeginAllowThreads();
12201 (arg1)->base_OnDrawContents(*arg2);
12202
12203 wxPyEndAllowThreads(__tstate);
12204 if (PyErr_Occurred()) SWIG_fail;
12205 }
12206 Py_INCREF(Py_None); resultobj = Py_None;
12207 return resultobj;
12208 fail:
12209 return NULL;
12210}
12211
12212
a95a7133 12213static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12214 PyObject *resultobj;
12215 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12216 wxDC *arg2 = 0 ;
12217 bool arg3 = (bool) FALSE ;
12218 PyObject * obj0 = 0 ;
12219 PyObject * obj1 = 0 ;
12220 PyObject * obj2 = 0 ;
12221 char *kwnames[] = {
12222 (char *) "self",(char *) "dc",(char *) "erase", NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12229 SWIG_POINTER_EXCEPTION | 0)) == -1)
12230 SWIG_fail;
44127b65 12231 if (arg2 == NULL) {
2f4c0a16
RD
12232 PyErr_SetString(PyExc_TypeError,"null reference");
12233 SWIG_fail;
44127b65
RD
12234 }
12235 if (obj2) {
2f4c0a16
RD
12236 arg3 = (bool) SWIG_AsBool(obj2);
12237 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12238 }
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 (arg1)->base_OnDrawBranches(*arg2,arg3);
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 Py_INCREF(Py_None); resultobj = Py_None;
12247 return resultobj;
12248 fail:
12249 return NULL;
12250}
12251
12252
a95a7133 12253static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12254 PyObject *resultobj;
12255 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12256 wxDC *arg2 = 0 ;
12257 PyObject * obj0 = 0 ;
12258 PyObject * obj1 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self",(char *) "dc", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12267 SWIG_POINTER_EXCEPTION | 0)) == -1)
12268 SWIG_fail;
44127b65 12269 if (arg2 == NULL) {
2f4c0a16
RD
12270 PyErr_SetString(PyExc_TypeError,"null reference");
12271 SWIG_fail;
44127b65
RD
12272 }
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 (arg1)->base_OnMoveLinks(*arg2);
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 Py_INCREF(Py_None); resultobj = Py_None;
12281 return resultobj;
12282 fail:
12283 return NULL;
12284}
12285
12286
a95a7133 12287static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12288 PyObject *resultobj;
12289 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12290 wxDC *arg2 = 0 ;
12291 PyObject * obj0 = 0 ;
12292 PyObject * obj1 = 0 ;
12293 char *kwnames[] = {
12294 (char *) "self",(char *) "dc", NULL
12295 };
12296
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12301 SWIG_POINTER_EXCEPTION | 0)) == -1)
12302 SWIG_fail;
44127b65 12303 if (arg2 == NULL) {
2f4c0a16
RD
12304 PyErr_SetString(PyExc_TypeError,"null reference");
12305 SWIG_fail;
44127b65
RD
12306 }
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 (arg1)->base_OnErase(*arg2);
12310
12311 wxPyEndAllowThreads(__tstate);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 Py_INCREF(Py_None); resultobj = Py_None;
12315 return resultobj;
12316 fail:
12317 return NULL;
12318}
12319
12320
a95a7133 12321static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12322 PyObject *resultobj;
12323 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12324 wxDC *arg2 = 0 ;
12325 PyObject * obj0 = 0 ;
12326 PyObject * obj1 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self",(char *) "dc", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12335 SWIG_POINTER_EXCEPTION | 0)) == -1)
12336 SWIG_fail;
44127b65 12337 if (arg2 == NULL) {
2f4c0a16
RD
12338 PyErr_SetString(PyExc_TypeError,"null reference");
12339 SWIG_fail;
44127b65
RD
12340 }
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 (arg1)->base_OnEraseContents(*arg2);
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 Py_INCREF(Py_None); resultobj = Py_None;
12349 return resultobj;
12350 fail:
12351 return NULL;
12352}
12353
12354
a95a7133 12355static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12356 PyObject *resultobj;
12357 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12358 wxDC *arg2 = 0 ;
12359 PyObject * obj0 = 0 ;
12360 PyObject * obj1 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "self",(char *) "dc", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12369 SWIG_POINTER_EXCEPTION | 0)) == -1)
12370 SWIG_fail;
44127b65 12371 if (arg2 == NULL) {
2f4c0a16
RD
12372 PyErr_SetString(PyExc_TypeError,"null reference");
12373 SWIG_fail;
44127b65
RD
12374 }
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 (arg1)->base_OnHighlight(*arg2);
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
12382 Py_INCREF(Py_None); resultobj = Py_None;
12383 return resultobj;
12384 fail:
12385 return NULL;
12386}
12387
12388
a95a7133 12389static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12390 PyObject *resultobj;
12391 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12392 double arg2 ;
12393 double arg3 ;
12394 int arg4 = (int) 0 ;
12395 int arg5 = (int) 0 ;
12396 PyObject * obj0 = 0 ;
8edf1c75
RD
12397 PyObject * obj1 = 0 ;
12398 PyObject * obj2 = 0 ;
12399 PyObject * obj3 = 0 ;
12400 PyObject * obj4 = 0 ;
44127b65
RD
12401 char *kwnames[] = {
12402 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12403 };
12404
8edf1c75 12405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12408 arg2 = (double) SWIG_AsDouble(obj1);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 arg3 = (double) SWIG_AsDouble(obj2);
12411 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12412 if (obj3) {
2f4c0a16
RD
12413 arg4 = (int) SWIG_AsInt(obj3);
12414 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12415 }
12416 if (obj4) {
2f4c0a16
RD
12417 arg5 = (int) SWIG_AsInt(obj4);
12418 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12419 }
44127b65
RD
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12423
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 Py_INCREF(Py_None); resultobj = Py_None;
12428 return resultobj;
12429 fail:
12430 return NULL;
12431}
12432
12433
a95a7133 12434static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12435 PyObject *resultobj;
12436 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12437 double arg2 ;
12438 double arg3 ;
12439 int arg4 = (int) 0 ;
12440 int arg5 = (int) 0 ;
12441 PyObject * obj0 = 0 ;
8edf1c75
RD
12442 PyObject * obj1 = 0 ;
12443 PyObject * obj2 = 0 ;
12444 PyObject * obj3 = 0 ;
12445 PyObject * obj4 = 0 ;
44127b65
RD
12446 char *kwnames[] = {
12447 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12448 };
12449
8edf1c75 12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12453 arg2 = (double) SWIG_AsDouble(obj1);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 arg3 = (double) SWIG_AsDouble(obj2);
12456 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12457 if (obj3) {
2f4c0a16
RD
12458 arg4 = (int) SWIG_AsInt(obj3);
12459 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12460 }
12461 if (obj4) {
2f4c0a16
RD
12462 arg5 = (int) SWIG_AsInt(obj4);
12463 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12464 }
44127b65
RD
12465 {
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12468
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 Py_INCREF(Py_None); resultobj = Py_None;
12473 return resultobj;
12474 fail:
12475 return NULL;
12476}
12477
12478
a95a7133 12479static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12480 PyObject *resultobj;
12481 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12482 double arg2 ;
12483 double arg3 ;
12484 int arg4 = (int) 0 ;
12485 int arg5 = (int) 0 ;
12486 PyObject * obj0 = 0 ;
8edf1c75
RD
12487 PyObject * obj1 = 0 ;
12488 PyObject * obj2 = 0 ;
12489 PyObject * obj3 = 0 ;
12490 PyObject * obj4 = 0 ;
44127b65
RD
12491 char *kwnames[] = {
12492 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12493 };
12494
8edf1c75 12495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12498 arg2 = (double) SWIG_AsDouble(obj1);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 arg3 = (double) SWIG_AsDouble(obj2);
12501 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12502 if (obj3) {
2f4c0a16
RD
12503 arg4 = (int) SWIG_AsInt(obj3);
12504 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12505 }
12506 if (obj4) {
2f4c0a16
RD
12507 arg5 = (int) SWIG_AsInt(obj4);
12508 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12509 }
44127b65
RD
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 Py_INCREF(Py_None); resultobj = Py_None;
12518 return resultobj;
12519 fail:
12520 return NULL;
12521}
12522
12523
a95a7133 12524static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12525 PyObject *resultobj;
12526 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12527 double arg2 ;
12528 double arg3 ;
12529 PyObject * obj0 = 0 ;
8edf1c75
RD
12530 PyObject * obj1 = 0 ;
12531 PyObject * obj2 = 0 ;
44127b65
RD
12532 char *kwnames[] = {
12533 (char *) "self",(char *) "x",(char *) "y", NULL
12534 };
12535
8edf1c75 12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12539 arg2 = (double) SWIG_AsDouble(obj1);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 arg3 = (double) SWIG_AsDouble(obj2);
12542 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 (arg1)->base_OnSize(arg2,arg3);
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 Py_INCREF(Py_None); resultobj = Py_None;
12551 return resultobj;
12552 fail:
12553 return NULL;
12554}
12555
12556
a95a7133 12557static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12558 PyObject *resultobj;
12559 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12560 wxDC *arg2 = 0 ;
12561 double arg3 ;
12562 double arg4 ;
12563 double arg5 ;
12564 double arg6 ;
12565 bool arg7 = (bool) True ;
12566 bool result;
12567 PyObject * obj0 = 0 ;
12568 PyObject * obj1 = 0 ;
8edf1c75
RD
12569 PyObject * obj2 = 0 ;
12570 PyObject * obj3 = 0 ;
12571 PyObject * obj4 = 0 ;
12572 PyObject * obj5 = 0 ;
44127b65
RD
12573 PyObject * obj6 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12576 };
12577
8edf1c75 12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
12579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12582 SWIG_POINTER_EXCEPTION | 0)) == -1)
12583 SWIG_fail;
44127b65 12584 if (arg2 == NULL) {
2f4c0a16
RD
12585 PyErr_SetString(PyExc_TypeError,"null reference");
12586 SWIG_fail;
12587 }
12588 arg3 = (double) SWIG_AsDouble(obj2);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 arg4 = (double) SWIG_AsDouble(obj3);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 arg5 = (double) SWIG_AsDouble(obj4);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 arg6 = (double) SWIG_AsDouble(obj5);
12595 if (PyErr_Occurred()) SWIG_fail;
44127b65 12596 if (obj6) {
2f4c0a16
RD
12597 arg7 = (bool) SWIG_AsBool(obj6);
12598 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12599 }
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
fbc46b20
RD
12607 {
12608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12609 }
44127b65
RD
12610 return resultobj;
12611 fail:
12612 return NULL;
12613}
12614
12615
a95a7133 12616static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12617 PyObject *resultobj;
12618 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12619 wxDC *arg2 = 0 ;
12620 double arg3 ;
12621 double arg4 ;
12622 double arg5 ;
12623 double arg6 ;
12624 bool arg7 = (bool) True ;
12625 PyObject * obj0 = 0 ;
12626 PyObject * obj1 = 0 ;
8edf1c75
RD
12627 PyObject * obj2 = 0 ;
12628 PyObject * obj3 = 0 ;
12629 PyObject * obj4 = 0 ;
12630 PyObject * obj5 = 0 ;
44127b65
RD
12631 PyObject * obj6 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12634 };
12635
8edf1c75 12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
12637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12640 SWIG_POINTER_EXCEPTION | 0)) == -1)
12641 SWIG_fail;
44127b65 12642 if (arg2 == NULL) {
2f4c0a16
RD
12643 PyErr_SetString(PyExc_TypeError,"null reference");
12644 SWIG_fail;
12645 }
12646 arg3 = (double) SWIG_AsDouble(obj2);
12647 if (PyErr_Occurred()) SWIG_fail;
12648 arg4 = (double) SWIG_AsDouble(obj3);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 arg5 = (double) SWIG_AsDouble(obj4);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 arg6 = (double) SWIG_AsDouble(obj5);
12653 if (PyErr_Occurred()) SWIG_fail;
44127b65 12654 if (obj6) {
2f4c0a16
RD
12655 arg7 = (bool) SWIG_AsBool(obj6);
12656 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
12657 }
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 Py_INCREF(Py_None); resultobj = Py_None;
12666 return resultobj;
12667 fail:
12668 return NULL;
12669}
12670
12671
a95a7133 12672static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12673 PyObject *resultobj;
12674 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12675 bool arg2 ;
12676 double arg3 ;
12677 double arg4 ;
12678 int arg5 = (int) 0 ;
12679 int arg6 = (int) 0 ;
12680 PyObject * obj0 = 0 ;
12681 PyObject * obj1 = 0 ;
8edf1c75
RD
12682 PyObject * obj2 = 0 ;
12683 PyObject * obj3 = 0 ;
12684 PyObject * obj4 = 0 ;
12685 PyObject * obj5 = 0 ;
44127b65
RD
12686 char *kwnames[] = {
12687 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12688 };
12689
8edf1c75 12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
12691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12693 arg2 = (bool) SWIG_AsBool(obj1);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 arg3 = (double) SWIG_AsDouble(obj2);
12696 if (PyErr_Occurred()) SWIG_fail;
12697 arg4 = (double) SWIG_AsDouble(obj3);
12698 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12699 if (obj4) {
2f4c0a16
RD
12700 arg5 = (int) SWIG_AsInt(obj4);
12701 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12702 }
12703 if (obj5) {
2f4c0a16
RD
12704 arg6 = (int) SWIG_AsInt(obj5);
12705 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12706 }
44127b65
RD
12707 {
12708 PyThreadState* __tstate = wxPyBeginAllowThreads();
12709 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12710
12711 wxPyEndAllowThreads(__tstate);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 Py_INCREF(Py_None); resultobj = Py_None;
12715 return resultobj;
12716 fail:
12717 return NULL;
12718}
12719
12720
a95a7133 12721static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12722 PyObject *resultobj;
12723 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12724 double arg2 ;
12725 double arg3 ;
12726 int arg4 = (int) 0 ;
12727 int arg5 = (int) 0 ;
12728 PyObject * obj0 = 0 ;
8edf1c75
RD
12729 PyObject * obj1 = 0 ;
12730 PyObject * obj2 = 0 ;
12731 PyObject * obj3 = 0 ;
12732 PyObject * obj4 = 0 ;
44127b65
RD
12733 char *kwnames[] = {
12734 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12735 };
12736
8edf1c75 12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12740 arg2 = (double) SWIG_AsDouble(obj1);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 arg3 = (double) SWIG_AsDouble(obj2);
12743 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12744 if (obj3) {
2f4c0a16
RD
12745 arg4 = (int) SWIG_AsInt(obj3);
12746 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12747 }
12748 if (obj4) {
2f4c0a16
RD
12749 arg5 = (int) SWIG_AsInt(obj4);
12750 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12751 }
44127b65
RD
12752 {
12753 PyThreadState* __tstate = wxPyBeginAllowThreads();
12754 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12755
12756 wxPyEndAllowThreads(__tstate);
12757 if (PyErr_Occurred()) SWIG_fail;
12758 }
12759 Py_INCREF(Py_None); resultobj = Py_None;
12760 return resultobj;
12761 fail:
12762 return NULL;
12763}
12764
12765
a95a7133 12766static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12767 PyObject *resultobj;
12768 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12769 double arg2 ;
12770 double arg3 ;
12771 int arg4 = (int) 0 ;
12772 int arg5 = (int) 0 ;
12773 PyObject * obj0 = 0 ;
8edf1c75
RD
12774 PyObject * obj1 = 0 ;
12775 PyObject * obj2 = 0 ;
12776 PyObject * obj3 = 0 ;
12777 PyObject * obj4 = 0 ;
44127b65
RD
12778 char *kwnames[] = {
12779 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12780 };
12781
8edf1c75 12782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12785 arg2 = (double) SWIG_AsDouble(obj1);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 arg3 = (double) SWIG_AsDouble(obj2);
12788 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12789 if (obj3) {
2f4c0a16
RD
12790 arg4 = (int) SWIG_AsInt(obj3);
12791 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12792 }
12793 if (obj4) {
2f4c0a16
RD
12794 arg5 = (int) SWIG_AsInt(obj4);
12795 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12796 }
44127b65
RD
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
12799 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
12804 Py_INCREF(Py_None); resultobj = Py_None;
12805 return resultobj;
12806 fail:
12807 return NULL;
12808}
12809
12810
a95a7133 12811static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12812 PyObject *resultobj;
12813 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12814 bool arg2 ;
12815 double arg3 ;
12816 double arg4 ;
12817 int arg5 = (int) 0 ;
12818 int arg6 = (int) 0 ;
12819 PyObject * obj0 = 0 ;
12820 PyObject * obj1 = 0 ;
8edf1c75
RD
12821 PyObject * obj2 = 0 ;
12822 PyObject * obj3 = 0 ;
12823 PyObject * obj4 = 0 ;
12824 PyObject * obj5 = 0 ;
44127b65
RD
12825 char *kwnames[] = {
12826 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12827 };
12828
8edf1c75 12829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
12830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12832 arg2 = (bool) SWIG_AsBool(obj1);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 arg3 = (double) SWIG_AsDouble(obj2);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 arg4 = (double) SWIG_AsDouble(obj3);
12837 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12838 if (obj4) {
2f4c0a16
RD
12839 arg5 = (int) SWIG_AsInt(obj4);
12840 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12841 }
12842 if (obj5) {
2f4c0a16
RD
12843 arg6 = (int) SWIG_AsInt(obj5);
12844 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12845 }
44127b65
RD
12846 {
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12849
12850 wxPyEndAllowThreads(__tstate);
12851 if (PyErr_Occurred()) SWIG_fail;
12852 }
12853 Py_INCREF(Py_None); resultobj = Py_None;
12854 return resultobj;
12855 fail:
12856 return NULL;
12857}
12858
12859
a95a7133 12860static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12861 PyObject *resultobj;
12862 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12863 double arg2 ;
12864 double arg3 ;
12865 int arg4 = (int) 0 ;
12866 int arg5 = (int) 0 ;
12867 PyObject * obj0 = 0 ;
8edf1c75
RD
12868 PyObject * obj1 = 0 ;
12869 PyObject * obj2 = 0 ;
12870 PyObject * obj3 = 0 ;
12871 PyObject * obj4 = 0 ;
44127b65
RD
12872 char *kwnames[] = {
12873 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12874 };
12875
8edf1c75 12876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12879 arg2 = (double) SWIG_AsDouble(obj1);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 arg3 = (double) SWIG_AsDouble(obj2);
12882 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12883 if (obj3) {
2f4c0a16
RD
12884 arg4 = (int) SWIG_AsInt(obj3);
12885 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12886 }
12887 if (obj4) {
2f4c0a16
RD
12888 arg5 = (int) SWIG_AsInt(obj4);
12889 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12890 }
44127b65
RD
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 Py_INCREF(Py_None); resultobj = Py_None;
12899 return resultobj;
12900 fail:
12901 return NULL;
12902}
12903
12904
a95a7133 12905static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12906 PyObject *resultobj;
12907 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12908 double arg2 ;
12909 double arg3 ;
12910 int arg4 = (int) 0 ;
12911 int arg5 = (int) 0 ;
12912 PyObject * obj0 = 0 ;
8edf1c75
RD
12913 PyObject * obj1 = 0 ;
12914 PyObject * obj2 = 0 ;
12915 PyObject * obj3 = 0 ;
12916 PyObject * obj4 = 0 ;
44127b65
RD
12917 char *kwnames[] = {
12918 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12919 };
12920
8edf1c75 12921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12924 arg2 = (double) SWIG_AsDouble(obj1);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 arg3 = (double) SWIG_AsDouble(obj2);
12927 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12928 if (obj3) {
2f4c0a16
RD
12929 arg4 = (int) SWIG_AsInt(obj3);
12930 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12931 }
12932 if (obj4) {
2f4c0a16
RD
12933 arg5 = (int) SWIG_AsInt(obj4);
12934 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12935 }
44127b65
RD
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 Py_INCREF(Py_None); resultobj = Py_None;
12944 return resultobj;
12945 fail:
12946 return NULL;
12947}
12948
12949
a95a7133 12950static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
12951 PyObject *resultobj;
12952 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12953 wxDC *arg2 = 0 ;
12954 double arg3 ;
12955 double arg4 ;
12956 double arg5 ;
12957 double arg6 ;
12958 PyObject * obj0 = 0 ;
12959 PyObject * obj1 = 0 ;
8edf1c75
RD
12960 PyObject * obj2 = 0 ;
12961 PyObject * obj3 = 0 ;
12962 PyObject * obj4 = 0 ;
12963 PyObject * obj5 = 0 ;
44127b65
RD
12964 char *kwnames[] = {
12965 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12966 };
12967
8edf1c75 12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
12969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
12970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
12972 SWIG_POINTER_EXCEPTION | 0)) == -1)
12973 SWIG_fail;
44127b65 12974 if (arg2 == NULL) {
2f4c0a16
RD
12975 PyErr_SetString(PyExc_TypeError,"null reference");
12976 SWIG_fail;
8edf1c75 12977 }
2f4c0a16
RD
12978 arg3 = (double) SWIG_AsDouble(obj2);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 arg4 = (double) SWIG_AsDouble(obj3);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 arg5 = (double) SWIG_AsDouble(obj4);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 arg6 = (double) SWIG_AsDouble(obj5);
12985 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12986 {
2f4c0a16
RD
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
12989
12990 wxPyEndAllowThreads(__tstate);
44127b65
RD
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
12993 Py_INCREF(Py_None); resultobj = Py_None;
12994 return resultobj;
12995 fail:
12996 return NULL;
12997}
12998
12999
a95a7133 13000static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13001 PyObject *resultobj;
13002 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13003 wxDC *arg2 = 0 ;
13004 PyObject * obj0 = 0 ;
13005 PyObject * obj1 = 0 ;
13006 char *kwnames[] = {
13007 (char *) "self",(char *) "dc", NULL
13008 };
13009
13010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13014 SWIG_POINTER_EXCEPTION | 0)) == -1)
13015 SWIG_fail;
44127b65 13016 if (arg2 == NULL) {
2f4c0a16
RD
13017 PyErr_SetString(PyExc_TypeError,"null reference");
13018 SWIG_fail;
44127b65
RD
13019 }
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 (arg1)->base_OnDrawControlPoints(*arg2);
13023
13024 wxPyEndAllowThreads(__tstate);
13025 if (PyErr_Occurred()) SWIG_fail;
13026 }
13027 Py_INCREF(Py_None); resultobj = Py_None;
13028 return resultobj;
13029 fail:
13030 return NULL;
13031}
13032
13033
a95a7133 13034static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13035 PyObject *resultobj;
13036 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13037 wxDC *arg2 = 0 ;
13038 PyObject * obj0 = 0 ;
13039 PyObject * obj1 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "self",(char *) "dc", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13048 SWIG_POINTER_EXCEPTION | 0)) == -1)
13049 SWIG_fail;
44127b65 13050 if (arg2 == NULL) {
2f4c0a16
RD
13051 PyErr_SetString(PyExc_TypeError,"null reference");
13052 SWIG_fail;
44127b65
RD
13053 }
13054 {
13055 PyThreadState* __tstate = wxPyBeginAllowThreads();
13056 (arg1)->base_OnEraseControlPoints(*arg2);
13057
13058 wxPyEndAllowThreads(__tstate);
13059 if (PyErr_Occurred()) SWIG_fail;
13060 }
13061 Py_INCREF(Py_None); resultobj = Py_None;
13062 return resultobj;
13063 fail:
13064 return NULL;
13065}
13066
13067
a95a7133 13068static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13069 PyObject *resultobj;
13070 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13071 wxDC *arg2 = 0 ;
13072 bool arg3 = (bool) True ;
13073 PyObject * obj0 = 0 ;
13074 PyObject * obj1 = 0 ;
13075 PyObject * obj2 = 0 ;
13076 char *kwnames[] = {
13077 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13078 };
13079
13080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13084 SWIG_POINTER_EXCEPTION | 0)) == -1)
13085 SWIG_fail;
44127b65 13086 if (arg2 == NULL) {
2f4c0a16
RD
13087 PyErr_SetString(PyExc_TypeError,"null reference");
13088 SWIG_fail;
44127b65
RD
13089 }
13090 if (obj2) {
2f4c0a16
RD
13091 arg3 = (bool) SWIG_AsBool(obj2);
13092 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 (arg1)->base_OnMoveLink(*arg2,arg3);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 Py_INCREF(Py_None); resultobj = Py_None;
13102 return resultobj;
13103 fail:
13104 return NULL;
13105}
13106
13107
a95a7133 13108static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13109 PyObject *resultobj;
13110 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13111 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13112 bool arg3 ;
13113 double arg4 ;
13114 double arg5 ;
13115 int arg6 = (int) 0 ;
13116 int arg7 = (int) 0 ;
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 PyObject * obj2 = 0 ;
8edf1c75
RD
13120 PyObject * obj3 = 0 ;
13121 PyObject * obj4 = 0 ;
13122 PyObject * obj5 = 0 ;
13123 PyObject * obj6 = 0 ;
44127b65
RD
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13126 };
13127
8edf1c75 13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
13129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13133 arg3 = (bool) SWIG_AsBool(obj2);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 arg4 = (double) SWIG_AsDouble(obj3);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 arg5 = (double) SWIG_AsDouble(obj4);
13138 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13139 if (obj5) {
2f4c0a16
RD
13140 arg6 = (int) SWIG_AsInt(obj5);
13141 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13142 }
13143 if (obj6) {
2f4c0a16
RD
13144 arg7 = (int) SWIG_AsInt(obj6);
13145 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13146 }
44127b65
RD
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13150
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 Py_INCREF(Py_None); resultobj = Py_None;
13155 return resultobj;
13156 fail:
13157 return NULL;
13158}
13159
13160
a95a7133 13161static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13162 PyObject *resultobj;
13163 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13164 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13165 double arg3 ;
13166 double arg4 ;
13167 int arg5 = (int) 0 ;
13168 int arg6 = (int) 0 ;
13169 PyObject * obj0 = 0 ;
13170 PyObject * obj1 = 0 ;
8edf1c75
RD
13171 PyObject * obj2 = 0 ;
13172 PyObject * obj3 = 0 ;
13173 PyObject * obj4 = 0 ;
13174 PyObject * obj5 = 0 ;
44127b65
RD
13175 char *kwnames[] = {
13176 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13177 };
13178
8edf1c75 13179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13184 arg3 = (double) SWIG_AsDouble(obj2);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 arg4 = (double) SWIG_AsDouble(obj3);
13187 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13188 if (obj4) {
2f4c0a16
RD
13189 arg5 = (int) SWIG_AsInt(obj4);
13190 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13191 }
13192 if (obj5) {
2f4c0a16
RD
13193 arg6 = (int) SWIG_AsInt(obj5);
13194 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13195 }
44127b65
RD
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13199
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 Py_INCREF(Py_None); resultobj = Py_None;
13204 return resultobj;
13205 fail:
13206 return NULL;
13207}
13208
13209
a95a7133 13210static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13211 PyObject *resultobj;
13212 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13213 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13214 double arg3 ;
13215 double arg4 ;
13216 int arg5 = (int) 0 ;
13217 int arg6 = (int) 0 ;
13218 PyObject * obj0 = 0 ;
13219 PyObject * obj1 = 0 ;
8edf1c75
RD
13220 PyObject * obj2 = 0 ;
13221 PyObject * obj3 = 0 ;
13222 PyObject * obj4 = 0 ;
13223 PyObject * obj5 = 0 ;
44127b65
RD
13224 char *kwnames[] = {
13225 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13226 };
13227
8edf1c75 13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
13232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13233 arg3 = (double) SWIG_AsDouble(obj2);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 arg4 = (double) SWIG_AsDouble(obj3);
13236 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13237 if (obj4) {
2f4c0a16
RD
13238 arg5 = (int) SWIG_AsInt(obj4);
13239 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13240 }
13241 if (obj5) {
2f4c0a16
RD
13242 arg6 = (int) SWIG_AsInt(obj5);
13243 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13244 }
44127b65
RD
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13248
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 Py_INCREF(Py_None); resultobj = Py_None;
13253 return resultobj;
13254 fail:
13255 return NULL;
13256}
13257
13258
a95a7133 13259static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13260 PyObject *resultobj;
13261 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13262 double arg2 ;
13263 double arg3 ;
13264 PyObject * obj0 = 0 ;
8edf1c75
RD
13265 PyObject * obj1 = 0 ;
13266 PyObject * obj2 = 0 ;
44127b65
RD
13267 char *kwnames[] = {
13268 (char *) "self",(char *) "w",(char *) "h", NULL
13269 };
13270
8edf1c75 13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13274 arg2 = (double) SWIG_AsDouble(obj1);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 arg3 = (double) SWIG_AsDouble(obj2);
13277 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 (arg1)->base_OnBeginSize(arg2,arg3);
13281
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 Py_INCREF(Py_None); resultobj = Py_None;
13286 return resultobj;
13287 fail:
13288 return NULL;
13289}
13290
13291
a95a7133 13292static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13293 PyObject *resultobj;
13294 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13295 double arg2 ;
13296 double arg3 ;
13297 PyObject * obj0 = 0 ;
8edf1c75
RD
13298 PyObject * obj1 = 0 ;
13299 PyObject * obj2 = 0 ;
44127b65
RD
13300 char *kwnames[] = {
13301 (char *) "self",(char *) "w",(char *) "h", NULL
13302 };
13303
8edf1c75 13304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControlPoint,
13306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13307 arg2 = (double) SWIG_AsDouble(obj1);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 arg3 = (double) SWIG_AsDouble(obj2);
13310 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 (arg1)->base_OnEndSize(arg2,arg3);
13314
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 }
13318 Py_INCREF(Py_None); resultobj = Py_None;
13319 return resultobj;
13320 fail:
13321 return NULL;
13322}
13323
13324
a95a7133 13325static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
13326 PyObject *obj;
13327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13328 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13329 Py_INCREF(obj);
13330 return Py_BuildValue((char *)"");
13331}
a95a7133 13332static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13333 PyObject *resultobj;
13334 wxPyBitmapShape *result;
13335 char *kwnames[] = {
13336 NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13343
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
2f4c0a16 13347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapShape, 1);
44127b65
RD
13348 return resultobj;
13349 fail:
13350 return NULL;
13351}
13352
13353
a95a7133 13354static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13355 PyObject *resultobj;
13356 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13357 PyObject *arg2 = (PyObject *) 0 ;
13358 PyObject *arg3 = (PyObject *) 0 ;
13359 PyObject * obj0 = 0 ;
13360 PyObject * obj1 = 0 ;
13361 PyObject * obj2 = 0 ;
13362 char *kwnames[] = {
13363 (char *) "self",(char *) "self",(char *) "_class", NULL
13364 };
13365
13366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13369 arg2 = obj1;
13370 arg3 = obj2;
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 (arg1)->_setCallbackInfo(arg2,arg3);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 Py_INCREF(Py_None); resultobj = Py_None;
13379 return resultobj;
13380 fail:
13381 return NULL;
13382}
13383
13384
a95a7133 13385static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13386 PyObject *resultobj;
13387 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13388 wxBitmap *result;
13389 PyObject * obj0 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 {
13400 wxBitmap &_result_ref = (arg1)->GetBitmap();
13401 result = (wxBitmap *) &_result_ref;
13402 }
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
ce7284bd
RD
13407 {
13408 wxBitmap* resultptr = new wxBitmap(*result);
13409 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13410 }
44127b65
RD
13411 return resultobj;
13412 fail:
13413 return NULL;
13414}
13415
13416
a95a7133 13417static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13418 PyObject *resultobj;
13419 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13420 wxString result;
13421 PyObject * obj0 = 0 ;
13422 char *kwnames[] = {
13423 (char *) "self", NULL
13424 };
13425
13426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 result = (arg1)->GetFilename();
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 {
13437#if wxUSE_UNICODE
13438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13439#else
13440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13441#endif
13442 }
13443 return resultobj;
13444 fail:
13445 return NULL;
13446}
13447
13448
a95a7133 13449static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13450 PyObject *resultobj;
13451 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13452 wxBitmap *arg2 = 0 ;
13453 PyObject * obj0 = 0 ;
13454 PyObject * obj1 = 0 ;
13455 char *kwnames[] = {
13456 (char *) "self",(char *) "bitmap", NULL
13457 };
13458
13459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
13463 SWIG_POINTER_EXCEPTION | 0)) == -1)
13464 SWIG_fail;
44127b65 13465 if (arg2 == NULL) {
2f4c0a16
RD
13466 PyErr_SetString(PyExc_TypeError,"null reference");
13467 SWIG_fail;
44127b65
RD
13468 }
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 Py_INCREF(Py_None); resultobj = Py_None;
13477 return resultobj;
13478 fail:
13479 return NULL;
13480}
13481
13482
a95a7133 13483static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13484 PyObject *resultobj;
13485 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13486 wxString *arg2 = 0 ;
13487 bool temp2 = False ;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self",(char *) "filename", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13497 {
13498 arg2 = wxString_in_helper(obj1);
13499 if (arg2 == NULL) SWIG_fail;
13500 temp2 = True;
13501 }
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 (arg1)->SetFilename((wxString const &)*arg2);
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 Py_INCREF(Py_None); resultobj = Py_None;
13510 {
13511 if (temp2)
13512 delete arg2;
13513 }
13514 return resultobj;
13515 fail:
13516 {
13517 if (temp2)
13518 delete arg2;
13519 }
13520 return NULL;
13521}
13522
13523
a95a7133 13524static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13525 PyObject *resultobj;
13526 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13527 PyObject * obj0 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 (arg1)->base_OnDelete();
13538
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 Py_INCREF(Py_None); resultobj = Py_None;
13543 return resultobj;
13544 fail:
13545 return NULL;
13546}
13547
13548
a95a7133 13549static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13550 PyObject *resultobj;
13551 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13552 wxDC *arg2 = 0 ;
13553 PyObject * obj0 = 0 ;
13554 PyObject * obj1 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "self",(char *) "dc", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13563 SWIG_POINTER_EXCEPTION | 0)) == -1)
13564 SWIG_fail;
44127b65 13565 if (arg2 == NULL) {
2f4c0a16
RD
13566 PyErr_SetString(PyExc_TypeError,"null reference");
13567 SWIG_fail;
44127b65
RD
13568 }
13569 {
13570 PyThreadState* __tstate = wxPyBeginAllowThreads();
13571 (arg1)->base_OnDraw(*arg2);
13572
13573 wxPyEndAllowThreads(__tstate);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 Py_INCREF(Py_None); resultobj = Py_None;
13577 return resultobj;
13578 fail:
13579 return NULL;
13580}
13581
13582
a95a7133 13583static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13584 PyObject *resultobj;
13585 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13586 wxDC *arg2 = 0 ;
13587 PyObject * obj0 = 0 ;
13588 PyObject * obj1 = 0 ;
13589 char *kwnames[] = {
13590 (char *) "self",(char *) "dc", NULL
13591 };
13592
13593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13597 SWIG_POINTER_EXCEPTION | 0)) == -1)
13598 SWIG_fail;
44127b65 13599 if (arg2 == NULL) {
2f4c0a16
RD
13600 PyErr_SetString(PyExc_TypeError,"null reference");
13601 SWIG_fail;
44127b65
RD
13602 }
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 (arg1)->base_OnDrawContents(*arg2);
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 Py_INCREF(Py_None); resultobj = Py_None;
13611 return resultobj;
13612 fail:
13613 return NULL;
13614}
13615
13616
a95a7133 13617static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13618 PyObject *resultobj;
13619 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13620 wxDC *arg2 = 0 ;
13621 bool arg3 = (bool) FALSE ;
13622 PyObject * obj0 = 0 ;
13623 PyObject * obj1 = 0 ;
13624 PyObject * obj2 = 0 ;
13625 char *kwnames[] = {
13626 (char *) "self",(char *) "dc",(char *) "erase", NULL
13627 };
13628
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1)
13634 SWIG_fail;
44127b65 13635 if (arg2 == NULL) {
2f4c0a16
RD
13636 PyErr_SetString(PyExc_TypeError,"null reference");
13637 SWIG_fail;
44127b65
RD
13638 }
13639 if (obj2) {
2f4c0a16
RD
13640 arg3 = (bool) SWIG_AsBool(obj2);
13641 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13642 }
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 (arg1)->base_OnDrawBranches(*arg2,arg3);
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 Py_INCREF(Py_None); resultobj = Py_None;
13651 return resultobj;
13652 fail:
13653 return NULL;
13654}
13655
13656
a95a7133 13657static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13658 PyObject *resultobj;
13659 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13660 wxDC *arg2 = 0 ;
13661 PyObject * obj0 = 0 ;
13662 PyObject * obj1 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self",(char *) "dc", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13671 SWIG_POINTER_EXCEPTION | 0)) == -1)
13672 SWIG_fail;
44127b65 13673 if (arg2 == NULL) {
2f4c0a16
RD
13674 PyErr_SetString(PyExc_TypeError,"null reference");
13675 SWIG_fail;
44127b65
RD
13676 }
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 (arg1)->base_OnMoveLinks(*arg2);
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 Py_INCREF(Py_None); resultobj = Py_None;
13685 return resultobj;
13686 fail:
13687 return NULL;
13688}
13689
13690
a95a7133 13691static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13692 PyObject *resultobj;
13693 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13694 wxDC *arg2 = 0 ;
13695 PyObject * obj0 = 0 ;
13696 PyObject * obj1 = 0 ;
13697 char *kwnames[] = {
13698 (char *) "self",(char *) "dc", NULL
13699 };
13700
13701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13705 SWIG_POINTER_EXCEPTION | 0)) == -1)
13706 SWIG_fail;
44127b65 13707 if (arg2 == NULL) {
2f4c0a16
RD
13708 PyErr_SetString(PyExc_TypeError,"null reference");
13709 SWIG_fail;
44127b65
RD
13710 }
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->base_OnErase(*arg2);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 Py_INCREF(Py_None); resultobj = Py_None;
13719 return resultobj;
13720 fail:
13721 return NULL;
13722}
13723
13724
a95a7133 13725static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13726 PyObject *resultobj;
13727 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13728 wxDC *arg2 = 0 ;
13729 PyObject * obj0 = 0 ;
13730 PyObject * obj1 = 0 ;
13731 char *kwnames[] = {
13732 (char *) "self",(char *) "dc", NULL
13733 };
13734
13735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13739 SWIG_POINTER_EXCEPTION | 0)) == -1)
13740 SWIG_fail;
44127b65 13741 if (arg2 == NULL) {
2f4c0a16
RD
13742 PyErr_SetString(PyExc_TypeError,"null reference");
13743 SWIG_fail;
44127b65
RD
13744 }
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 (arg1)->base_OnEraseContents(*arg2);
13748
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 Py_INCREF(Py_None); resultobj = Py_None;
13753 return resultobj;
13754 fail:
13755 return NULL;
13756}
13757
13758
a95a7133 13759static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13760 PyObject *resultobj;
13761 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13762 wxDC *arg2 = 0 ;
13763 PyObject * obj0 = 0 ;
13764 PyObject * obj1 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self",(char *) "dc", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13773 SWIG_POINTER_EXCEPTION | 0)) == -1)
13774 SWIG_fail;
44127b65 13775 if (arg2 == NULL) {
2f4c0a16
RD
13776 PyErr_SetString(PyExc_TypeError,"null reference");
13777 SWIG_fail;
44127b65
RD
13778 }
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 (arg1)->base_OnHighlight(*arg2);
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
13787 return resultobj;
13788 fail:
13789 return NULL;
13790}
13791
13792
a95a7133 13793static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13794 PyObject *resultobj;
13795 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13796 double arg2 ;
13797 double arg3 ;
13798 int arg4 = (int) 0 ;
13799 int arg5 = (int) 0 ;
13800 PyObject * obj0 = 0 ;
8edf1c75
RD
13801 PyObject * obj1 = 0 ;
13802 PyObject * obj2 = 0 ;
13803 PyObject * obj3 = 0 ;
13804 PyObject * obj4 = 0 ;
44127b65
RD
13805 char *kwnames[] = {
13806 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13807 };
13808
8edf1c75 13809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13812 arg2 = (double) SWIG_AsDouble(obj1);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 arg3 = (double) SWIG_AsDouble(obj2);
13815 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13816 if (obj3) {
2f4c0a16
RD
13817 arg4 = (int) SWIG_AsInt(obj3);
13818 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13819 }
13820 if (obj4) {
2f4c0a16
RD
13821 arg5 = (int) SWIG_AsInt(obj4);
13822 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13823 }
44127b65
RD
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13827
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 Py_INCREF(Py_None); resultobj = Py_None;
13832 return resultobj;
13833 fail:
13834 return NULL;
13835}
13836
13837
a95a7133 13838static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13839 PyObject *resultobj;
13840 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13841 double arg2 ;
13842 double arg3 ;
13843 int arg4 = (int) 0 ;
13844 int arg5 = (int) 0 ;
13845 PyObject * obj0 = 0 ;
8edf1c75
RD
13846 PyObject * obj1 = 0 ;
13847 PyObject * obj2 = 0 ;
13848 PyObject * obj3 = 0 ;
13849 PyObject * obj4 = 0 ;
44127b65
RD
13850 char *kwnames[] = {
13851 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13852 };
13853
8edf1c75 13854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13857 arg2 = (double) SWIG_AsDouble(obj1);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 arg3 = (double) SWIG_AsDouble(obj2);
13860 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13861 if (obj3) {
2f4c0a16
RD
13862 arg4 = (int) SWIG_AsInt(obj3);
13863 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13864 }
13865 if (obj4) {
2f4c0a16
RD
13866 arg5 = (int) SWIG_AsInt(obj4);
13867 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13868 }
44127b65
RD
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 Py_INCREF(Py_None); resultobj = Py_None;
13877 return resultobj;
13878 fail:
13879 return NULL;
13880}
13881
13882
a95a7133 13883static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13884 PyObject *resultobj;
13885 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13886 double arg2 ;
13887 double arg3 ;
13888 int arg4 = (int) 0 ;
13889 int arg5 = (int) 0 ;
13890 PyObject * obj0 = 0 ;
8edf1c75
RD
13891 PyObject * obj1 = 0 ;
13892 PyObject * obj2 = 0 ;
13893 PyObject * obj3 = 0 ;
13894 PyObject * obj4 = 0 ;
44127b65
RD
13895 char *kwnames[] = {
13896 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13897 };
13898
8edf1c75 13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13902 arg2 = (double) SWIG_AsDouble(obj1);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 arg3 = (double) SWIG_AsDouble(obj2);
13905 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13906 if (obj3) {
2f4c0a16
RD
13907 arg4 = (int) SWIG_AsInt(obj3);
13908 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13909 }
13910 if (obj4) {
2f4c0a16
RD
13911 arg5 = (int) SWIG_AsInt(obj4);
13912 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13913 }
44127b65
RD
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13917
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 Py_INCREF(Py_None); resultobj = Py_None;
13922 return resultobj;
13923 fail:
13924 return NULL;
13925}
13926
13927
a95a7133 13928static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13929 PyObject *resultobj;
13930 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13931 double arg2 ;
13932 double arg3 ;
13933 PyObject * obj0 = 0 ;
8edf1c75
RD
13934 PyObject * obj1 = 0 ;
13935 PyObject * obj2 = 0 ;
44127b65
RD
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "x",(char *) "y", NULL
13938 };
13939
8edf1c75 13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13943 arg2 = (double) SWIG_AsDouble(obj1);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 arg3 = (double) SWIG_AsDouble(obj2);
13946 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 (arg1)->base_OnSize(arg2,arg3);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 Py_INCREF(Py_None); resultobj = Py_None;
13955 return resultobj;
13956 fail:
13957 return NULL;
13958}
13959
13960
a95a7133 13961static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
13962 PyObject *resultobj;
13963 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13964 wxDC *arg2 = 0 ;
13965 double arg3 ;
13966 double arg4 ;
13967 double arg5 ;
13968 double arg6 ;
13969 bool arg7 = (bool) True ;
13970 bool result;
13971 PyObject * obj0 = 0 ;
13972 PyObject * obj1 = 0 ;
8edf1c75
RD
13973 PyObject * obj2 = 0 ;
13974 PyObject * obj3 = 0 ;
13975 PyObject * obj4 = 0 ;
13976 PyObject * obj5 = 0 ;
44127b65
RD
13977 PyObject * obj6 = 0 ;
13978 char *kwnames[] = {
13979 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13980 };
13981
8edf1c75 13982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
13983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
13984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
13986 SWIG_POINTER_EXCEPTION | 0)) == -1)
13987 SWIG_fail;
44127b65 13988 if (arg2 == NULL) {
2f4c0a16
RD
13989 PyErr_SetString(PyExc_TypeError,"null reference");
13990 SWIG_fail;
13991 }
13992 arg3 = (double) SWIG_AsDouble(obj2);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 arg4 = (double) SWIG_AsDouble(obj3);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 arg5 = (double) SWIG_AsDouble(obj4);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 arg6 = (double) SWIG_AsDouble(obj5);
13999 if (PyErr_Occurred()) SWIG_fail;
44127b65 14000 if (obj6) {
2f4c0a16
RD
14001 arg7 = (bool) SWIG_AsBool(obj6);
14002 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
fbc46b20
RD
14011 {
14012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14013 }
44127b65
RD
14014 return resultobj;
14015 fail:
14016 return NULL;
14017}
14018
14019
a95a7133 14020static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14021 PyObject *resultobj;
14022 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14023 wxDC *arg2 = 0 ;
14024 double arg3 ;
14025 double arg4 ;
14026 double arg5 ;
14027 double arg6 ;
14028 bool arg7 = (bool) True ;
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
8edf1c75
RD
14031 PyObject * obj2 = 0 ;
14032 PyObject * obj3 = 0 ;
14033 PyObject * obj4 = 0 ;
14034 PyObject * obj5 = 0 ;
44127b65
RD
14035 PyObject * obj6 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14038 };
14039
8edf1c75 14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14044 SWIG_POINTER_EXCEPTION | 0)) == -1)
14045 SWIG_fail;
44127b65 14046 if (arg2 == NULL) {
2f4c0a16
RD
14047 PyErr_SetString(PyExc_TypeError,"null reference");
14048 SWIG_fail;
14049 }
14050 arg3 = (double) SWIG_AsDouble(obj2);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 arg4 = (double) SWIG_AsDouble(obj3);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 arg5 = (double) SWIG_AsDouble(obj4);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 arg6 = (double) SWIG_AsDouble(obj5);
14057 if (PyErr_Occurred()) SWIG_fail;
44127b65 14058 if (obj6) {
2f4c0a16
RD
14059 arg7 = (bool) SWIG_AsBool(obj6);
14060 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14061 }
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 Py_INCREF(Py_None); resultobj = Py_None;
14070 return resultobj;
14071 fail:
14072 return NULL;
14073}
14074
14075
a95a7133 14076static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14077 PyObject *resultobj;
14078 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14079 bool arg2 ;
14080 double arg3 ;
14081 double arg4 ;
14082 int arg5 = (int) 0 ;
14083 int arg6 = (int) 0 ;
14084 PyObject * obj0 = 0 ;
14085 PyObject * obj1 = 0 ;
8edf1c75
RD
14086 PyObject * obj2 = 0 ;
14087 PyObject * obj3 = 0 ;
14088 PyObject * obj4 = 0 ;
14089 PyObject * obj5 = 0 ;
44127b65
RD
14090 char *kwnames[] = {
14091 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14092 };
14093
8edf1c75 14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14097 arg2 = (bool) SWIG_AsBool(obj1);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 arg3 = (double) SWIG_AsDouble(obj2);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 arg4 = (double) SWIG_AsDouble(obj3);
14102 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14103 if (obj4) {
2f4c0a16
RD
14104 arg5 = (int) SWIG_AsInt(obj4);
14105 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14106 }
14107 if (obj5) {
2f4c0a16
RD
14108 arg6 = (int) SWIG_AsInt(obj5);
14109 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14110 }
44127b65
RD
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 Py_INCREF(Py_None); resultobj = Py_None;
14119 return resultobj;
14120 fail:
14121 return NULL;
14122}
14123
14124
a95a7133 14125static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14126 PyObject *resultobj;
14127 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14128 double arg2 ;
14129 double arg3 ;
14130 int arg4 = (int) 0 ;
14131 int arg5 = (int) 0 ;
14132 PyObject * obj0 = 0 ;
8edf1c75
RD
14133 PyObject * obj1 = 0 ;
14134 PyObject * obj2 = 0 ;
14135 PyObject * obj3 = 0 ;
14136 PyObject * obj4 = 0 ;
44127b65
RD
14137 char *kwnames[] = {
14138 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14139 };
14140
8edf1c75 14141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14144 arg2 = (double) SWIG_AsDouble(obj1);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 arg3 = (double) SWIG_AsDouble(obj2);
14147 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14148 if (obj3) {
2f4c0a16
RD
14149 arg4 = (int) SWIG_AsInt(obj3);
14150 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14151 }
14152 if (obj4) {
2f4c0a16
RD
14153 arg5 = (int) SWIG_AsInt(obj4);
14154 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14155 }
44127b65
RD
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167}
14168
14169
a95a7133 14170static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14171 PyObject *resultobj;
14172 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14173 double arg2 ;
14174 double arg3 ;
14175 int arg4 = (int) 0 ;
14176 int arg5 = (int) 0 ;
14177 PyObject * obj0 = 0 ;
8edf1c75
RD
14178 PyObject * obj1 = 0 ;
14179 PyObject * obj2 = 0 ;
14180 PyObject * obj3 = 0 ;
14181 PyObject * obj4 = 0 ;
44127b65
RD
14182 char *kwnames[] = {
14183 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14184 };
14185
8edf1c75 14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14189 arg2 = (double) SWIG_AsDouble(obj1);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 arg3 = (double) SWIG_AsDouble(obj2);
14192 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14193 if (obj3) {
2f4c0a16
RD
14194 arg4 = (int) SWIG_AsInt(obj3);
14195 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14196 }
14197 if (obj4) {
2f4c0a16
RD
14198 arg5 = (int) SWIG_AsInt(obj4);
14199 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14200 }
44127b65
RD
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 Py_INCREF(Py_None); resultobj = Py_None;
14209 return resultobj;
14210 fail:
14211 return NULL;
14212}
14213
14214
a95a7133 14215static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14216 PyObject *resultobj;
14217 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14218 bool arg2 ;
14219 double arg3 ;
14220 double arg4 ;
14221 int arg5 = (int) 0 ;
14222 int arg6 = (int) 0 ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
8edf1c75
RD
14225 PyObject * obj2 = 0 ;
14226 PyObject * obj3 = 0 ;
14227 PyObject * obj4 = 0 ;
14228 PyObject * obj5 = 0 ;
44127b65
RD
14229 char *kwnames[] = {
14230 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14231 };
14232
8edf1c75 14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14236 arg2 = (bool) SWIG_AsBool(obj1);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 arg3 = (double) SWIG_AsDouble(obj2);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 arg4 = (double) SWIG_AsDouble(obj3);
14241 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14242 if (obj4) {
2f4c0a16
RD
14243 arg5 = (int) SWIG_AsInt(obj4);
14244 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14245 }
14246 if (obj5) {
2f4c0a16
RD
14247 arg6 = (int) SWIG_AsInt(obj5);
14248 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14249 }
44127b65
RD
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
14257 Py_INCREF(Py_None); resultobj = Py_None;
14258 return resultobj;
14259 fail:
14260 return NULL;
14261}
14262
14263
a95a7133 14264static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14265 PyObject *resultobj;
14266 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14267 double arg2 ;
14268 double arg3 ;
14269 int arg4 = (int) 0 ;
14270 int arg5 = (int) 0 ;
14271 PyObject * obj0 = 0 ;
8edf1c75
RD
14272 PyObject * obj1 = 0 ;
14273 PyObject * obj2 = 0 ;
14274 PyObject * obj3 = 0 ;
14275 PyObject * obj4 = 0 ;
44127b65
RD
14276 char *kwnames[] = {
14277 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14278 };
14279
8edf1c75 14280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14283 arg2 = (double) SWIG_AsDouble(obj1);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 arg3 = (double) SWIG_AsDouble(obj2);
14286 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14287 if (obj3) {
2f4c0a16
RD
14288 arg4 = (int) SWIG_AsInt(obj3);
14289 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14290 }
14291 if (obj4) {
2f4c0a16
RD
14292 arg5 = (int) SWIG_AsInt(obj4);
14293 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14294 }
44127b65
RD
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 Py_INCREF(Py_None); resultobj = Py_None;
14303 return resultobj;
14304 fail:
14305 return NULL;
14306}
14307
14308
a95a7133 14309static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14310 PyObject *resultobj;
14311 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14312 double arg2 ;
14313 double arg3 ;
14314 int arg4 = (int) 0 ;
14315 int arg5 = (int) 0 ;
14316 PyObject * obj0 = 0 ;
8edf1c75
RD
14317 PyObject * obj1 = 0 ;
14318 PyObject * obj2 = 0 ;
14319 PyObject * obj3 = 0 ;
14320 PyObject * obj4 = 0 ;
44127b65
RD
14321 char *kwnames[] = {
14322 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14323 };
14324
8edf1c75 14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14328 arg2 = (double) SWIG_AsDouble(obj1);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 arg3 = (double) SWIG_AsDouble(obj2);
14331 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14332 if (obj3) {
2f4c0a16
RD
14333 arg4 = (int) SWIG_AsInt(obj3);
14334 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14335 }
14336 if (obj4) {
2f4c0a16
RD
14337 arg5 = (int) SWIG_AsInt(obj4);
14338 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14339 }
44127b65
RD
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 Py_INCREF(Py_None); resultobj = Py_None;
14348 return resultobj;
14349 fail:
14350 return NULL;
14351}
14352
14353
a95a7133 14354static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14355 PyObject *resultobj;
14356 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14357 wxDC *arg2 = 0 ;
14358 double arg3 ;
14359 double arg4 ;
14360 double arg5 ;
14361 double arg6 ;
14362 PyObject * obj0 = 0 ;
14363 PyObject * obj1 = 0 ;
8edf1c75
RD
14364 PyObject * obj2 = 0 ;
14365 PyObject * obj3 = 0 ;
14366 PyObject * obj4 = 0 ;
14367 PyObject * obj5 = 0 ;
44127b65
RD
14368 char *kwnames[] = {
14369 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14370 };
14371
8edf1c75 14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14376 SWIG_POINTER_EXCEPTION | 0)) == -1)
14377 SWIG_fail;
44127b65 14378 if (arg2 == NULL) {
2f4c0a16
RD
14379 PyErr_SetString(PyExc_TypeError,"null reference");
14380 SWIG_fail;
8edf1c75 14381 }
2f4c0a16
RD
14382 arg3 = (double) SWIG_AsDouble(obj2);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 arg4 = (double) SWIG_AsDouble(obj3);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 arg5 = (double) SWIG_AsDouble(obj4);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 arg6 = (double) SWIG_AsDouble(obj5);
14389 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 Py_INCREF(Py_None); resultobj = Py_None;
14398 return resultobj;
14399 fail:
14400 return NULL;
14401}
14402
14403
a95a7133 14404static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14405 PyObject *resultobj;
14406 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14407 wxDC *arg2 = 0 ;
14408 PyObject * obj0 = 0 ;
14409 PyObject * obj1 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "self",(char *) "dc", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14418 SWIG_POINTER_EXCEPTION | 0)) == -1)
14419 SWIG_fail;
44127b65 14420 if (arg2 == NULL) {
2f4c0a16
RD
14421 PyErr_SetString(PyExc_TypeError,"null reference");
14422 SWIG_fail;
44127b65
RD
14423 }
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 (arg1)->base_OnDrawControlPoints(*arg2);
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 Py_INCREF(Py_None); resultobj = Py_None;
14432 return resultobj;
14433 fail:
14434 return NULL;
14435}
14436
14437
a95a7133 14438static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14439 PyObject *resultobj;
14440 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14441 wxDC *arg2 = 0 ;
14442 PyObject * obj0 = 0 ;
14443 PyObject * obj1 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "self",(char *) "dc", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14452 SWIG_POINTER_EXCEPTION | 0)) == -1)
14453 SWIG_fail;
44127b65 14454 if (arg2 == NULL) {
2f4c0a16
RD
14455 PyErr_SetString(PyExc_TypeError,"null reference");
14456 SWIG_fail;
44127b65
RD
14457 }
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 (arg1)->base_OnEraseControlPoints(*arg2);
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 Py_INCREF(Py_None); resultobj = Py_None;
14466 return resultobj;
14467 fail:
14468 return NULL;
14469}
14470
14471
a95a7133 14472static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14473 PyObject *resultobj;
14474 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14475 wxDC *arg2 = 0 ;
14476 bool arg3 = (bool) True ;
14477 PyObject * obj0 = 0 ;
14478 PyObject * obj1 = 0 ;
14479 PyObject * obj2 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14488 SWIG_POINTER_EXCEPTION | 0)) == -1)
14489 SWIG_fail;
44127b65 14490 if (arg2 == NULL) {
2f4c0a16
RD
14491 PyErr_SetString(PyExc_TypeError,"null reference");
14492 SWIG_fail;
44127b65
RD
14493 }
14494 if (obj2) {
2f4c0a16
RD
14495 arg3 = (bool) SWIG_AsBool(obj2);
14496 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14497 }
14498 {
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 (arg1)->base_OnMoveLink(*arg2,arg3);
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 Py_INCREF(Py_None); resultobj = Py_None;
14506 return resultobj;
14507 fail:
14508 return NULL;
14509}
14510
14511
a95a7133 14512static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14513 PyObject *resultobj;
14514 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14515 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14516 bool arg3 ;
14517 double arg4 ;
14518 double arg5 ;
14519 int arg6 = (int) 0 ;
14520 int arg7 = (int) 0 ;
14521 PyObject * obj0 = 0 ;
14522 PyObject * obj1 = 0 ;
14523 PyObject * obj2 = 0 ;
8edf1c75
RD
14524 PyObject * obj3 = 0 ;
14525 PyObject * obj4 = 0 ;
14526 PyObject * obj5 = 0 ;
14527 PyObject * obj6 = 0 ;
44127b65
RD
14528 char *kwnames[] = {
14529 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14530 };
14531
8edf1c75 14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14537 arg3 = (bool) SWIG_AsBool(obj2);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 arg4 = (double) SWIG_AsDouble(obj3);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 arg5 = (double) SWIG_AsDouble(obj4);
14542 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14543 if (obj5) {
2f4c0a16
RD
14544 arg6 = (int) SWIG_AsInt(obj5);
14545 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14546 }
14547 if (obj6) {
2f4c0a16
RD
14548 arg7 = (int) SWIG_AsInt(obj6);
14549 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14550 }
44127b65
RD
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 Py_INCREF(Py_None); resultobj = Py_None;
14559 return resultobj;
14560 fail:
14561 return NULL;
14562}
14563
14564
a95a7133 14565static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14566 PyObject *resultobj;
14567 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14568 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14569 double arg3 ;
14570 double arg4 ;
14571 int arg5 = (int) 0 ;
14572 int arg6 = (int) 0 ;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj1 = 0 ;
8edf1c75
RD
14575 PyObject * obj2 = 0 ;
14576 PyObject * obj3 = 0 ;
14577 PyObject * obj4 = 0 ;
14578 PyObject * obj5 = 0 ;
44127b65
RD
14579 char *kwnames[] = {
14580 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14581 };
14582
8edf1c75 14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14588 arg3 = (double) SWIG_AsDouble(obj2);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 arg4 = (double) SWIG_AsDouble(obj3);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 if (obj4) {
14593 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
2f4c0a16
RD
14596 if (obj5) {
14597 arg6 = (int) SWIG_AsInt(obj5);
8edf1c75
RD
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
44127b65
RD
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 Py_INCREF(Py_None); resultobj = Py_None;
14608 return resultobj;
14609 fail:
14610 return NULL;
14611}
14612
14613
a95a7133 14614static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14615 PyObject *resultobj;
14616 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14617 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14618 double arg3 ;
14619 double arg4 ;
14620 int arg5 = (int) 0 ;
14621 int arg6 = (int) 0 ;
14622 PyObject * obj0 = 0 ;
14623 PyObject * obj1 = 0 ;
8edf1c75
RD
14624 PyObject * obj2 = 0 ;
14625 PyObject * obj3 = 0 ;
14626 PyObject * obj4 = 0 ;
14627 PyObject * obj5 = 0 ;
44127b65
RD
14628 char *kwnames[] = {
14629 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14630 };
14631
8edf1c75 14632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
14636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14637 arg3 = (double) SWIG_AsDouble(obj2);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 arg4 = (double) SWIG_AsDouble(obj3);
14640 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14641 if (obj4) {
2f4c0a16
RD
14642 arg5 = (int) SWIG_AsInt(obj4);
14643 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14644 }
14645 if (obj5) {
2f4c0a16
RD
14646 arg6 = (int) SWIG_AsInt(obj5);
14647 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14648 }
44127b65
RD
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14652
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 Py_INCREF(Py_None); resultobj = Py_None;
14657 return resultobj;
14658 fail:
14659 return NULL;
14660}
14661
14662
a95a7133 14663static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14664 PyObject *resultobj;
14665 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14666 double arg2 ;
14667 double arg3 ;
14668 PyObject * obj0 = 0 ;
8edf1c75
RD
14669 PyObject * obj1 = 0 ;
14670 PyObject * obj2 = 0 ;
44127b65
RD
14671 char *kwnames[] = {
14672 (char *) "self",(char *) "w",(char *) "h", NULL
14673 };
14674
8edf1c75 14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14678 arg2 = (double) SWIG_AsDouble(obj1);
14679 if (PyErr_Occurred()) SWIG_fail;
14680 arg3 = (double) SWIG_AsDouble(obj2);
14681 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 (arg1)->base_OnBeginSize(arg2,arg3);
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 Py_INCREF(Py_None); resultobj = Py_None;
14690 return resultobj;
14691 fail:
14692 return NULL;
14693}
14694
14695
a95a7133 14696static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14697 PyObject *resultobj;
14698 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14699 double arg2 ;
14700 double arg3 ;
14701 PyObject * obj0 = 0 ;
8edf1c75
RD
14702 PyObject * obj1 = 0 ;
14703 PyObject * obj2 = 0 ;
44127b65
RD
14704 char *kwnames[] = {
14705 (char *) "self",(char *) "w",(char *) "h", NULL
14706 };
14707
8edf1c75 14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapShape,
14710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14711 arg2 = (double) SWIG_AsDouble(obj1);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 arg3 = (double) SWIG_AsDouble(obj2);
14714 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 (arg1)->base_OnEndSize(arg2,arg3);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726}
14727
14728
a95a7133 14729static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
14730 PyObject *obj;
14731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14732 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14733 Py_INCREF(obj);
14734 return Py_BuildValue((char *)"");
14735}
a95a7133 14736static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14737 PyObject *resultobj;
14738 wxPyDrawnShape *result;
14739 char *kwnames[] = {
14740 NULL
14741 };
14742
14743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14744 {
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14747
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
2f4c0a16 14751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
44127b65
RD
14752 return resultobj;
14753 fail:
14754 return NULL;
14755}
14756
14757
a95a7133 14758static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14759 PyObject *resultobj;
14760 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14761 PyObject *arg2 = (PyObject *) 0 ;
14762 PyObject *arg3 = (PyObject *) 0 ;
14763 PyObject * obj0 = 0 ;
14764 PyObject * obj1 = 0 ;
14765 PyObject * obj2 = 0 ;
14766 char *kwnames[] = {
14767 (char *) "self",(char *) "self",(char *) "_class", NULL
14768 };
14769
14770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14773 arg2 = obj1;
14774 arg3 = obj2;
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 (arg1)->_setCallbackInfo(arg2,arg3);
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 Py_INCREF(Py_None); resultobj = Py_None;
14783 return resultobj;
14784 fail:
14785 return NULL;
14786}
14787
14788
a95a7133 14789static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14790 PyObject *resultobj;
14791 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14792 PyObject * obj0 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 (arg1)->CalculateSize();
14803
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 Py_INCREF(Py_None); resultobj = Py_None;
14808 return resultobj;
14809 fail:
14810 return NULL;
14811}
14812
14813
a95a7133 14814static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14815 PyObject *resultobj;
14816 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14817 PyObject * obj0 = 0 ;
14818 char *kwnames[] = {
14819 (char *) "self", NULL
14820 };
14821
14822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 (arg1)->DestroyClippingRect();
14828
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 Py_INCREF(Py_None); resultobj = Py_None;
14833 return resultobj;
14834 fail:
14835 return NULL;
14836}
14837
14838
a95a7133 14839static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14840 PyObject *resultobj;
14841 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14842 wxPoint *arg2 = 0 ;
14843 wxPoint *arg3 = 0 ;
14844 wxPoint *arg4 = 0 ;
14845 wxPoint temp2 ;
14846 wxPoint temp3 ;
14847 wxPoint temp4 ;
14848 PyObject * obj0 = 0 ;
14849 PyObject * obj1 = 0 ;
14850 PyObject * obj2 = 0 ;
14851 PyObject * obj3 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14859 {
14860 arg2 = &temp2;
14861 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14862 }
14863 {
14864 arg3 = &temp3;
14865 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14866 }
14867 {
14868 arg4 = &temp4;
14869 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14870 }
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 Py_INCREF(Py_None); resultobj = Py_None;
14879 return resultobj;
14880 fail:
14881 return NULL;
14882}
14883
14884
a95a7133 14885static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14886 PyObject *resultobj;
14887 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14888 int arg2 ;
14889 PyObject * obj0 = 0 ;
8edf1c75 14890 PyObject * obj1 = 0 ;
44127b65
RD
14891 char *kwnames[] = {
14892 (char *) "self",(char *) "angle", NULL
14893 };
14894
8edf1c75 14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14898 arg2 = (int) SWIG_AsInt(obj1);
14899 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 (arg1)->DrawAtAngle(arg2);
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 Py_INCREF(Py_None); resultobj = Py_None;
14908 return resultobj;
14909 fail:
14910 return NULL;
14911}
14912
14913
a95a7133 14914static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14915 PyObject *resultobj;
14916 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14917 wxRect *arg2 = 0 ;
14918 double arg3 ;
14919 double arg4 ;
14920 wxRect temp2 ;
14921 PyObject * obj0 = 0 ;
14922 PyObject * obj1 = 0 ;
8edf1c75
RD
14923 PyObject * obj2 = 0 ;
14924 PyObject * obj3 = 0 ;
44127b65
RD
14925 char *kwnames[] = {
14926 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
14927 };
14928
8edf1c75 14929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14932 {
14933 arg2 = &temp2;
14934 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14935 }
2f4c0a16
RD
14936 arg3 = (double) SWIG_AsDouble(obj2);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 arg4 = (double) SWIG_AsDouble(obj3);
14939 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 Py_INCREF(Py_None); resultobj = Py_None;
14948 return resultobj;
14949 fail:
14950 return NULL;
14951}
14952
14953
a95a7133 14954static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14955 PyObject *resultobj;
14956 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14957 wxPoint *arg2 = 0 ;
14958 wxPoint *arg3 = 0 ;
14959 wxPoint temp2 ;
14960 wxPoint temp3 ;
14961 PyObject * obj0 = 0 ;
14962 PyObject * obj1 = 0 ;
14963 PyObject * obj2 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self",(char *) "point1",(char *) "point2", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
14970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
14971 {
14972 arg2 = &temp2;
14973 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14974 }
14975 {
14976 arg3 = &temp3;
14977 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14978 }
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
14982
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 Py_INCREF(Py_None); resultobj = Py_None;
14987 return resultobj;
14988 fail:
14989 return NULL;
14990}
14991
14992
a95a7133 14993static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
14994 PyObject *resultobj;
14995 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14996 int arg2 ;
14997 wxPoint *arg3 = (wxPoint *) 0 ;
14998 PyObject * obj0 = 0 ;
8edf1c75 14999 PyObject * obj1 = 0 ;
44127b65 15000 char *kwnames[] = {
a5ee0656 15001 (char *) "self",(char *) "points", NULL
44127b65
RD
15002 };
15003
a5ee0656 15004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a5ee0656
RD
15007 {
15008 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15009 if (arg3 == NULL) SWIG_fail;
15010 }
44127b65
RD
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
15013 (arg1)->DrawLines(arg2,arg3);
15014
15015 wxPyEndAllowThreads(__tstate);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 }
15018 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
15019 {
15020 if (arg3) delete [] arg3;
15021 }
44127b65
RD
15022 return resultobj;
15023 fail:
a5ee0656
RD
15024 {
15025 if (arg3) delete [] arg3;
15026 }
44127b65
RD
15027 return NULL;
15028}
15029
15030
a95a7133 15031static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15032 PyObject *resultobj;
15033 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15034 wxPoint *arg2 = 0 ;
15035 wxPoint temp2 ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self",(char *) "point", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15045 {
15046 arg2 = &temp2;
15047 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15048 }
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 (arg1)->DrawPoint((wxPoint const &)*arg2);
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 Py_INCREF(Py_None); resultobj = Py_None;
15057 return resultobj;
15058 fail:
15059 return NULL;
15060}
15061
15062
a95a7133 15063static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15064 PyObject *resultobj;
15065 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15066 int arg2 ;
15067 wxPoint *arg3 = (wxPoint *) 0 ;
15068 int arg4 = (int) 0 ;
15069 PyObject * obj0 = 0 ;
8edf1c75 15070 PyObject * obj1 = 0 ;
44127b65
RD
15071 PyObject * obj2 = 0 ;
15072 char *kwnames[] = {
a5ee0656 15073 (char *) "self",(char *) "points",(char *) "flags", NULL
44127b65
RD
15074 };
15075
a5ee0656 15076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a5ee0656
RD
15079 {
15080 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15081 if (arg3 == NULL) SWIG_fail;
15082 }
15083 if (obj2) {
15084 arg4 = (int) SWIG_AsInt(obj2);
2f4c0a16 15085 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15086 }
44127b65
RD
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 (arg1)->DrawPolygon(arg2,arg3,arg4);
15090
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
15095 {
15096 if (arg3) delete [] arg3;
15097 }
44127b65
RD
15098 return resultobj;
15099 fail:
a5ee0656
RD
15100 {
15101 if (arg3) delete [] arg3;
15102 }
44127b65
RD
15103 return NULL;
15104}
15105
15106
a95a7133 15107static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15108 PyObject *resultobj;
15109 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15110 wxRect *arg2 = 0 ;
15111 wxRect temp2 ;
15112 PyObject * obj0 = 0 ;
15113 PyObject * obj1 = 0 ;
15114 char *kwnames[] = {
15115 (char *) "self",(char *) "rect", NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15121 {
15122 arg2 = &temp2;
15123 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15124 }
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 (arg1)->DrawRectangle((wxRect const &)*arg2);
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 Py_INCREF(Py_None); resultobj = Py_None;
15133 return resultobj;
15134 fail:
15135 return NULL;
15136}
15137
15138
a95a7133 15139static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15140 PyObject *resultobj;
15141 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15142 wxRect *arg2 = 0 ;
15143 double arg3 ;
15144 wxRect temp2 ;
15145 PyObject * obj0 = 0 ;
15146 PyObject * obj1 = 0 ;
8edf1c75 15147 PyObject * obj2 = 0 ;
44127b65
RD
15148 char *kwnames[] = {
15149 (char *) "self",(char *) "rect",(char *) "radius", NULL
15150 };
15151
8edf1c75 15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15155 {
15156 arg2 = &temp2;
15157 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15158 }
2f4c0a16
RD
15159 arg3 = (double) SWIG_AsDouble(obj2);
15160 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15164
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 Py_INCREF(Py_None); resultobj = Py_None;
15169 return resultobj;
15170 fail:
15171 return NULL;
15172}
15173
15174
a95a7133 15175static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15176 PyObject *resultobj;
15177 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15178 int arg2 ;
15179 wxPoint *arg3 = (wxPoint *) 0 ;
15180 PyObject * obj0 = 0 ;
8edf1c75 15181 PyObject * obj1 = 0 ;
44127b65 15182 char *kwnames[] = {
a5ee0656 15183 (char *) "self",(char *) "points", NULL
44127b65
RD
15184 };
15185
a5ee0656 15186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a5ee0656
RD
15189 {
15190 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15191 if (arg3 == NULL) SWIG_fail;
15192 }
44127b65
RD
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 (arg1)->DrawSpline(arg2,arg3);
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
15201 {
15202 if (arg3) delete [] arg3;
15203 }
44127b65
RD
15204 return resultobj;
15205 fail:
a5ee0656
RD
15206 {
15207 if (arg3) delete [] arg3;
15208 }
44127b65
RD
15209 return NULL;
15210}
15211
15212
a95a7133 15213static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15214 PyObject *resultobj;
15215 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15216 wxString *arg2 = 0 ;
15217 wxPoint *arg3 = 0 ;
15218 bool temp2 = False ;
15219 wxPoint temp3 ;
15220 PyObject * obj0 = 0 ;
15221 PyObject * obj1 = 0 ;
15222 PyObject * obj2 = 0 ;
15223 char *kwnames[] = {
15224 (char *) "self",(char *) "text",(char *) "point", NULL
15225 };
15226
15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15230 {
15231 arg2 = wxString_in_helper(obj1);
15232 if (arg2 == NULL) SWIG_fail;
15233 temp2 = True;
15234 }
15235 {
15236 arg3 = &temp3;
15237 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15238 }
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 Py_INCREF(Py_None); resultobj = Py_None;
15247 {
15248 if (temp2)
15249 delete arg2;
15250 }
15251 return resultobj;
15252 fail:
15253 {
15254 if (temp2)
15255 delete arg2;
15256 }
15257 return NULL;
15258}
15259
15260
a95a7133 15261static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15262 PyObject *resultobj;
15263 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15264 int result;
15265 PyObject * obj0 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 result = (int)(arg1)->GetAngle();
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
2f4c0a16 15280 resultobj = SWIG_FromInt((int)result);
44127b65
RD
15281 return resultobj;
15282 fail:
15283 return NULL;
15284}
15285
15286
a95a7133 15287static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15288 PyObject *resultobj;
15289 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15290 wxPseudoMetaFile *result;
15291 PyObject * obj0 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 {
15302 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15303 result = (wxPseudoMetaFile *) &_result_ref;
15304 }
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
2f4c0a16 15309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
44127b65
RD
15310 return resultobj;
15311 fail:
15312 return NULL;
15313}
15314
15315
a95a7133 15316static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15317 PyObject *resultobj;
15318 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15319 double result;
15320 PyObject * obj0 = 0 ;
15321 char *kwnames[] = {
15322 (char *) "self", NULL
15323 };
15324
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 result = (double)(arg1)->GetRotation();
15331
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
2f4c0a16 15335 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
15336 return resultobj;
15337 fail:
15338 return NULL;
15339}
15340
15341
a95a7133 15342static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15343 PyObject *resultobj;
15344 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15345 wxString *arg2 = 0 ;
15346 bool result;
15347 bool temp2 = False ;
15348 PyObject * obj0 = 0 ;
15349 PyObject * obj1 = 0 ;
15350 char *kwnames[] = {
15351 (char *) "self",(char *) "filename", NULL
15352 };
15353
15354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15357 {
15358 arg2 = wxString_in_helper(obj1);
15359 if (arg2 == NULL) SWIG_fail;
15360 temp2 = True;
15361 }
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15365
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
fbc46b20
RD
15369 {
15370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15371 }
44127b65
RD
15372 {
15373 if (temp2)
15374 delete arg2;
15375 }
15376 return resultobj;
15377 fail:
15378 {
15379 if (temp2)
15380 delete arg2;
15381 }
15382 return NULL;
15383}
15384
15385
a95a7133 15386static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15387 PyObject *resultobj;
15388 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15389 double arg2 ;
15390 double arg3 ;
15391 double arg4 ;
15392 PyObject * obj0 = 0 ;
8edf1c75
RD
15393 PyObject * obj1 = 0 ;
15394 PyObject * obj2 = 0 ;
15395 PyObject * obj3 = 0 ;
44127b65
RD
15396 char *kwnames[] = {
15397 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15398 };
15399
8edf1c75 15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
15401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15403 arg2 = (double) SWIG_AsDouble(obj1);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 arg3 = (double) SWIG_AsDouble(obj2);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 arg4 = (double) SWIG_AsDouble(obj3);
15408 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 (arg1)->Rotate(arg2,arg3,arg4);
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 Py_INCREF(Py_None); resultobj = Py_None;
15417 return resultobj;
15418 fail:
15419 return NULL;
15420}
15421
15422
a95a7133 15423static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15424 PyObject *resultobj;
15425 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15426 wxRect *arg2 = 0 ;
15427 wxRect temp2 ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self",(char *) "rect", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15437 {
15438 arg2 = &temp2;
15439 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15440 }
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 (arg1)->SetClippingRect((wxRect const &)*arg2);
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 Py_INCREF(Py_None); resultobj = Py_None;
15449 return resultobj;
15450 fail:
15451 return NULL;
15452}
15453
15454
a95a7133 15455static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15456 PyObject *resultobj;
15457 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15458 wxColour *arg2 = 0 ;
15459 wxColour temp2 ;
15460 PyObject * obj0 = 0 ;
15461 PyObject * obj1 = 0 ;
15462 char *kwnames[] = {
15463 (char *) "self",(char *) "colour", NULL
15464 };
15465
15466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15469 {
15470 arg2 = &temp2;
15471 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15472 }
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
15475 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 Py_INCREF(Py_None); resultobj = Py_None;
15481 return resultobj;
15482 fail:
15483 return NULL;
15484}
15485
15486
a95a7133 15487static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15488 PyObject *resultobj;
15489 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15490 int arg2 ;
15491 PyObject * obj0 = 0 ;
8edf1c75 15492 PyObject * obj1 = 0 ;
44127b65
RD
15493 char *kwnames[] = {
15494 (char *) "self",(char *) "mode", NULL
15495 };
15496
8edf1c75 15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15500 arg2 = (int) SWIG_AsInt(obj1);
15501 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 (arg1)->SetDrawnBackgroundMode(arg2);
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 Py_INCREF(Py_None); resultobj = Py_None;
15510 return resultobj;
15511 fail:
15512 return NULL;
15513}
15514
15515
a95a7133 15516static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15517 PyObject *resultobj;
15518 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15519 wxBrush *arg2 = (wxBrush *) 0 ;
15520 bool arg3 = (bool) FALSE ;
15521 PyObject * obj0 = 0 ;
15522 PyObject * obj1 = 0 ;
15523 PyObject * obj2 = 0 ;
15524 char *kwnames[] = {
15525 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15526 };
15527
15528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15531 {
15532 wxBrush* temp;
15533 if (obj1) {
15534 if (obj1 == Py_None) {
15535 temp = NULL;
15536 }
15537 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15538 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15539 return NULL;
15540 }
15541 }
15542 if (temp)
15543 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15544 else
15545 arg2 = NULL;
15546 }
15547 if (obj2) {
2f4c0a16
RD
15548 arg3 = (bool) SWIG_AsBool(obj2);
15549 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15550 }
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 (arg1)->SetDrawnBrush(arg2,arg3);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 return resultobj;
15560 fail:
15561 return NULL;
15562}
15563
15564
a95a7133 15565static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15566 PyObject *resultobj;
15567 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15568 wxFont *arg2 = (wxFont *) 0 ;
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "self",(char *) "font", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15578 {
15579 wxFont* temp;
15580 if (obj1) {
15581 if (obj1 == Py_None) {
15582 temp = NULL;
15583 }
15584 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15585 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15586 return NULL;
15587 }
15588 }
15589 if (temp)
15590 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15591 temp->GetFamily(),
15592 temp->GetStyle(),
15593 temp->GetWeight(),
15594 temp->GetUnderlined(),
15595 temp->GetFaceName(),
15596 temp->GetEncoding());
15597 else
15598 arg2 = NULL;
15599 }
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 (arg1)->SetDrawnFont(arg2);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 Py_INCREF(Py_None); resultobj = Py_None;
15608 return resultobj;
15609 fail:
15610 return NULL;
15611}
15612
15613
a95a7133 15614static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15615 PyObject *resultobj;
15616 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15617 wxPen *arg2 = (wxPen *) 0 ;
15618 bool arg3 = (bool) FALSE ;
15619 PyObject * obj0 = 0 ;
15620 PyObject * obj1 = 0 ;
15621 PyObject * obj2 = 0 ;
15622 char *kwnames[] = {
15623 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15624 };
15625
15626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15629 {
15630 wxPen* temp;
15631 if (obj1) {
15632 if (obj1 == Py_None) {
15633 temp = NULL;
15634 }
15635 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15636 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15637 return NULL;
15638 }
15639 }
15640 if (temp)
15641 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15642 temp->GetWidth(),
15643 temp->GetStyle());
15644 else
15645 arg2 = NULL;
15646 }
15647 if (obj2) {
2f4c0a16
RD
15648 arg3 = (bool) SWIG_AsBool(obj2);
15649 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15650 }
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 (arg1)->SetDrawnPen(arg2,arg3);
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 Py_INCREF(Py_None); resultobj = Py_None;
15659 return resultobj;
15660 fail:
15661 return NULL;
15662}
15663
15664
a95a7133 15665static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15666 PyObject *resultobj;
15667 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15668 wxColour *arg2 = 0 ;
15669 wxColour temp2 ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 char *kwnames[] = {
15673 (char *) "self",(char *) "colour", NULL
15674 };
15675
15676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15679 {
15680 arg2 = &temp2;
15681 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15682 }
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 Py_INCREF(Py_None); resultobj = Py_None;
15691 return resultobj;
15692 fail:
15693 return NULL;
15694}
15695
15696
a95a7133 15697static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15698 PyObject *resultobj;
15699 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15700 double arg2 ;
15701 double arg3 ;
15702 PyObject * obj0 = 0 ;
8edf1c75
RD
15703 PyObject * obj1 = 0 ;
15704 PyObject * obj2 = 0 ;
44127b65
RD
15705 char *kwnames[] = {
15706 (char *) "self",(char *) "sx",(char *) "sy", NULL
15707 };
15708
8edf1c75 15709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15712 arg2 = (double) SWIG_AsDouble(obj1);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 arg3 = (double) SWIG_AsDouble(obj2);
15715 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 (arg1)->Scale(arg2,arg3);
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 Py_INCREF(Py_None); resultobj = Py_None;
15724 return resultobj;
15725 fail:
15726 return NULL;
15727}
15728
15729
a95a7133 15730static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15731 PyObject *resultobj;
15732 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15733 bool arg2 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "self",(char *) "save", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15743 arg2 = (bool) SWIG_AsBool(obj1);
15744 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 (arg1)->SetSaveToFile(arg2);
15748
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 Py_INCREF(Py_None); resultobj = Py_None;
15753 return resultobj;
15754 fail:
15755 return NULL;
15756}
15757
15758
a95a7133 15759static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15760 PyObject *resultobj;
15761 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15762 double arg2 ;
15763 double arg3 ;
15764 PyObject * obj0 = 0 ;
8edf1c75
RD
15765 PyObject * obj1 = 0 ;
15766 PyObject * obj2 = 0 ;
44127b65
RD
15767 char *kwnames[] = {
15768 (char *) "self",(char *) "x",(char *) "y", NULL
15769 };
15770
8edf1c75 15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15774 arg2 = (double) SWIG_AsDouble(obj1);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 arg3 = (double) SWIG_AsDouble(obj2);
15777 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 (arg1)->Translate(arg2,arg3);
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 Py_INCREF(Py_None); resultobj = Py_None;
15786 return resultobj;
15787 fail:
15788 return NULL;
15789}
15790
15791
a95a7133 15792static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15793 PyObject *resultobj;
15794 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15795 PyObject * obj0 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self", NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 (arg1)->base_OnDelete();
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
a95a7133 15817static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15818 PyObject *resultobj;
15819 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15820 wxDC *arg2 = 0 ;
15821 PyObject * obj0 = 0 ;
15822 PyObject * obj1 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self",(char *) "dc", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",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;
15830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15831 SWIG_POINTER_EXCEPTION | 0)) == -1)
15832 SWIG_fail;
44127b65 15833 if (arg2 == NULL) {
2f4c0a16
RD
15834 PyErr_SetString(PyExc_TypeError,"null reference");
15835 SWIG_fail;
44127b65
RD
15836 }
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 (arg1)->base_OnDraw(*arg2);
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 Py_INCREF(Py_None); resultobj = Py_None;
15845 return resultobj;
15846 fail:
15847 return NULL;
15848}
15849
15850
a95a7133 15851static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15852 PyObject *resultobj;
15853 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15854 wxDC *arg2 = 0 ;
15855 PyObject * obj0 = 0 ;
15856 PyObject * obj1 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self",(char *) "dc", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15865 SWIG_POINTER_EXCEPTION | 0)) == -1)
15866 SWIG_fail;
44127b65 15867 if (arg2 == NULL) {
2f4c0a16
RD
15868 PyErr_SetString(PyExc_TypeError,"null reference");
15869 SWIG_fail;
44127b65
RD
15870 }
15871 {
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 (arg1)->base_OnDrawContents(*arg2);
15874
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 Py_INCREF(Py_None); resultobj = Py_None;
15879 return resultobj;
15880 fail:
15881 return NULL;
15882}
15883
15884
a95a7133 15885static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15886 PyObject *resultobj;
15887 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15888 wxDC *arg2 = 0 ;
15889 bool arg3 = (bool) FALSE ;
15890 PyObject * obj0 = 0 ;
15891 PyObject * obj1 = 0 ;
15892 PyObject * obj2 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "self",(char *) "dc",(char *) "erase", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15901 SWIG_POINTER_EXCEPTION | 0)) == -1)
15902 SWIG_fail;
44127b65 15903 if (arg2 == NULL) {
2f4c0a16
RD
15904 PyErr_SetString(PyExc_TypeError,"null reference");
15905 SWIG_fail;
44127b65
RD
15906 }
15907 if (obj2) {
2f4c0a16
RD
15908 arg3 = (bool) SWIG_AsBool(obj2);
15909 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
15910 }
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 (arg1)->base_OnDrawBranches(*arg2,arg3);
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 Py_INCREF(Py_None); resultobj = Py_None;
15919 return resultobj;
15920 fail:
15921 return NULL;
15922}
15923
15924
a95a7133 15925static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15926 PyObject *resultobj;
15927 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15928 wxDC *arg2 = 0 ;
15929 PyObject * obj0 = 0 ;
15930 PyObject * obj1 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self",(char *) "dc", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15939 SWIG_POINTER_EXCEPTION | 0)) == -1)
15940 SWIG_fail;
44127b65 15941 if (arg2 == NULL) {
2f4c0a16
RD
15942 PyErr_SetString(PyExc_TypeError,"null reference");
15943 SWIG_fail;
44127b65
RD
15944 }
15945 {
15946 PyThreadState* __tstate = wxPyBeginAllowThreads();
15947 (arg1)->base_OnMoveLinks(*arg2);
15948
15949 wxPyEndAllowThreads(__tstate);
15950 if (PyErr_Occurred()) SWIG_fail;
15951 }
15952 Py_INCREF(Py_None); resultobj = Py_None;
15953 return resultobj;
15954 fail:
15955 return NULL;
15956}
15957
15958
a95a7133 15959static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15960 PyObject *resultobj;
15961 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15962 wxDC *arg2 = 0 ;
15963 PyObject * obj0 = 0 ;
15964 PyObject * obj1 = 0 ;
15965 char *kwnames[] = {
15966 (char *) "self",(char *) "dc", NULL
15967 };
15968
15969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
15971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
15973 SWIG_POINTER_EXCEPTION | 0)) == -1)
15974 SWIG_fail;
44127b65 15975 if (arg2 == NULL) {
2f4c0a16
RD
15976 PyErr_SetString(PyExc_TypeError,"null reference");
15977 SWIG_fail;
44127b65
RD
15978 }
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 (arg1)->base_OnErase(*arg2);
15982
15983 wxPyEndAllowThreads(__tstate);
15984 if (PyErr_Occurred()) SWIG_fail;
15985 }
15986 Py_INCREF(Py_None); resultobj = Py_None;
15987 return resultobj;
15988 fail:
15989 return NULL;
15990}
15991
15992
a95a7133 15993static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
15994 PyObject *resultobj;
15995 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15996 wxDC *arg2 = 0 ;
15997 PyObject * obj0 = 0 ;
15998 PyObject * obj1 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "self",(char *) "dc", NULL
16001 };
16002
16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16007 SWIG_POINTER_EXCEPTION | 0)) == -1)
16008 SWIG_fail;
44127b65 16009 if (arg2 == NULL) {
2f4c0a16
RD
16010 PyErr_SetString(PyExc_TypeError,"null reference");
16011 SWIG_fail;
44127b65
RD
16012 }
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 (arg1)->base_OnEraseContents(*arg2);
16016
16017 wxPyEndAllowThreads(__tstate);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
16020 Py_INCREF(Py_None); resultobj = Py_None;
16021 return resultobj;
16022 fail:
16023 return NULL;
16024}
16025
16026
a95a7133 16027static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16028 PyObject *resultobj;
16029 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16030 wxDC *arg2 = 0 ;
16031 PyObject * obj0 = 0 ;
16032 PyObject * obj1 = 0 ;
16033 char *kwnames[] = {
16034 (char *) "self",(char *) "dc", NULL
16035 };
16036
16037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16041 SWIG_POINTER_EXCEPTION | 0)) == -1)
16042 SWIG_fail;
44127b65 16043 if (arg2 == NULL) {
2f4c0a16
RD
16044 PyErr_SetString(PyExc_TypeError,"null reference");
16045 SWIG_fail;
44127b65
RD
16046 }
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 (arg1)->base_OnHighlight(*arg2);
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 Py_INCREF(Py_None); resultobj = Py_None;
16055 return resultobj;
16056 fail:
16057 return NULL;
16058}
16059
16060
a95a7133 16061static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16062 PyObject *resultobj;
16063 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16064 double arg2 ;
16065 double arg3 ;
16066 int arg4 = (int) 0 ;
16067 int arg5 = (int) 0 ;
16068 PyObject * obj0 = 0 ;
8edf1c75
RD
16069 PyObject * obj1 = 0 ;
16070 PyObject * obj2 = 0 ;
16071 PyObject * obj3 = 0 ;
16072 PyObject * obj4 = 0 ;
44127b65
RD
16073 char *kwnames[] = {
16074 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16075 };
16076
8edf1c75 16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16080 arg2 = (double) SWIG_AsDouble(obj1);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 arg3 = (double) SWIG_AsDouble(obj2);
16083 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16084 if (obj3) {
2f4c0a16
RD
16085 arg4 = (int) SWIG_AsInt(obj3);
16086 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16087 }
16088 if (obj4) {
2f4c0a16
RD
16089 arg5 = (int) SWIG_AsInt(obj4);
16090 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16091 }
44127b65
RD
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16095
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 Py_INCREF(Py_None); resultobj = Py_None;
16100 return resultobj;
16101 fail:
16102 return NULL;
16103}
16104
16105
a95a7133 16106static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16107 PyObject *resultobj;
16108 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16109 double arg2 ;
16110 double arg3 ;
16111 int arg4 = (int) 0 ;
16112 int arg5 = (int) 0 ;
16113 PyObject * obj0 = 0 ;
8edf1c75
RD
16114 PyObject * obj1 = 0 ;
16115 PyObject * obj2 = 0 ;
16116 PyObject * obj3 = 0 ;
16117 PyObject * obj4 = 0 ;
44127b65
RD
16118 char *kwnames[] = {
16119 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16120 };
16121
8edf1c75 16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16125 arg2 = (double) SWIG_AsDouble(obj1);
16126 if (PyErr_Occurred()) SWIG_fail;
16127 arg3 = (double) SWIG_AsDouble(obj2);
16128 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16129 if (obj3) {
2f4c0a16
RD
16130 arg4 = (int) SWIG_AsInt(obj3);
16131 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16132 }
16133 if (obj4) {
2f4c0a16
RD
16134 arg5 = (int) SWIG_AsInt(obj4);
16135 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16136 }
44127b65
RD
16137 {
16138 PyThreadState* __tstate = wxPyBeginAllowThreads();
16139 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
16144 Py_INCREF(Py_None); resultobj = Py_None;
16145 return resultobj;
16146 fail:
16147 return NULL;
16148}
16149
16150
a95a7133 16151static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16152 PyObject *resultobj;
16153 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16154 double arg2 ;
16155 double arg3 ;
16156 int arg4 = (int) 0 ;
16157 int arg5 = (int) 0 ;
16158 PyObject * obj0 = 0 ;
8edf1c75
RD
16159 PyObject * obj1 = 0 ;
16160 PyObject * obj2 = 0 ;
16161 PyObject * obj3 = 0 ;
16162 PyObject * obj4 = 0 ;
44127b65
RD
16163 char *kwnames[] = {
16164 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16165 };
16166
8edf1c75 16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16170 arg2 = (double) SWIG_AsDouble(obj1);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 arg3 = (double) SWIG_AsDouble(obj2);
16173 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16174 if (obj3) {
2f4c0a16
RD
16175 arg4 = (int) SWIG_AsInt(obj3);
16176 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16177 }
16178 if (obj4) {
2f4c0a16
RD
16179 arg5 = (int) SWIG_AsInt(obj4);
16180 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16181 }
44127b65
RD
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 Py_INCREF(Py_None); resultobj = Py_None;
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
a95a7133 16196static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16197 PyObject *resultobj;
16198 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16199 double arg2 ;
16200 double arg3 ;
16201 PyObject * obj0 = 0 ;
8edf1c75
RD
16202 PyObject * obj1 = 0 ;
16203 PyObject * obj2 = 0 ;
44127b65
RD
16204 char *kwnames[] = {
16205 (char *) "self",(char *) "x",(char *) "y", NULL
16206 };
16207
8edf1c75 16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16211 arg2 = (double) SWIG_AsDouble(obj1);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 arg3 = (double) SWIG_AsDouble(obj2);
16214 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16215 {
16216 PyThreadState* __tstate = wxPyBeginAllowThreads();
16217 (arg1)->base_OnSize(arg2,arg3);
16218
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 Py_INCREF(Py_None); resultobj = Py_None;
16223 return resultobj;
16224 fail:
16225 return NULL;
16226}
16227
16228
a95a7133 16229static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16230 PyObject *resultobj;
16231 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16232 wxDC *arg2 = 0 ;
16233 double arg3 ;
16234 double arg4 ;
16235 double arg5 ;
16236 double arg6 ;
16237 bool arg7 = (bool) True ;
16238 bool result;
16239 PyObject * obj0 = 0 ;
16240 PyObject * obj1 = 0 ;
8edf1c75
RD
16241 PyObject * obj2 = 0 ;
16242 PyObject * obj3 = 0 ;
16243 PyObject * obj4 = 0 ;
16244 PyObject * obj5 = 0 ;
44127b65
RD
16245 PyObject * obj6 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16248 };
16249
8edf1c75 16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16254 SWIG_POINTER_EXCEPTION | 0)) == -1)
16255 SWIG_fail;
44127b65 16256 if (arg2 == NULL) {
2f4c0a16
RD
16257 PyErr_SetString(PyExc_TypeError,"null reference");
16258 SWIG_fail;
16259 }
16260 arg3 = (double) SWIG_AsDouble(obj2);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 arg4 = (double) SWIG_AsDouble(obj3);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 arg5 = (double) SWIG_AsDouble(obj4);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 arg6 = (double) SWIG_AsDouble(obj5);
16267 if (PyErr_Occurred()) SWIG_fail;
44127b65 16268 if (obj6) {
2f4c0a16
RD
16269 arg7 = (bool) SWIG_AsBool(obj6);
16270 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16271 }
16272 {
16273 PyThreadState* __tstate = wxPyBeginAllowThreads();
16274 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16275
16276 wxPyEndAllowThreads(__tstate);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
fbc46b20
RD
16279 {
16280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16281 }
44127b65
RD
16282 return resultobj;
16283 fail:
16284 return NULL;
16285}
16286
16287
a95a7133 16288static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16289 PyObject *resultobj;
16290 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16291 wxDC *arg2 = 0 ;
16292 double arg3 ;
16293 double arg4 ;
16294 double arg5 ;
16295 double arg6 ;
16296 bool arg7 = (bool) True ;
16297 PyObject * obj0 = 0 ;
16298 PyObject * obj1 = 0 ;
8edf1c75
RD
16299 PyObject * obj2 = 0 ;
16300 PyObject * obj3 = 0 ;
16301 PyObject * obj4 = 0 ;
16302 PyObject * obj5 = 0 ;
44127b65
RD
16303 PyObject * obj6 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16306 };
16307
8edf1c75 16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16312 SWIG_POINTER_EXCEPTION | 0)) == -1)
16313 SWIG_fail;
44127b65 16314 if (arg2 == NULL) {
2f4c0a16
RD
16315 PyErr_SetString(PyExc_TypeError,"null reference");
16316 SWIG_fail;
16317 }
16318 arg3 = (double) SWIG_AsDouble(obj2);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 arg4 = (double) SWIG_AsDouble(obj3);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 arg5 = (double) SWIG_AsDouble(obj4);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 arg6 = (double) SWIG_AsDouble(obj5);
16325 if (PyErr_Occurred()) SWIG_fail;
44127b65 16326 if (obj6) {
2f4c0a16
RD
16327 arg7 = (bool) SWIG_AsBool(obj6);
16328 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16329 }
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 Py_INCREF(Py_None); resultobj = Py_None;
16338 return resultobj;
16339 fail:
16340 return NULL;
16341}
16342
16343
a95a7133 16344static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16345 PyObject *resultobj;
16346 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16347 bool arg2 ;
16348 double arg3 ;
16349 double arg4 ;
16350 int arg5 = (int) 0 ;
16351 int arg6 = (int) 0 ;
16352 PyObject * obj0 = 0 ;
16353 PyObject * obj1 = 0 ;
8edf1c75
RD
16354 PyObject * obj2 = 0 ;
16355 PyObject * obj3 = 0 ;
16356 PyObject * obj4 = 0 ;
16357 PyObject * obj5 = 0 ;
44127b65
RD
16358 char *kwnames[] = {
16359 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16360 };
16361
8edf1c75 16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16365 arg2 = (bool) SWIG_AsBool(obj1);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 arg3 = (double) SWIG_AsDouble(obj2);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 arg4 = (double) SWIG_AsDouble(obj3);
16370 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16371 if (obj4) {
2f4c0a16
RD
16372 arg5 = (int) SWIG_AsInt(obj4);
16373 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16374 }
16375 if (obj5) {
2f4c0a16
RD
16376 arg6 = (int) SWIG_AsInt(obj5);
16377 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16378 }
44127b65
RD
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16382
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 Py_INCREF(Py_None); resultobj = Py_None;
16387 return resultobj;
16388 fail:
16389 return NULL;
16390}
16391
16392
a95a7133 16393static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16394 PyObject *resultobj;
16395 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16396 double arg2 ;
16397 double arg3 ;
16398 int arg4 = (int) 0 ;
16399 int arg5 = (int) 0 ;
16400 PyObject * obj0 = 0 ;
8edf1c75
RD
16401 PyObject * obj1 = 0 ;
16402 PyObject * obj2 = 0 ;
16403 PyObject * obj3 = 0 ;
16404 PyObject * obj4 = 0 ;
44127b65
RD
16405 char *kwnames[] = {
16406 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16407 };
16408
8edf1c75 16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16412 arg2 = (double) SWIG_AsDouble(obj1);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 arg3 = (double) SWIG_AsDouble(obj2);
16415 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16416 if (obj3) {
2f4c0a16
RD
16417 arg4 = (int) SWIG_AsInt(obj3);
16418 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16419 }
16420 if (obj4) {
2f4c0a16
RD
16421 arg5 = (int) SWIG_AsInt(obj4);
16422 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16423 }
44127b65
RD
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 Py_INCREF(Py_None); resultobj = Py_None;
16432 return resultobj;
16433 fail:
16434 return NULL;
16435}
16436
16437
a95a7133 16438static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16439 PyObject *resultobj;
16440 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16441 double arg2 ;
16442 double arg3 ;
16443 int arg4 = (int) 0 ;
16444 int arg5 = (int) 0 ;
16445 PyObject * obj0 = 0 ;
8edf1c75
RD
16446 PyObject * obj1 = 0 ;
16447 PyObject * obj2 = 0 ;
16448 PyObject * obj3 = 0 ;
16449 PyObject * obj4 = 0 ;
44127b65
RD
16450 char *kwnames[] = {
16451 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16452 };
16453
8edf1c75 16454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16457 arg2 = (double) SWIG_AsDouble(obj1);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 arg3 = (double) SWIG_AsDouble(obj2);
16460 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16461 if (obj3) {
2f4c0a16
RD
16462 arg4 = (int) SWIG_AsInt(obj3);
16463 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16464 }
16465 if (obj4) {
2f4c0a16
RD
16466 arg5 = (int) SWIG_AsInt(obj4);
16467 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16468 }
44127b65
RD
16469 {
16470 PyThreadState* __tstate = wxPyBeginAllowThreads();
16471 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16472
16473 wxPyEndAllowThreads(__tstate);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 Py_INCREF(Py_None); resultobj = Py_None;
16477 return resultobj;
16478 fail:
16479 return NULL;
16480}
16481
16482
a95a7133 16483static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16484 PyObject *resultobj;
16485 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16486 bool arg2 ;
16487 double arg3 ;
16488 double arg4 ;
16489 int arg5 = (int) 0 ;
16490 int arg6 = (int) 0 ;
16491 PyObject * obj0 = 0 ;
16492 PyObject * obj1 = 0 ;
8edf1c75
RD
16493 PyObject * obj2 = 0 ;
16494 PyObject * obj3 = 0 ;
16495 PyObject * obj4 = 0 ;
16496 PyObject * obj5 = 0 ;
44127b65
RD
16497 char *kwnames[] = {
16498 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16499 };
16500
8edf1c75 16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16504 arg2 = (bool) SWIG_AsBool(obj1);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 arg3 = (double) SWIG_AsDouble(obj2);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 arg4 = (double) SWIG_AsDouble(obj3);
16509 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16510 if (obj4) {
2f4c0a16
RD
16511 arg5 = (int) SWIG_AsInt(obj4);
16512 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16513 }
16514 if (obj5) {
2f4c0a16
RD
16515 arg6 = (int) SWIG_AsInt(obj5);
16516 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16517 }
44127b65
RD
16518 {
16519 PyThreadState* __tstate = wxPyBeginAllowThreads();
16520 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16521
16522 wxPyEndAllowThreads(__tstate);
16523 if (PyErr_Occurred()) SWIG_fail;
16524 }
16525 Py_INCREF(Py_None); resultobj = Py_None;
16526 return resultobj;
16527 fail:
16528 return NULL;
16529}
16530
16531
a95a7133 16532static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16533 PyObject *resultobj;
16534 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16535 double arg2 ;
16536 double arg3 ;
16537 int arg4 = (int) 0 ;
16538 int arg5 = (int) 0 ;
16539 PyObject * obj0 = 0 ;
8edf1c75
RD
16540 PyObject * obj1 = 0 ;
16541 PyObject * obj2 = 0 ;
16542 PyObject * obj3 = 0 ;
16543 PyObject * obj4 = 0 ;
44127b65
RD
16544 char *kwnames[] = {
16545 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16546 };
16547
8edf1c75 16548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16551 arg2 = (double) SWIG_AsDouble(obj1);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 arg3 = (double) SWIG_AsDouble(obj2);
16554 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16555 if (obj3) {
2f4c0a16
RD
16556 arg4 = (int) SWIG_AsInt(obj3);
16557 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16558 }
16559 if (obj4) {
2f4c0a16
RD
16560 arg5 = (int) SWIG_AsInt(obj4);
16561 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16562 }
44127b65
RD
16563 {
16564 PyThreadState* __tstate = wxPyBeginAllowThreads();
16565 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16566
16567 wxPyEndAllowThreads(__tstate);
16568 if (PyErr_Occurred()) SWIG_fail;
16569 }
16570 Py_INCREF(Py_None); resultobj = Py_None;
16571 return resultobj;
16572 fail:
16573 return NULL;
16574}
16575
16576
a95a7133 16577static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16578 PyObject *resultobj;
16579 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16580 double arg2 ;
16581 double arg3 ;
16582 int arg4 = (int) 0 ;
16583 int arg5 = (int) 0 ;
16584 PyObject * obj0 = 0 ;
8edf1c75
RD
16585 PyObject * obj1 = 0 ;
16586 PyObject * obj2 = 0 ;
16587 PyObject * obj3 = 0 ;
16588 PyObject * obj4 = 0 ;
44127b65
RD
16589 char *kwnames[] = {
16590 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16591 };
16592
8edf1c75 16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
16594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16596 arg2 = (double) SWIG_AsDouble(obj1);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 arg3 = (double) SWIG_AsDouble(obj2);
16599 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16600 if (obj3) {
2f4c0a16
RD
16601 arg4 = (int) SWIG_AsInt(obj3);
16602 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16603 }
16604 if (obj4) {
2f4c0a16
RD
16605 arg5 = (int) SWIG_AsInt(obj4);
16606 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16607 }
44127b65
RD
16608 {
16609 PyThreadState* __tstate = wxPyBeginAllowThreads();
16610 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16611
16612 wxPyEndAllowThreads(__tstate);
16613 if (PyErr_Occurred()) SWIG_fail;
16614 }
16615 Py_INCREF(Py_None); resultobj = Py_None;
16616 return resultobj;
16617 fail:
16618 return NULL;
16619}
16620
16621
a95a7133 16622static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16623 PyObject *resultobj;
16624 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16625 wxDC *arg2 = 0 ;
16626 double arg3 ;
16627 double arg4 ;
16628 double arg5 ;
16629 double arg6 ;
16630 PyObject * obj0 = 0 ;
16631 PyObject * obj1 = 0 ;
8edf1c75
RD
16632 PyObject * obj2 = 0 ;
16633 PyObject * obj3 = 0 ;
16634 PyObject * obj4 = 0 ;
16635 PyObject * obj5 = 0 ;
44127b65
RD
16636 char *kwnames[] = {
16637 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16638 };
16639
8edf1c75 16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16644 SWIG_POINTER_EXCEPTION | 0)) == -1)
16645 SWIG_fail;
44127b65 16646 if (arg2 == NULL) {
2f4c0a16
RD
16647 PyErr_SetString(PyExc_TypeError,"null reference");
16648 SWIG_fail;
8edf1c75 16649 }
2f4c0a16
RD
16650 arg3 = (double) SWIG_AsDouble(obj2);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 arg4 = (double) SWIG_AsDouble(obj3);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 arg5 = (double) SWIG_AsDouble(obj4);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 arg6 = (double) SWIG_AsDouble(obj5);
16657 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16658 {
16659 PyThreadState* __tstate = wxPyBeginAllowThreads();
16660 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16661
16662 wxPyEndAllowThreads(__tstate);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 }
16665 Py_INCREF(Py_None); resultobj = Py_None;
16666 return resultobj;
16667 fail:
16668 return NULL;
16669}
16670
16671
a95a7133 16672static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16673 PyObject *resultobj;
16674 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16675 wxDC *arg2 = 0 ;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 char *kwnames[] = {
16679 (char *) "self",(char *) "dc", NULL
16680 };
16681
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16686 SWIG_POINTER_EXCEPTION | 0)) == -1)
16687 SWIG_fail;
44127b65 16688 if (arg2 == NULL) {
2f4c0a16
RD
16689 PyErr_SetString(PyExc_TypeError,"null reference");
16690 SWIG_fail;
44127b65
RD
16691 }
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 (arg1)->base_OnDrawControlPoints(*arg2);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 Py_INCREF(Py_None); resultobj = Py_None;
16700 return resultobj;
16701 fail:
16702 return NULL;
16703}
16704
16705
a95a7133 16706static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16707 PyObject *resultobj;
16708 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16709 wxDC *arg2 = 0 ;
16710 PyObject * obj0 = 0 ;
16711 PyObject * obj1 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self",(char *) "dc", NULL
16714 };
16715
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16720 SWIG_POINTER_EXCEPTION | 0)) == -1)
16721 SWIG_fail;
44127b65 16722 if (arg2 == NULL) {
2f4c0a16
RD
16723 PyErr_SetString(PyExc_TypeError,"null reference");
16724 SWIG_fail;
44127b65
RD
16725 }
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 (arg1)->base_OnEraseControlPoints(*arg2);
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 Py_INCREF(Py_None); resultobj = Py_None;
16734 return resultobj;
16735 fail:
16736 return NULL;
16737}
16738
16739
a95a7133 16740static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16741 PyObject *resultobj;
16742 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16743 wxDC *arg2 = 0 ;
16744 bool arg3 = (bool) True ;
16745 PyObject * obj0 = 0 ;
16746 PyObject * obj1 = 0 ;
16747 PyObject * obj2 = 0 ;
16748 char *kwnames[] = {
16749 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16750 };
16751
16752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16756 SWIG_POINTER_EXCEPTION | 0)) == -1)
16757 SWIG_fail;
44127b65 16758 if (arg2 == NULL) {
2f4c0a16
RD
16759 PyErr_SetString(PyExc_TypeError,"null reference");
16760 SWIG_fail;
44127b65
RD
16761 }
16762 if (obj2) {
2f4c0a16
RD
16763 arg3 = (bool) SWIG_AsBool(obj2);
16764 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16765 }
16766 {
16767 PyThreadState* __tstate = wxPyBeginAllowThreads();
16768 (arg1)->base_OnMoveLink(*arg2,arg3);
16769
16770 wxPyEndAllowThreads(__tstate);
16771 if (PyErr_Occurred()) SWIG_fail;
16772 }
16773 Py_INCREF(Py_None); resultobj = Py_None;
16774 return resultobj;
16775 fail:
16776 return NULL;
16777}
16778
16779
a95a7133 16780static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16781 PyObject *resultobj;
16782 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16783 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16784 bool arg3 ;
16785 double arg4 ;
16786 double arg5 ;
16787 int arg6 = (int) 0 ;
16788 int arg7 = (int) 0 ;
16789 PyObject * obj0 = 0 ;
16790 PyObject * obj1 = 0 ;
16791 PyObject * obj2 = 0 ;
8edf1c75
RD
16792 PyObject * obj3 = 0 ;
16793 PyObject * obj4 = 0 ;
16794 PyObject * obj5 = 0 ;
16795 PyObject * obj6 = 0 ;
44127b65
RD
16796 char *kwnames[] = {
16797 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16798 };
16799
8edf1c75 16800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16805 arg3 = (bool) SWIG_AsBool(obj2);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 arg4 = (double) SWIG_AsDouble(obj3);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 arg5 = (double) SWIG_AsDouble(obj4);
16810 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16811 if (obj5) {
2f4c0a16
RD
16812 arg6 = (int) SWIG_AsInt(obj5);
16813 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16814 }
16815 if (obj6) {
2f4c0a16
RD
16816 arg7 = (int) SWIG_AsInt(obj6);
16817 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16818 }
44127b65
RD
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 Py_INCREF(Py_None); resultobj = Py_None;
16827 return resultobj;
16828 fail:
16829 return NULL;
16830}
16831
16832
a95a7133 16833static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16834 PyObject *resultobj;
16835 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16836 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16837 double arg3 ;
16838 double arg4 ;
16839 int arg5 = (int) 0 ;
16840 int arg6 = (int) 0 ;
16841 PyObject * obj0 = 0 ;
16842 PyObject * obj1 = 0 ;
8edf1c75
RD
16843 PyObject * obj2 = 0 ;
16844 PyObject * obj3 = 0 ;
16845 PyObject * obj4 = 0 ;
16846 PyObject * obj5 = 0 ;
44127b65
RD
16847 char *kwnames[] = {
16848 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16849 };
16850
8edf1c75 16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16856 arg3 = (double) SWIG_AsDouble(obj2);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 arg4 = (double) SWIG_AsDouble(obj3);
16859 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16860 if (obj4) {
2f4c0a16
RD
16861 arg5 = (int) SWIG_AsInt(obj4);
16862 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16863 }
16864 if (obj5) {
2f4c0a16
RD
16865 arg6 = (int) SWIG_AsInt(obj5);
16866 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16867 }
44127b65
RD
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 Py_INCREF(Py_None); resultobj = Py_None;
16876 return resultobj;
16877 fail:
16878 return NULL;
16879}
16880
16881
a95a7133 16882static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16883 PyObject *resultobj;
16884 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16885 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16886 double arg3 ;
16887 double arg4 ;
16888 int arg5 = (int) 0 ;
16889 int arg6 = (int) 0 ;
16890 PyObject * obj0 = 0 ;
16891 PyObject * obj1 = 0 ;
8edf1c75
RD
16892 PyObject * obj2 = 0 ;
16893 PyObject * obj3 = 0 ;
16894 PyObject * obj4 = 0 ;
16895 PyObject * obj5 = 0 ;
44127b65
RD
16896 char *kwnames[] = {
16897 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16898 };
16899
8edf1c75 16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
16901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
16904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16905 arg3 = (double) SWIG_AsDouble(obj2);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 arg4 = (double) SWIG_AsDouble(obj3);
16908 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16909 if (obj4) {
2f4c0a16
RD
16910 arg5 = (int) SWIG_AsInt(obj4);
16911 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16912 }
16913 if (obj5) {
2f4c0a16
RD
16914 arg6 = (int) SWIG_AsInt(obj5);
16915 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16916 }
44127b65
RD
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16920
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 Py_INCREF(Py_None); resultobj = Py_None;
16925 return resultobj;
16926 fail:
16927 return NULL;
16928}
16929
16930
a95a7133 16931static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16932 PyObject *resultobj;
16933 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16934 double arg2 ;
16935 double arg3 ;
16936 PyObject * obj0 = 0 ;
8edf1c75
RD
16937 PyObject * obj1 = 0 ;
16938 PyObject * obj2 = 0 ;
44127b65
RD
16939 char *kwnames[] = {
16940 (char *) "self",(char *) "w",(char *) "h", NULL
16941 };
16942
8edf1c75 16943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16946 arg2 = (double) SWIG_AsDouble(obj1);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 arg3 = (double) SWIG_AsDouble(obj2);
16949 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 (arg1)->base_OnBeginSize(arg2,arg3);
16953
16954 wxPyEndAllowThreads(__tstate);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 Py_INCREF(Py_None); resultobj = Py_None;
16958 return resultobj;
16959 fail:
16960 return NULL;
16961}
16962
16963
a95a7133 16964static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
16965 PyObject *resultobj;
16966 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16967 double arg2 ;
16968 double arg3 ;
16969 PyObject * obj0 = 0 ;
8edf1c75
RD
16970 PyObject * obj1 = 0 ;
16971 PyObject * obj2 = 0 ;
44127b65
RD
16972 char *kwnames[] = {
16973 (char *) "self",(char *) "w",(char *) "h", NULL
16974 };
16975
8edf1c75 16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDrawnShape,
16978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16979 arg2 = (double) SWIG_AsDouble(obj1);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 arg3 = (double) SWIG_AsDouble(obj2);
16982 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 (arg1)->base_OnEndSize(arg2,arg3);
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 Py_INCREF(Py_None); resultobj = Py_None;
16991 return resultobj;
16992 fail:
16993 return NULL;
16994}
16995
16996
a95a7133 16997static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
16998 PyObject *obj;
16999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17000 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
17001 Py_INCREF(obj);
17002 return Py_BuildValue((char *)"");
17003}
a95a7133 17004static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17005 PyObject *resultobj;
17006 int arg1 ;
17007 wxPyShape *arg2 = (wxPyShape *) 0 ;
17008 PyObject *arg3 = (PyObject *) 0 ;
17009 wxOGLConstraint *result;
8edf1c75 17010 PyObject * obj0 = 0 ;
44127b65
RD
17011 PyObject * obj1 = 0 ;
17012 PyObject * obj2 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17015 };
17016
8edf1c75 17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17018 arg1 = (int) SWIG_AsInt(obj0);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17022 arg3 = obj2;
17023 {
17024 PyThreadState* __tstate = wxPyBeginAllowThreads();
17025 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
17026
17027 wxPyEndAllowThreads(__tstate);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 }
17030 {
412d302d 17031 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
17032 }
17033 return resultobj;
17034 fail:
17035 return NULL;
17036}
17037
17038
a95a7133 17039static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17040 PyObject *resultobj;
17041 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17042 bool result;
17043 PyObject * obj0 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17051 {
17052 PyThreadState* __tstate = wxPyBeginAllowThreads();
17053 result = (bool)(arg1)->Evaluate();
17054
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
fbc46b20
RD
17058 {
17059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17060 }
44127b65
RD
17061 return resultobj;
17062 fail:
17063 return NULL;
17064}
17065
17066
a95a7133 17067static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17068 PyObject *resultobj;
17069 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17070 double arg2 ;
17071 double arg3 ;
17072 PyObject * obj0 = 0 ;
8edf1c75
RD
17073 PyObject * obj1 = 0 ;
17074 PyObject * obj2 = 0 ;
44127b65
RD
17075 char *kwnames[] = {
17076 (char *) "self",(char *) "x",(char *) "y", NULL
17077 };
17078
8edf1c75 17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17082 arg2 = (double) SWIG_AsDouble(obj1);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 arg3 = (double) SWIG_AsDouble(obj2);
17085 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 (arg1)->SetSpacing(arg2,arg3);
17089
17090 wxPyEndAllowThreads(__tstate);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 Py_INCREF(Py_None); resultobj = Py_None;
17094 return resultobj;
17095 fail:
17096 return NULL;
17097}
17098
17099
a95a7133 17100static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17101 PyObject *resultobj;
17102 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17103 double arg2 ;
17104 double arg3 ;
17105 bool result;
17106 PyObject * obj0 = 0 ;
8edf1c75
RD
17107 PyObject * obj1 = 0 ;
17108 PyObject * obj2 = 0 ;
44127b65
RD
17109 char *kwnames[] = {
17110 (char *) "self",(char *) "a",(char *) "b", NULL
17111 };
17112
8edf1c75 17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOGLConstraint,
17115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17116 arg2 = (double) SWIG_AsDouble(obj1);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 arg3 = (double) SWIG_AsDouble(obj2);
17119 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 result = (bool)(arg1)->Equals(arg2,arg3);
17123
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
fbc46b20
RD
17127 {
17128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17129 }
44127b65
RD
17130 return resultobj;
17131 fail:
17132 return NULL;
17133}
17134
17135
a95a7133 17136static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
17137 PyObject *obj;
17138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17139 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17140 Py_INCREF(obj);
17141 return Py_BuildValue((char *)"");
17142}
a95a7133 17143static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17144 PyObject *resultobj;
17145 wxPyCompositeShape *result;
17146 char *kwnames[] = {
17147 NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17154
17155 wxPyEndAllowThreads(__tstate);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 }
2f4c0a16 17158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
44127b65
RD
17159 return resultobj;
17160 fail:
17161 return NULL;
17162}
17163
17164
a95a7133 17165static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17166 PyObject *resultobj;
17167 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17168 PyObject *arg2 = (PyObject *) 0 ;
17169 PyObject *arg3 = (PyObject *) 0 ;
17170 PyObject * obj0 = 0 ;
17171 PyObject * obj1 = 0 ;
17172 PyObject * obj2 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self",(char *) "self",(char *) "_class", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17180 arg2 = obj1;
17181 arg3 = obj2;
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 (arg1)->_setCallbackInfo(arg2,arg3);
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 Py_INCREF(Py_None); resultobj = Py_None;
17190 return resultobj;
17191 fail:
17192 return NULL;
17193}
17194
17195
a95a7133 17196static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17197 PyObject *resultobj;
17198 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17199 wxPyShape *arg2 = (wxPyShape *) 0 ;
17200 wxPyShape *arg3 = (wxPyShape *) NULL ;
17201 PyObject * obj0 = 0 ;
17202 PyObject * obj1 = 0 ;
17203 PyObject * obj2 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17206 };
17207
17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 17213 if (obj2) {
2f4c0a16
RD
17214 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17216 }
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 (arg1)->AddChild(arg2,arg3);
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 Py_INCREF(Py_None); resultobj = Py_None;
17225 return resultobj;
17226 fail:
17227 return NULL;
17228}
17229
17230
a95a7133 17231static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17232 PyObject *resultobj;
17233 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17234 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17235 wxOGLConstraint *result;
17236 PyObject * obj0 = 0 ;
17237 PyObject * obj1 = 0 ;
17238 char *kwnames[] = {
17239 (char *) "self",(char *) "constraint", NULL
17240 };
17241
17242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17245 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 {
412d302d 17255 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
17256 }
17257 return resultobj;
17258 fail:
17259 return NULL;
17260}
17261
17262
a95a7133 17263static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17264 PyObject *resultobj;
17265 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17266 int arg2 ;
17267 wxPyShape *arg3 = (wxPyShape *) 0 ;
17268 PyObject *arg4 = (PyObject *) 0 ;
17269 wxOGLConstraint *result;
17270 PyObject * obj0 = 0 ;
8edf1c75 17271 PyObject * obj1 = 0 ;
44127b65
RD
17272 PyObject * obj2 = 0 ;
17273 PyObject * obj3 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17276 };
17277
8edf1c75 17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17281 arg2 = (int) SWIG_AsInt(obj1);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17285 arg4 = obj3;
17286 {
17287 PyThreadState* __tstate = wxPyBeginAllowThreads();
17288 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17289
17290 wxPyEndAllowThreads(__tstate);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 }
17293 {
412d302d 17294 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
17295 }
17296 return resultobj;
17297 fail:
17298 return NULL;
17299}
17300
17301
a95a7133 17302static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17303 PyObject *resultobj;
17304 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17305 int arg2 ;
17306 wxPyShape *arg3 = (wxPyShape *) 0 ;
17307 wxPyShape *arg4 = (wxPyShape *) 0 ;
17308 wxOGLConstraint *result;
17309 PyObject * obj0 = 0 ;
8edf1c75 17310 PyObject * obj1 = 0 ;
44127b65
RD
17311 PyObject * obj2 = 0 ;
17312 PyObject * obj3 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17315 };
17316
8edf1c75 17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17320 arg2 = (int) SWIG_AsInt(obj1);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
17323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17324 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPyShape,
17325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17329
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 {
412d302d 17334 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
17335 }
17336 return resultobj;
17337 fail:
17338 return NULL;
17339}
17340
17341
a95a7133 17342static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17343 PyObject *resultobj;
17344 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17345 PyObject * obj0 = 0 ;
17346 char *kwnames[] = {
17347 (char *) "self", NULL
17348 };
17349
17350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 (arg1)->CalculateSize();
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 Py_INCREF(Py_None); resultobj = Py_None;
17361 return resultobj;
17362 fail:
17363 return NULL;
17364}
17365
17366
a95a7133 17367static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17368 PyObject *resultobj;
17369 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17370 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17371 bool result;
17372 PyObject * obj0 = 0 ;
17373 PyObject * obj1 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "self",(char *) "division", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
17382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = (bool)(arg1)->ContainsDivision(arg2);
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
fbc46b20
RD
17390 {
17391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17392 }
44127b65
RD
17393 return resultobj;
17394 fail:
17395 return NULL;
17396}
17397
17398
a95a7133 17399static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17400 PyObject *resultobj;
17401 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17402 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17403 PyObject * obj0 = 0 ;
17404 PyObject * obj1 = 0 ;
17405 char *kwnames[] = {
17406 (char *) "self",(char *) "constraint", NULL
17407 };
17408
17409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOGLConstraint,
17413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 (arg1)->DeleteConstraint(arg2);
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 Py_INCREF(Py_None); resultobj = Py_None;
17422 return resultobj;
17423 fail:
17424 return NULL;
17425}
17426
17427
a95a7133 17428static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17429 PyObject *resultobj;
17430 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17431 wxPyShape *arg2 = (wxPyShape *) 0 ;
17432 PyObject * obj0 = 0 ;
17433 PyObject * obj1 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self",(char *) "child", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 Py_INCREF(Py_None); resultobj = Py_None;
17451 return resultobj;
17452 fail:
17453 return NULL;
17454}
17455
17456
a95a7133 17457static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17458 PyObject *resultobj;
17459 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17460 wxPyShape *result;
17461 PyObject * obj0 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self", NULL
17464 };
17465
17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 result = (wxPyShape *)(arg1)->FindContainerImage();
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 {
412d302d 17477 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
17478 }
17479 return resultobj;
17480 fail:
17481 return NULL;
17482}
17483
17484
a95a7133 17485static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17486 PyObject *resultobj;
17487 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17488 PyObject *result;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 resultobj = result;
17505 return resultobj;
17506 fail:
17507 return NULL;
17508}
17509
17510
a95a7133 17511static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17512 PyObject *resultobj;
17513 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17514 PyObject *result;
17515 PyObject * obj0 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 resultobj = result;
17531 return resultobj;
17532 fail:
17533 return NULL;
17534}
17535
17536
a95a7133 17537static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17538 PyObject *resultobj;
17539 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17540 PyObject * obj0 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 (arg1)->MakeContainer();
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 Py_INCREF(Py_None); resultobj = Py_None;
17556 return resultobj;
17557 fail:
17558 return NULL;
17559}
17560
17561
a95a7133 17562static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17563 PyObject *resultobj;
17564 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17565 bool result;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 result = (bool)(arg1)->Recompute();
17577
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
fbc46b20
RD
17581 {
17582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17583 }
44127b65
RD
17584 return resultobj;
17585 fail:
17586 return NULL;
17587}
17588
17589
a95a7133 17590static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17591 PyObject *resultobj;
17592 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17593 wxPyShape *arg2 = (wxPyShape *) 0 ;
17594 PyObject * obj0 = 0 ;
17595 PyObject * obj1 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "child", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
17604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 (arg1)->RemoveChild(arg2);
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 Py_INCREF(Py_None); resultobj = Py_None;
17613 return resultobj;
17614 fail:
17615 return NULL;
17616}
17617
17618
a95a7133 17619static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17620 PyObject *resultobj;
17621 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17622 PyObject * obj0 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 (arg1)->base_OnDelete();
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 Py_INCREF(Py_None); resultobj = Py_None;
17638 return resultobj;
17639 fail:
17640 return NULL;
17641}
17642
17643
a95a7133 17644static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17645 PyObject *resultobj;
17646 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17647 wxDC *arg2 = 0 ;
17648 PyObject * obj0 = 0 ;
17649 PyObject * obj1 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self",(char *) "dc", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17658 SWIG_POINTER_EXCEPTION | 0)) == -1)
17659 SWIG_fail;
44127b65 17660 if (arg2 == NULL) {
2f4c0a16
RD
17661 PyErr_SetString(PyExc_TypeError,"null reference");
17662 SWIG_fail;
44127b65
RD
17663 }
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 (arg1)->base_OnDraw(*arg2);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 Py_INCREF(Py_None); resultobj = Py_None;
17672 return resultobj;
17673 fail:
17674 return NULL;
17675}
17676
17677
a95a7133 17678static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17679 PyObject *resultobj;
17680 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17681 wxDC *arg2 = 0 ;
17682 PyObject * obj0 = 0 ;
17683 PyObject * obj1 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "dc", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17692 SWIG_POINTER_EXCEPTION | 0)) == -1)
17693 SWIG_fail;
44127b65 17694 if (arg2 == NULL) {
2f4c0a16
RD
17695 PyErr_SetString(PyExc_TypeError,"null reference");
17696 SWIG_fail;
44127b65
RD
17697 }
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 (arg1)->base_OnDrawContents(*arg2);
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 Py_INCREF(Py_None); resultobj = Py_None;
17706 return resultobj;
17707 fail:
17708 return NULL;
17709}
17710
17711
a95a7133 17712static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17713 PyObject *resultobj;
17714 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17715 wxDC *arg2 = 0 ;
17716 bool arg3 = (bool) FALSE ;
17717 PyObject * obj0 = 0 ;
17718 PyObject * obj1 = 0 ;
17719 PyObject * obj2 = 0 ;
17720 char *kwnames[] = {
17721 (char *) "self",(char *) "dc",(char *) "erase", NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17728 SWIG_POINTER_EXCEPTION | 0)) == -1)
17729 SWIG_fail;
44127b65 17730 if (arg2 == NULL) {
2f4c0a16
RD
17731 PyErr_SetString(PyExc_TypeError,"null reference");
17732 SWIG_fail;
44127b65
RD
17733 }
17734 if (obj2) {
2f4c0a16
RD
17735 arg3 = (bool) SWIG_AsBool(obj2);
17736 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
17737 }
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 (arg1)->base_OnDrawBranches(*arg2,arg3);
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 Py_INCREF(Py_None); resultobj = Py_None;
17746 return resultobj;
17747 fail:
17748 return NULL;
17749}
17750
17751
a95a7133 17752static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17753 PyObject *resultobj;
17754 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17755 wxDC *arg2 = 0 ;
17756 PyObject * obj0 = 0 ;
17757 PyObject * obj1 = 0 ;
17758 char *kwnames[] = {
17759 (char *) "self",(char *) "dc", NULL
17760 };
17761
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17766 SWIG_POINTER_EXCEPTION | 0)) == -1)
17767 SWIG_fail;
44127b65 17768 if (arg2 == NULL) {
2f4c0a16
RD
17769 PyErr_SetString(PyExc_TypeError,"null reference");
17770 SWIG_fail;
44127b65
RD
17771 }
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 (arg1)->base_OnMoveLinks(*arg2);
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 Py_INCREF(Py_None); resultobj = Py_None;
17780 return resultobj;
17781 fail:
17782 return NULL;
17783}
17784
17785
a95a7133 17786static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17787 PyObject *resultobj;
17788 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17789 wxDC *arg2 = 0 ;
17790 PyObject * obj0 = 0 ;
17791 PyObject * obj1 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self",(char *) "dc", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17800 SWIG_POINTER_EXCEPTION | 0)) == -1)
17801 SWIG_fail;
44127b65 17802 if (arg2 == NULL) {
2f4c0a16
RD
17803 PyErr_SetString(PyExc_TypeError,"null reference");
17804 SWIG_fail;
44127b65
RD
17805 }
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 (arg1)->base_OnErase(*arg2);
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 Py_INCREF(Py_None); resultobj = Py_None;
17814 return resultobj;
17815 fail:
17816 return NULL;
17817}
17818
17819
a95a7133 17820static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17821 PyObject *resultobj;
17822 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17823 wxDC *arg2 = 0 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "dc", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17834 SWIG_POINTER_EXCEPTION | 0)) == -1)
17835 SWIG_fail;
44127b65 17836 if (arg2 == NULL) {
2f4c0a16
RD
17837 PyErr_SetString(PyExc_TypeError,"null reference");
17838 SWIG_fail;
44127b65
RD
17839 }
17840 {
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 (arg1)->base_OnEraseContents(*arg2);
17843
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 Py_INCREF(Py_None); resultobj = Py_None;
17848 return resultobj;
17849 fail:
17850 return NULL;
17851}
17852
17853
a95a7133 17854static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17855 PyObject *resultobj;
17856 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17857 wxDC *arg2 = 0 ;
17858 PyObject * obj0 = 0 ;
17859 PyObject * obj1 = 0 ;
17860 char *kwnames[] = {
17861 (char *) "self",(char *) "dc", NULL
17862 };
17863
17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17868 SWIG_POINTER_EXCEPTION | 0)) == -1)
17869 SWIG_fail;
44127b65 17870 if (arg2 == NULL) {
2f4c0a16
RD
17871 PyErr_SetString(PyExc_TypeError,"null reference");
17872 SWIG_fail;
44127b65
RD
17873 }
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
17876 (arg1)->base_OnHighlight(*arg2);
17877
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 Py_INCREF(Py_None); resultobj = Py_None;
17882 return resultobj;
17883 fail:
17884 return NULL;
17885}
17886
17887
a95a7133 17888static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17889 PyObject *resultobj;
17890 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17891 double arg2 ;
17892 double arg3 ;
17893 int arg4 = (int) 0 ;
17894 int arg5 = (int) 0 ;
17895 PyObject * obj0 = 0 ;
8edf1c75
RD
17896 PyObject * obj1 = 0 ;
17897 PyObject * obj2 = 0 ;
17898 PyObject * obj3 = 0 ;
17899 PyObject * obj4 = 0 ;
44127b65
RD
17900 char *kwnames[] = {
17901 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17902 };
17903
8edf1c75 17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17907 arg2 = (double) SWIG_AsDouble(obj1);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 arg3 = (double) SWIG_AsDouble(obj2);
17910 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17911 if (obj3) {
2f4c0a16
RD
17912 arg4 = (int) SWIG_AsInt(obj3);
17913 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17914 }
17915 if (obj4) {
2f4c0a16
RD
17916 arg5 = (int) SWIG_AsInt(obj4);
17917 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17918 }
44127b65
RD
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
17922
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 Py_INCREF(Py_None); resultobj = Py_None;
17927 return resultobj;
17928 fail:
17929 return NULL;
17930}
17931
17932
a95a7133 17933static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17934 PyObject *resultobj;
17935 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17936 double arg2 ;
17937 double arg3 ;
17938 int arg4 = (int) 0 ;
17939 int arg5 = (int) 0 ;
17940 PyObject * obj0 = 0 ;
8edf1c75
RD
17941 PyObject * obj1 = 0 ;
17942 PyObject * obj2 = 0 ;
17943 PyObject * obj3 = 0 ;
17944 PyObject * obj4 = 0 ;
44127b65
RD
17945 char *kwnames[] = {
17946 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17947 };
17948
8edf1c75 17949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17952 arg2 = (double) SWIG_AsDouble(obj1);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 arg3 = (double) SWIG_AsDouble(obj2);
17955 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17956 if (obj3) {
2f4c0a16
RD
17957 arg4 = (int) SWIG_AsInt(obj3);
17958 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17959 }
17960 if (obj4) {
2f4c0a16
RD
17961 arg5 = (int) SWIG_AsInt(obj4);
17962 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17963 }
44127b65
RD
17964 {
17965 PyThreadState* __tstate = wxPyBeginAllowThreads();
17966 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
17967
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 Py_INCREF(Py_None); resultobj = Py_None;
17972 return resultobj;
17973 fail:
17974 return NULL;
17975}
17976
17977
a95a7133 17978static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
17979 PyObject *resultobj;
17980 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17981 double arg2 ;
17982 double arg3 ;
17983 int arg4 = (int) 0 ;
17984 int arg5 = (int) 0 ;
17985 PyObject * obj0 = 0 ;
8edf1c75
RD
17986 PyObject * obj1 = 0 ;
17987 PyObject * obj2 = 0 ;
17988 PyObject * obj3 = 0 ;
17989 PyObject * obj4 = 0 ;
44127b65
RD
17990 char *kwnames[] = {
17991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17992 };
17993
8edf1c75 17994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
17996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17997 arg2 = (double) SWIG_AsDouble(obj1);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 arg3 = (double) SWIG_AsDouble(obj2);
18000 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18001 if (obj3) {
2f4c0a16
RD
18002 arg4 = (int) SWIG_AsInt(obj3);
18003 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18004 }
18005 if (obj4) {
2f4c0a16
RD
18006 arg5 = (int) SWIG_AsInt(obj4);
18007 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18008 }
44127b65
RD
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18012
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 Py_INCREF(Py_None); resultobj = Py_None;
18017 return resultobj;
18018 fail:
18019 return NULL;
18020}
18021
18022
a95a7133 18023static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18024 PyObject *resultobj;
18025 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18026 double arg2 ;
18027 double arg3 ;
18028 PyObject * obj0 = 0 ;
8edf1c75
RD
18029 PyObject * obj1 = 0 ;
18030 PyObject * obj2 = 0 ;
44127b65
RD
18031 char *kwnames[] = {
18032 (char *) "self",(char *) "x",(char *) "y", NULL
18033 };
18034
8edf1c75 18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18038 arg2 = (double) SWIG_AsDouble(obj1);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 arg3 = (double) SWIG_AsDouble(obj2);
18041 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 (arg1)->base_OnSize(arg2,arg3);
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 Py_INCREF(Py_None); resultobj = Py_None;
18050 return resultobj;
18051 fail:
18052 return NULL;
18053}
18054
18055
a95a7133 18056static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18057 PyObject *resultobj;
18058 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18059 wxDC *arg2 = 0 ;
18060 double arg3 ;
18061 double arg4 ;
18062 double arg5 ;
18063 double arg6 ;
18064 bool arg7 = (bool) True ;
18065 bool result;
18066 PyObject * obj0 = 0 ;
18067 PyObject * obj1 = 0 ;
8edf1c75
RD
18068 PyObject * obj2 = 0 ;
18069 PyObject * obj3 = 0 ;
18070 PyObject * obj4 = 0 ;
18071 PyObject * obj5 = 0 ;
44127b65
RD
18072 PyObject * obj6 = 0 ;
18073 char *kwnames[] = {
18074 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18075 };
18076
8edf1c75 18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18080 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18081 SWIG_POINTER_EXCEPTION | 0)) == -1)
18082 SWIG_fail;
44127b65 18083 if (arg2 == NULL) {
2f4c0a16
RD
18084 PyErr_SetString(PyExc_TypeError,"null reference");
18085 SWIG_fail;
18086 }
18087 arg3 = (double) SWIG_AsDouble(obj2);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 arg4 = (double) SWIG_AsDouble(obj3);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 arg5 = (double) SWIG_AsDouble(obj4);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 arg6 = (double) SWIG_AsDouble(obj5);
18094 if (PyErr_Occurred()) SWIG_fail;
44127b65 18095 if (obj6) {
2f4c0a16
RD
18096 arg7 = (bool) SWIG_AsBool(obj6);
18097 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18098 }
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
fbc46b20
RD
18106 {
18107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18108 }
44127b65
RD
18109 return resultobj;
18110 fail:
18111 return NULL;
18112}
18113
18114
a95a7133 18115static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18116 PyObject *resultobj;
18117 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18118 wxDC *arg2 = 0 ;
18119 double arg3 ;
18120 double arg4 ;
18121 double arg5 ;
18122 double arg6 ;
18123 bool arg7 = (bool) True ;
18124 PyObject * obj0 = 0 ;
18125 PyObject * obj1 = 0 ;
8edf1c75
RD
18126 PyObject * obj2 = 0 ;
18127 PyObject * obj3 = 0 ;
18128 PyObject * obj4 = 0 ;
18129 PyObject * obj5 = 0 ;
44127b65
RD
18130 PyObject * obj6 = 0 ;
18131 char *kwnames[] = {
18132 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18133 };
18134
8edf1c75 18135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18139 SWIG_POINTER_EXCEPTION | 0)) == -1)
18140 SWIG_fail;
44127b65 18141 if (arg2 == NULL) {
2f4c0a16
RD
18142 PyErr_SetString(PyExc_TypeError,"null reference");
18143 SWIG_fail;
18144 }
18145 arg3 = (double) SWIG_AsDouble(obj2);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 arg4 = (double) SWIG_AsDouble(obj3);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 arg5 = (double) SWIG_AsDouble(obj4);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 arg6 = (double) SWIG_AsDouble(obj5);
18152 if (PyErr_Occurred()) SWIG_fail;
44127b65 18153 if (obj6) {
2f4c0a16
RD
18154 arg7 = (bool) SWIG_AsBool(obj6);
18155 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18156 }
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 Py_INCREF(Py_None); resultobj = Py_None;
18165 return resultobj;
18166 fail:
18167 return NULL;
18168}
18169
18170
a95a7133 18171static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18172 PyObject *resultobj;
18173 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18174 bool arg2 ;
18175 double arg3 ;
18176 double arg4 ;
18177 int arg5 = (int) 0 ;
18178 int arg6 = (int) 0 ;
18179 PyObject * obj0 = 0 ;
18180 PyObject * obj1 = 0 ;
8edf1c75
RD
18181 PyObject * obj2 = 0 ;
18182 PyObject * obj3 = 0 ;
18183 PyObject * obj4 = 0 ;
18184 PyObject * obj5 = 0 ;
44127b65
RD
18185 char *kwnames[] = {
18186 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18187 };
18188
8edf1c75 18189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18192 arg2 = (bool) SWIG_AsBool(obj1);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 arg3 = (double) SWIG_AsDouble(obj2);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 arg4 = (double) SWIG_AsDouble(obj3);
18197 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18198 if (obj4) {
2f4c0a16
RD
18199 arg5 = (int) SWIG_AsInt(obj4);
18200 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18201 }
18202 if (obj5) {
2f4c0a16
RD
18203 arg6 = (int) SWIG_AsInt(obj5);
18204 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18205 }
44127b65
RD
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 Py_INCREF(Py_None); resultobj = Py_None;
18214 return resultobj;
18215 fail:
18216 return NULL;
18217}
18218
18219
a95a7133 18220static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18221 PyObject *resultobj;
18222 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18223 double arg2 ;
18224 double arg3 ;
18225 int arg4 = (int) 0 ;
18226 int arg5 = (int) 0 ;
18227 PyObject * obj0 = 0 ;
8edf1c75
RD
18228 PyObject * obj1 = 0 ;
18229 PyObject * obj2 = 0 ;
18230 PyObject * obj3 = 0 ;
18231 PyObject * obj4 = 0 ;
44127b65
RD
18232 char *kwnames[] = {
18233 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18234 };
18235
8edf1c75 18236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18239 arg2 = (double) SWIG_AsDouble(obj1);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 arg3 = (double) SWIG_AsDouble(obj2);
18242 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18243 if (obj3) {
2f4c0a16
RD
18244 arg4 = (int) SWIG_AsInt(obj3);
18245 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18246 }
18247 if (obj4) {
2f4c0a16
RD
18248 arg5 = (int) SWIG_AsInt(obj4);
18249 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18250 }
44127b65
RD
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 Py_INCREF(Py_None); resultobj = Py_None;
18259 return resultobj;
18260 fail:
18261 return NULL;
18262}
18263
18264
a95a7133 18265static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18266 PyObject *resultobj;
18267 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18268 double arg2 ;
18269 double arg3 ;
18270 int arg4 = (int) 0 ;
18271 int arg5 = (int) 0 ;
18272 PyObject * obj0 = 0 ;
8edf1c75
RD
18273 PyObject * obj1 = 0 ;
18274 PyObject * obj2 = 0 ;
18275 PyObject * obj3 = 0 ;
18276 PyObject * obj4 = 0 ;
44127b65
RD
18277 char *kwnames[] = {
18278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18279 };
18280
8edf1c75 18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18284 arg2 = (double) SWIG_AsDouble(obj1);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 arg3 = (double) SWIG_AsDouble(obj2);
18287 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18288 if (obj3) {
2f4c0a16
RD
18289 arg4 = (int) SWIG_AsInt(obj3);
18290 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18291 }
18292 if (obj4) {
2f4c0a16
RD
18293 arg5 = (int) SWIG_AsInt(obj4);
18294 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18295 }
44127b65
RD
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 Py_INCREF(Py_None); resultobj = Py_None;
18304 return resultobj;
18305 fail:
18306 return NULL;
18307}
18308
18309
a95a7133 18310static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18311 PyObject *resultobj;
18312 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18313 bool arg2 ;
18314 double arg3 ;
18315 double arg4 ;
18316 int arg5 = (int) 0 ;
18317 int arg6 = (int) 0 ;
18318 PyObject * obj0 = 0 ;
18319 PyObject * obj1 = 0 ;
8edf1c75
RD
18320 PyObject * obj2 = 0 ;
18321 PyObject * obj3 = 0 ;
18322 PyObject * obj4 = 0 ;
18323 PyObject * obj5 = 0 ;
44127b65
RD
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18326 };
18327
8edf1c75 18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18331 arg2 = (bool) SWIG_AsBool(obj1);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 arg3 = (double) SWIG_AsDouble(obj2);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 arg4 = (double) SWIG_AsDouble(obj3);
18336 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18337 if (obj4) {
2f4c0a16
RD
18338 arg5 = (int) SWIG_AsInt(obj4);
18339 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18340 }
18341 if (obj5) {
2f4c0a16
RD
18342 arg6 = (int) SWIG_AsInt(obj5);
18343 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18344 }
44127b65
RD
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 Py_INCREF(Py_None); resultobj = Py_None;
18353 return resultobj;
18354 fail:
18355 return NULL;
18356}
18357
18358
a95a7133 18359static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18360 PyObject *resultobj;
18361 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18362 double arg2 ;
18363 double arg3 ;
18364 int arg4 = (int) 0 ;
18365 int arg5 = (int) 0 ;
18366 PyObject * obj0 = 0 ;
8edf1c75
RD
18367 PyObject * obj1 = 0 ;
18368 PyObject * obj2 = 0 ;
18369 PyObject * obj3 = 0 ;
18370 PyObject * obj4 = 0 ;
44127b65
RD
18371 char *kwnames[] = {
18372 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18373 };
18374
8edf1c75 18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18378 arg2 = (double) SWIG_AsDouble(obj1);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 arg3 = (double) SWIG_AsDouble(obj2);
18381 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18382 if (obj3) {
2f4c0a16
RD
18383 arg4 = (int) SWIG_AsInt(obj3);
18384 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18385 }
18386 if (obj4) {
2f4c0a16
RD
18387 arg5 = (int) SWIG_AsInt(obj4);
18388 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18389 }
44127b65
RD
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 Py_INCREF(Py_None); resultobj = Py_None;
18398 return resultobj;
18399 fail:
18400 return NULL;
18401}
18402
18403
a95a7133 18404static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18405 PyObject *resultobj;
18406 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18407 double arg2 ;
18408 double arg3 ;
18409 int arg4 = (int) 0 ;
18410 int arg5 = (int) 0 ;
18411 PyObject * obj0 = 0 ;
8edf1c75
RD
18412 PyObject * obj1 = 0 ;
18413 PyObject * obj2 = 0 ;
18414 PyObject * obj3 = 0 ;
18415 PyObject * obj4 = 0 ;
44127b65
RD
18416 char *kwnames[] = {
18417 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18418 };
18419
8edf1c75 18420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
18421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18423 arg2 = (double) SWIG_AsDouble(obj1);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 arg3 = (double) SWIG_AsDouble(obj2);
18426 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18427 if (obj3) {
2f4c0a16
RD
18428 arg4 = (int) SWIG_AsInt(obj3);
18429 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18430 }
18431 if (obj4) {
2f4c0a16
RD
18432 arg5 = (int) SWIG_AsInt(obj4);
18433 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18434 }
44127b65
RD
18435 {
18436 PyThreadState* __tstate = wxPyBeginAllowThreads();
18437 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18438
18439 wxPyEndAllowThreads(__tstate);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
18442 Py_INCREF(Py_None); resultobj = Py_None;
18443 return resultobj;
18444 fail:
18445 return NULL;
18446}
18447
18448
a95a7133 18449static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18450 PyObject *resultobj;
18451 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18452 wxDC *arg2 = 0 ;
18453 double arg3 ;
18454 double arg4 ;
18455 double arg5 ;
18456 double arg6 ;
18457 PyObject * obj0 = 0 ;
18458 PyObject * obj1 = 0 ;
8edf1c75
RD
18459 PyObject * obj2 = 0 ;
18460 PyObject * obj3 = 0 ;
18461 PyObject * obj4 = 0 ;
18462 PyObject * obj5 = 0 ;
44127b65
RD
18463 char *kwnames[] = {
18464 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18465 };
18466
8edf1c75 18467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18471 SWIG_POINTER_EXCEPTION | 0)) == -1)
18472 SWIG_fail;
44127b65 18473 if (arg2 == NULL) {
2f4c0a16
RD
18474 PyErr_SetString(PyExc_TypeError,"null reference");
18475 SWIG_fail;
8edf1c75 18476 }
2f4c0a16
RD
18477 arg3 = (double) SWIG_AsDouble(obj2);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 arg4 = (double) SWIG_AsDouble(obj3);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 arg5 = (double) SWIG_AsDouble(obj4);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 arg6 = (double) SWIG_AsDouble(obj5);
18484 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18488
18489 wxPyEndAllowThreads(__tstate);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 }
18492 Py_INCREF(Py_None); resultobj = Py_None;
18493 return resultobj;
18494 fail:
18495 return NULL;
18496}
18497
18498
a95a7133 18499static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18500 PyObject *resultobj;
18501 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18502 wxDC *arg2 = 0 ;
18503 PyObject * obj0 = 0 ;
18504 PyObject * obj1 = 0 ;
18505 char *kwnames[] = {
18506 (char *) "self",(char *) "dc", NULL
18507 };
18508
18509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18513 SWIG_POINTER_EXCEPTION | 0)) == -1)
18514 SWIG_fail;
44127b65 18515 if (arg2 == NULL) {
2f4c0a16
RD
18516 PyErr_SetString(PyExc_TypeError,"null reference");
18517 SWIG_fail;
44127b65
RD
18518 }
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 (arg1)->base_OnDrawControlPoints(*arg2);
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 Py_INCREF(Py_None); resultobj = Py_None;
18527 return resultobj;
18528 fail:
18529 return NULL;
18530}
18531
18532
a95a7133 18533static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18534 PyObject *resultobj;
18535 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18536 wxDC *arg2 = 0 ;
18537 PyObject * obj0 = 0 ;
18538 PyObject * obj1 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self",(char *) "dc", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18547 SWIG_POINTER_EXCEPTION | 0)) == -1)
18548 SWIG_fail;
44127b65 18549 if (arg2 == NULL) {
2f4c0a16
RD
18550 PyErr_SetString(PyExc_TypeError,"null reference");
18551 SWIG_fail;
44127b65
RD
18552 }
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 (arg1)->base_OnEraseControlPoints(*arg2);
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 Py_INCREF(Py_None); resultobj = Py_None;
18561 return resultobj;
18562 fail:
18563 return NULL;
18564}
18565
18566
a95a7133 18567static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18568 PyObject *resultobj;
18569 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18570 wxDC *arg2 = 0 ;
18571 bool arg3 = (bool) True ;
18572 PyObject * obj0 = 0 ;
18573 PyObject * obj1 = 0 ;
18574 PyObject * obj2 = 0 ;
18575 char *kwnames[] = {
18576 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18577 };
18578
18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18583 SWIG_POINTER_EXCEPTION | 0)) == -1)
18584 SWIG_fail;
44127b65 18585 if (arg2 == NULL) {
2f4c0a16
RD
18586 PyErr_SetString(PyExc_TypeError,"null reference");
18587 SWIG_fail;
44127b65
RD
18588 }
18589 if (obj2) {
2f4c0a16
RD
18590 arg3 = (bool) SWIG_AsBool(obj2);
18591 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18592 }
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 (arg1)->base_OnMoveLink(*arg2,arg3);
18596
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 Py_INCREF(Py_None); resultobj = Py_None;
18601 return resultobj;
18602 fail:
18603 return NULL;
18604}
18605
18606
a95a7133 18607static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18608 PyObject *resultobj;
18609 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18610 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18611 bool arg3 ;
18612 double arg4 ;
18613 double arg5 ;
18614 int arg6 = (int) 0 ;
18615 int arg7 = (int) 0 ;
18616 PyObject * obj0 = 0 ;
18617 PyObject * obj1 = 0 ;
18618 PyObject * obj2 = 0 ;
8edf1c75
RD
18619 PyObject * obj3 = 0 ;
18620 PyObject * obj4 = 0 ;
18621 PyObject * obj5 = 0 ;
18622 PyObject * obj6 = 0 ;
44127b65
RD
18623 char *kwnames[] = {
18624 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18625 };
18626
8edf1c75 18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
18628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18632 arg3 = (bool) SWIG_AsBool(obj2);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 arg4 = (double) SWIG_AsDouble(obj3);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 arg5 = (double) SWIG_AsDouble(obj4);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 if (obj5) {
18639 arg6 = (int) SWIG_AsInt(obj5);
2dbef272
RD
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
2f4c0a16
RD
18642 if (obj6) {
18643 arg7 = (int) SWIG_AsInt(obj6);
8edf1c75
RD
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 {
2f4c0a16
RD
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18649
18650 wxPyEndAllowThreads(__tstate);
44127b65
RD
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 Py_INCREF(Py_None); resultobj = Py_None;
18654 return resultobj;
18655 fail:
18656 return NULL;
18657}
18658
18659
a95a7133 18660static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18661 PyObject *resultobj;
18662 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18663 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18664 double arg3 ;
18665 double arg4 ;
18666 int arg5 = (int) 0 ;
18667 int arg6 = (int) 0 ;
18668 PyObject * obj0 = 0 ;
18669 PyObject * obj1 = 0 ;
8edf1c75
RD
18670 PyObject * obj2 = 0 ;
18671 PyObject * obj3 = 0 ;
18672 PyObject * obj4 = 0 ;
18673 PyObject * obj5 = 0 ;
44127b65
RD
18674 char *kwnames[] = {
18675 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18676 };
18677
8edf1c75 18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18683 arg3 = (double) SWIG_AsDouble(obj2);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 arg4 = (double) SWIG_AsDouble(obj3);
18686 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18687 if (obj4) {
2f4c0a16
RD
18688 arg5 = (int) SWIG_AsInt(obj4);
18689 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18690 }
18691 if (obj5) {
2f4c0a16
RD
18692 arg6 = (int) SWIG_AsInt(obj5);
18693 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18694 }
44127b65
RD
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18698
18699 wxPyEndAllowThreads(__tstate);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 Py_INCREF(Py_None); resultobj = Py_None;
18703 return resultobj;
18704 fail:
18705 return NULL;
18706}
18707
18708
a95a7133 18709static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18710 PyObject *resultobj;
18711 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18712 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18713 double arg3 ;
18714 double arg4 ;
18715 int arg5 = (int) 0 ;
18716 int arg6 = (int) 0 ;
18717 PyObject * obj0 = 0 ;
18718 PyObject * obj1 = 0 ;
8edf1c75
RD
18719 PyObject * obj2 = 0 ;
18720 PyObject * obj3 = 0 ;
18721 PyObject * obj4 = 0 ;
18722 PyObject * obj5 = 0 ;
44127b65
RD
18723 char *kwnames[] = {
18724 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18725 };
18726
8edf1c75 18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
18728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
18731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18732 arg3 = (double) SWIG_AsDouble(obj2);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 arg4 = (double) SWIG_AsDouble(obj3);
18735 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18736 if (obj4) {
2f4c0a16
RD
18737 arg5 = (int) SWIG_AsInt(obj4);
18738 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18739 }
18740 if (obj5) {
2f4c0a16
RD
18741 arg6 = (int) SWIG_AsInt(obj5);
18742 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18743 }
44127b65
RD
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 Py_INCREF(Py_None); resultobj = Py_None;
18752 return resultobj;
18753 fail:
18754 return NULL;
18755}
18756
18757
a95a7133 18758static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18759 PyObject *resultobj;
18760 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18761 double arg2 ;
18762 double arg3 ;
18763 PyObject * obj0 = 0 ;
8edf1c75
RD
18764 PyObject * obj1 = 0 ;
18765 PyObject * obj2 = 0 ;
44127b65
RD
18766 char *kwnames[] = {
18767 (char *) "self",(char *) "w",(char *) "h", NULL
18768 };
18769
8edf1c75 18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18773 arg2 = (double) SWIG_AsDouble(obj1);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 arg3 = (double) SWIG_AsDouble(obj2);
18776 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 (arg1)->base_OnBeginSize(arg2,arg3);
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 Py_INCREF(Py_None); resultobj = Py_None;
18785 return resultobj;
18786 fail:
18787 return NULL;
18788}
18789
18790
a95a7133 18791static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18792 PyObject *resultobj;
18793 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18794 double arg2 ;
18795 double arg3 ;
18796 PyObject * obj0 = 0 ;
8edf1c75
RD
18797 PyObject * obj1 = 0 ;
18798 PyObject * obj2 = 0 ;
44127b65
RD
18799 char *kwnames[] = {
18800 (char *) "self",(char *) "w",(char *) "h", NULL
18801 };
18802
8edf1c75 18803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCompositeShape,
18805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18806 arg2 = (double) SWIG_AsDouble(obj1);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 arg3 = (double) SWIG_AsDouble(obj2);
18809 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 (arg1)->base_OnEndSize(arg2,arg3);
18813
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 Py_INCREF(Py_None); resultobj = Py_None;
18818 return resultobj;
18819 fail:
18820 return NULL;
18821}
18822
18823
a95a7133 18824static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
18825 PyObject *obj;
18826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18827 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
18828 Py_INCREF(obj);
18829 return Py_BuildValue((char *)"");
18830}
a95a7133 18831static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18832 PyObject *resultobj;
18833 double arg1 = (double) 0.0 ;
18834 double arg2 = (double) 0.0 ;
18835 wxPyDividedShape *result;
8edf1c75
RD
18836 PyObject * obj0 = 0 ;
18837 PyObject * obj1 = 0 ;
44127b65
RD
18838 char *kwnames[] = {
18839 (char *) "width",(char *) "height", NULL
18840 };
18841
8edf1c75
RD
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
18843 if (obj0) {
2f4c0a16
RD
18844 arg1 = (double) SWIG_AsDouble(obj0);
18845 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18846 }
18847 if (obj1) {
2f4c0a16
RD
18848 arg2 = (double) SWIG_AsDouble(obj1);
18849 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18850 }
44127b65
RD
18851 {
18852 PyThreadState* __tstate = wxPyBeginAllowThreads();
18853 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
18854
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
2f4c0a16 18858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
44127b65
RD
18859 return resultobj;
18860 fail:
18861 return NULL;
18862}
18863
18864
a95a7133 18865static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18866 PyObject *resultobj;
18867 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18868 PyObject *arg2 = (PyObject *) 0 ;
18869 PyObject *arg3 = (PyObject *) 0 ;
18870 PyObject * obj0 = 0 ;
18871 PyObject * obj1 = 0 ;
18872 PyObject * obj2 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "self",(char *) "_class", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
18878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18880 arg2 = obj1;
18881 arg3 = obj2;
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 (arg1)->_setCallbackInfo(arg2,arg3);
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 Py_INCREF(Py_None); resultobj = Py_None;
18890 return resultobj;
18891 fail:
18892 return NULL;
18893}
18894
18895
a95a7133 18896static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18897 PyObject *resultobj;
18898 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18899 PyObject * obj0 = 0 ;
18900 char *kwnames[] = {
18901 (char *) "self", NULL
18902 };
18903
18904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18907 {
18908 PyThreadState* __tstate = wxPyBeginAllowThreads();
18909 (arg1)->EditRegions();
18910
18911 wxPyEndAllowThreads(__tstate);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 Py_INCREF(Py_None); resultobj = Py_None;
18915 return resultobj;
18916 fail:
18917 return NULL;
18918}
18919
18920
a95a7133 18921static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18922 PyObject *resultobj;
18923 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18924 PyObject * obj0 = 0 ;
18925 char *kwnames[] = {
18926 (char *) "self", NULL
18927 };
18928
18929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18932 {
18933 PyThreadState* __tstate = wxPyBeginAllowThreads();
18934 (arg1)->SetRegionSizes();
18935
18936 wxPyEndAllowThreads(__tstate);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 Py_INCREF(Py_None); resultobj = Py_None;
18940 return resultobj;
18941 fail:
18942 return NULL;
18943}
18944
18945
a95a7133 18946static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18947 PyObject *resultobj;
18948 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18949 PyObject * obj0 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 (arg1)->base_OnDelete();
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 Py_INCREF(Py_None); resultobj = Py_None;
18965 return resultobj;
18966 fail:
18967 return NULL;
18968}
18969
18970
a95a7133 18971static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
18972 PyObject *resultobj;
18973 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
18974 wxDC *arg2 = 0 ;
18975 PyObject * obj0 = 0 ;
18976 PyObject * obj1 = 0 ;
18977 char *kwnames[] = {
18978 (char *) "self",(char *) "dc", NULL
18979 };
18980
18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
18983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18985 SWIG_POINTER_EXCEPTION | 0)) == -1)
18986 SWIG_fail;
44127b65 18987 if (arg2 == NULL) {
2f4c0a16
RD
18988 PyErr_SetString(PyExc_TypeError,"null reference");
18989 SWIG_fail;
44127b65
RD
18990 }
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 (arg1)->base_OnDraw(*arg2);
18994
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 Py_INCREF(Py_None); resultobj = Py_None;
18999 return resultobj;
19000 fail:
19001 return NULL;
19002}
19003
19004
a95a7133 19005static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19006 PyObject *resultobj;
19007 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19008 wxDC *arg2 = 0 ;
19009 PyObject * obj0 = 0 ;
19010 PyObject * obj1 = 0 ;
19011 char *kwnames[] = {
19012 (char *) "self",(char *) "dc", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19019 SWIG_POINTER_EXCEPTION | 0)) == -1)
19020 SWIG_fail;
44127b65 19021 if (arg2 == NULL) {
2f4c0a16
RD
19022 PyErr_SetString(PyExc_TypeError,"null reference");
19023 SWIG_fail;
44127b65
RD
19024 }
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 (arg1)->base_OnDrawContents(*arg2);
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 Py_INCREF(Py_None); resultobj = Py_None;
19033 return resultobj;
19034 fail:
19035 return NULL;
19036}
19037
19038
a95a7133 19039static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19040 PyObject *resultobj;
19041 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19042 wxDC *arg2 = 0 ;
19043 bool arg3 = (bool) FALSE ;
19044 PyObject * obj0 = 0 ;
19045 PyObject * obj1 = 0 ;
19046 PyObject * obj2 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "self",(char *) "dc",(char *) "erase", NULL
19049 };
19050
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1)
19056 SWIG_fail;
44127b65 19057 if (arg2 == NULL) {
2f4c0a16
RD
19058 PyErr_SetString(PyExc_TypeError,"null reference");
19059 SWIG_fail;
44127b65
RD
19060 }
19061 if (obj2) {
2f4c0a16
RD
19062 arg3 = (bool) SWIG_AsBool(obj2);
19063 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19064 }
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 (arg1)->base_OnDrawBranches(*arg2,arg3);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 Py_INCREF(Py_None); resultobj = Py_None;
19073 return resultobj;
19074 fail:
19075 return NULL;
19076}
19077
19078
a95a7133 19079static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19080 PyObject *resultobj;
19081 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19082 wxDC *arg2 = 0 ;
19083 PyObject * obj0 = 0 ;
19084 PyObject * obj1 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self",(char *) "dc", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19093 SWIG_POINTER_EXCEPTION | 0)) == -1)
19094 SWIG_fail;
44127b65 19095 if (arg2 == NULL) {
2f4c0a16
RD
19096 PyErr_SetString(PyExc_TypeError,"null reference");
19097 SWIG_fail;
44127b65
RD
19098 }
19099 {
19100 PyThreadState* __tstate = wxPyBeginAllowThreads();
19101 (arg1)->base_OnMoveLinks(*arg2);
19102
19103 wxPyEndAllowThreads(__tstate);
19104 if (PyErr_Occurred()) SWIG_fail;
19105 }
19106 Py_INCREF(Py_None); resultobj = Py_None;
19107 return resultobj;
19108 fail:
19109 return NULL;
19110}
19111
19112
a95a7133 19113static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19114 PyObject *resultobj;
19115 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19116 wxDC *arg2 = 0 ;
19117 PyObject * obj0 = 0 ;
19118 PyObject * obj1 = 0 ;
19119 char *kwnames[] = {
19120 (char *) "self",(char *) "dc", NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19127 SWIG_POINTER_EXCEPTION | 0)) == -1)
19128 SWIG_fail;
44127b65 19129 if (arg2 == NULL) {
2f4c0a16
RD
19130 PyErr_SetString(PyExc_TypeError,"null reference");
19131 SWIG_fail;
44127b65
RD
19132 }
19133 {
19134 PyThreadState* __tstate = wxPyBeginAllowThreads();
19135 (arg1)->base_OnErase(*arg2);
19136
19137 wxPyEndAllowThreads(__tstate);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 }
19140 Py_INCREF(Py_None); resultobj = Py_None;
19141 return resultobj;
19142 fail:
19143 return NULL;
19144}
19145
19146
a95a7133 19147static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19148 PyObject *resultobj;
19149 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19150 wxDC *arg2 = 0 ;
19151 PyObject * obj0 = 0 ;
19152 PyObject * obj1 = 0 ;
19153 char *kwnames[] = {
19154 (char *) "self",(char *) "dc", NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19161 SWIG_POINTER_EXCEPTION | 0)) == -1)
19162 SWIG_fail;
44127b65 19163 if (arg2 == NULL) {
2f4c0a16
RD
19164 PyErr_SetString(PyExc_TypeError,"null reference");
19165 SWIG_fail;
44127b65
RD
19166 }
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 (arg1)->base_OnEraseContents(*arg2);
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 Py_INCREF(Py_None); resultobj = Py_None;
19175 return resultobj;
19176 fail:
19177 return NULL;
19178}
19179
19180
a95a7133 19181static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19182 PyObject *resultobj;
19183 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19184 wxDC *arg2 = 0 ;
19185 PyObject * obj0 = 0 ;
19186 PyObject * obj1 = 0 ;
19187 char *kwnames[] = {
19188 (char *) "self",(char *) "dc", NULL
19189 };
19190
19191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19195 SWIG_POINTER_EXCEPTION | 0)) == -1)
19196 SWIG_fail;
44127b65 19197 if (arg2 == NULL) {
2f4c0a16
RD
19198 PyErr_SetString(PyExc_TypeError,"null reference");
19199 SWIG_fail;
44127b65
RD
19200 }
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 (arg1)->base_OnHighlight(*arg2);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 return resultobj;
19210 fail:
19211 return NULL;
19212}
19213
19214
a95a7133 19215static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19216 PyObject *resultobj;
19217 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19218 double arg2 ;
19219 double arg3 ;
19220 int arg4 = (int) 0 ;
19221 int arg5 = (int) 0 ;
19222 PyObject * obj0 = 0 ;
8edf1c75
RD
19223 PyObject * obj1 = 0 ;
19224 PyObject * obj2 = 0 ;
19225 PyObject * obj3 = 0 ;
19226 PyObject * obj4 = 0 ;
44127b65
RD
19227 char *kwnames[] = {
19228 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19229 };
19230
8edf1c75 19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19234 arg2 = (double) SWIG_AsDouble(obj1);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 arg3 = (double) SWIG_AsDouble(obj2);
19237 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19238 if (obj3) {
2f4c0a16
RD
19239 arg4 = (int) SWIG_AsInt(obj3);
19240 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19241 }
19242 if (obj4) {
2f4c0a16
RD
19243 arg5 = (int) SWIG_AsInt(obj4);
19244 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19245 }
44127b65
RD
19246 {
19247 PyThreadState* __tstate = wxPyBeginAllowThreads();
19248 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19249
19250 wxPyEndAllowThreads(__tstate);
19251 if (PyErr_Occurred()) SWIG_fail;
19252 }
19253 Py_INCREF(Py_None); resultobj = Py_None;
19254 return resultobj;
19255 fail:
19256 return NULL;
19257}
19258
19259
a95a7133 19260static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19261 PyObject *resultobj;
19262 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19263 double arg2 ;
19264 double arg3 ;
19265 int arg4 = (int) 0 ;
19266 int arg5 = (int) 0 ;
19267 PyObject * obj0 = 0 ;
8edf1c75
RD
19268 PyObject * obj1 = 0 ;
19269 PyObject * obj2 = 0 ;
19270 PyObject * obj3 = 0 ;
19271 PyObject * obj4 = 0 ;
44127b65
RD
19272 char *kwnames[] = {
19273 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19274 };
19275
8edf1c75 19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19279 arg2 = (double) SWIG_AsDouble(obj1);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 arg3 = (double) SWIG_AsDouble(obj2);
19282 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19283 if (obj3) {
2f4c0a16
RD
19284 arg4 = (int) SWIG_AsInt(obj3);
19285 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19286 }
19287 if (obj4) {
2f4c0a16
RD
19288 arg5 = (int) SWIG_AsInt(obj4);
19289 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19290 }
44127b65
RD
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 Py_INCREF(Py_None); resultobj = Py_None;
19299 return resultobj;
19300 fail:
19301 return NULL;
19302}
19303
19304
a95a7133 19305static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19306 PyObject *resultobj;
19307 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19308 double arg2 ;
19309 double arg3 ;
19310 int arg4 = (int) 0 ;
19311 int arg5 = (int) 0 ;
19312 PyObject * obj0 = 0 ;
8edf1c75
RD
19313 PyObject * obj1 = 0 ;
19314 PyObject * obj2 = 0 ;
19315 PyObject * obj3 = 0 ;
19316 PyObject * obj4 = 0 ;
44127b65
RD
19317 char *kwnames[] = {
19318 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19319 };
19320
8edf1c75 19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19324 arg2 = (double) SWIG_AsDouble(obj1);
19325 if (PyErr_Occurred()) SWIG_fail;
19326 arg3 = (double) SWIG_AsDouble(obj2);
19327 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19328 if (obj3) {
2f4c0a16
RD
19329 arg4 = (int) SWIG_AsInt(obj3);
19330 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19331 }
19332 if (obj4) {
2f4c0a16
RD
19333 arg5 = (int) SWIG_AsInt(obj4);
19334 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19335 }
44127b65
RD
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 Py_INCREF(Py_None); resultobj = Py_None;
19344 return resultobj;
19345 fail:
19346 return NULL;
19347}
19348
19349
a95a7133 19350static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19351 PyObject *resultobj;
19352 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19353 double arg2 ;
19354 double arg3 ;
19355 PyObject * obj0 = 0 ;
8edf1c75
RD
19356 PyObject * obj1 = 0 ;
19357 PyObject * obj2 = 0 ;
44127b65
RD
19358 char *kwnames[] = {
19359 (char *) "self",(char *) "x",(char *) "y", NULL
19360 };
19361
8edf1c75 19362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19365 arg2 = (double) SWIG_AsDouble(obj1);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 arg3 = (double) SWIG_AsDouble(obj2);
19368 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 (arg1)->base_OnSize(arg2,arg3);
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 Py_INCREF(Py_None); resultobj = Py_None;
19377 return resultobj;
19378 fail:
19379 return NULL;
19380}
19381
19382
a95a7133 19383static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19384 PyObject *resultobj;
19385 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19386 wxDC *arg2 = 0 ;
19387 double arg3 ;
19388 double arg4 ;
19389 double arg5 ;
19390 double arg6 ;
19391 bool arg7 = (bool) True ;
19392 bool result;
19393 PyObject * obj0 = 0 ;
19394 PyObject * obj1 = 0 ;
8edf1c75
RD
19395 PyObject * obj2 = 0 ;
19396 PyObject * obj3 = 0 ;
19397 PyObject * obj4 = 0 ;
19398 PyObject * obj5 = 0 ;
44127b65
RD
19399 PyObject * obj6 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19402 };
19403
8edf1c75 19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
19405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19408 SWIG_POINTER_EXCEPTION | 0)) == -1)
19409 SWIG_fail;
44127b65 19410 if (arg2 == NULL) {
2f4c0a16
RD
19411 PyErr_SetString(PyExc_TypeError,"null reference");
19412 SWIG_fail;
19413 }
19414 arg3 = (double) SWIG_AsDouble(obj2);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 arg4 = (double) SWIG_AsDouble(obj3);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 arg5 = (double) SWIG_AsDouble(obj4);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 arg6 = (double) SWIG_AsDouble(obj5);
19421 if (PyErr_Occurred()) SWIG_fail;
44127b65 19422 if (obj6) {
2f4c0a16
RD
19423 arg7 = (bool) SWIG_AsBool(obj6);
19424 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19425 }
19426 {
19427 PyThreadState* __tstate = wxPyBeginAllowThreads();
19428 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19429
19430 wxPyEndAllowThreads(__tstate);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
fbc46b20
RD
19433 {
19434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19435 }
44127b65
RD
19436 return resultobj;
19437 fail:
19438 return NULL;
19439}
19440
19441
a95a7133 19442static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19443 PyObject *resultobj;
19444 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19445 wxDC *arg2 = 0 ;
19446 double arg3 ;
19447 double arg4 ;
19448 double arg5 ;
19449 double arg6 ;
19450 bool arg7 = (bool) True ;
19451 PyObject * obj0 = 0 ;
19452 PyObject * obj1 = 0 ;
8edf1c75
RD
19453 PyObject * obj2 = 0 ;
19454 PyObject * obj3 = 0 ;
19455 PyObject * obj4 = 0 ;
19456 PyObject * obj5 = 0 ;
44127b65
RD
19457 PyObject * obj6 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19460 };
19461
8edf1c75 19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
19463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19466 SWIG_POINTER_EXCEPTION | 0)) == -1)
19467 SWIG_fail;
44127b65 19468 if (arg2 == NULL) {
2f4c0a16
RD
19469 PyErr_SetString(PyExc_TypeError,"null reference");
19470 SWIG_fail;
19471 }
19472 arg3 = (double) SWIG_AsDouble(obj2);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 arg4 = (double) SWIG_AsDouble(obj3);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 arg5 = (double) SWIG_AsDouble(obj4);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 arg6 = (double) SWIG_AsDouble(obj5);
19479 if (PyErr_Occurred()) SWIG_fail;
44127b65 19480 if (obj6) {
2f4c0a16
RD
19481 arg7 = (bool) SWIG_AsBool(obj6);
19482 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19483 }
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19487
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 Py_INCREF(Py_None); resultobj = Py_None;
19492 return resultobj;
19493 fail:
19494 return NULL;
19495}
19496
19497
a95a7133 19498static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19499 PyObject *resultobj;
19500 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19501 bool arg2 ;
19502 double arg3 ;
19503 double arg4 ;
19504 int arg5 = (int) 0 ;
19505 int arg6 = (int) 0 ;
19506 PyObject * obj0 = 0 ;
19507 PyObject * obj1 = 0 ;
8edf1c75
RD
19508 PyObject * obj2 = 0 ;
19509 PyObject * obj3 = 0 ;
19510 PyObject * obj4 = 0 ;
19511 PyObject * obj5 = 0 ;
44127b65
RD
19512 char *kwnames[] = {
19513 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19514 };
19515
8edf1c75 19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19519 arg2 = (bool) SWIG_AsBool(obj1);
19520 if (PyErr_Occurred()) SWIG_fail;
19521 arg3 = (double) SWIG_AsDouble(obj2);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 arg4 = (double) SWIG_AsDouble(obj3);
19524 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19525 if (obj4) {
2f4c0a16
RD
19526 arg5 = (int) SWIG_AsInt(obj4);
19527 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19528 }
19529 if (obj5) {
2f4c0a16
RD
19530 arg6 = (int) SWIG_AsInt(obj5);
19531 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19532 }
44127b65
RD
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 Py_INCREF(Py_None); resultobj = Py_None;
19541 return resultobj;
19542 fail:
19543 return NULL;
19544}
19545
19546
a95a7133 19547static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19548 PyObject *resultobj;
19549 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19550 double arg2 ;
19551 double arg3 ;
19552 int arg4 = (int) 0 ;
19553 int arg5 = (int) 0 ;
19554 PyObject * obj0 = 0 ;
8edf1c75
RD
19555 PyObject * obj1 = 0 ;
19556 PyObject * obj2 = 0 ;
19557 PyObject * obj3 = 0 ;
19558 PyObject * obj4 = 0 ;
44127b65
RD
19559 char *kwnames[] = {
19560 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19561 };
19562
8edf1c75 19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19566 arg2 = (double) SWIG_AsDouble(obj1);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 arg3 = (double) SWIG_AsDouble(obj2);
19569 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19570 if (obj3) {
2f4c0a16
RD
19571 arg4 = (int) SWIG_AsInt(obj3);
19572 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19573 }
19574 if (obj4) {
2f4c0a16
RD
19575 arg5 = (int) SWIG_AsInt(obj4);
19576 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19577 }
44127b65
RD
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19581
19582 wxPyEndAllowThreads(__tstate);
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 Py_INCREF(Py_None); resultobj = Py_None;
19586 return resultobj;
19587 fail:
19588 return NULL;
19589}
19590
19591
a95a7133 19592static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19593 PyObject *resultobj;
19594 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19595 double arg2 ;
19596 double arg3 ;
19597 int arg4 = (int) 0 ;
19598 int arg5 = (int) 0 ;
19599 PyObject * obj0 = 0 ;
8edf1c75
RD
19600 PyObject * obj1 = 0 ;
19601 PyObject * obj2 = 0 ;
19602 PyObject * obj3 = 0 ;
19603 PyObject * obj4 = 0 ;
44127b65
RD
19604 char *kwnames[] = {
19605 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19606 };
19607
8edf1c75 19608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19611 arg2 = (double) SWIG_AsDouble(obj1);
19612 if (PyErr_Occurred()) SWIG_fail;
19613 arg3 = (double) SWIG_AsDouble(obj2);
19614 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19615 if (obj3) {
2f4c0a16
RD
19616 arg4 = (int) SWIG_AsInt(obj3);
19617 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19618 }
19619 if (obj4) {
2f4c0a16
RD
19620 arg5 = (int) SWIG_AsInt(obj4);
19621 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19622 }
44127b65
RD
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 Py_INCREF(Py_None); resultobj = Py_None;
19631 return resultobj;
19632 fail:
19633 return NULL;
19634}
19635
19636
a95a7133 19637static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19638 PyObject *resultobj;
19639 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19640 bool arg2 ;
19641 double arg3 ;
19642 double arg4 ;
19643 int arg5 = (int) 0 ;
19644 int arg6 = (int) 0 ;
19645 PyObject * obj0 = 0 ;
19646 PyObject * obj1 = 0 ;
8edf1c75
RD
19647 PyObject * obj2 = 0 ;
19648 PyObject * obj3 = 0 ;
19649 PyObject * obj4 = 0 ;
19650 PyObject * obj5 = 0 ;
44127b65
RD
19651 char *kwnames[] = {
19652 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19653 };
19654
8edf1c75 19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19658 arg2 = (bool) SWIG_AsBool(obj1);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 arg3 = (double) SWIG_AsDouble(obj2);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 arg4 = (double) SWIG_AsDouble(obj3);
19663 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19664 if (obj4) {
2f4c0a16
RD
19665 arg5 = (int) SWIG_AsInt(obj4);
19666 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19667 }
19668 if (obj5) {
2f4c0a16
RD
19669 arg6 = (int) SWIG_AsInt(obj5);
19670 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19671 }
44127b65
RD
19672 {
19673 PyThreadState* __tstate = wxPyBeginAllowThreads();
19674 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19675
19676 wxPyEndAllowThreads(__tstate);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 Py_INCREF(Py_None); resultobj = Py_None;
19680 return resultobj;
19681 fail:
19682 return NULL;
19683}
19684
19685
a95a7133 19686static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19687 PyObject *resultobj;
19688 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19689 double arg2 ;
19690 double arg3 ;
19691 int arg4 = (int) 0 ;
19692 int arg5 = (int) 0 ;
19693 PyObject * obj0 = 0 ;
8edf1c75
RD
19694 PyObject * obj1 = 0 ;
19695 PyObject * obj2 = 0 ;
19696 PyObject * obj3 = 0 ;
19697 PyObject * obj4 = 0 ;
44127b65
RD
19698 char *kwnames[] = {
19699 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19700 };
19701
8edf1c75 19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19705 arg2 = (double) SWIG_AsDouble(obj1);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 arg3 = (double) SWIG_AsDouble(obj2);
19708 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19709 if (obj3) {
2f4c0a16
RD
19710 arg4 = (int) SWIG_AsInt(obj3);
19711 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19712 }
19713 if (obj4) {
2f4c0a16
RD
19714 arg5 = (int) SWIG_AsInt(obj4);
19715 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19716 }
44127b65
RD
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
19720
19721 wxPyEndAllowThreads(__tstate);
19722 if (PyErr_Occurred()) SWIG_fail;
19723 }
19724 Py_INCREF(Py_None); resultobj = Py_None;
19725 return resultobj;
19726 fail:
19727 return NULL;
19728}
19729
19730
a95a7133 19731static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19732 PyObject *resultobj;
19733 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19734 double arg2 ;
19735 double arg3 ;
19736 int arg4 = (int) 0 ;
19737 int arg5 = (int) 0 ;
19738 PyObject * obj0 = 0 ;
8edf1c75
RD
19739 PyObject * obj1 = 0 ;
19740 PyObject * obj2 = 0 ;
19741 PyObject * obj3 = 0 ;
19742 PyObject * obj4 = 0 ;
44127b65
RD
19743 char *kwnames[] = {
19744 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19745 };
19746
8edf1c75 19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
19748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19750 arg2 = (double) SWIG_AsDouble(obj1);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 arg3 = (double) SWIG_AsDouble(obj2);
19753 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19754 if (obj3) {
2f4c0a16
RD
19755 arg4 = (int) SWIG_AsInt(obj3);
19756 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19757 }
19758 if (obj4) {
2f4c0a16
RD
19759 arg5 = (int) SWIG_AsInt(obj4);
19760 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19761 }
44127b65
RD
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 Py_INCREF(Py_None); resultobj = Py_None;
19770 return resultobj;
19771 fail:
19772 return NULL;
19773}
19774
19775
a95a7133 19776static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19777 PyObject *resultobj;
19778 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19779 wxDC *arg2 = 0 ;
19780 double arg3 ;
19781 double arg4 ;
19782 double arg5 ;
19783 double arg6 ;
19784 PyObject * obj0 = 0 ;
19785 PyObject * obj1 = 0 ;
8edf1c75
RD
19786 PyObject * obj2 = 0 ;
19787 PyObject * obj3 = 0 ;
19788 PyObject * obj4 = 0 ;
19789 PyObject * obj5 = 0 ;
44127b65
RD
19790 char *kwnames[] = {
19791 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19792 };
19793
8edf1c75 19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
19795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19798 SWIG_POINTER_EXCEPTION | 0)) == -1)
19799 SWIG_fail;
44127b65 19800 if (arg2 == NULL) {
2f4c0a16
RD
19801 PyErr_SetString(PyExc_TypeError,"null reference");
19802 SWIG_fail;
8edf1c75 19803 }
2f4c0a16
RD
19804 arg3 = (double) SWIG_AsDouble(obj2);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 arg4 = (double) SWIG_AsDouble(obj3);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 arg5 = (double) SWIG_AsDouble(obj4);
19809 if (PyErr_Occurred()) SWIG_fail;
19810 arg6 = (double) SWIG_AsDouble(obj5);
19811 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19815
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 Py_INCREF(Py_None); resultobj = Py_None;
19820 return resultobj;
19821 fail:
19822 return NULL;
19823}
19824
19825
a95a7133 19826static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19827 PyObject *resultobj;
19828 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19829 wxDC *arg2 = 0 ;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self",(char *) "dc", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19840 SWIG_POINTER_EXCEPTION | 0)) == -1)
19841 SWIG_fail;
44127b65 19842 if (arg2 == NULL) {
2f4c0a16
RD
19843 PyErr_SetString(PyExc_TypeError,"null reference");
19844 SWIG_fail;
44127b65
RD
19845 }
19846 {
19847 PyThreadState* __tstate = wxPyBeginAllowThreads();
19848 (arg1)->base_OnDrawControlPoints(*arg2);
19849
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 Py_INCREF(Py_None); resultobj = Py_None;
19854 return resultobj;
19855 fail:
19856 return NULL;
19857}
19858
19859
a95a7133 19860static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19861 PyObject *resultobj;
19862 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19863 wxDC *arg2 = 0 ;
19864 PyObject * obj0 = 0 ;
19865 PyObject * obj1 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self",(char *) "dc", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19874 SWIG_POINTER_EXCEPTION | 0)) == -1)
19875 SWIG_fail;
44127b65 19876 if (arg2 == NULL) {
2f4c0a16
RD
19877 PyErr_SetString(PyExc_TypeError,"null reference");
19878 SWIG_fail;
44127b65
RD
19879 }
19880 {
19881 PyThreadState* __tstate = wxPyBeginAllowThreads();
19882 (arg1)->base_OnEraseControlPoints(*arg2);
19883
19884 wxPyEndAllowThreads(__tstate);
19885 if (PyErr_Occurred()) SWIG_fail;
19886 }
19887 Py_INCREF(Py_None); resultobj = Py_None;
19888 return resultobj;
19889 fail:
19890 return NULL;
19891}
19892
19893
a95a7133 19894static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19895 PyObject *resultobj;
19896 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19897 wxDC *arg2 = 0 ;
19898 bool arg3 = (bool) True ;
19899 PyObject * obj0 = 0 ;
19900 PyObject * obj1 = 0 ;
19901 PyObject * obj2 = 0 ;
19902 char *kwnames[] = {
19903 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19904 };
19905
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
19910 SWIG_POINTER_EXCEPTION | 0)) == -1)
19911 SWIG_fail;
44127b65 19912 if (arg2 == NULL) {
2f4c0a16
RD
19913 PyErr_SetString(PyExc_TypeError,"null reference");
19914 SWIG_fail;
44127b65
RD
19915 }
19916 if (obj2) {
2f4c0a16
RD
19917 arg3 = (bool) SWIG_AsBool(obj2);
19918 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
19919 }
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 (arg1)->base_OnMoveLink(*arg2,arg3);
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 Py_INCREF(Py_None); resultobj = Py_None;
19928 return resultobj;
19929 fail:
19930 return NULL;
19931}
19932
19933
a95a7133 19934static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19935 PyObject *resultobj;
19936 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19937 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19938 bool arg3 ;
19939 double arg4 ;
19940 double arg5 ;
19941 int arg6 = (int) 0 ;
19942 int arg7 = (int) 0 ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 PyObject * obj2 = 0 ;
8edf1c75
RD
19946 PyObject * obj3 = 0 ;
19947 PyObject * obj4 = 0 ;
19948 PyObject * obj5 = 0 ;
19949 PyObject * obj6 = 0 ;
44127b65
RD
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19952 };
19953
8edf1c75 19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
19955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
19956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
19958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19959 arg3 = (bool) SWIG_AsBool(obj2);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 arg4 = (double) SWIG_AsDouble(obj3);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 arg5 = (double) SWIG_AsDouble(obj4);
19964 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19965 if (obj5) {
2f4c0a16
RD
19966 arg6 = (int) SWIG_AsInt(obj5);
19967 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19968 }
19969 if (obj6) {
2f4c0a16
RD
19970 arg7 = (int) SWIG_AsInt(obj6);
19971 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19972 }
44127b65
RD
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 Py_INCREF(Py_None); resultobj = Py_None;
19981 return resultobj;
19982 fail:
19983 return NULL;
19984}
19985
19986
a95a7133 19987static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
19988 PyObject *resultobj;
19989 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19990 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19991 double arg3 ;
19992 double arg4 ;
19993 int arg5 = (int) 0 ;
19994 int arg6 = (int) 0 ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
8edf1c75
RD
19997 PyObject * obj2 = 0 ;
19998 PyObject * obj3 = 0 ;
19999 PyObject * obj4 = 0 ;
20000 PyObject * obj5 = 0 ;
44127b65
RD
20001 char *kwnames[] = {
20002 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20003 };
20004
8edf1c75 20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
20006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 arg3 = (double) SWIG_AsDouble(obj2);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 arg4 = (double) SWIG_AsDouble(obj3);
20013 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20014 if (obj4) {
2f4c0a16
RD
20015 arg5 = (int) SWIG_AsInt(obj4);
20016 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20017 }
20018 if (obj5) {
2f4c0a16
RD
20019 arg6 = (int) SWIG_AsInt(obj5);
20020 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20021 }
44127b65
RD
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
20025
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 Py_INCREF(Py_None); resultobj = Py_None;
20030 return resultobj;
20031 fail:
20032 return NULL;
20033}
20034
20035
a95a7133 20036static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20037 PyObject *resultobj;
20038 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20039 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20040 double arg3 ;
20041 double arg4 ;
20042 int arg5 = (int) 0 ;
20043 int arg6 = (int) 0 ;
20044 PyObject * obj0 = 0 ;
20045 PyObject * obj1 = 0 ;
8edf1c75
RD
20046 PyObject * obj2 = 0 ;
20047 PyObject * obj3 = 0 ;
20048 PyObject * obj4 = 0 ;
20049 PyObject * obj5 = 0 ;
44127b65
RD
20050 char *kwnames[] = {
20051 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20052 };
20053
8edf1c75 20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
20055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
20058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20059 arg3 = (double) SWIG_AsDouble(obj2);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 arg4 = (double) SWIG_AsDouble(obj3);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 if (obj4) {
20064 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
2f4c0a16
RD
20067 if (obj5) {
20068 arg6 = (int) SWIG_AsInt(obj5);
8edf1c75
RD
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
44127b65
RD
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 Py_INCREF(Py_None); resultobj = Py_None;
20079 return resultobj;
20080 fail:
20081 return NULL;
20082}
20083
20084
a95a7133 20085static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20086 PyObject *resultobj;
20087 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20088 double arg2 ;
20089 double arg3 ;
20090 PyObject * obj0 = 0 ;
8edf1c75
RD
20091 PyObject * obj1 = 0 ;
20092 PyObject * obj2 = 0 ;
44127b65
RD
20093 char *kwnames[] = {
20094 (char *) "self",(char *) "w",(char *) "h", NULL
20095 };
20096
8edf1c75 20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20100 arg2 = (double) SWIG_AsDouble(obj1);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 arg3 = (double) SWIG_AsDouble(obj2);
20103 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 (arg1)->base_OnBeginSize(arg2,arg3);
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 Py_INCREF(Py_None); resultobj = Py_None;
20112 return resultobj;
20113 fail:
20114 return NULL;
20115}
20116
20117
a95a7133 20118static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20119 PyObject *resultobj;
20120 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20121 double arg2 ;
20122 double arg3 ;
20123 PyObject * obj0 = 0 ;
8edf1c75
RD
20124 PyObject * obj1 = 0 ;
20125 PyObject * obj2 = 0 ;
44127b65
RD
20126 char *kwnames[] = {
20127 (char *) "self",(char *) "w",(char *) "h", NULL
20128 };
20129
8edf1c75 20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDividedShape,
20132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20133 arg2 = (double) SWIG_AsDouble(obj1);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 arg3 = (double) SWIG_AsDouble(obj2);
20136 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 (arg1)->base_OnEndSize(arg2,arg3);
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 Py_INCREF(Py_None); resultobj = Py_None;
20145 return resultobj;
20146 fail:
20147 return NULL;
20148}
20149
20150
a95a7133 20151static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
20152 PyObject *obj;
20153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20154 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20155 Py_INCREF(obj);
20156 return Py_BuildValue((char *)"");
20157}
a95a7133 20158static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20159 PyObject *resultobj;
20160 wxPyDivisionShape *result;
20161 char *kwnames[] = {
20162 NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20169
20170 wxPyEndAllowThreads(__tstate);
20171 if (PyErr_Occurred()) SWIG_fail;
20172 }
b0f7404b 20173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDivisionShape, 1);
44127b65
RD
20174 return resultobj;
20175 fail:
20176 return NULL;
20177}
20178
20179
a95a7133 20180static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20181 PyObject *resultobj;
20182 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20183 PyObject *arg2 = (PyObject *) 0 ;
20184 PyObject *arg3 = (PyObject *) 0 ;
20185 PyObject * obj0 = 0 ;
20186 PyObject * obj1 = 0 ;
20187 PyObject * obj2 = 0 ;
20188 char *kwnames[] = {
20189 (char *) "self",(char *) "self",(char *) "_class", NULL
20190 };
20191
20192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20195 arg2 = obj1;
20196 arg3 = obj2;
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 (arg1)->_setCallbackInfo(arg2,arg3);
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 Py_INCREF(Py_None); resultobj = Py_None;
20205 return resultobj;
20206 fail:
20207 return NULL;
20208}
20209
20210
a95a7133 20211static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20212 PyObject *resultobj;
20213 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20214 double arg2 ;
20215 bool arg3 ;
20216 PyObject * obj0 = 0 ;
8edf1c75 20217 PyObject * obj1 = 0 ;
44127b65
RD
20218 PyObject * obj2 = 0 ;
20219 char *kwnames[] = {
20220 (char *) "self",(char *) "bottom",(char *) "test", NULL
20221 };
20222
8edf1c75 20223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20226 arg2 = (double) SWIG_AsDouble(obj1);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 arg3 = (bool) SWIG_AsBool(obj2);
20229 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 (arg1)->AdjustBottom(arg2,arg3);
20233
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 Py_INCREF(Py_None); resultobj = Py_None;
20238 return resultobj;
20239 fail:
20240 return NULL;
20241}
20242
20243
a95a7133 20244static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20245 PyObject *resultobj;
20246 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20247 double arg2 ;
20248 bool arg3 ;
20249 PyObject * obj0 = 0 ;
8edf1c75 20250 PyObject * obj1 = 0 ;
44127b65
RD
20251 PyObject * obj2 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self",(char *) "left",(char *) "test", NULL
20254 };
20255
8edf1c75 20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20259 arg2 = (double) SWIG_AsDouble(obj1);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 arg3 = (bool) SWIG_AsBool(obj2);
20262 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20263 {
20264 PyThreadState* __tstate = wxPyBeginAllowThreads();
20265 (arg1)->AdjustLeft(arg2,arg3);
20266
20267 wxPyEndAllowThreads(__tstate);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 Py_INCREF(Py_None); resultobj = Py_None;
20271 return resultobj;
20272 fail:
20273 return NULL;
20274}
20275
20276
a95a7133 20277static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20278 PyObject *resultobj;
20279 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20280 double arg2 ;
20281 bool arg3 ;
20282 PyObject * obj0 = 0 ;
8edf1c75 20283 PyObject * obj1 = 0 ;
44127b65
RD
20284 PyObject * obj2 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "self",(char *) "right",(char *) "test", NULL
20287 };
20288
8edf1c75 20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20292 arg2 = (double) SWIG_AsDouble(obj1);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 arg3 = (bool) SWIG_AsBool(obj2);
20295 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 (arg1)->AdjustRight(arg2,arg3);
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 Py_INCREF(Py_None); resultobj = Py_None;
20304 return resultobj;
20305 fail:
20306 return NULL;
20307}
20308
20309
a95a7133 20310static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20311 PyObject *resultobj;
20312 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20313 double arg2 ;
20314 bool arg3 ;
20315 PyObject * obj0 = 0 ;
8edf1c75 20316 PyObject * obj1 = 0 ;
44127b65
RD
20317 PyObject * obj2 = 0 ;
20318 char *kwnames[] = {
20319 (char *) "self",(char *) "top",(char *) "test", NULL
20320 };
20321
8edf1c75 20322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20325 arg2 = (double) SWIG_AsDouble(obj1);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 arg3 = (bool) SWIG_AsBool(obj2);
20328 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 (arg1)->AdjustTop(arg2,arg3);
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 Py_INCREF(Py_None); resultobj = Py_None;
20337 return resultobj;
20338 fail:
20339 return NULL;
20340}
20341
20342
a95a7133 20343static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20344 PyObject *resultobj;
20345 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20346 int arg2 ;
20347 PyObject * obj0 = 0 ;
8edf1c75 20348 PyObject * obj1 = 0 ;
44127b65
RD
20349 char *kwnames[] = {
20350 (char *) "self",(char *) "direction", NULL
20351 };
20352
8edf1c75 20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20356 arg2 = (int) SWIG_AsInt(obj1);
20357 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 (arg1)->Divide(arg2);
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 Py_INCREF(Py_None); resultobj = Py_None;
20366 return resultobj;
20367 fail:
20368 return NULL;
20369}
20370
20371
a95a7133 20372static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20373 PyObject *resultobj;
20374 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20375 int arg2 ;
20376 PyObject * obj0 = 0 ;
8edf1c75 20377 PyObject * obj1 = 0 ;
44127b65
RD
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "side", NULL
20380 };
20381
8edf1c75 20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20385 arg2 = (int) SWIG_AsInt(obj1);
20386 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->EditEdge(arg2);
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 Py_INCREF(Py_None); resultobj = Py_None;
20395 return resultobj;
20396 fail:
20397 return NULL;
20398}
20399
20400
a95a7133 20401static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20402 PyObject *resultobj;
20403 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20404 wxPyDivisionShape *result;
20405 PyObject * obj0 = 0 ;
20406 char *kwnames[] = {
20407 (char *) "self", NULL
20408 };
20409
20410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 {
412d302d 20421 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
20422 }
20423 return resultobj;
20424 fail:
20425 return NULL;
20426}
20427
20428
a95a7133 20429static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20430 PyObject *resultobj;
20431 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20432 int result;
20433 PyObject * obj0 = 0 ;
20434 char *kwnames[] = {
20435 (char *) "self", NULL
20436 };
20437
20438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 result = (int)(arg1)->GetHandleSide();
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
2f4c0a16 20448 resultobj = SWIG_FromInt((int)result);
44127b65
RD
20449 return resultobj;
20450 fail:
20451 return NULL;
20452}
20453
20454
a95a7133 20455static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20456 PyObject *resultobj;
20457 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20458 wxPyDivisionShape *result;
20459 PyObject * obj0 = 0 ;
20460 char *kwnames[] = {
20461 (char *) "self", NULL
20462 };
20463
20464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
20469 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20470
20471 wxPyEndAllowThreads(__tstate);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 {
412d302d 20475 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
20476 }
20477 return resultobj;
20478 fail:
20479 return NULL;
20480}
20481
20482
a95a7133 20483static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20484 PyObject *resultobj;
20485 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20486 wxString result;
20487 PyObject * obj0 = 0 ;
20488 char *kwnames[] = {
20489 (char *) "self", NULL
20490 };
20491
20492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 result = (arg1)->GetLeftSideColour();
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 {
20503#if wxUSE_UNICODE
20504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20505#else
20506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20507#endif
20508 }
20509 return resultobj;
20510 fail:
20511 return NULL;
20512}
20513
20514
a95a7133 20515static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20516 PyObject *resultobj;
20517 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20518 wxPen *result;
20519 PyObject * obj0 = 0 ;
20520 char *kwnames[] = {
20521 (char *) "self", NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
20529 result = (wxPen *)(arg1)->GetLeftSidePen();
20530
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
2f4c0a16 20534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
20535 return resultobj;
20536 fail:
20537 return NULL;
20538}
20539
20540
a95a7133 20541static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20542 PyObject *resultobj;
20543 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20544 wxPyDivisionShape *result;
20545 PyObject * obj0 = 0 ;
20546 char *kwnames[] = {
20547 (char *) "self", NULL
20548 };
20549
20550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 {
412d302d 20561 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
20562 }
20563 return resultobj;
20564 fail:
20565 return NULL;
20566}
20567
20568
a95a7133 20569static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20570 PyObject *resultobj;
20571 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20572 wxPyDivisionShape *result;
20573 PyObject * obj0 = 0 ;
20574 char *kwnames[] = {
20575 (char *) "self", NULL
20576 };
20577
20578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20581 {
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20584
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 {
412d302d 20589 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
20590 }
20591 return resultobj;
20592 fail:
20593 return NULL;
20594}
20595
20596
a95a7133 20597static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20598 PyObject *resultobj;
20599 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20600 wxPen *result;
20601 PyObject * obj0 = 0 ;
20602 char *kwnames[] = {
20603 (char *) "self", NULL
20604 };
20605
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20609 {
20610 PyThreadState* __tstate = wxPyBeginAllowThreads();
20611 result = (wxPen *)(arg1)->GetTopSidePen();
20612
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
2f4c0a16 20616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
20617 return resultobj;
20618 fail:
20619 return NULL;
20620}
20621
20622
a95a7133 20623static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20624 PyObject *resultobj;
20625 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20626 int arg2 ;
20627 double arg3 ;
20628 bool arg4 ;
20629 PyObject * obj0 = 0 ;
8edf1c75
RD
20630 PyObject * obj1 = 0 ;
20631 PyObject * obj2 = 0 ;
44127b65
RD
20632 PyObject * obj3 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20635 };
20636
8edf1c75 20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
20638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20640 arg2 = (int) SWIG_AsInt(obj1);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 arg3 = (double) SWIG_AsDouble(obj2);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 arg4 = (bool) SWIG_AsBool(obj3);
20645 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20646 {
20647 PyThreadState* __tstate = wxPyBeginAllowThreads();
20648 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
20649
20650 wxPyEndAllowThreads(__tstate);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 }
20653 Py_INCREF(Py_None); resultobj = Py_None;
20654 return resultobj;
20655 fail:
20656 return NULL;
20657}
20658
20659
a95a7133 20660static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20661 PyObject *resultobj;
20662 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20663 double arg2 ;
20664 double arg3 ;
20665 PyObject * obj0 = 0 ;
8edf1c75
RD
20666 PyObject * obj1 = 0 ;
20667 PyObject * obj2 = 0 ;
44127b65
RD
20668 char *kwnames[] = {
20669 (char *) "self",(char *) "x",(char *) "y", NULL
20670 };
20671
8edf1c75 20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20675 arg2 = (double) SWIG_AsDouble(obj1);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 arg3 = (double) SWIG_AsDouble(obj2);
20678 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->PopupMenu(arg2,arg3);
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690}
20691
20692
a95a7133 20693static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20694 PyObject *resultobj;
20695 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20696 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "shape", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 (arg1)->SetBottomSide(arg2);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 Py_INCREF(Py_None); resultobj = Py_None;
20716 return resultobj;
20717 fail:
20718 return NULL;
20719}
20720
20721
a95a7133 20722static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20723 PyObject *resultobj;
20724 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20725 int arg2 ;
20726 PyObject * obj0 = 0 ;
8edf1c75 20727 PyObject * obj1 = 0 ;
44127b65
RD
20728 char *kwnames[] = {
20729 (char *) "self",(char *) "side", NULL
20730 };
20731
8edf1c75 20732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20735 arg2 = (int) SWIG_AsInt(obj1);
20736 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 (arg1)->SetHandleSide(arg2);
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 Py_INCREF(Py_None); resultobj = Py_None;
20745 return resultobj;
20746 fail:
20747 return NULL;
20748}
20749
20750
a95a7133 20751static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20752 PyObject *resultobj;
20753 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20754 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20755 PyObject * obj0 = 0 ;
20756 PyObject * obj1 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self",(char *) "shape", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 (arg1)->SetLeftSide(arg2);
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
a95a7133 20780static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20781 PyObject *resultobj;
20782 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20783 wxString *arg2 = 0 ;
20784 bool temp2 = False ;
20785 PyObject * obj0 = 0 ;
20786 PyObject * obj1 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self",(char *) "colour", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20794 {
20795 arg2 = wxString_in_helper(obj1);
20796 if (arg2 == NULL) SWIG_fail;
20797 temp2 = True;
20798 }
20799 {
20800 PyThreadState* __tstate = wxPyBeginAllowThreads();
20801 (arg1)->SetLeftSideColour((wxString const &)*arg2);
20802
20803 wxPyEndAllowThreads(__tstate);
20804 if (PyErr_Occurred()) SWIG_fail;
20805 }
20806 Py_INCREF(Py_None); resultobj = Py_None;
20807 {
20808 if (temp2)
20809 delete arg2;
20810 }
20811 return resultobj;
20812 fail:
20813 {
20814 if (temp2)
20815 delete arg2;
20816 }
20817 return NULL;
20818}
20819
20820
a95a7133 20821static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20822 PyObject *resultobj;
20823 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20824 wxPen *arg2 = (wxPen *) 0 ;
20825 PyObject * obj0 = 0 ;
20826 PyObject * obj1 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self",(char *) "pen", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20834 {
20835 wxPen* temp;
20836 if (obj1) {
20837 if (obj1 == Py_None) {
20838 temp = NULL;
20839 }
20840 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20841 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20842 return NULL;
20843 }
20844 }
20845 if (temp)
20846 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20847 temp->GetWidth(),
20848 temp->GetStyle());
20849 else
20850 arg2 = NULL;
20851 }
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 (arg1)->SetLeftSidePen(arg2);
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 Py_INCREF(Py_None); resultobj = Py_None;
20860 return resultobj;
20861 fail:
20862 return NULL;
20863}
20864
20865
a95a7133 20866static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20867 PyObject *resultobj;
20868 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20869 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20870 PyObject * obj0 = 0 ;
20871 PyObject * obj1 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self",(char *) "shape", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 (arg1)->SetRightSide(arg2);
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 Py_INCREF(Py_None); resultobj = Py_None;
20889 return resultobj;
20890 fail:
20891 return NULL;
20892}
20893
20894
a95a7133 20895static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20896 PyObject *resultobj;
20897 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20898 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
20899 PyObject * obj0 = 0 ;
20900 PyObject * obj1 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self",(char *) "shape", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDivisionShape,
20909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 (arg1)->SetTopSide(arg2);
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 Py_INCREF(Py_None); resultobj = Py_None;
20918 return resultobj;
20919 fail:
20920 return NULL;
20921}
20922
20923
a95a7133 20924static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20925 PyObject *resultobj;
20926 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20927 wxString *arg2 = 0 ;
20928 bool temp2 = False ;
20929 PyObject * obj0 = 0 ;
20930 PyObject * obj1 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self",(char *) "colour", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20938 {
20939 arg2 = wxString_in_helper(obj1);
20940 if (arg2 == NULL) SWIG_fail;
20941 temp2 = True;
20942 }
20943 {
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 (arg1)->SetTopSideColour((wxString const &)*arg2);
20946
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 Py_INCREF(Py_None); resultobj = Py_None;
20951 {
20952 if (temp2)
20953 delete arg2;
20954 }
20955 return resultobj;
20956 fail:
20957 {
20958 if (temp2)
20959 delete arg2;
20960 }
20961 return NULL;
20962}
20963
20964
a95a7133 20965static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
20966 PyObject *resultobj;
20967 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20968 wxPen *arg2 = (wxPen *) 0 ;
20969 PyObject * obj0 = 0 ;
20970 PyObject * obj1 = 0 ;
20971 char *kwnames[] = {
20972 (char *) "self",(char *) "pen", NULL
20973 };
20974
20975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
20977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
20978 {
20979 wxPen* temp;
20980 if (obj1) {
20981 if (obj1 == Py_None) {
20982 temp = NULL;
20983 }
20984 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
20985 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
20986 return NULL;
20987 }
20988 }
20989 if (temp)
20990 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
20991 temp->GetWidth(),
20992 temp->GetStyle());
20993 else
20994 arg2 = NULL;
20995 }
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 (arg1)->SetTopSidePen(arg2);
20999
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 Py_INCREF(Py_None); resultobj = Py_None;
21004 return resultobj;
21005 fail:
21006 return NULL;
21007}
21008
21009
a95a7133 21010static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21011 PyObject *resultobj;
21012 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21013 PyObject * obj0 = 0 ;
21014 char *kwnames[] = {
21015 (char *) "self", NULL
21016 };
21017
21018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
21021 {
21022 PyThreadState* __tstate = wxPyBeginAllowThreads();
21023 (arg1)->base_OnDelete();
21024
21025 wxPyEndAllowThreads(__tstate);
21026 if (PyErr_Occurred()) SWIG_fail;
21027 }
21028 Py_INCREF(Py_None); resultobj = Py_None;
21029 return resultobj;
21030 fail:
21031 return NULL;
21032}
21033
21034
a95a7133 21035static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21036 PyObject *resultobj;
21037 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21038 wxDC *arg2 = 0 ;
21039 PyObject * obj0 = 0 ;
21040 PyObject * obj1 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self",(char *) "dc", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21049 SWIG_POINTER_EXCEPTION | 0)) == -1)
21050 SWIG_fail;
44127b65 21051 if (arg2 == NULL) {
2f4c0a16
RD
21052 PyErr_SetString(PyExc_TypeError,"null reference");
21053 SWIG_fail;
44127b65
RD
21054 }
21055 {
21056 PyThreadState* __tstate = wxPyBeginAllowThreads();
21057 (arg1)->base_OnDraw(*arg2);
21058
21059 wxPyEndAllowThreads(__tstate);
21060 if (PyErr_Occurred()) SWIG_fail;
21061 }
21062 Py_INCREF(Py_None); resultobj = Py_None;
21063 return resultobj;
21064 fail:
21065 return NULL;
21066}
21067
21068
a95a7133 21069static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21070 PyObject *resultobj;
21071 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21072 wxDC *arg2 = 0 ;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "dc", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21083 SWIG_POINTER_EXCEPTION | 0)) == -1)
21084 SWIG_fail;
44127b65 21085 if (arg2 == NULL) {
2f4c0a16
RD
21086 PyErr_SetString(PyExc_TypeError,"null reference");
21087 SWIG_fail;
44127b65
RD
21088 }
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 (arg1)->base_OnDrawContents(*arg2);
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 Py_INCREF(Py_None); resultobj = Py_None;
21097 return resultobj;
21098 fail:
21099 return NULL;
21100}
21101
21102
a95a7133 21103static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21104 PyObject *resultobj;
21105 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21106 wxDC *arg2 = 0 ;
21107 bool arg3 = (bool) FALSE ;
21108 PyObject * obj0 = 0 ;
21109 PyObject * obj1 = 0 ;
21110 PyObject * obj2 = 0 ;
21111 char *kwnames[] = {
21112 (char *) "self",(char *) "dc",(char *) "erase", NULL
21113 };
21114
21115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21119 SWIG_POINTER_EXCEPTION | 0)) == -1)
21120 SWIG_fail;
44127b65 21121 if (arg2 == NULL) {
2f4c0a16
RD
21122 PyErr_SetString(PyExc_TypeError,"null reference");
21123 SWIG_fail;
44127b65
RD
21124 }
21125 if (obj2) {
2f4c0a16
RD
21126 arg3 = (bool) SWIG_AsBool(obj2);
21127 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21128 }
21129 {
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 (arg1)->base_OnDrawBranches(*arg2,arg3);
21132
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
21136 Py_INCREF(Py_None); resultobj = Py_None;
21137 return resultobj;
21138 fail:
21139 return NULL;
21140}
21141
21142
a95a7133 21143static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21144 PyObject *resultobj;
21145 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21146 wxDC *arg2 = 0 ;
21147 PyObject * obj0 = 0 ;
21148 PyObject * obj1 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self",(char *) "dc", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21157 SWIG_POINTER_EXCEPTION | 0)) == -1)
21158 SWIG_fail;
44127b65 21159 if (arg2 == NULL) {
2f4c0a16
RD
21160 PyErr_SetString(PyExc_TypeError,"null reference");
21161 SWIG_fail;
44127b65
RD
21162 }
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 (arg1)->base_OnMoveLinks(*arg2);
21166
21167 wxPyEndAllowThreads(__tstate);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 }
21170 Py_INCREF(Py_None); resultobj = Py_None;
21171 return resultobj;
21172 fail:
21173 return NULL;
21174}
21175
21176
a95a7133 21177static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21178 PyObject *resultobj;
21179 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21180 wxDC *arg2 = 0 ;
21181 PyObject * obj0 = 0 ;
21182 PyObject * obj1 = 0 ;
21183 char *kwnames[] = {
21184 (char *) "self",(char *) "dc", NULL
21185 };
21186
21187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21191 SWIG_POINTER_EXCEPTION | 0)) == -1)
21192 SWIG_fail;
44127b65 21193 if (arg2 == NULL) {
2f4c0a16
RD
21194 PyErr_SetString(PyExc_TypeError,"null reference");
21195 SWIG_fail;
44127b65
RD
21196 }
21197 {
21198 PyThreadState* __tstate = wxPyBeginAllowThreads();
21199 (arg1)->base_OnErase(*arg2);
21200
21201 wxPyEndAllowThreads(__tstate);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 }
21204 Py_INCREF(Py_None); resultobj = Py_None;
21205 return resultobj;
21206 fail:
21207 return NULL;
21208}
21209
21210
a95a7133 21211static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21212 PyObject *resultobj;
21213 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21214 wxDC *arg2 = 0 ;
21215 PyObject * obj0 = 0 ;
21216 PyObject * obj1 = 0 ;
21217 char *kwnames[] = {
21218 (char *) "self",(char *) "dc", NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21225 SWIG_POINTER_EXCEPTION | 0)) == -1)
21226 SWIG_fail;
44127b65 21227 if (arg2 == NULL) {
2f4c0a16
RD
21228 PyErr_SetString(PyExc_TypeError,"null reference");
21229 SWIG_fail;
44127b65
RD
21230 }
21231 {
21232 PyThreadState* __tstate = wxPyBeginAllowThreads();
21233 (arg1)->base_OnEraseContents(*arg2);
21234
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 Py_INCREF(Py_None); resultobj = Py_None;
21239 return resultobj;
21240 fail:
21241 return NULL;
21242}
21243
21244
a95a7133 21245static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21246 PyObject *resultobj;
21247 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21248 wxDC *arg2 = 0 ;
21249 PyObject * obj0 = 0 ;
21250 PyObject * obj1 = 0 ;
21251 char *kwnames[] = {
21252 (char *) "self",(char *) "dc", NULL
21253 };
21254
21255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21259 SWIG_POINTER_EXCEPTION | 0)) == -1)
21260 SWIG_fail;
44127b65 21261 if (arg2 == NULL) {
2f4c0a16
RD
21262 PyErr_SetString(PyExc_TypeError,"null reference");
21263 SWIG_fail;
44127b65
RD
21264 }
21265 {
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 (arg1)->base_OnHighlight(*arg2);
21268
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 Py_INCREF(Py_None); resultobj = Py_None;
21273 return resultobj;
21274 fail:
21275 return NULL;
21276}
21277
21278
a95a7133 21279static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21280 PyObject *resultobj;
21281 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21282 double arg2 ;
21283 double arg3 ;
21284 int arg4 = (int) 0 ;
21285 int arg5 = (int) 0 ;
21286 PyObject * obj0 = 0 ;
8edf1c75
RD
21287 PyObject * obj1 = 0 ;
21288 PyObject * obj2 = 0 ;
21289 PyObject * obj3 = 0 ;
21290 PyObject * obj4 = 0 ;
44127b65
RD
21291 char *kwnames[] = {
21292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21293 };
21294
8edf1c75 21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21298 arg2 = (double) SWIG_AsDouble(obj1);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 arg3 = (double) SWIG_AsDouble(obj2);
21301 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21302 if (obj3) {
2f4c0a16
RD
21303 arg4 = (int) SWIG_AsInt(obj3);
21304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21305 }
21306 if (obj4) {
2f4c0a16
RD
21307 arg5 = (int) SWIG_AsInt(obj4);
21308 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21309 }
44127b65
RD
21310 {
21311 PyThreadState* __tstate = wxPyBeginAllowThreads();
21312 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21313
21314 wxPyEndAllowThreads(__tstate);
21315 if (PyErr_Occurred()) SWIG_fail;
21316 }
21317 Py_INCREF(Py_None); resultobj = Py_None;
21318 return resultobj;
21319 fail:
21320 return NULL;
21321}
21322
21323
a95a7133 21324static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21325 PyObject *resultobj;
21326 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21327 double arg2 ;
21328 double arg3 ;
21329 int arg4 = (int) 0 ;
21330 int arg5 = (int) 0 ;
21331 PyObject * obj0 = 0 ;
8edf1c75
RD
21332 PyObject * obj1 = 0 ;
21333 PyObject * obj2 = 0 ;
21334 PyObject * obj3 = 0 ;
21335 PyObject * obj4 = 0 ;
44127b65
RD
21336 char *kwnames[] = {
21337 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21338 };
21339
8edf1c75 21340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21343 arg2 = (double) SWIG_AsDouble(obj1);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 arg3 = (double) SWIG_AsDouble(obj2);
21346 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21347 if (obj3) {
2f4c0a16
RD
21348 arg4 = (int) SWIG_AsInt(obj3);
21349 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21350 }
21351 if (obj4) {
2f4c0a16
RD
21352 arg5 = (int) SWIG_AsInt(obj4);
21353 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21354 }
44127b65
RD
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 Py_INCREF(Py_None); resultobj = Py_None;
21363 return resultobj;
21364 fail:
21365 return NULL;
21366}
21367
21368
a95a7133 21369static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21370 PyObject *resultobj;
21371 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21372 double arg2 ;
21373 double arg3 ;
21374 int arg4 = (int) 0 ;
21375 int arg5 = (int) 0 ;
21376 PyObject * obj0 = 0 ;
8edf1c75
RD
21377 PyObject * obj1 = 0 ;
21378 PyObject * obj2 = 0 ;
21379 PyObject * obj3 = 0 ;
21380 PyObject * obj4 = 0 ;
44127b65
RD
21381 char *kwnames[] = {
21382 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21383 };
21384
8edf1c75 21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21388 arg2 = (double) SWIG_AsDouble(obj1);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 arg3 = (double) SWIG_AsDouble(obj2);
21391 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21392 if (obj3) {
2f4c0a16
RD
21393 arg4 = (int) SWIG_AsInt(obj3);
21394 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21395 }
21396 if (obj4) {
2f4c0a16
RD
21397 arg5 = (int) SWIG_AsInt(obj4);
21398 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21399 }
44127b65
RD
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21403
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 Py_INCREF(Py_None); resultobj = Py_None;
21408 return resultobj;
21409 fail:
21410 return NULL;
21411}
21412
21413
a95a7133 21414static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21415 PyObject *resultobj;
21416 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21417 double arg2 ;
21418 double arg3 ;
21419 PyObject * obj0 = 0 ;
8edf1c75
RD
21420 PyObject * obj1 = 0 ;
21421 PyObject * obj2 = 0 ;
44127b65
RD
21422 char *kwnames[] = {
21423 (char *) "self",(char *) "x",(char *) "y", NULL
21424 };
21425
8edf1c75 21426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21429 arg2 = (double) SWIG_AsDouble(obj1);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 arg3 = (double) SWIG_AsDouble(obj2);
21432 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21433 {
21434 PyThreadState* __tstate = wxPyBeginAllowThreads();
21435 (arg1)->base_OnSize(arg2,arg3);
21436
21437 wxPyEndAllowThreads(__tstate);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 }
21440 Py_INCREF(Py_None); resultobj = Py_None;
21441 return resultobj;
21442 fail:
21443 return NULL;
21444}
21445
21446
a95a7133 21447static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21448 PyObject *resultobj;
21449 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21450 wxDC *arg2 = 0 ;
21451 double arg3 ;
21452 double arg4 ;
21453 double arg5 ;
21454 double arg6 ;
21455 bool arg7 = (bool) True ;
21456 bool result;
21457 PyObject * obj0 = 0 ;
21458 PyObject * obj1 = 0 ;
8edf1c75
RD
21459 PyObject * obj2 = 0 ;
21460 PyObject * obj3 = 0 ;
21461 PyObject * obj4 = 0 ;
21462 PyObject * obj5 = 0 ;
44127b65
RD
21463 PyObject * obj6 = 0 ;
21464 char *kwnames[] = {
21465 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21466 };
21467
8edf1c75 21468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21472 SWIG_POINTER_EXCEPTION | 0)) == -1)
21473 SWIG_fail;
44127b65 21474 if (arg2 == NULL) {
2f4c0a16
RD
21475 PyErr_SetString(PyExc_TypeError,"null reference");
21476 SWIG_fail;
21477 }
21478 arg3 = (double) SWIG_AsDouble(obj2);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 arg4 = (double) SWIG_AsDouble(obj3);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 arg5 = (double) SWIG_AsDouble(obj4);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 arg6 = (double) SWIG_AsDouble(obj5);
21485 if (PyErr_Occurred()) SWIG_fail;
44127b65 21486 if (obj6) {
2f4c0a16
RD
21487 arg7 = (bool) SWIG_AsBool(obj6);
21488 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21489 }
21490 {
21491 PyThreadState* __tstate = wxPyBeginAllowThreads();
21492 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21493
21494 wxPyEndAllowThreads(__tstate);
21495 if (PyErr_Occurred()) SWIG_fail;
21496 }
fbc46b20
RD
21497 {
21498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21499 }
44127b65
RD
21500 return resultobj;
21501 fail:
21502 return NULL;
21503}
21504
21505
a95a7133 21506static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21507 PyObject *resultobj;
21508 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21509 wxDC *arg2 = 0 ;
21510 double arg3 ;
21511 double arg4 ;
21512 double arg5 ;
21513 double arg6 ;
21514 bool arg7 = (bool) True ;
21515 PyObject * obj0 = 0 ;
21516 PyObject * obj1 = 0 ;
8edf1c75
RD
21517 PyObject * obj2 = 0 ;
21518 PyObject * obj3 = 0 ;
21519 PyObject * obj4 = 0 ;
21520 PyObject * obj5 = 0 ;
44127b65
RD
21521 PyObject * obj6 = 0 ;
21522 char *kwnames[] = {
21523 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21524 };
21525
8edf1c75 21526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21530 SWIG_POINTER_EXCEPTION | 0)) == -1)
21531 SWIG_fail;
44127b65 21532 if (arg2 == NULL) {
2f4c0a16
RD
21533 PyErr_SetString(PyExc_TypeError,"null reference");
21534 SWIG_fail;
21535 }
21536 arg3 = (double) SWIG_AsDouble(obj2);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 arg4 = (double) SWIG_AsDouble(obj3);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 arg5 = (double) SWIG_AsDouble(obj4);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 arg6 = (double) SWIG_AsDouble(obj5);
21543 if (PyErr_Occurred()) SWIG_fail;
44127b65 21544 if (obj6) {
2f4c0a16
RD
21545 arg7 = (bool) SWIG_AsBool(obj6);
21546 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21547 }
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 Py_INCREF(Py_None); resultobj = Py_None;
21556 return resultobj;
21557 fail:
21558 return NULL;
21559}
21560
21561
a95a7133 21562static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21563 PyObject *resultobj;
21564 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21565 bool arg2 ;
21566 double arg3 ;
21567 double arg4 ;
21568 int arg5 = (int) 0 ;
21569 int arg6 = (int) 0 ;
21570 PyObject * obj0 = 0 ;
21571 PyObject * obj1 = 0 ;
8edf1c75
RD
21572 PyObject * obj2 = 0 ;
21573 PyObject * obj3 = 0 ;
21574 PyObject * obj4 = 0 ;
21575 PyObject * obj5 = 0 ;
44127b65
RD
21576 char *kwnames[] = {
21577 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21578 };
21579
8edf1c75 21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21583 arg2 = (bool) SWIG_AsBool(obj1);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 arg3 = (double) SWIG_AsDouble(obj2);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 arg4 = (double) SWIG_AsDouble(obj3);
21588 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21589 if (obj4) {
2f4c0a16
RD
21590 arg5 = (int) SWIG_AsInt(obj4);
21591 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21592 }
21593 if (obj5) {
2f4c0a16
RD
21594 arg6 = (int) SWIG_AsInt(obj5);
21595 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21596 }
44127b65
RD
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 Py_INCREF(Py_None); resultobj = Py_None;
21605 return resultobj;
21606 fail:
21607 return NULL;
21608}
21609
21610
a95a7133 21611static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21612 PyObject *resultobj;
21613 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21614 double arg2 ;
21615 double arg3 ;
21616 int arg4 = (int) 0 ;
21617 int arg5 = (int) 0 ;
21618 PyObject * obj0 = 0 ;
8edf1c75
RD
21619 PyObject * obj1 = 0 ;
21620 PyObject * obj2 = 0 ;
21621 PyObject * obj3 = 0 ;
21622 PyObject * obj4 = 0 ;
44127b65
RD
21623 char *kwnames[] = {
21624 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21625 };
21626
8edf1c75 21627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21630 arg2 = (double) SWIG_AsDouble(obj1);
21631 if (PyErr_Occurred()) SWIG_fail;
21632 arg3 = (double) SWIG_AsDouble(obj2);
21633 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21634 if (obj3) {
2f4c0a16
RD
21635 arg4 = (int) SWIG_AsInt(obj3);
21636 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21637 }
21638 if (obj4) {
2f4c0a16
RD
21639 arg5 = (int) SWIG_AsInt(obj4);
21640 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21641 }
44127b65
RD
21642 {
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 Py_INCREF(Py_None); resultobj = Py_None;
21650 return resultobj;
21651 fail:
21652 return NULL;
21653}
21654
21655
a95a7133 21656static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21657 PyObject *resultobj;
21658 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21659 double arg2 ;
21660 double arg3 ;
21661 int arg4 = (int) 0 ;
21662 int arg5 = (int) 0 ;
21663 PyObject * obj0 = 0 ;
8edf1c75
RD
21664 PyObject * obj1 = 0 ;
21665 PyObject * obj2 = 0 ;
21666 PyObject * obj3 = 0 ;
21667 PyObject * obj4 = 0 ;
44127b65
RD
21668 char *kwnames[] = {
21669 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21670 };
21671
8edf1c75 21672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21675 arg2 = (double) SWIG_AsDouble(obj1);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 arg3 = (double) SWIG_AsDouble(obj2);
21678 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21679 if (obj3) {
2f4c0a16
RD
21680 arg4 = (int) SWIG_AsInt(obj3);
21681 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21682 }
21683 if (obj4) {
2f4c0a16
RD
21684 arg5 = (int) SWIG_AsInt(obj4);
21685 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21686 }
44127b65
RD
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 Py_INCREF(Py_None); resultobj = Py_None;
21695 return resultobj;
21696 fail:
21697 return NULL;
21698}
21699
21700
a95a7133 21701static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21702 PyObject *resultobj;
21703 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21704 bool arg2 ;
21705 double arg3 ;
21706 double arg4 ;
21707 int arg5 = (int) 0 ;
21708 int arg6 = (int) 0 ;
21709 PyObject * obj0 = 0 ;
21710 PyObject * obj1 = 0 ;
8edf1c75
RD
21711 PyObject * obj2 = 0 ;
21712 PyObject * obj3 = 0 ;
21713 PyObject * obj4 = 0 ;
21714 PyObject * obj5 = 0 ;
44127b65
RD
21715 char *kwnames[] = {
21716 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21717 };
21718
8edf1c75 21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21722 arg2 = (bool) SWIG_AsBool(obj1);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 arg3 = (double) SWIG_AsDouble(obj2);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 arg4 = (double) SWIG_AsDouble(obj3);
21727 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21728 if (obj4) {
2f4c0a16
RD
21729 arg5 = (int) SWIG_AsInt(obj4);
21730 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21731 }
21732 if (obj5) {
2f4c0a16
RD
21733 arg6 = (int) SWIG_AsInt(obj5);
21734 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21735 }
44127b65
RD
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 Py_INCREF(Py_None); resultobj = Py_None;
21744 return resultobj;
21745 fail:
21746 return NULL;
21747}
21748
21749
a95a7133 21750static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21751 PyObject *resultobj;
21752 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21753 double arg2 ;
21754 double arg3 ;
21755 int arg4 = (int) 0 ;
21756 int arg5 = (int) 0 ;
21757 PyObject * obj0 = 0 ;
8edf1c75
RD
21758 PyObject * obj1 = 0 ;
21759 PyObject * obj2 = 0 ;
21760 PyObject * obj3 = 0 ;
21761 PyObject * obj4 = 0 ;
44127b65
RD
21762 char *kwnames[] = {
21763 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21764 };
21765
8edf1c75 21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21769 arg2 = (double) SWIG_AsDouble(obj1);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 arg3 = (double) SWIG_AsDouble(obj2);
21772 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21773 if (obj3) {
2f4c0a16
RD
21774 arg4 = (int) SWIG_AsInt(obj3);
21775 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21776 }
21777 if (obj4) {
2f4c0a16
RD
21778 arg5 = (int) SWIG_AsInt(obj4);
21779 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21780 }
44127b65
RD
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 Py_INCREF(Py_None); resultobj = Py_None;
21789 return resultobj;
21790 fail:
21791 return NULL;
21792}
21793
21794
a95a7133 21795static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21796 PyObject *resultobj;
21797 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21798 double arg2 ;
21799 double arg3 ;
21800 int arg4 = (int) 0 ;
21801 int arg5 = (int) 0 ;
21802 PyObject * obj0 = 0 ;
8edf1c75
RD
21803 PyObject * obj1 = 0 ;
21804 PyObject * obj2 = 0 ;
21805 PyObject * obj3 = 0 ;
21806 PyObject * obj4 = 0 ;
44127b65
RD
21807 char *kwnames[] = {
21808 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21809 };
21810
8edf1c75 21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
21812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21814 arg2 = (double) SWIG_AsDouble(obj1);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 arg3 = (double) SWIG_AsDouble(obj2);
21817 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21818 if (obj3) {
2f4c0a16
RD
21819 arg4 = (int) SWIG_AsInt(obj3);
21820 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21821 }
21822 if (obj4) {
2f4c0a16
RD
21823 arg5 = (int) SWIG_AsInt(obj4);
21824 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21825 }
44127b65
RD
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 Py_INCREF(Py_None); resultobj = Py_None;
21834 return resultobj;
21835 fail:
21836 return NULL;
21837}
21838
21839
a95a7133 21840static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21841 PyObject *resultobj;
21842 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21843 wxDC *arg2 = 0 ;
21844 double arg3 ;
21845 double arg4 ;
21846 double arg5 ;
21847 double arg6 ;
21848 PyObject * obj0 = 0 ;
21849 PyObject * obj1 = 0 ;
8edf1c75
RD
21850 PyObject * obj2 = 0 ;
21851 PyObject * obj3 = 0 ;
21852 PyObject * obj4 = 0 ;
21853 PyObject * obj5 = 0 ;
44127b65
RD
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21856 };
21857
8edf1c75 21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21862 SWIG_POINTER_EXCEPTION | 0)) == -1)
21863 SWIG_fail;
44127b65 21864 if (arg2 == NULL) {
2f4c0a16
RD
21865 PyErr_SetString(PyExc_TypeError,"null reference");
21866 SWIG_fail;
8edf1c75 21867 }
2f4c0a16
RD
21868 arg3 = (double) SWIG_AsDouble(obj2);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 arg4 = (double) SWIG_AsDouble(obj3);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 arg5 = (double) SWIG_AsDouble(obj4);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 arg6 = (double) SWIG_AsDouble(obj5);
21875 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21879
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 Py_INCREF(Py_None); resultobj = Py_None;
21884 return resultobj;
21885 fail:
21886 return NULL;
21887}
21888
21889
a95a7133 21890static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21891 PyObject *resultobj;
21892 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21893 wxDC *arg2 = 0 ;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self",(char *) "dc", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21904 SWIG_POINTER_EXCEPTION | 0)) == -1)
21905 SWIG_fail;
44127b65 21906 if (arg2 == NULL) {
2f4c0a16
RD
21907 PyErr_SetString(PyExc_TypeError,"null reference");
21908 SWIG_fail;
44127b65
RD
21909 }
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 (arg1)->base_OnDrawControlPoints(*arg2);
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 Py_INCREF(Py_None); resultobj = Py_None;
21918 return resultobj;
21919 fail:
21920 return NULL;
21921}
21922
21923
a95a7133 21924static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21925 PyObject *resultobj;
21926 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21927 wxDC *arg2 = 0 ;
21928 PyObject * obj0 = 0 ;
21929 PyObject * obj1 = 0 ;
21930 char *kwnames[] = {
21931 (char *) "self",(char *) "dc", NULL
21932 };
21933
21934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21938 SWIG_POINTER_EXCEPTION | 0)) == -1)
21939 SWIG_fail;
44127b65 21940 if (arg2 == NULL) {
2f4c0a16
RD
21941 PyErr_SetString(PyExc_TypeError,"null reference");
21942 SWIG_fail;
44127b65
RD
21943 }
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 (arg1)->base_OnEraseControlPoints(*arg2);
21947
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 Py_INCREF(Py_None); resultobj = Py_None;
21952 return resultobj;
21953 fail:
21954 return NULL;
21955}
21956
21957
a95a7133 21958static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21959 PyObject *resultobj;
21960 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21961 wxDC *arg2 = 0 ;
21962 bool arg3 = (bool) True ;
21963 PyObject * obj0 = 0 ;
21964 PyObject * obj1 = 0 ;
21965 PyObject * obj2 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21974 SWIG_POINTER_EXCEPTION | 0)) == -1)
21975 SWIG_fail;
44127b65 21976 if (arg2 == NULL) {
2f4c0a16
RD
21977 PyErr_SetString(PyExc_TypeError,"null reference");
21978 SWIG_fail;
44127b65
RD
21979 }
21980 if (obj2) {
2f4c0a16
RD
21981 arg3 = (bool) SWIG_AsBool(obj2);
21982 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
21983 }
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 (arg1)->base_OnMoveLink(*arg2,arg3);
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 Py_INCREF(Py_None); resultobj = Py_None;
21992 return resultobj;
21993 fail:
21994 return NULL;
21995}
21996
21997
a95a7133 21998static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
21999 PyObject *resultobj;
22000 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22001 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22002 bool arg3 ;
22003 double arg4 ;
22004 double arg5 ;
22005 int arg6 = (int) 0 ;
22006 int arg7 = (int) 0 ;
22007 PyObject * obj0 = 0 ;
22008 PyObject * obj1 = 0 ;
22009 PyObject * obj2 = 0 ;
8edf1c75
RD
22010 PyObject * obj3 = 0 ;
22011 PyObject * obj4 = 0 ;
22012 PyObject * obj5 = 0 ;
22013 PyObject * obj6 = 0 ;
44127b65
RD
22014 char *kwnames[] = {
22015 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22016 };
22017
8edf1c75 22018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22023 arg3 = (bool) SWIG_AsBool(obj2);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 arg4 = (double) SWIG_AsDouble(obj3);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 arg5 = (double) SWIG_AsDouble(obj4);
22028 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22029 if (obj5) {
2f4c0a16
RD
22030 arg6 = (int) SWIG_AsInt(obj5);
22031 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22032 }
22033 if (obj6) {
2f4c0a16
RD
22034 arg7 = (int) SWIG_AsInt(obj6);
22035 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22036 }
44127b65
RD
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 Py_INCREF(Py_None); resultobj = Py_None;
22045 return resultobj;
22046 fail:
22047 return NULL;
22048}
22049
22050
a95a7133 22051static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22052 PyObject *resultobj;
22053 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22054 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22055 double arg3 ;
22056 double arg4 ;
22057 int arg5 = (int) 0 ;
22058 int arg6 = (int) 0 ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
8edf1c75
RD
22061 PyObject * obj2 = 0 ;
22062 PyObject * obj3 = 0 ;
22063 PyObject * obj4 = 0 ;
22064 PyObject * obj5 = 0 ;
44127b65
RD
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22067 };
22068
8edf1c75 22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22074 arg3 = (double) SWIG_AsDouble(obj2);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 arg4 = (double) SWIG_AsDouble(obj3);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 if (obj4) {
22079 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
2f4c0a16
RD
22082 if (obj5) {
22083 arg6 = (int) SWIG_AsInt(obj5);
8edf1c75
RD
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
44127b65
RD
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22089
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 Py_INCREF(Py_None); resultobj = Py_None;
22094 return resultobj;
22095 fail:
22096 return NULL;
22097}
22098
22099
a95a7133 22100static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22101 PyObject *resultobj;
22102 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22103 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22104 double arg3 ;
22105 double arg4 ;
22106 int arg5 = (int) 0 ;
22107 int arg6 = (int) 0 ;
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
8edf1c75
RD
22110 PyObject * obj2 = 0 ;
22111 PyObject * obj3 = 0 ;
22112 PyObject * obj4 = 0 ;
22113 PyObject * obj5 = 0 ;
44127b65
RD
22114 char *kwnames[] = {
22115 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22116 };
22117
8edf1c75 22118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
22122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22123 arg3 = (double) SWIG_AsDouble(obj2);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 arg4 = (double) SWIG_AsDouble(obj3);
22126 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22127 if (obj4) {
2f4c0a16
RD
22128 arg5 = (int) SWIG_AsInt(obj4);
22129 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22130 }
22131 if (obj5) {
2f4c0a16
RD
22132 arg6 = (int) SWIG_AsInt(obj5);
22133 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22134 }
44127b65
RD
22135 {
22136 PyThreadState* __tstate = wxPyBeginAllowThreads();
22137 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22138
22139 wxPyEndAllowThreads(__tstate);
22140 if (PyErr_Occurred()) SWIG_fail;
22141 }
22142 Py_INCREF(Py_None); resultobj = Py_None;
22143 return resultobj;
22144 fail:
22145 return NULL;
22146}
22147
22148
a95a7133 22149static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22150 PyObject *resultobj;
22151 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22152 double arg2 ;
22153 double arg3 ;
22154 PyObject * obj0 = 0 ;
8edf1c75
RD
22155 PyObject * obj1 = 0 ;
22156 PyObject * obj2 = 0 ;
44127b65
RD
22157 char *kwnames[] = {
22158 (char *) "self",(char *) "w",(char *) "h", NULL
22159 };
22160
8edf1c75 22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22164 arg2 = (double) SWIG_AsDouble(obj1);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 arg3 = (double) SWIG_AsDouble(obj2);
22167 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 (arg1)->base_OnBeginSize(arg2,arg3);
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 Py_INCREF(Py_None); resultobj = Py_None;
22176 return resultobj;
22177 fail:
22178 return NULL;
22179}
22180
22181
a95a7133 22182static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22183 PyObject *resultobj;
22184 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22185 double arg2 ;
22186 double arg3 ;
22187 PyObject * obj0 = 0 ;
8edf1c75
RD
22188 PyObject * obj1 = 0 ;
22189 PyObject * obj2 = 0 ;
44127b65
RD
22190 char *kwnames[] = {
22191 (char *) "self",(char *) "w",(char *) "h", NULL
22192 };
22193
8edf1c75 22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDivisionShape,
22196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22197 arg2 = (double) SWIG_AsDouble(obj1);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 arg3 = (double) SWIG_AsDouble(obj2);
22200 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22201 {
22202 PyThreadState* __tstate = wxPyBeginAllowThreads();
22203 (arg1)->base_OnEndSize(arg2,arg3);
22204
22205 wxPyEndAllowThreads(__tstate);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 Py_INCREF(Py_None); resultobj = Py_None;
22209 return resultobj;
22210 fail:
22211 return NULL;
22212}
22213
22214
a95a7133 22215static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
22216 PyObject *obj;
22217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22218 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22219 Py_INCREF(obj);
22220 return Py_BuildValue((char *)"");
22221}
a95a7133 22222static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22223 PyObject *resultobj;
22224 double arg1 = (double) 0.0 ;
22225 double arg2 = (double) 0.0 ;
22226 wxPyEllipseShape *result;
8edf1c75
RD
22227 PyObject * obj0 = 0 ;
22228 PyObject * obj1 = 0 ;
44127b65
RD
22229 char *kwnames[] = {
22230 (char *) "width",(char *) "height", NULL
22231 };
22232
8edf1c75
RD
22233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22234 if (obj0) {
2f4c0a16
RD
22235 arg1 = (double) SWIG_AsDouble(obj0);
22236 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22237 }
22238 if (obj1) {
2f4c0a16
RD
22239 arg2 = (double) SWIG_AsDouble(obj1);
22240 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22241 }
44127b65
RD
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
2f4c0a16 22249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
44127b65
RD
22250 return resultobj;
22251 fail:
22252 return NULL;
22253}
22254
22255
a95a7133 22256static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22257 PyObject *resultobj;
22258 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22259 PyObject *arg2 = (PyObject *) 0 ;
22260 PyObject *arg3 = (PyObject *) 0 ;
22261 PyObject * obj0 = 0 ;
22262 PyObject * obj1 = 0 ;
22263 PyObject * obj2 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "self",(char *) "_class", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
22271 arg2 = obj1;
22272 arg3 = obj2;
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 (arg1)->_setCallbackInfo(arg2,arg3);
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
22280 Py_INCREF(Py_None); resultobj = Py_None;
22281 return resultobj;
22282 fail:
22283 return NULL;
22284}
22285
22286
a95a7133 22287static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22288 PyObject *resultobj;
22289 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22290 wxDC *arg2 = 0 ;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "dc", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22301 SWIG_POINTER_EXCEPTION | 0)) == -1)
22302 SWIG_fail;
44127b65 22303 if (arg2 == NULL) {
2f4c0a16
RD
22304 PyErr_SetString(PyExc_TypeError,"null reference");
22305 SWIG_fail;
44127b65
RD
22306 }
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 (arg1)->base_OnDraw(*arg2);
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 Py_INCREF(Py_None); resultobj = Py_None;
22315 return resultobj;
22316 fail:
22317 return NULL;
22318}
22319
22320
a95a7133 22321static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22322 PyObject *resultobj;
22323 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22324 wxDC *arg2 = 0 ;
22325 PyObject * obj0 = 0 ;
22326 PyObject * obj1 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self",(char *) "dc", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1)
22336 SWIG_fail;
44127b65 22337 if (arg2 == NULL) {
2f4c0a16
RD
22338 PyErr_SetString(PyExc_TypeError,"null reference");
22339 SWIG_fail;
44127b65
RD
22340 }
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 (arg1)->base_OnDrawContents(*arg2);
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 Py_INCREF(Py_None); resultobj = Py_None;
22349 return resultobj;
22350 fail:
22351 return NULL;
22352}
22353
22354
a95a7133 22355static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22356 PyObject *resultobj;
22357 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22358 wxDC *arg2 = 0 ;
22359 bool arg3 = (bool) FALSE ;
22360 PyObject * obj0 = 0 ;
22361 PyObject * obj1 = 0 ;
22362 PyObject * obj2 = 0 ;
22363 char *kwnames[] = {
22364 (char *) "self",(char *) "dc",(char *) "erase", NULL
22365 };
22366
22367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22371 SWIG_POINTER_EXCEPTION | 0)) == -1)
22372 SWIG_fail;
44127b65 22373 if (arg2 == NULL) {
2f4c0a16
RD
22374 PyErr_SetString(PyExc_TypeError,"null reference");
22375 SWIG_fail;
44127b65
RD
22376 }
22377 if (obj2) {
2f4c0a16
RD
22378 arg3 = (bool) SWIG_AsBool(obj2);
22379 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22380 }
22381 {
22382 PyThreadState* __tstate = wxPyBeginAllowThreads();
22383 (arg1)->base_OnDrawBranches(*arg2,arg3);
22384
22385 wxPyEndAllowThreads(__tstate);
22386 if (PyErr_Occurred()) SWIG_fail;
22387 }
22388 Py_INCREF(Py_None); resultobj = Py_None;
22389 return resultobj;
22390 fail:
22391 return NULL;
22392}
22393
22394
a95a7133 22395static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22396 PyObject *resultobj;
22397 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22398 wxDC *arg2 = 0 ;
22399 PyObject * obj0 = 0 ;
22400 PyObject * obj1 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self",(char *) "dc", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1)
22410 SWIG_fail;
44127b65 22411 if (arg2 == NULL) {
2f4c0a16
RD
22412 PyErr_SetString(PyExc_TypeError,"null reference");
22413 SWIG_fail;
44127b65
RD
22414 }
22415 {
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 (arg1)->base_OnMoveLinks(*arg2);
22418
22419 wxPyEndAllowThreads(__tstate);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 Py_INCREF(Py_None); resultobj = Py_None;
22423 return resultobj;
22424 fail:
22425 return NULL;
22426}
22427
22428
a95a7133 22429static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22430 PyObject *resultobj;
22431 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22432 wxDC *arg2 = 0 ;
22433 PyObject * obj0 = 0 ;
22434 PyObject * obj1 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self",(char *) "dc", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22443 SWIG_POINTER_EXCEPTION | 0)) == -1)
22444 SWIG_fail;
44127b65 22445 if (arg2 == NULL) {
2f4c0a16
RD
22446 PyErr_SetString(PyExc_TypeError,"null reference");
22447 SWIG_fail;
44127b65
RD
22448 }
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 (arg1)->base_OnErase(*arg2);
22452
22453 wxPyEndAllowThreads(__tstate);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 }
22456 Py_INCREF(Py_None); resultobj = Py_None;
22457 return resultobj;
22458 fail:
22459 return NULL;
22460}
22461
22462
a95a7133 22463static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22464 PyObject *resultobj;
22465 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22466 wxDC *arg2 = 0 ;
22467 PyObject * obj0 = 0 ;
22468 PyObject * obj1 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self",(char *) "dc", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22477 SWIG_POINTER_EXCEPTION | 0)) == -1)
22478 SWIG_fail;
44127b65 22479 if (arg2 == NULL) {
2f4c0a16
RD
22480 PyErr_SetString(PyExc_TypeError,"null reference");
22481 SWIG_fail;
44127b65
RD
22482 }
22483 {
22484 PyThreadState* __tstate = wxPyBeginAllowThreads();
22485 (arg1)->base_OnEraseContents(*arg2);
22486
22487 wxPyEndAllowThreads(__tstate);
22488 if (PyErr_Occurred()) SWIG_fail;
22489 }
22490 Py_INCREF(Py_None); resultobj = Py_None;
22491 return resultobj;
22492 fail:
22493 return NULL;
22494}
22495
22496
a95a7133 22497static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22498 PyObject *resultobj;
22499 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22500 wxDC *arg2 = 0 ;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self",(char *) "dc", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1)
22512 SWIG_fail;
44127b65 22513 if (arg2 == NULL) {
2f4c0a16
RD
22514 PyErr_SetString(PyExc_TypeError,"null reference");
22515 SWIG_fail;
44127b65
RD
22516 }
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 (arg1)->base_OnHighlight(*arg2);
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 Py_INCREF(Py_None); resultobj = Py_None;
22525 return resultobj;
22526 fail:
22527 return NULL;
22528}
22529
22530
a95a7133 22531static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22532 PyObject *resultobj;
22533 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22534 double arg2 ;
22535 double arg3 ;
22536 int arg4 = (int) 0 ;
22537 int arg5 = (int) 0 ;
22538 PyObject * obj0 = 0 ;
8edf1c75
RD
22539 PyObject * obj1 = 0 ;
22540 PyObject * obj2 = 0 ;
22541 PyObject * obj3 = 0 ;
22542 PyObject * obj4 = 0 ;
44127b65
RD
22543 char *kwnames[] = {
22544 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22545 };
22546
8edf1c75 22547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22550 arg2 = (double) SWIG_AsDouble(obj1);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 arg3 = (double) SWIG_AsDouble(obj2);
22553 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22554 if (obj3) {
2f4c0a16
RD
22555 arg4 = (int) SWIG_AsInt(obj3);
22556 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22557 }
22558 if (obj4) {
2f4c0a16
RD
22559 arg5 = (int) SWIG_AsInt(obj4);
22560 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22561 }
44127b65
RD
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
22564 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 Py_INCREF(Py_None); resultobj = Py_None;
22570 return resultobj;
22571 fail:
22572 return NULL;
22573}
22574
22575
a95a7133 22576static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22577 PyObject *resultobj;
22578 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22579 double arg2 ;
22580 double arg3 ;
22581 int arg4 = (int) 0 ;
22582 int arg5 = (int) 0 ;
22583 PyObject * obj0 = 0 ;
8edf1c75
RD
22584 PyObject * obj1 = 0 ;
22585 PyObject * obj2 = 0 ;
22586 PyObject * obj3 = 0 ;
22587 PyObject * obj4 = 0 ;
44127b65
RD
22588 char *kwnames[] = {
22589 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22590 };
22591
8edf1c75 22592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22595 arg2 = (double) SWIG_AsDouble(obj1);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 arg3 = (double) SWIG_AsDouble(obj2);
22598 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22599 if (obj3) {
2f4c0a16
RD
22600 arg4 = (int) SWIG_AsInt(obj3);
22601 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22602 }
22603 if (obj4) {
2f4c0a16
RD
22604 arg5 = (int) SWIG_AsInt(obj4);
22605 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22606 }
44127b65
RD
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 Py_INCREF(Py_None); resultobj = Py_None;
22615 return resultobj;
22616 fail:
22617 return NULL;
22618}
22619
22620
a95a7133 22621static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22622 PyObject *resultobj;
22623 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22624 double arg2 ;
22625 double arg3 ;
22626 int arg4 = (int) 0 ;
22627 int arg5 = (int) 0 ;
22628 PyObject * obj0 = 0 ;
8edf1c75
RD
22629 PyObject * obj1 = 0 ;
22630 PyObject * obj2 = 0 ;
22631 PyObject * obj3 = 0 ;
22632 PyObject * obj4 = 0 ;
44127b65
RD
22633 char *kwnames[] = {
22634 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22635 };
22636
8edf1c75 22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22640 arg2 = (double) SWIG_AsDouble(obj1);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 arg3 = (double) SWIG_AsDouble(obj2);
22643 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22644 if (obj3) {
2f4c0a16
RD
22645 arg4 = (int) SWIG_AsInt(obj3);
22646 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22647 }
22648 if (obj4) {
2f4c0a16
RD
22649 arg5 = (int) SWIG_AsInt(obj4);
22650 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22651 }
44127b65
RD
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 Py_INCREF(Py_None); resultobj = Py_None;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663}
22664
22665
a95a7133 22666static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22667 PyObject *resultobj;
22668 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22669 double arg2 ;
22670 double arg3 ;
22671 PyObject * obj0 = 0 ;
8edf1c75
RD
22672 PyObject * obj1 = 0 ;
22673 PyObject * obj2 = 0 ;
44127b65
RD
22674 char *kwnames[] = {
22675 (char *) "self",(char *) "x",(char *) "y", NULL
22676 };
22677
8edf1c75 22678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22681 arg2 = (double) SWIG_AsDouble(obj1);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 arg3 = (double) SWIG_AsDouble(obj2);
22684 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22685 {
22686 PyThreadState* __tstate = wxPyBeginAllowThreads();
22687 (arg1)->base_OnSize(arg2,arg3);
22688
22689 wxPyEndAllowThreads(__tstate);
22690 if (PyErr_Occurred()) SWIG_fail;
22691 }
22692 Py_INCREF(Py_None); resultobj = Py_None;
22693 return resultobj;
22694 fail:
22695 return NULL;
22696}
22697
22698
a95a7133 22699static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22700 PyObject *resultobj;
22701 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22702 wxDC *arg2 = 0 ;
22703 double arg3 ;
22704 double arg4 ;
22705 double arg5 ;
22706 double arg6 ;
22707 bool arg7 = (bool) True ;
22708 bool result;
22709 PyObject * obj0 = 0 ;
22710 PyObject * obj1 = 0 ;
8edf1c75
RD
22711 PyObject * obj2 = 0 ;
22712 PyObject * obj3 = 0 ;
22713 PyObject * obj4 = 0 ;
22714 PyObject * obj5 = 0 ;
44127b65
RD
22715 PyObject * obj6 = 0 ;
22716 char *kwnames[] = {
22717 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22718 };
22719
8edf1c75 22720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22724 SWIG_POINTER_EXCEPTION | 0)) == -1)
22725 SWIG_fail;
44127b65 22726 if (arg2 == NULL) {
2f4c0a16
RD
22727 PyErr_SetString(PyExc_TypeError,"null reference");
22728 SWIG_fail;
22729 }
22730 arg3 = (double) SWIG_AsDouble(obj2);
22731 if (PyErr_Occurred()) SWIG_fail;
22732 arg4 = (double) SWIG_AsDouble(obj3);
22733 if (PyErr_Occurred()) SWIG_fail;
22734 arg5 = (double) SWIG_AsDouble(obj4);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 arg6 = (double) SWIG_AsDouble(obj5);
22737 if (PyErr_Occurred()) SWIG_fail;
44127b65 22738 if (obj6) {
2f4c0a16
RD
22739 arg7 = (bool) SWIG_AsBool(obj6);
22740 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22741 }
22742 {
22743 PyThreadState* __tstate = wxPyBeginAllowThreads();
22744 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22745
22746 wxPyEndAllowThreads(__tstate);
22747 if (PyErr_Occurred()) SWIG_fail;
22748 }
fbc46b20
RD
22749 {
22750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22751 }
44127b65
RD
22752 return resultobj;
22753 fail:
22754 return NULL;
22755}
22756
22757
a95a7133 22758static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22759 PyObject *resultobj;
22760 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22761 wxDC *arg2 = 0 ;
22762 double arg3 ;
22763 double arg4 ;
22764 double arg5 ;
22765 double arg6 ;
22766 bool arg7 = (bool) True ;
22767 PyObject * obj0 = 0 ;
22768 PyObject * obj1 = 0 ;
8edf1c75
RD
22769 PyObject * obj2 = 0 ;
22770 PyObject * obj3 = 0 ;
22771 PyObject * obj4 = 0 ;
22772 PyObject * obj5 = 0 ;
44127b65
RD
22773 PyObject * obj6 = 0 ;
22774 char *kwnames[] = {
22775 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22776 };
22777
8edf1c75 22778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22782 SWIG_POINTER_EXCEPTION | 0)) == -1)
22783 SWIG_fail;
44127b65 22784 if (arg2 == NULL) {
2f4c0a16
RD
22785 PyErr_SetString(PyExc_TypeError,"null reference");
22786 SWIG_fail;
22787 }
22788 arg3 = (double) SWIG_AsDouble(obj2);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 arg4 = (double) SWIG_AsDouble(obj3);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 arg5 = (double) SWIG_AsDouble(obj4);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 arg6 = (double) SWIG_AsDouble(obj5);
22795 if (PyErr_Occurred()) SWIG_fail;
44127b65 22796 if (obj6) {
2f4c0a16
RD
22797 arg7 = (bool) SWIG_AsBool(obj6);
22798 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
22799 }
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811}
22812
22813
a95a7133 22814static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22815 PyObject *resultobj;
22816 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22817 bool arg2 ;
22818 double arg3 ;
22819 double arg4 ;
22820 int arg5 = (int) 0 ;
22821 int arg6 = (int) 0 ;
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
8edf1c75
RD
22824 PyObject * obj2 = 0 ;
22825 PyObject * obj3 = 0 ;
22826 PyObject * obj4 = 0 ;
22827 PyObject * obj5 = 0 ;
44127b65
RD
22828 char *kwnames[] = {
22829 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22830 };
22831
8edf1c75 22832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22835 arg2 = (bool) SWIG_AsBool(obj1);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 arg3 = (double) SWIG_AsDouble(obj2);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 arg4 = (double) SWIG_AsDouble(obj3);
22840 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22841 if (obj4) {
2f4c0a16
RD
22842 arg5 = (int) SWIG_AsInt(obj4);
22843 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22844 }
22845 if (obj5) {
2f4c0a16
RD
22846 arg6 = (int) SWIG_AsInt(obj5);
22847 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22848 }
44127b65
RD
22849 {
22850 PyThreadState* __tstate = wxPyBeginAllowThreads();
22851 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22852
22853 wxPyEndAllowThreads(__tstate);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 }
22856 Py_INCREF(Py_None); resultobj = Py_None;
22857 return resultobj;
22858 fail:
22859 return NULL;
22860}
22861
22862
a95a7133 22863static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22864 PyObject *resultobj;
22865 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22866 double arg2 ;
22867 double arg3 ;
22868 int arg4 = (int) 0 ;
22869 int arg5 = (int) 0 ;
22870 PyObject * obj0 = 0 ;
8edf1c75
RD
22871 PyObject * obj1 = 0 ;
22872 PyObject * obj2 = 0 ;
22873 PyObject * obj3 = 0 ;
22874 PyObject * obj4 = 0 ;
44127b65
RD
22875 char *kwnames[] = {
22876 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22877 };
22878
8edf1c75 22879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22882 arg2 = (double) SWIG_AsDouble(obj1);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 arg3 = (double) SWIG_AsDouble(obj2);
22885 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22886 if (obj3) {
2f4c0a16
RD
22887 arg4 = (int) SWIG_AsInt(obj3);
22888 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22889 }
22890 if (obj4) {
2f4c0a16
RD
22891 arg5 = (int) SWIG_AsInt(obj4);
22892 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22893 }
44127b65
RD
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 Py_INCREF(Py_None); resultobj = Py_None;
22902 return resultobj;
22903 fail:
22904 return NULL;
22905}
22906
22907
a95a7133 22908static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22909 PyObject *resultobj;
22910 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22911 double arg2 ;
22912 double arg3 ;
22913 int arg4 = (int) 0 ;
22914 int arg5 = (int) 0 ;
22915 PyObject * obj0 = 0 ;
8edf1c75
RD
22916 PyObject * obj1 = 0 ;
22917 PyObject * obj2 = 0 ;
22918 PyObject * obj3 = 0 ;
22919 PyObject * obj4 = 0 ;
44127b65
RD
22920 char *kwnames[] = {
22921 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22922 };
22923
8edf1c75 22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22927 arg2 = (double) SWIG_AsDouble(obj1);
22928 if (PyErr_Occurred()) SWIG_fail;
22929 arg3 = (double) SWIG_AsDouble(obj2);
22930 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22931 if (obj3) {
2f4c0a16
RD
22932 arg4 = (int) SWIG_AsInt(obj3);
22933 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22934 }
22935 if (obj4) {
2f4c0a16
RD
22936 arg5 = (int) SWIG_AsInt(obj4);
22937 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22938 }
44127b65
RD
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22942
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 Py_INCREF(Py_None); resultobj = Py_None;
22947 return resultobj;
22948 fail:
22949 return NULL;
22950}
22951
22952
a95a7133 22953static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
22954 PyObject *resultobj;
22955 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22956 bool arg2 ;
22957 double arg3 ;
22958 double arg4 ;
22959 int arg5 = (int) 0 ;
22960 int arg6 = (int) 0 ;
22961 PyObject * obj0 = 0 ;
22962 PyObject * obj1 = 0 ;
8edf1c75
RD
22963 PyObject * obj2 = 0 ;
22964 PyObject * obj3 = 0 ;
22965 PyObject * obj4 = 0 ;
22966 PyObject * obj5 = 0 ;
44127b65
RD
22967 char *kwnames[] = {
22968 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22969 };
22970
8edf1c75 22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22974 arg2 = (bool) SWIG_AsBool(obj1);
22975 if (PyErr_Occurred()) SWIG_fail;
22976 arg3 = (double) SWIG_AsDouble(obj2);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 arg4 = (double) SWIG_AsDouble(obj3);
22979 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22980 if (obj4) {
2f4c0a16
RD
22981 arg5 = (int) SWIG_AsInt(obj4);
22982 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22983 }
22984 if (obj5) {
2f4c0a16
RD
22985 arg6 = (int) SWIG_AsInt(obj5);
22986 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22987 }
44127b65
RD
22988 {
22989 PyThreadState* __tstate = wxPyBeginAllowThreads();
22990 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22991
22992 wxPyEndAllowThreads(__tstate);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 }
22995 Py_INCREF(Py_None); resultobj = Py_None;
22996 return resultobj;
22997 fail:
22998 return NULL;
22999}
23000
23001
a95a7133 23002static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23003 PyObject *resultobj;
23004 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23005 double arg2 ;
23006 double arg3 ;
23007 int arg4 = (int) 0 ;
23008 int arg5 = (int) 0 ;
23009 PyObject * obj0 = 0 ;
8edf1c75
RD
23010 PyObject * obj1 = 0 ;
23011 PyObject * obj2 = 0 ;
23012 PyObject * obj3 = 0 ;
23013 PyObject * obj4 = 0 ;
44127b65
RD
23014 char *kwnames[] = {
23015 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23016 };
23017
8edf1c75 23018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23021 arg2 = (double) SWIG_AsDouble(obj1);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 arg3 = (double) SWIG_AsDouble(obj2);
23024 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23025 if (obj3) {
2f4c0a16
RD
23026 arg4 = (int) SWIG_AsInt(obj3);
23027 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23028 }
23029 if (obj4) {
2f4c0a16
RD
23030 arg5 = (int) SWIG_AsInt(obj4);
23031 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23032 }
44127b65
RD
23033 {
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23036
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 Py_INCREF(Py_None); resultobj = Py_None;
23041 return resultobj;
23042 fail:
23043 return NULL;
23044}
23045
23046
a95a7133 23047static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23048 PyObject *resultobj;
23049 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23050 double arg2 ;
23051 double arg3 ;
23052 int arg4 = (int) 0 ;
23053 int arg5 = (int) 0 ;
23054 PyObject * obj0 = 0 ;
8edf1c75
RD
23055 PyObject * obj1 = 0 ;
23056 PyObject * obj2 = 0 ;
23057 PyObject * obj3 = 0 ;
23058 PyObject * obj4 = 0 ;
44127b65
RD
23059 char *kwnames[] = {
23060 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23061 };
23062
8edf1c75 23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23066 arg2 = (double) SWIG_AsDouble(obj1);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 arg3 = (double) SWIG_AsDouble(obj2);
23069 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23070 if (obj3) {
2f4c0a16
RD
23071 arg4 = (int) SWIG_AsInt(obj3);
23072 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23073 }
23074 if (obj4) {
2f4c0a16
RD
23075 arg5 = (int) SWIG_AsInt(obj4);
23076 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23077 }
44127b65
RD
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 Py_INCREF(Py_None); resultobj = Py_None;
23086 return resultobj;
23087 fail:
23088 return NULL;
23089}
23090
23091
a95a7133 23092static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23093 PyObject *resultobj;
23094 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23095 wxDC *arg2 = 0 ;
23096 double arg3 ;
23097 double arg4 ;
23098 double arg5 ;
23099 double arg6 ;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
8edf1c75
RD
23102 PyObject * obj2 = 0 ;
23103 PyObject * obj3 = 0 ;
23104 PyObject * obj4 = 0 ;
23105 PyObject * obj5 = 0 ;
44127b65
RD
23106 char *kwnames[] = {
23107 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23108 };
23109
8edf1c75 23110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23114 SWIG_POINTER_EXCEPTION | 0)) == -1)
23115 SWIG_fail;
44127b65 23116 if (arg2 == NULL) {
2f4c0a16
RD
23117 PyErr_SetString(PyExc_TypeError,"null reference");
23118 SWIG_fail;
8edf1c75 23119 }
2f4c0a16
RD
23120 arg3 = (double) SWIG_AsDouble(obj2);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 arg4 = (double) SWIG_AsDouble(obj3);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 arg5 = (double) SWIG_AsDouble(obj4);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 arg6 = (double) SWIG_AsDouble(obj5);
23127 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23128 {
23129 PyThreadState* __tstate = wxPyBeginAllowThreads();
23130 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23131
23132 wxPyEndAllowThreads(__tstate);
23133 if (PyErr_Occurred()) SWIG_fail;
23134 }
23135 Py_INCREF(Py_None); resultobj = Py_None;
23136 return resultobj;
23137 fail:
23138 return NULL;
23139}
23140
23141
a95a7133 23142static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23143 PyObject *resultobj;
23144 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23145 wxDC *arg2 = 0 ;
23146 PyObject * obj0 = 0 ;
23147 PyObject * obj1 = 0 ;
23148 char *kwnames[] = {
23149 (char *) "self",(char *) "dc", NULL
23150 };
23151
23152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23156 SWIG_POINTER_EXCEPTION | 0)) == -1)
23157 SWIG_fail;
44127b65 23158 if (arg2 == NULL) {
2f4c0a16
RD
23159 PyErr_SetString(PyExc_TypeError,"null reference");
23160 SWIG_fail;
44127b65
RD
23161 }
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 (arg1)->base_OnDrawControlPoints(*arg2);
23165
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 Py_INCREF(Py_None); resultobj = Py_None;
23170 return resultobj;
23171 fail:
23172 return NULL;
23173}
23174
23175
a95a7133 23176static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23177 PyObject *resultobj;
23178 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23179 wxDC *arg2 = 0 ;
23180 PyObject * obj0 = 0 ;
23181 PyObject * obj1 = 0 ;
23182 char *kwnames[] = {
23183 (char *) "self",(char *) "dc", NULL
23184 };
23185
23186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23190 SWIG_POINTER_EXCEPTION | 0)) == -1)
23191 SWIG_fail;
44127b65 23192 if (arg2 == NULL) {
2f4c0a16
RD
23193 PyErr_SetString(PyExc_TypeError,"null reference");
23194 SWIG_fail;
44127b65
RD
23195 }
23196 {
23197 PyThreadState* __tstate = wxPyBeginAllowThreads();
23198 (arg1)->base_OnEraseControlPoints(*arg2);
23199
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 Py_INCREF(Py_None); resultobj = Py_None;
23204 return resultobj;
23205 fail:
23206 return NULL;
23207}
23208
23209
a95a7133 23210static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23211 PyObject *resultobj;
23212 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23213 wxDC *arg2 = 0 ;
23214 bool arg3 = (bool) True ;
23215 PyObject * obj0 = 0 ;
23216 PyObject * obj1 = 0 ;
23217 PyObject * obj2 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23226 SWIG_POINTER_EXCEPTION | 0)) == -1)
23227 SWIG_fail;
44127b65 23228 if (arg2 == NULL) {
2f4c0a16
RD
23229 PyErr_SetString(PyExc_TypeError,"null reference");
23230 SWIG_fail;
44127b65
RD
23231 }
23232 if (obj2) {
2f4c0a16
RD
23233 arg3 = (bool) SWIG_AsBool(obj2);
23234 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23235 }
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 (arg1)->base_OnMoveLink(*arg2,arg3);
23239
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 Py_INCREF(Py_None); resultobj = Py_None;
23244 return resultobj;
23245 fail:
23246 return NULL;
23247}
23248
23249
a95a7133 23250static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23251 PyObject *resultobj;
23252 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23253 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23254 bool arg3 ;
23255 double arg4 ;
23256 double arg5 ;
23257 int arg6 = (int) 0 ;
23258 int arg7 = (int) 0 ;
23259 PyObject * obj0 = 0 ;
23260 PyObject * obj1 = 0 ;
23261 PyObject * obj2 = 0 ;
8edf1c75
RD
23262 PyObject * obj3 = 0 ;
23263 PyObject * obj4 = 0 ;
23264 PyObject * obj5 = 0 ;
23265 PyObject * obj6 = 0 ;
44127b65
RD
23266 char *kwnames[] = {
23267 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23268 };
23269
8edf1c75 23270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
23271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23275 arg3 = (bool) SWIG_AsBool(obj2);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 arg4 = (double) SWIG_AsDouble(obj3);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 arg5 = (double) SWIG_AsDouble(obj4);
23280 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23281 if (obj5) {
2f4c0a16
RD
23282 arg6 = (int) SWIG_AsInt(obj5);
23283 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23284 }
23285 if (obj6) {
2f4c0a16
RD
23286 arg7 = (int) SWIG_AsInt(obj6);
23287 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23288 }
44127b65
RD
23289 {
23290 PyThreadState* __tstate = wxPyBeginAllowThreads();
23291 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23292
23293 wxPyEndAllowThreads(__tstate);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 }
23296 Py_INCREF(Py_None); resultobj = Py_None;
23297 return resultobj;
23298 fail:
23299 return NULL;
23300}
23301
23302
a95a7133 23303static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23304 PyObject *resultobj;
23305 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23306 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23307 double arg3 ;
23308 double arg4 ;
23309 int arg5 = (int) 0 ;
23310 int arg6 = (int) 0 ;
23311 PyObject * obj0 = 0 ;
23312 PyObject * obj1 = 0 ;
8edf1c75
RD
23313 PyObject * obj2 = 0 ;
23314 PyObject * obj3 = 0 ;
23315 PyObject * obj4 = 0 ;
23316 PyObject * obj5 = 0 ;
44127b65
RD
23317 char *kwnames[] = {
23318 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23319 };
23320
8edf1c75 23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23326 arg3 = (double) SWIG_AsDouble(obj2);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 arg4 = (double) SWIG_AsDouble(obj3);
23329 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23330 if (obj4) {
2f4c0a16
RD
23331 arg5 = (int) SWIG_AsInt(obj4);
23332 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23333 }
23334 if (obj5) {
2f4c0a16
RD
23335 arg6 = (int) SWIG_AsInt(obj5);
23336 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23337 }
44127b65
RD
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 Py_INCREF(Py_None); resultobj = Py_None;
23346 return resultobj;
23347 fail:
23348 return NULL;
23349}
23350
23351
a95a7133 23352static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23353 PyObject *resultobj;
23354 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23355 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23356 double arg3 ;
23357 double arg4 ;
23358 int arg5 = (int) 0 ;
23359 int arg6 = (int) 0 ;
23360 PyObject * obj0 = 0 ;
23361 PyObject * obj1 = 0 ;
8edf1c75
RD
23362 PyObject * obj2 = 0 ;
23363 PyObject * obj3 = 0 ;
23364 PyObject * obj4 = 0 ;
23365 PyObject * obj5 = 0 ;
44127b65
RD
23366 char *kwnames[] = {
23367 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23368 };
23369
8edf1c75 23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
23371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
23374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23375 arg3 = (double) SWIG_AsDouble(obj2);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 arg4 = (double) SWIG_AsDouble(obj3);
23378 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23379 if (obj4) {
2f4c0a16
RD
23380 arg5 = (int) SWIG_AsInt(obj4);
23381 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23382 }
23383 if (obj5) {
2f4c0a16
RD
23384 arg6 = (int) SWIG_AsInt(obj5);
23385 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23386 }
44127b65
RD
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23390
23391 wxPyEndAllowThreads(__tstate);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 }
23394 Py_INCREF(Py_None); resultobj = Py_None;
23395 return resultobj;
23396 fail:
23397 return NULL;
23398}
23399
23400
a95a7133 23401static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23402 PyObject *resultobj;
23403 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23404 double arg2 ;
23405 double arg3 ;
23406 PyObject * obj0 = 0 ;
8edf1c75
RD
23407 PyObject * obj1 = 0 ;
23408 PyObject * obj2 = 0 ;
44127b65
RD
23409 char *kwnames[] = {
23410 (char *) "self",(char *) "w",(char *) "h", NULL
23411 };
23412
8edf1c75 23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23416 arg2 = (double) SWIG_AsDouble(obj1);
23417 if (PyErr_Occurred()) SWIG_fail;
23418 arg3 = (double) SWIG_AsDouble(obj2);
23419 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23420 {
23421 PyThreadState* __tstate = wxPyBeginAllowThreads();
23422 (arg1)->base_OnBeginSize(arg2,arg3);
23423
23424 wxPyEndAllowThreads(__tstate);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 Py_INCREF(Py_None); resultobj = Py_None;
23428 return resultobj;
23429 fail:
23430 return NULL;
23431}
23432
23433
a95a7133 23434static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23435 PyObject *resultobj;
23436 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23437 double arg2 ;
23438 double arg3 ;
23439 PyObject * obj0 = 0 ;
8edf1c75
RD
23440 PyObject * obj1 = 0 ;
23441 PyObject * obj2 = 0 ;
44127b65
RD
23442 char *kwnames[] = {
23443 (char *) "self",(char *) "w",(char *) "h", NULL
23444 };
23445
8edf1c75 23446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEllipseShape,
23448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23449 arg2 = (double) SWIG_AsDouble(obj1);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 arg3 = (double) SWIG_AsDouble(obj2);
23452 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23453 {
2f4c0a16
RD
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 (arg1)->base_OnEndSize(arg2,arg3);
23456
23457 wxPyEndAllowThreads(__tstate);
44127b65
RD
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 Py_INCREF(Py_None); resultobj = Py_None;
23461 return resultobj;
23462 fail:
23463 return NULL;
23464}
23465
23466
a95a7133 23467static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
23468 PyObject *obj;
23469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23470 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23471 Py_INCREF(obj);
23472 return Py_BuildValue((char *)"");
23473}
a95a7133 23474static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23475 PyObject *resultobj;
23476 double arg1 = (double) 0.0 ;
23477 wxPyCircleShape *result;
8edf1c75 23478 PyObject * obj0 = 0 ;
44127b65
RD
23479 char *kwnames[] = {
23480 (char *) "width", NULL
23481 };
23482
8edf1c75
RD
23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23484 if (obj0) {
2f4c0a16
RD
23485 arg1 = (double) SWIG_AsDouble(obj0);
23486 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23487 }
44127b65
RD
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
2f4c0a16 23495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
44127b65
RD
23496 return resultobj;
23497 fail:
23498 return NULL;
23499}
23500
23501
a95a7133 23502static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23503 PyObject *resultobj;
23504 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23505 PyObject *arg2 = (PyObject *) 0 ;
23506 PyObject *arg3 = (PyObject *) 0 ;
23507 PyObject * obj0 = 0 ;
23508 PyObject * obj1 = 0 ;
23509 PyObject * obj2 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self",(char *) "self",(char *) "_class", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
23517 arg2 = obj1;
23518 arg3 = obj2;
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 (arg1)->_setCallbackInfo(arg2,arg3);
23522
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
23526 Py_INCREF(Py_None); resultobj = Py_None;
23527 return resultobj;
23528 fail:
23529 return NULL;
23530}
23531
23532
a95a7133 23533static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23534 PyObject *resultobj;
23535 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23536 wxDC *arg2 = 0 ;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "self",(char *) "dc", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23547 SWIG_POINTER_EXCEPTION | 0)) == -1)
23548 SWIG_fail;
44127b65 23549 if (arg2 == NULL) {
2f4c0a16
RD
23550 PyErr_SetString(PyExc_TypeError,"null reference");
23551 SWIG_fail;
44127b65
RD
23552 }
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 (arg1)->base_OnDraw(*arg2);
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 Py_INCREF(Py_None); resultobj = Py_None;
23561 return resultobj;
23562 fail:
23563 return NULL;
23564}
23565
23566
a95a7133 23567static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23568 PyObject *resultobj;
23569 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23570 wxDC *arg2 = 0 ;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "dc", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1)
23582 SWIG_fail;
44127b65 23583 if (arg2 == NULL) {
2f4c0a16
RD
23584 PyErr_SetString(PyExc_TypeError,"null reference");
23585 SWIG_fail;
44127b65
RD
23586 }
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 (arg1)->base_OnDrawContents(*arg2);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 Py_INCREF(Py_None); resultobj = Py_None;
23595 return resultobj;
23596 fail:
23597 return NULL;
23598}
23599
23600
a95a7133 23601static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23602 PyObject *resultobj;
23603 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23604 wxDC *arg2 = 0 ;
23605 bool arg3 = (bool) FALSE ;
23606 PyObject * obj0 = 0 ;
23607 PyObject * obj1 = 0 ;
23608 PyObject * obj2 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self",(char *) "dc",(char *) "erase", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23617 SWIG_POINTER_EXCEPTION | 0)) == -1)
23618 SWIG_fail;
44127b65 23619 if (arg2 == NULL) {
2f4c0a16
RD
23620 PyErr_SetString(PyExc_TypeError,"null reference");
23621 SWIG_fail;
44127b65
RD
23622 }
23623 if (obj2) {
2f4c0a16
RD
23624 arg3 = (bool) SWIG_AsBool(obj2);
23625 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23626 }
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 (arg1)->base_OnDrawBranches(*arg2,arg3);
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
23634 Py_INCREF(Py_None); resultobj = Py_None;
23635 return resultobj;
23636 fail:
23637 return NULL;
23638}
23639
23640
a95a7133 23641static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23642 PyObject *resultobj;
23643 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23644 wxDC *arg2 = 0 ;
23645 PyObject * obj0 = 0 ;
23646 PyObject * obj1 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self",(char *) "dc", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23655 SWIG_POINTER_EXCEPTION | 0)) == -1)
23656 SWIG_fail;
44127b65 23657 if (arg2 == NULL) {
2f4c0a16
RD
23658 PyErr_SetString(PyExc_TypeError,"null reference");
23659 SWIG_fail;
44127b65
RD
23660 }
23661 {
23662 PyThreadState* __tstate = wxPyBeginAllowThreads();
23663 (arg1)->base_OnMoveLinks(*arg2);
23664
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
23668 Py_INCREF(Py_None); resultobj = Py_None;
23669 return resultobj;
23670 fail:
23671 return NULL;
23672}
23673
23674
a95a7133 23675static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23676 PyObject *resultobj;
23677 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23678 wxDC *arg2 = 0 ;
23679 PyObject * obj0 = 0 ;
23680 PyObject * obj1 = 0 ;
23681 char *kwnames[] = {
23682 (char *) "self",(char *) "dc", NULL
23683 };
23684
23685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23689 SWIG_POINTER_EXCEPTION | 0)) == -1)
23690 SWIG_fail;
44127b65 23691 if (arg2 == NULL) {
2f4c0a16
RD
23692 PyErr_SetString(PyExc_TypeError,"null reference");
23693 SWIG_fail;
44127b65
RD
23694 }
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 (arg1)->base_OnErase(*arg2);
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 Py_INCREF(Py_None); resultobj = Py_None;
23703 return resultobj;
23704 fail:
23705 return NULL;
23706}
23707
23708
a95a7133 23709static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23710 PyObject *resultobj;
23711 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23712 wxDC *arg2 = 0 ;
23713 PyObject * obj0 = 0 ;
23714 PyObject * obj1 = 0 ;
23715 char *kwnames[] = {
23716 (char *) "self",(char *) "dc", NULL
23717 };
23718
23719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23723 SWIG_POINTER_EXCEPTION | 0)) == -1)
23724 SWIG_fail;
44127b65 23725 if (arg2 == NULL) {
2f4c0a16
RD
23726 PyErr_SetString(PyExc_TypeError,"null reference");
23727 SWIG_fail;
44127b65
RD
23728 }
23729 {
23730 PyThreadState* __tstate = wxPyBeginAllowThreads();
23731 (arg1)->base_OnEraseContents(*arg2);
23732
23733 wxPyEndAllowThreads(__tstate);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 }
23736 Py_INCREF(Py_None); resultobj = Py_None;
23737 return resultobj;
23738 fail:
23739 return NULL;
23740}
23741
23742
a95a7133 23743static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23744 PyObject *resultobj;
23745 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23746 wxDC *arg2 = 0 ;
23747 PyObject * obj0 = 0 ;
23748 PyObject * obj1 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self",(char *) "dc", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23757 SWIG_POINTER_EXCEPTION | 0)) == -1)
23758 SWIG_fail;
44127b65 23759 if (arg2 == NULL) {
2f4c0a16
RD
23760 PyErr_SetString(PyExc_TypeError,"null reference");
23761 SWIG_fail;
44127b65
RD
23762 }
23763 {
23764 PyThreadState* __tstate = wxPyBeginAllowThreads();
23765 (arg1)->base_OnHighlight(*arg2);
23766
23767 wxPyEndAllowThreads(__tstate);
23768 if (PyErr_Occurred()) SWIG_fail;
23769 }
23770 Py_INCREF(Py_None); resultobj = Py_None;
23771 return resultobj;
23772 fail:
23773 return NULL;
23774}
23775
23776
a95a7133 23777static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23778 PyObject *resultobj;
23779 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23780 double arg2 ;
23781 double arg3 ;
23782 int arg4 = (int) 0 ;
23783 int arg5 = (int) 0 ;
23784 PyObject * obj0 = 0 ;
8edf1c75
RD
23785 PyObject * obj1 = 0 ;
23786 PyObject * obj2 = 0 ;
23787 PyObject * obj3 = 0 ;
23788 PyObject * obj4 = 0 ;
44127b65
RD
23789 char *kwnames[] = {
23790 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23791 };
23792
8edf1c75 23793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23796 arg2 = (double) SWIG_AsDouble(obj1);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 arg3 = (double) SWIG_AsDouble(obj2);
23799 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23800 if (obj3) {
2f4c0a16
RD
23801 arg4 = (int) SWIG_AsInt(obj3);
23802 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23803 }
23804 if (obj4) {
2f4c0a16
RD
23805 arg5 = (int) SWIG_AsInt(obj4);
23806 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23807 }
44127b65
RD
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
23811
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 Py_INCREF(Py_None); resultobj = Py_None;
23816 return resultobj;
23817 fail:
23818 return NULL;
23819}
23820
23821
a95a7133 23822static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23823 PyObject *resultobj;
23824 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23825 double arg2 ;
23826 double arg3 ;
23827 int arg4 = (int) 0 ;
23828 int arg5 = (int) 0 ;
23829 PyObject * obj0 = 0 ;
8edf1c75
RD
23830 PyObject * obj1 = 0 ;
23831 PyObject * obj2 = 0 ;
23832 PyObject * obj3 = 0 ;
23833 PyObject * obj4 = 0 ;
44127b65
RD
23834 char *kwnames[] = {
23835 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23836 };
23837
8edf1c75 23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23841 arg2 = (double) SWIG_AsDouble(obj1);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 arg3 = (double) SWIG_AsDouble(obj2);
23844 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23845 if (obj3) {
2f4c0a16
RD
23846 arg4 = (int) SWIG_AsInt(obj3);
23847 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23848 }
23849 if (obj4) {
2f4c0a16
RD
23850 arg5 = (int) SWIG_AsInt(obj4);
23851 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23852 }
44127b65
RD
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23856
23857 wxPyEndAllowThreads(__tstate);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
23860 Py_INCREF(Py_None); resultobj = Py_None;
23861 return resultobj;
23862 fail:
23863 return NULL;
23864}
23865
23866
a95a7133 23867static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23868 PyObject *resultobj;
23869 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23870 double arg2 ;
23871 double arg3 ;
23872 int arg4 = (int) 0 ;
23873 int arg5 = (int) 0 ;
23874 PyObject * obj0 = 0 ;
8edf1c75
RD
23875 PyObject * obj1 = 0 ;
23876 PyObject * obj2 = 0 ;
23877 PyObject * obj3 = 0 ;
23878 PyObject * obj4 = 0 ;
44127b65
RD
23879 char *kwnames[] = {
23880 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23881 };
23882
8edf1c75 23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23886 arg2 = (double) SWIG_AsDouble(obj1);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 arg3 = (double) SWIG_AsDouble(obj2);
23889 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23890 if (obj3) {
2f4c0a16
RD
23891 arg4 = (int) SWIG_AsInt(obj3);
23892 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23893 }
23894 if (obj4) {
2f4c0a16
RD
23895 arg5 = (int) SWIG_AsInt(obj4);
23896 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23897 }
44127b65
RD
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23901
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 Py_INCREF(Py_None); resultobj = Py_None;
23906 return resultobj;
23907 fail:
23908 return NULL;
23909}
23910
23911
a95a7133 23912static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23913 PyObject *resultobj;
23914 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23915 double arg2 ;
23916 double arg3 ;
23917 PyObject * obj0 = 0 ;
8edf1c75
RD
23918 PyObject * obj1 = 0 ;
23919 PyObject * obj2 = 0 ;
44127b65
RD
23920 char *kwnames[] = {
23921 (char *) "self",(char *) "x",(char *) "y", NULL
23922 };
23923
8edf1c75 23924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23927 arg2 = (double) SWIG_AsDouble(obj1);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 arg3 = (double) SWIG_AsDouble(obj2);
23930 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 (arg1)->base_OnSize(arg2,arg3);
23934
23935 wxPyEndAllowThreads(__tstate);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 Py_INCREF(Py_None); resultobj = Py_None;
23939 return resultobj;
23940 fail:
23941 return NULL;
23942}
23943
23944
a95a7133 23945static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
23946 PyObject *resultobj;
23947 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
23948 wxDC *arg2 = 0 ;
23949 double arg3 ;
23950 double arg4 ;
23951 double arg5 ;
23952 double arg6 ;
23953 bool arg7 = (bool) True ;
23954 bool result;
23955 PyObject * obj0 = 0 ;
23956 PyObject * obj1 = 0 ;
8edf1c75
RD
23957 PyObject * obj2 = 0 ;
23958 PyObject * obj3 = 0 ;
23959 PyObject * obj4 = 0 ;
23960 PyObject * obj5 = 0 ;
44127b65
RD
23961 PyObject * obj6 = 0 ;
23962 char *kwnames[] = {
23963 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23964 };
23965
8edf1c75 23966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
23967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
23968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
23970 SWIG_POINTER_EXCEPTION | 0)) == -1)
23971 SWIG_fail;
44127b65 23972 if (arg2 == NULL) {
2f4c0a16
RD
23973 PyErr_SetString(PyExc_TypeError,"null reference");
23974 SWIG_fail;
23975 }
23976 arg3 = (double) SWIG_AsDouble(obj2);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 arg4 = (double) SWIG_AsDouble(obj3);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 arg5 = (double) SWIG_AsDouble(obj4);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 arg6 = (double) SWIG_AsDouble(obj5);
23983 if (PyErr_Occurred()) SWIG_fail;
44127b65 23984 if (obj6) {
2f4c0a16
RD
23985 arg7 = (bool) SWIG_AsBool(obj6);
23986 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
23987 }
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23991
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
fbc46b20
RD
23995 {
23996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23997 }
44127b65
RD
23998 return resultobj;
23999 fail:
24000 return NULL;
24001}
24002
24003
a95a7133 24004static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24005 PyObject *resultobj;
24006 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24007 wxDC *arg2 = 0 ;
24008 double arg3 ;
24009 double arg4 ;
24010 double arg5 ;
24011 double arg6 ;
24012 bool arg7 = (bool) True ;
24013 PyObject * obj0 = 0 ;
24014 PyObject * obj1 = 0 ;
8edf1c75
RD
24015 PyObject * obj2 = 0 ;
24016 PyObject * obj3 = 0 ;
24017 PyObject * obj4 = 0 ;
24018 PyObject * obj5 = 0 ;
44127b65
RD
24019 PyObject * obj6 = 0 ;
24020 char *kwnames[] = {
24021 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24022 };
24023
8edf1c75 24024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
24025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24028 SWIG_POINTER_EXCEPTION | 0)) == -1)
24029 SWIG_fail;
44127b65 24030 if (arg2 == NULL) {
2f4c0a16
RD
24031 PyErr_SetString(PyExc_TypeError,"null reference");
24032 SWIG_fail;
24033 }
24034 arg3 = (double) SWIG_AsDouble(obj2);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 arg4 = (double) SWIG_AsDouble(obj3);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 arg5 = (double) SWIG_AsDouble(obj4);
24039 if (PyErr_Occurred()) SWIG_fail;
24040 arg6 = (double) SWIG_AsDouble(obj5);
24041 if (PyErr_Occurred()) SWIG_fail;
44127b65 24042 if (obj6) {
2f4c0a16
RD
24043 arg7 = (bool) SWIG_AsBool(obj6);
24044 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24045 }
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 Py_INCREF(Py_None); resultobj = Py_None;
24054 return resultobj;
24055 fail:
24056 return NULL;
24057}
24058
24059
a95a7133 24060static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24061 PyObject *resultobj;
24062 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24063 bool arg2 ;
24064 double arg3 ;
24065 double arg4 ;
24066 int arg5 = (int) 0 ;
24067 int arg6 = (int) 0 ;
24068 PyObject * obj0 = 0 ;
24069 PyObject * obj1 = 0 ;
8edf1c75
RD
24070 PyObject * obj2 = 0 ;
24071 PyObject * obj3 = 0 ;
24072 PyObject * obj4 = 0 ;
24073 PyObject * obj5 = 0 ;
44127b65
RD
24074 char *kwnames[] = {
24075 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24076 };
24077
8edf1c75 24078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24081 arg2 = (bool) SWIG_AsBool(obj1);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 arg3 = (double) SWIG_AsDouble(obj2);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 arg4 = (double) SWIG_AsDouble(obj3);
24086 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24087 if (obj4) {
2f4c0a16
RD
24088 arg5 = (int) SWIG_AsInt(obj4);
24089 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24090 }
24091 if (obj5) {
2f4c0a16
RD
24092 arg6 = (int) SWIG_AsInt(obj5);
24093 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24094 }
44127b65
RD
24095 {
24096 PyThreadState* __tstate = wxPyBeginAllowThreads();
24097 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24098
24099 wxPyEndAllowThreads(__tstate);
24100 if (PyErr_Occurred()) SWIG_fail;
24101 }
24102 Py_INCREF(Py_None); resultobj = Py_None;
24103 return resultobj;
24104 fail:
24105 return NULL;
24106}
24107
24108
a95a7133 24109static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24110 PyObject *resultobj;
24111 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24112 double arg2 ;
24113 double arg3 ;
24114 int arg4 = (int) 0 ;
24115 int arg5 = (int) 0 ;
24116 PyObject * obj0 = 0 ;
8edf1c75
RD
24117 PyObject * obj1 = 0 ;
24118 PyObject * obj2 = 0 ;
24119 PyObject * obj3 = 0 ;
24120 PyObject * obj4 = 0 ;
44127b65
RD
24121 char *kwnames[] = {
24122 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24123 };
24124
8edf1c75 24125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24128 arg2 = (double) SWIG_AsDouble(obj1);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 arg3 = (double) SWIG_AsDouble(obj2);
24131 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24132 if (obj3) {
2f4c0a16
RD
24133 arg4 = (int) SWIG_AsInt(obj3);
24134 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24135 }
24136 if (obj4) {
2f4c0a16
RD
24137 arg5 = (int) SWIG_AsInt(obj4);
24138 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24139 }
44127b65
RD
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24143
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 Py_INCREF(Py_None); resultobj = Py_None;
24148 return resultobj;
24149 fail:
24150 return NULL;
24151}
24152
24153
a95a7133 24154static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24155 PyObject *resultobj;
24156 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24157 double arg2 ;
24158 double arg3 ;
24159 int arg4 = (int) 0 ;
24160 int arg5 = (int) 0 ;
24161 PyObject * obj0 = 0 ;
8edf1c75
RD
24162 PyObject * obj1 = 0 ;
24163 PyObject * obj2 = 0 ;
24164 PyObject * obj3 = 0 ;
24165 PyObject * obj4 = 0 ;
44127b65
RD
24166 char *kwnames[] = {
24167 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24168 };
24169
8edf1c75 24170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24173 arg2 = (double) SWIG_AsDouble(obj1);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 arg3 = (double) SWIG_AsDouble(obj2);
24176 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24177 if (obj3) {
2f4c0a16
RD
24178 arg4 = (int) SWIG_AsInt(obj3);
24179 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24180 }
24181 if (obj4) {
2f4c0a16
RD
24182 arg5 = (int) SWIG_AsInt(obj4);
24183 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24184 }
44127b65
RD
24185 {
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24188
24189 wxPyEndAllowThreads(__tstate);
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 Py_INCREF(Py_None); resultobj = Py_None;
24193 return resultobj;
24194 fail:
24195 return NULL;
24196}
24197
24198
a95a7133 24199static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24200 PyObject *resultobj;
24201 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24202 bool arg2 ;
24203 double arg3 ;
24204 double arg4 ;
24205 int arg5 = (int) 0 ;
24206 int arg6 = (int) 0 ;
24207 PyObject * obj0 = 0 ;
24208 PyObject * obj1 = 0 ;
8edf1c75
RD
24209 PyObject * obj2 = 0 ;
24210 PyObject * obj3 = 0 ;
24211 PyObject * obj4 = 0 ;
24212 PyObject * obj5 = 0 ;
44127b65
RD
24213 char *kwnames[] = {
24214 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24215 };
24216
8edf1c75 24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24220 arg2 = (bool) SWIG_AsBool(obj1);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 arg3 = (double) SWIG_AsDouble(obj2);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 arg4 = (double) SWIG_AsDouble(obj3);
24225 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24226 if (obj4) {
2f4c0a16
RD
24227 arg5 = (int) SWIG_AsInt(obj4);
24228 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24229 }
24230 if (obj5) {
2f4c0a16
RD
24231 arg6 = (int) SWIG_AsInt(obj5);
24232 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24233 }
44127b65
RD
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24237
24238 wxPyEndAllowThreads(__tstate);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 }
24241 Py_INCREF(Py_None); resultobj = Py_None;
24242 return resultobj;
24243 fail:
24244 return NULL;
24245}
24246
24247
a95a7133 24248static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24249 PyObject *resultobj;
24250 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24251 double arg2 ;
24252 double arg3 ;
24253 int arg4 = (int) 0 ;
24254 int arg5 = (int) 0 ;
24255 PyObject * obj0 = 0 ;
8edf1c75
RD
24256 PyObject * obj1 = 0 ;
24257 PyObject * obj2 = 0 ;
24258 PyObject * obj3 = 0 ;
24259 PyObject * obj4 = 0 ;
44127b65
RD
24260 char *kwnames[] = {
24261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24262 };
24263
8edf1c75 24264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24267 arg2 = (double) SWIG_AsDouble(obj1);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 arg3 = (double) SWIG_AsDouble(obj2);
24270 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24271 if (obj3) {
2f4c0a16
RD
24272 arg4 = (int) SWIG_AsInt(obj3);
24273 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24274 }
24275 if (obj4) {
2f4c0a16
RD
24276 arg5 = (int) SWIG_AsInt(obj4);
24277 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24278 }
44127b65
RD
24279 {
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 Py_INCREF(Py_None); resultobj = Py_None;
24287 return resultobj;
24288 fail:
24289 return NULL;
24290}
24291
24292
a95a7133 24293static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24294 PyObject *resultobj;
24295 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24296 double arg2 ;
24297 double arg3 ;
24298 int arg4 = (int) 0 ;
24299 int arg5 = (int) 0 ;
24300 PyObject * obj0 = 0 ;
8edf1c75
RD
24301 PyObject * obj1 = 0 ;
24302 PyObject * obj2 = 0 ;
24303 PyObject * obj3 = 0 ;
24304 PyObject * obj4 = 0 ;
44127b65
RD
24305 char *kwnames[] = {
24306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24307 };
24308
8edf1c75 24309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24312 arg2 = (double) SWIG_AsDouble(obj1);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 arg3 = (double) SWIG_AsDouble(obj2);
24315 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24316 if (obj3) {
2f4c0a16
RD
24317 arg4 = (int) SWIG_AsInt(obj3);
24318 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24319 }
24320 if (obj4) {
2f4c0a16
RD
24321 arg5 = (int) SWIG_AsInt(obj4);
24322 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24323 }
44127b65
RD
24324 {
24325 PyThreadState* __tstate = wxPyBeginAllowThreads();
24326 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24327
24328 wxPyEndAllowThreads(__tstate);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 }
24331 Py_INCREF(Py_None); resultobj = Py_None;
24332 return resultobj;
24333 fail:
24334 return NULL;
24335}
24336
24337
a95a7133 24338static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24339 PyObject *resultobj;
24340 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24341 wxDC *arg2 = 0 ;
24342 double arg3 ;
24343 double arg4 ;
24344 double arg5 ;
24345 double arg6 ;
24346 PyObject * obj0 = 0 ;
24347 PyObject * obj1 = 0 ;
8edf1c75
RD
24348 PyObject * obj2 = 0 ;
24349 PyObject * obj3 = 0 ;
24350 PyObject * obj4 = 0 ;
24351 PyObject * obj5 = 0 ;
44127b65
RD
24352 char *kwnames[] = {
24353 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24354 };
24355
8edf1c75 24356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24360 SWIG_POINTER_EXCEPTION | 0)) == -1)
24361 SWIG_fail;
44127b65 24362 if (arg2 == NULL) {
2f4c0a16
RD
24363 PyErr_SetString(PyExc_TypeError,"null reference");
24364 SWIG_fail;
8edf1c75 24365 }
2f4c0a16
RD
24366 arg3 = (double) SWIG_AsDouble(obj2);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 arg4 = (double) SWIG_AsDouble(obj3);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 arg5 = (double) SWIG_AsDouble(obj4);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 arg6 = (double) SWIG_AsDouble(obj5);
24373 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24374 {
24375 PyThreadState* __tstate = wxPyBeginAllowThreads();
24376 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24377
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 Py_INCREF(Py_None); resultobj = Py_None;
24382 return resultobj;
24383 fail:
24384 return NULL;
24385}
24386
24387
a95a7133 24388static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24389 PyObject *resultobj;
24390 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24391 wxDC *arg2 = 0 ;
24392 PyObject * obj0 = 0 ;
24393 PyObject * obj1 = 0 ;
24394 char *kwnames[] = {
24395 (char *) "self",(char *) "dc", NULL
24396 };
24397
24398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24402 SWIG_POINTER_EXCEPTION | 0)) == -1)
24403 SWIG_fail;
44127b65 24404 if (arg2 == NULL) {
2f4c0a16
RD
24405 PyErr_SetString(PyExc_TypeError,"null reference");
24406 SWIG_fail;
44127b65
RD
24407 }
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 (arg1)->base_OnDrawControlPoints(*arg2);
24411
24412 wxPyEndAllowThreads(__tstate);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 }
24415 Py_INCREF(Py_None); resultobj = Py_None;
24416 return resultobj;
24417 fail:
24418 return NULL;
24419}
24420
24421
a95a7133 24422static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24423 PyObject *resultobj;
24424 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24425 wxDC *arg2 = 0 ;
24426 PyObject * obj0 = 0 ;
24427 PyObject * obj1 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self",(char *) "dc", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24436 SWIG_POINTER_EXCEPTION | 0)) == -1)
24437 SWIG_fail;
44127b65 24438 if (arg2 == NULL) {
2f4c0a16
RD
24439 PyErr_SetString(PyExc_TypeError,"null reference");
24440 SWIG_fail;
44127b65
RD
24441 }
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 (arg1)->base_OnEraseControlPoints(*arg2);
24445
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
24449 Py_INCREF(Py_None); resultobj = Py_None;
24450 return resultobj;
24451 fail:
24452 return NULL;
24453}
24454
24455
a95a7133 24456static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24457 PyObject *resultobj;
24458 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24459 wxDC *arg2 = 0 ;
24460 bool arg3 = (bool) True ;
24461 PyObject * obj0 = 0 ;
24462 PyObject * obj1 = 0 ;
24463 PyObject * obj2 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24472 SWIG_POINTER_EXCEPTION | 0)) == -1)
24473 SWIG_fail;
44127b65 24474 if (arg2 == NULL) {
2f4c0a16
RD
24475 PyErr_SetString(PyExc_TypeError,"null reference");
24476 SWIG_fail;
44127b65
RD
24477 }
24478 if (obj2) {
2f4c0a16
RD
24479 arg3 = (bool) SWIG_AsBool(obj2);
24480 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24481 }
24482 {
24483 PyThreadState* __tstate = wxPyBeginAllowThreads();
24484 (arg1)->base_OnMoveLink(*arg2,arg3);
24485
24486 wxPyEndAllowThreads(__tstate);
24487 if (PyErr_Occurred()) SWIG_fail;
24488 }
24489 Py_INCREF(Py_None); resultobj = Py_None;
24490 return resultobj;
24491 fail:
24492 return NULL;
24493}
24494
24495
a95a7133 24496static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24497 PyObject *resultobj;
24498 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24499 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24500 bool arg3 ;
24501 double arg4 ;
24502 double arg5 ;
24503 int arg6 = (int) 0 ;
24504 int arg7 = (int) 0 ;
24505 PyObject * obj0 = 0 ;
24506 PyObject * obj1 = 0 ;
24507 PyObject * obj2 = 0 ;
8edf1c75
RD
24508 PyObject * obj3 = 0 ;
24509 PyObject * obj4 = 0 ;
24510 PyObject * obj5 = 0 ;
24511 PyObject * obj6 = 0 ;
44127b65
RD
24512 char *kwnames[] = {
24513 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24514 };
24515
8edf1c75 24516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
24517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24521 arg3 = (bool) SWIG_AsBool(obj2);
24522 if (PyErr_Occurred()) SWIG_fail;
24523 arg4 = (double) SWIG_AsDouble(obj3);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 arg5 = (double) SWIG_AsDouble(obj4);
24526 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24527 if (obj5) {
2f4c0a16
RD
24528 arg6 = (int) SWIG_AsInt(obj5);
24529 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24530 }
24531 if (obj6) {
2f4c0a16
RD
24532 arg7 = (int) SWIG_AsInt(obj6);
24533 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24534 }
44127b65
RD
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 Py_INCREF(Py_None); resultobj = Py_None;
24543 return resultobj;
24544 fail:
24545 return NULL;
24546}
24547
24548
a95a7133 24549static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24550 PyObject *resultobj;
24551 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24552 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24553 double arg3 ;
24554 double arg4 ;
24555 int arg5 = (int) 0 ;
24556 int arg6 = (int) 0 ;
24557 PyObject * obj0 = 0 ;
24558 PyObject * obj1 = 0 ;
8edf1c75
RD
24559 PyObject * obj2 = 0 ;
24560 PyObject * obj3 = 0 ;
24561 PyObject * obj4 = 0 ;
24562 PyObject * obj5 = 0 ;
44127b65
RD
24563 char *kwnames[] = {
24564 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24565 };
24566
8edf1c75 24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24572 arg3 = (double) SWIG_AsDouble(obj2);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 arg4 = (double) SWIG_AsDouble(obj3);
24575 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24576 if (obj4) {
2f4c0a16
RD
24577 arg5 = (int) SWIG_AsInt(obj4);
24578 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24579 }
24580 if (obj5) {
2f4c0a16
RD
24581 arg6 = (int) SWIG_AsInt(obj5);
24582 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24583 }
44127b65
RD
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
24587
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 Py_INCREF(Py_None); resultobj = Py_None;
24592 return resultobj;
24593 fail:
24594 return NULL;
24595}
24596
24597
a95a7133 24598static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24599 PyObject *resultobj;
24600 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24601 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24602 double arg3 ;
24603 double arg4 ;
24604 int arg5 = (int) 0 ;
24605 int arg6 = (int) 0 ;
24606 PyObject * obj0 = 0 ;
24607 PyObject * obj1 = 0 ;
8edf1c75
RD
24608 PyObject * obj2 = 0 ;
24609 PyObject * obj3 = 0 ;
24610 PyObject * obj4 = 0 ;
24611 PyObject * obj5 = 0 ;
44127b65
RD
24612 char *kwnames[] = {
24613 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24614 };
24615
8edf1c75 24616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
24617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
24620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24621 arg3 = (double) SWIG_AsDouble(obj2);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 arg4 = (double) SWIG_AsDouble(obj3);
24624 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24625 if (obj4) {
2f4c0a16
RD
24626 arg5 = (int) SWIG_AsInt(obj4);
24627 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24628 }
24629 if (obj5) {
2f4c0a16
RD
24630 arg6 = (int) SWIG_AsInt(obj5);
24631 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24632 }
44127b65
RD
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 Py_INCREF(Py_None); resultobj = Py_None;
24641 return resultobj;
24642 fail:
24643 return NULL;
24644}
24645
24646
a95a7133 24647static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24648 PyObject *resultobj;
24649 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24650 double arg2 ;
24651 double arg3 ;
24652 PyObject * obj0 = 0 ;
8edf1c75
RD
24653 PyObject * obj1 = 0 ;
24654 PyObject * obj2 = 0 ;
44127b65
RD
24655 char *kwnames[] = {
24656 (char *) "self",(char *) "w",(char *) "h", NULL
24657 };
24658
8edf1c75 24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24662 arg2 = (double) SWIG_AsDouble(obj1);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 arg3 = (double) SWIG_AsDouble(obj2);
24665 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 (arg1)->base_OnBeginSize(arg2,arg3);
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 Py_INCREF(Py_None); resultobj = Py_None;
24674 return resultobj;
24675 fail:
24676 return NULL;
24677}
24678
24679
a95a7133 24680static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24681 PyObject *resultobj;
24682 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24683 double arg2 ;
24684 double arg3 ;
24685 PyObject * obj0 = 0 ;
8edf1c75
RD
24686 PyObject * obj1 = 0 ;
24687 PyObject * obj2 = 0 ;
44127b65
RD
24688 char *kwnames[] = {
24689 (char *) "self",(char *) "w",(char *) "h", NULL
24690 };
24691
8edf1c75 24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCircleShape,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24695 arg2 = (double) SWIG_AsDouble(obj1);
24696 if (PyErr_Occurred()) SWIG_fail;
24697 arg3 = (double) SWIG_AsDouble(obj2);
24698 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24699 {
24700 PyThreadState* __tstate = wxPyBeginAllowThreads();
24701 (arg1)->base_OnEndSize(arg2,arg3);
24702
24703 wxPyEndAllowThreads(__tstate);
24704 if (PyErr_Occurred()) SWIG_fail;
24705 }
24706 Py_INCREF(Py_None); resultobj = Py_None;
24707 return resultobj;
24708 fail:
24709 return NULL;
24710}
24711
24712
a95a7133 24713static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
24714 PyObject *obj;
24715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
24717 Py_INCREF(obj);
24718 return Py_BuildValue((char *)"");
24719}
a95a7133 24720static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24721 PyObject *resultobj;
24722 int arg1 = (int) 0 ;
24723 int arg2 = (int) 0 ;
24724 double arg3 = (double) 0.0 ;
24725 double arg4 = (double) 0.0 ;
24726 wxString const &arg5_defvalue = wxPyEmptyString ;
24727 wxString *arg5 = (wxString *) &arg5_defvalue ;
24728 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
24729 long arg7 = (long) -1 ;
24730 wxArrowHead *result;
24731 bool temp5 = False ;
8edf1c75
RD
24732 PyObject * obj0 = 0 ;
24733 PyObject * obj1 = 0 ;
24734 PyObject * obj2 = 0 ;
24735 PyObject * obj3 = 0 ;
44127b65
RD
24736 PyObject * obj4 = 0 ;
24737 PyObject * obj5 = 0 ;
8edf1c75 24738 PyObject * obj6 = 0 ;
44127b65
RD
24739 char *kwnames[] = {
24740 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24741 };
24742
8edf1c75
RD
24743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24744 if (obj0) {
2f4c0a16
RD
24745 arg1 = (int) SWIG_AsInt(obj0);
24746 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24747 }
24748 if (obj1) {
2f4c0a16
RD
24749 arg2 = (int) SWIG_AsInt(obj1);
24750 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24751 }
24752 if (obj2) {
2f4c0a16
RD
24753 arg3 = (double) SWIG_AsDouble(obj2);
24754 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24755 }
24756 if (obj3) {
2f4c0a16
RD
24757 arg4 = (double) SWIG_AsDouble(obj3);
24758 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24759 }
44127b65
RD
24760 if (obj4) {
24761 {
24762 arg5 = wxString_in_helper(obj4);
24763 if (arg5 == NULL) SWIG_fail;
24764 temp5 = True;
24765 }
24766 }
24767 if (obj5) {
2f4c0a16
RD
24768 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPseudoMetaFile,
24769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 24770 }
8edf1c75 24771 if (obj6) {
2f4c0a16
RD
24772 arg7 = (long) SWIG_AsLong(obj6);
24773 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24774 }
44127b65
RD
24775 {
24776 PyThreadState* __tstate = wxPyBeginAllowThreads();
24777 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
24778
24779 wxPyEndAllowThreads(__tstate);
24780 if (PyErr_Occurred()) SWIG_fail;
24781 }
24782 {
412d302d 24783 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
24784 }
24785 {
24786 if (temp5)
24787 delete arg5;
24788 }
24789 return resultobj;
24790 fail:
24791 {
24792 if (temp5)
24793 delete arg5;
24794 }
24795 return NULL;
24796}
24797
24798
a95a7133 24799static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24800 PyObject *resultobj;
24801 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24802 PyObject * obj0 = 0 ;
24803 char *kwnames[] = {
24804 (char *) "self", NULL
24805 };
24806
24807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 delete arg1;
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 Py_INCREF(Py_None); resultobj = Py_None;
24818 return resultobj;
24819 fail:
24820 return NULL;
24821}
24822
24823
a95a7133 24824static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24825 PyObject *resultobj;
24826 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24827 int result;
24828 PyObject * obj0 = 0 ;
24829 char *kwnames[] = {
24830 (char *) "self", NULL
24831 };
24832
24833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 result = (int)(arg1)->_GetType();
24839
24840 wxPyEndAllowThreads(__tstate);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 }
2f4c0a16 24843 resultobj = SWIG_FromInt((int)result);
44127b65
RD
24844 return resultobj;
24845 fail:
24846 return NULL;
24847}
24848
24849
a95a7133 24850static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24851 PyObject *resultobj;
24852 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24853 int result;
24854 PyObject * obj0 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 result = (int)(arg1)->GetPosition();
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
2f4c0a16 24869 resultobj = SWIG_FromInt((int)result);
44127b65
RD
24870 return resultobj;
24871 fail:
24872 return NULL;
24873}
24874
24875
a95a7133 24876static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24877 PyObject *resultobj;
24878 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24879 int arg2 ;
24880 PyObject * obj0 = 0 ;
8edf1c75 24881 PyObject * obj1 = 0 ;
44127b65
RD
24882 char *kwnames[] = {
24883 (char *) "self",(char *) "pos", NULL
24884 };
24885
8edf1c75 24886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24889 arg2 = (int) SWIG_AsInt(obj1);
24890 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
24891 {
24892 PyThreadState* __tstate = wxPyBeginAllowThreads();
24893 (arg1)->SetPosition(arg2);
24894
24895 wxPyEndAllowThreads(__tstate);
24896 if (PyErr_Occurred()) SWIG_fail;
24897 }
24898 Py_INCREF(Py_None); resultobj = Py_None;
24899 return resultobj;
24900 fail:
24901 return NULL;
24902}
24903
24904
a95a7133 24905static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24906 PyObject *resultobj;
24907 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24908 double result;
24909 PyObject * obj0 = 0 ;
24910 char *kwnames[] = {
24911 (char *) "self", NULL
24912 };
24913
24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24917 {
24918 PyThreadState* __tstate = wxPyBeginAllowThreads();
24919 result = (double)(arg1)->GetXOffset();
24920
24921 wxPyEndAllowThreads(__tstate);
24922 if (PyErr_Occurred()) SWIG_fail;
24923 }
2f4c0a16 24924 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
24925 return resultobj;
24926 fail:
24927 return NULL;
24928}
24929
24930
a95a7133 24931static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24932 PyObject *resultobj;
24933 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24934 double result;
24935 PyObject * obj0 = 0 ;
24936 char *kwnames[] = {
24937 (char *) "self", NULL
24938 };
24939
24940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24943 {
24944 PyThreadState* __tstate = wxPyBeginAllowThreads();
24945 result = (double)(arg1)->GetYOffset();
24946
24947 wxPyEndAllowThreads(__tstate);
24948 if (PyErr_Occurred()) SWIG_fail;
24949 }
2f4c0a16 24950 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
24951 return resultobj;
24952 fail:
24953 return NULL;
24954}
24955
24956
a95a7133 24957static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24958 PyObject *resultobj;
24959 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24960 double result;
24961 PyObject * obj0 = 0 ;
24962 char *kwnames[] = {
24963 (char *) "self", NULL
24964 };
24965
24966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24969 {
24970 PyThreadState* __tstate = wxPyBeginAllowThreads();
24971 result = (double)(arg1)->GetSpacing();
24972
24973 wxPyEndAllowThreads(__tstate);
24974 if (PyErr_Occurred()) SWIG_fail;
24975 }
2f4c0a16 24976 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
24977 return resultobj;
24978 fail:
24979 return NULL;
24980}
24981
24982
a95a7133 24983static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
24984 PyObject *resultobj;
24985 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
24986 double result;
24987 PyObject * obj0 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self", NULL
24990 };
24991
24992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
24994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = (double)(arg1)->GetSize();
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
2f4c0a16 25002 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
25003 return resultobj;
25004 fail:
25005 return NULL;
25006}
25007
25008
a95a7133 25009static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25010 PyObject *resultobj;
25011 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25012 wxString result;
25013 PyObject * obj0 = 0 ;
25014 char *kwnames[] = {
25015 (char *) "self", NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 result = (arg1)->GetName();
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 {
25029#if wxUSE_UNICODE
25030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25031#else
25032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25033#endif
25034 }
25035 return resultobj;
25036 fail:
25037 return NULL;
25038}
25039
25040
a95a7133 25041static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25042 PyObject *resultobj;
25043 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25044 double arg2 ;
25045 PyObject * obj0 = 0 ;
8edf1c75 25046 PyObject * obj1 = 0 ;
44127b65
RD
25047 char *kwnames[] = {
25048 (char *) "self",(char *) "x", NULL
25049 };
25050
8edf1c75 25051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25054 arg2 = (double) SWIG_AsDouble(obj1);
25055 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 (arg1)->SetXOffset(arg2);
25059
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 Py_INCREF(Py_None); resultobj = Py_None;
25064 return resultobj;
25065 fail:
25066 return NULL;
25067}
25068
25069
a95a7133 25070static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25071 PyObject *resultobj;
25072 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25073 double arg2 ;
25074 PyObject * obj0 = 0 ;
8edf1c75 25075 PyObject * obj1 = 0 ;
44127b65
RD
25076 char *kwnames[] = {
25077 (char *) "self",(char *) "y", NULL
25078 };
25079
8edf1c75 25080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25083 arg2 = (double) SWIG_AsDouble(obj1);
25084 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 (arg1)->SetYOffset(arg2);
25088
25089 wxPyEndAllowThreads(__tstate);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 }
25092 Py_INCREF(Py_None); resultobj = Py_None;
25093 return resultobj;
25094 fail:
25095 return NULL;
25096}
25097
25098
a95a7133 25099static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25100 PyObject *resultobj;
25101 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25102 wxPseudoMetaFile *result;
25103 PyObject * obj0 = 0 ;
25104 char *kwnames[] = {
25105 (char *) "self", NULL
25106 };
25107
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 {
412d302d 25119 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
25120 }
25121 return resultobj;
25122 fail:
25123 return NULL;
25124}
25125
25126
a95a7133 25127static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25128 PyObject *resultobj;
25129 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25130 long result;
25131 PyObject * obj0 = 0 ;
25132 char *kwnames[] = {
25133 (char *) "self", NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 result = (long)(arg1)->GetId();
25142
25143 wxPyEndAllowThreads(__tstate);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
2f4c0a16 25146 resultobj = SWIG_FromLong((long)result);
44127b65
RD
25147 return resultobj;
25148 fail:
25149 return NULL;
25150}
25151
25152
a95a7133 25153static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25154 PyObject *resultobj;
25155 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25156 int result;
25157 PyObject * obj0 = 0 ;
25158 char *kwnames[] = {
25159 (char *) "self", NULL
25160 };
25161
25162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 result = (int)(arg1)->GetArrowEnd();
25168
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
2f4c0a16 25172 resultobj = SWIG_FromInt((int)result);
44127b65
RD
25173 return resultobj;
25174 fail:
25175 return NULL;
25176}
25177
25178
a95a7133 25179static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25180 PyObject *resultobj;
25181 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25182 double result;
25183 PyObject * obj0 = 0 ;
25184 char *kwnames[] = {
25185 (char *) "self", NULL
25186 };
25187
25188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25191 {
25192 PyThreadState* __tstate = wxPyBeginAllowThreads();
25193 result = (double)(arg1)->GetArrowSize();
25194
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
2f4c0a16 25198 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
25199 return resultobj;
25200 fail:
25201 return NULL;
25202}
25203
25204
a95a7133 25205static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25206 PyObject *resultobj;
25207 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25208 double arg2 ;
25209 PyObject * obj0 = 0 ;
8edf1c75 25210 PyObject * obj1 = 0 ;
44127b65
RD
25211 char *kwnames[] = {
25212 (char *) "self",(char *) "size", NULL
25213 };
25214
8edf1c75 25215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25218 arg2 = (double) SWIG_AsDouble(obj1);
25219 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 (arg1)->SetSize(arg2);
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
25227 Py_INCREF(Py_None); resultobj = Py_None;
25228 return resultobj;
25229 fail:
25230 return NULL;
25231}
25232
25233
a95a7133 25234static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25235 PyObject *resultobj;
25236 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25237 double arg2 ;
25238 PyObject * obj0 = 0 ;
8edf1c75 25239 PyObject * obj1 = 0 ;
44127b65
RD
25240 char *kwnames[] = {
25241 (char *) "self",(char *) "sp", NULL
25242 };
25243
8edf1c75 25244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxArrowHead,
25246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25247 arg2 = (double) SWIG_AsDouble(obj1);
25248 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 (arg1)->SetSpacing(arg2);
25252
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 Py_INCREF(Py_None); resultobj = Py_None;
25257 return resultobj;
25258 fail:
25259 return NULL;
25260}
25261
25262
a95a7133 25263static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
25264 PyObject *obj;
25265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25266 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25267 Py_INCREF(obj);
25268 return Py_BuildValue((char *)"");
25269}
a95a7133 25270static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25271 PyObject *resultobj;
25272 wxPyLineShape *result;
25273 char *kwnames[] = {
25274 NULL
25275 };
25276
25277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = (wxPyLineShape *)new wxPyLineShape();
25281
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
2f4c0a16 25285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
44127b65
RD
25286 return resultobj;
25287 fail:
25288 return NULL;
25289}
25290
25291
a95a7133 25292static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25293 PyObject *resultobj;
25294 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25295 PyObject *arg2 = (PyObject *) 0 ;
25296 PyObject *arg3 = (PyObject *) 0 ;
25297 PyObject * obj0 = 0 ;
25298 PyObject * obj1 = 0 ;
25299 PyObject * obj2 = 0 ;
25300 char *kwnames[] = {
25301 (char *) "self",(char *) "self",(char *) "_class", NULL
25302 };
25303
25304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25307 arg2 = obj1;
25308 arg3 = obj2;
25309 {
25310 PyThreadState* __tstate = wxPyBeginAllowThreads();
25311 (arg1)->_setCallbackInfo(arg2,arg3);
25312
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 Py_INCREF(Py_None); resultobj = Py_None;
25317 return resultobj;
25318 fail:
25319 return NULL;
25320}
25321
25322
a95a7133 25323static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25324 PyObject *resultobj;
25325 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25326 int arg2 ;
25327 int arg3 = (int) ARROW_POSITION_END ;
25328 double arg4 = (double) 10.0 ;
25329 double arg5 = (double) 0.0 ;
25330 wxString const &arg6_defvalue = wxPyEmptyString ;
25331 wxString *arg6 = (wxString *) &arg6_defvalue ;
25332 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25333 long arg8 = (long) -1 ;
25334 bool temp6 = False ;
25335 PyObject * obj0 = 0 ;
8edf1c75
RD
25336 PyObject * obj1 = 0 ;
25337 PyObject * obj2 = 0 ;
25338 PyObject * obj3 = 0 ;
25339 PyObject * obj4 = 0 ;
44127b65
RD
25340 PyObject * obj5 = 0 ;
25341 PyObject * obj6 = 0 ;
8edf1c75 25342 PyObject * obj7 = 0 ;
44127b65
RD
25343 char *kwnames[] = {
25344 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25345 };
25346
8edf1c75 25347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
25348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25350 arg2 = (int) SWIG_AsInt(obj1);
25351 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25352 if (obj2) {
2f4c0a16
RD
25353 arg3 = (int) SWIG_AsInt(obj2);
25354 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25355 }
25356 if (obj3) {
2f4c0a16
RD
25357 arg4 = (double) SWIG_AsDouble(obj3);
25358 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25359 }
25360 if (obj4) {
2f4c0a16
RD
25361 arg5 = (double) SWIG_AsDouble(obj4);
25362 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25363 }
44127b65
RD
25364 if (obj5) {
25365 {
25366 arg6 = wxString_in_helper(obj5);
25367 if (arg6 == NULL) SWIG_fail;
25368 temp6 = True;
25369 }
25370 }
25371 if (obj6) {
2f4c0a16
RD
25372 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPseudoMetaFile,
25373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 25374 }
8edf1c75 25375 if (obj7) {
2f4c0a16
RD
25376 arg8 = (long) SWIG_AsLong(obj7);
25377 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25378 }
44127b65
RD
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
25386 Py_INCREF(Py_None); resultobj = Py_None;
25387 {
25388 if (temp6)
25389 delete arg6;
25390 }
25391 return resultobj;
25392 fail:
25393 {
25394 if (temp6)
25395 delete arg6;
25396 }
25397 return NULL;
25398}
25399
25400
a95a7133 25401static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25402 PyObject *resultobj;
25403 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25404 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25405 PyObject *arg3 = (PyObject *) 0 ;
25406 int arg4 ;
25407 PyObject * obj0 = 0 ;
25408 PyObject * obj1 = 0 ;
25409 PyObject * obj2 = 0 ;
8edf1c75 25410 PyObject * obj3 = 0 ;
44127b65
RD
25411 char *kwnames[] = {
25412 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25413 };
25414
8edf1c75 25415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxArrowHead,
25419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 25420 arg3 = obj2;
2f4c0a16
RD
25421 arg4 = (int) SWIG_AsInt(obj3);
25422 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
25426
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 Py_INCREF(Py_None); resultobj = Py_None;
25431 return resultobj;
25432 fail:
25433 return NULL;
25434}
25435
25436
a95a7133 25437static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25438 PyObject *resultobj;
25439 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25440 wxString *arg2 = 0 ;
25441 bool result;
25442 bool temp2 = False ;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 char *kwnames[] = {
25446 (char *) "self",(char *) "name", NULL
25447 };
25448
25449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25452 {
25453 arg2 = wxString_in_helper(obj1);
25454 if (arg2 == NULL) SWIG_fail;
25455 temp2 = True;
25456 }
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
25460
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
fbc46b20
RD
25464 {
25465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25466 }
44127b65
RD
25467 {
25468 if (temp2)
25469 delete arg2;
25470 }
25471 return resultobj;
25472 fail:
25473 {
25474 if (temp2)
25475 delete arg2;
25476 }
25477 return NULL;
25478}
25479
25480
a95a7133 25481static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25482 PyObject *resultobj;
25483 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25484 int arg2 = (int) -1 ;
25485 PyObject * obj0 = 0 ;
8edf1c75 25486 PyObject * obj1 = 0 ;
44127b65
RD
25487 char *kwnames[] = {
25488 (char *) "self",(char *) "position", NULL
25489 };
25490
8edf1c75 25491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 25494 if (obj1) {
2f4c0a16
RD
25495 arg2 = (int) SWIG_AsInt(obj1);
25496 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25497 }
44127b65
RD
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 (arg1)->ClearArrowsAtPosition(arg2);
25501
25502 wxPyEndAllowThreads(__tstate);
25503 if (PyErr_Occurred()) SWIG_fail;
25504 }
25505 Py_INCREF(Py_None); resultobj = Py_None;
25506 return resultobj;
25507 fail:
25508 return NULL;
25509}
25510
25511
a95a7133 25512static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25513 PyObject *resultobj;
25514 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25515 wxDC *arg2 = 0 ;
25516 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
25517 double arg4 ;
25518 bool arg5 ;
25519 PyObject * obj0 = 0 ;
25520 PyObject * obj1 = 0 ;
25521 PyObject * obj2 = 0 ;
8edf1c75 25522 PyObject * obj3 = 0 ;
44127b65
RD
25523 PyObject * obj4 = 0 ;
25524 char *kwnames[] = {
25525 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25526 };
25527
8edf1c75 25528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25532 SWIG_POINTER_EXCEPTION | 0)) == -1)
25533 SWIG_fail;
44127b65 25534 if (arg2 == NULL) {
2f4c0a16
RD
25535 PyErr_SetString(PyExc_TypeError,"null reference");
25536 SWIG_fail;
2dbef272 25537 }
2f4c0a16
RD
25538 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArrowHead,
25539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25540 arg4 = (double) SWIG_AsDouble(obj3);
25541 if (PyErr_Occurred()) SWIG_fail;
25542 arg5 = (bool) SWIG_AsBool(obj4);
25543 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25544 {
25545 PyThreadState* __tstate = wxPyBeginAllowThreads();
25546 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
25547
25548 wxPyEndAllowThreads(__tstate);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
25551 Py_INCREF(Py_None); resultobj = Py_None;
25552 return resultobj;
25553 fail:
25554 return NULL;
25555}
25556
25557
a95a7133 25558static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25559 PyObject *resultobj;
25560 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25561 long arg2 ;
25562 bool result;
25563 PyObject * obj0 = 0 ;
8edf1c75 25564 PyObject * obj1 = 0 ;
44127b65
RD
25565 char *kwnames[] = {
25566 (char *) "self",(char *) "arrowId", NULL
25567 };
25568
8edf1c75 25569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25572 arg2 = (long) SWIG_AsLong(obj1);
25573 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 result = (bool)(arg1)->DeleteArrowHead(arg2);
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
fbc46b20
RD
25581 {
25582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25583 }
44127b65
RD
25584 return resultobj;
25585 fail:
25586 return NULL;
25587}
25588
25589
a95a7133 25590static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25591 PyObject *resultobj;
25592 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25593 int arg2 ;
25594 wxString *arg3 = 0 ;
25595 bool result;
25596 bool temp3 = False ;
25597 PyObject * obj0 = 0 ;
8edf1c75 25598 PyObject * obj1 = 0 ;
44127b65
RD
25599 PyObject * obj2 = 0 ;
25600 char *kwnames[] = {
25601 (char *) "self",(char *) "position",(char *) "name", NULL
25602 };
25603
8edf1c75 25604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25607 arg2 = (int) SWIG_AsInt(obj1);
25608 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25609 {
25610 arg3 = wxString_in_helper(obj2);
25611 if (arg3 == NULL) SWIG_fail;
25612 temp3 = True;
25613 }
25614 {
25615 PyThreadState* __tstate = wxPyBeginAllowThreads();
25616 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
25617
25618 wxPyEndAllowThreads(__tstate);
25619 if (PyErr_Occurred()) SWIG_fail;
25620 }
fbc46b20
RD
25621 {
25622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25623 }
44127b65
RD
25624 {
25625 if (temp3)
25626 delete arg3;
25627 }
25628 return resultobj;
25629 fail:
25630 {
25631 if (temp3)
25632 delete arg3;
25633 }
25634 return NULL;
25635}
25636
25637
a95a7133 25638static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25639 PyObject *resultobj;
25640 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25641 bool result;
25642 PyObject * obj0 = 0 ;
25643 char *kwnames[] = {
25644 (char *) "self", NULL
25645 };
25646
25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (bool)(arg1)->DeleteLineControlPoint();
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
fbc46b20
RD
25657 {
25658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25659 }
44127b65
RD
25660 return resultobj;
25661 fail:
25662 return NULL;
25663}
25664
25665
a95a7133 25666static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25667 PyObject *resultobj;
25668 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25669 wxDC *arg2 = 0 ;
25670 PyObject * obj0 = 0 ;
25671 PyObject * obj1 = 0 ;
25672 char *kwnames[] = {
25673 (char *) "self",(char *) "dc", NULL
25674 };
25675
25676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25680 SWIG_POINTER_EXCEPTION | 0)) == -1)
25681 SWIG_fail;
44127b65 25682 if (arg2 == NULL) {
2f4c0a16
RD
25683 PyErr_SetString(PyExc_TypeError,"null reference");
25684 SWIG_fail;
44127b65
RD
25685 }
25686 {
25687 PyThreadState* __tstate = wxPyBeginAllowThreads();
25688 (arg1)->DrawArrows(*arg2);
25689
25690 wxPyEndAllowThreads(__tstate);
25691 if (PyErr_Occurred()) SWIG_fail;
25692 }
25693 Py_INCREF(Py_None); resultobj = Py_None;
25694 return resultobj;
25695 fail:
25696 return NULL;
25697}
25698
25699
a95a7133 25700static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25701 PyObject *resultobj;
25702 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25703 wxDC *arg2 = 0 ;
25704 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25705 double arg4 ;
25706 double arg5 ;
25707 PyObject * obj0 = 0 ;
25708 PyObject * obj1 = 0 ;
25709 PyObject * obj2 = 0 ;
8edf1c75
RD
25710 PyObject * obj3 = 0 ;
25711 PyObject * obj4 = 0 ;
44127b65
RD
25712 char *kwnames[] = {
25713 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25714 };
25715
8edf1c75 25716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25720 SWIG_POINTER_EXCEPTION | 0)) == -1)
25721 SWIG_fail;
44127b65 25722 if (arg2 == NULL) {
2f4c0a16
RD
25723 PyErr_SetString(PyExc_TypeError,"null reference");
25724 SWIG_fail;
8edf1c75 25725 }
2f4c0a16
RD
25726 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25728 arg4 = (double) SWIG_AsDouble(obj3);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 arg5 = (double) SWIG_AsDouble(obj4);
25731 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
25735
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 Py_INCREF(Py_None); resultobj = Py_None;
25740 return resultobj;
25741 fail:
25742 return NULL;
25743}
25744
25745
a95a7133 25746static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25747 PyObject *resultobj;
25748 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25749 wxDC *arg2 = 0 ;
25750 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
25751 double arg4 ;
25752 double arg5 ;
25753 PyObject * obj0 = 0 ;
25754 PyObject * obj1 = 0 ;
25755 PyObject * obj2 = 0 ;
8edf1c75
RD
25756 PyObject * obj3 = 0 ;
25757 PyObject * obj4 = 0 ;
44127b65
RD
25758 char *kwnames[] = {
25759 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25760 };
25761
8edf1c75 25762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25766 SWIG_POINTER_EXCEPTION | 0)) == -1)
25767 SWIG_fail;
44127b65 25768 if (arg2 == NULL) {
2f4c0a16
RD
25769 PyErr_SetString(PyExc_TypeError,"null reference");
25770 SWIG_fail;
8edf1c75 25771 }
2f4c0a16
RD
25772 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxShapeRegion,
25773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25774 arg4 = (double) SWIG_AsDouble(obj3);
25775 if (PyErr_Occurred()) SWIG_fail;
25776 arg5 = (double) SWIG_AsDouble(obj4);
25777 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
25781
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 Py_INCREF(Py_None); resultobj = Py_None;
25786 return resultobj;
25787 fail:
25788 return NULL;
25789}
25790
25791
a95a7133 25792static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25793 PyObject *resultobj;
25794 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25795 long arg2 ;
25796 wxArrowHead *result;
25797 PyObject * obj0 = 0 ;
8edf1c75 25798 PyObject * obj1 = 0 ;
44127b65
RD
25799 char *kwnames[] = {
25800 (char *) "self",(char *) "arrowId", NULL
25801 };
25802
8edf1c75 25803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25806 arg2 = (long) SWIG_AsLong(obj1);
25807 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25808 {
25809 PyThreadState* __tstate = wxPyBeginAllowThreads();
25810 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
25811
25812 wxPyEndAllowThreads(__tstate);
25813 if (PyErr_Occurred()) SWIG_fail;
25814 }
25815 {
412d302d 25816 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
25817 }
25818 return resultobj;
25819 fail:
25820 return NULL;
25821}
25822
25823
a95a7133 25824static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25825 PyObject *resultobj;
25826 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25827 int arg2 ;
25828 wxString *arg3 = 0 ;
25829 wxArrowHead *result;
25830 bool temp3 = False ;
25831 PyObject * obj0 = 0 ;
8edf1c75 25832 PyObject * obj1 = 0 ;
44127b65
RD
25833 PyObject * obj2 = 0 ;
25834 char *kwnames[] = {
25835 (char *) "self",(char *) "position",(char *) "name", NULL
25836 };
25837
8edf1c75 25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25841 arg2 = (int) SWIG_AsInt(obj1);
25842 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25843 {
25844 arg3 = wxString_in_helper(obj2);
25845 if (arg3 == NULL) SWIG_fail;
25846 temp3 = True;
25847 }
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
25851
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 {
412d302d 25856 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
25857 }
25858 {
25859 if (temp3)
25860 delete arg3;
25861 }
25862 return resultobj;
25863 fail:
25864 {
25865 if (temp3)
25866 delete arg3;
25867 }
25868 return NULL;
25869}
25870
25871
a95a7133 25872static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25873 PyObject *resultobj;
25874 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25875 double *arg2 = (double *) 0 ;
25876 double *arg3 = (double *) 0 ;
25877 double *arg4 = (double *) 0 ;
25878 double *arg5 = (double *) 0 ;
25879 double temp2 ;
25880 double temp3 ;
25881 double temp4 ;
25882 double temp5 ;
25883 PyObject * obj0 = 0 ;
25884 char *kwnames[] = {
25885 (char *) "self", NULL
25886 };
25887
25888 arg2 = &temp2;
25889 arg3 = &temp3;
25890 arg4 = &temp4;
25891 arg5 = &temp5;
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
25898
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 Py_INCREF(Py_None); resultobj = Py_None;
25903 {
25904 PyObject *o = PyFloat_FromDouble((double) (*arg2));
25905 resultobj = t_output_helper(resultobj,o);
25906 }
25907 {
25908 PyObject *o = PyFloat_FromDouble((double) (*arg3));
25909 resultobj = t_output_helper(resultobj,o);
25910 }
25911 {
25912 PyObject *o = PyFloat_FromDouble((double) (*arg4));
25913 resultobj = t_output_helper(resultobj,o);
25914 }
25915 {
25916 PyObject *o = PyFloat_FromDouble((double) (*arg5));
25917 resultobj = t_output_helper(resultobj,o);
25918 }
25919 return resultobj;
25920 fail:
25921 return NULL;
25922}
25923
25924
a95a7133 25925static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25926 PyObject *resultobj;
25927 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25928 double arg2 ;
25929 double arg3 ;
25930 int result;
25931 PyObject * obj0 = 0 ;
8edf1c75
RD
25932 PyObject * obj1 = 0 ;
25933 PyObject * obj2 = 0 ;
44127b65
RD
25934 char *kwnames[] = {
25935 (char *) "self",(char *) "x",(char *) "y", NULL
25936 };
25937
8edf1c75 25938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25941 arg2 = (double) SWIG_AsDouble(obj1);
25942 if (PyErr_Occurred()) SWIG_fail;
25943 arg3 = (double) SWIG_AsDouble(obj2);
25944 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 result = (int)(arg1)->FindLinePosition(arg2,arg3);
25948
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
2f4c0a16 25952 resultobj = SWIG_FromInt((int)result);
44127b65
RD
25953 return resultobj;
25954 fail:
25955 return NULL;
25956}
25957
25958
a95a7133 25959static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25960 PyObject *resultobj;
25961 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25962 double result;
25963 PyObject * obj0 = 0 ;
25964 char *kwnames[] = {
25965 (char *) "self", NULL
25966 };
25967
25968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
25970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
25971 {
25972 PyThreadState* __tstate = wxPyBeginAllowThreads();
25973 result = (double)(arg1)->FindMinimumWidth();
25974
25975 wxPyEndAllowThreads(__tstate);
25976 if (PyErr_Occurred()) SWIG_fail;
25977 }
2f4c0a16 25978 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
25979 return resultobj;
25980 fail:
25981 return NULL;
25982}
25983
25984
a95a7133 25985static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
25986 PyObject *resultobj;
25987 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25988 wxPyShape *arg2 = (wxPyShape *) 0 ;
25989 int *arg3 = (int *) 0 ;
25990 int *arg4 = (int *) 0 ;
25991 bool arg5 ;
25992 int temp3 ;
25993 int temp4 ;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 PyObject * obj2 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self",(char *) "image",(char *) "incoming", NULL
25999 };
26000
26001 arg3 = &temp3;
26002 arg4 = &temp4;
26003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26008 arg5 = (bool) SWIG_AsBool(obj2);
26009 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26010 {
26011 PyThreadState* __tstate = wxPyBeginAllowThreads();
26012 (arg1)->FindNth(arg2,arg3,arg4,arg5);
26013
26014 wxPyEndAllowThreads(__tstate);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 Py_INCREF(Py_None); resultobj = Py_None;
26018 {
26019 PyObject *o = PyInt_FromLong((long) (*arg3));
26020 resultobj = t_output_helper(resultobj,o);
26021 }
26022 {
26023 PyObject *o = PyInt_FromLong((long) (*arg4));
26024 resultobj = t_output_helper(resultobj,o);
26025 }
26026 return resultobj;
26027 fail:
26028 return NULL;
26029}
26030
26031
a95a7133 26032static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26033 PyObject *resultobj;
26034 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26035 int result;
26036 PyObject * obj0 = 0 ;
26037 char *kwnames[] = {
26038 (char *) "self", NULL
26039 };
26040
26041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26044 {
26045 PyThreadState* __tstate = wxPyBeginAllowThreads();
26046 result = (int)(arg1)->GetAttachmentFrom();
26047
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
2f4c0a16 26051 resultobj = SWIG_FromInt((int)result);
44127b65
RD
26052 return resultobj;
26053 fail:
26054 return NULL;
26055}
26056
26057
a95a7133 26058static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26059 PyObject *resultobj;
26060 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26061 int result;
26062 PyObject * obj0 = 0 ;
26063 char *kwnames[] = {
26064 (char *) "self", NULL
26065 };
26066
26067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 result = (int)(arg1)->GetAttachmentTo();
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
2f4c0a16 26077 resultobj = SWIG_FromInt((int)result);
44127b65
RD
26078 return resultobj;
26079 fail:
26080 return NULL;
26081}
26082
26083
a95a7133 26084static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26085 PyObject *resultobj;
26086 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26087 double *arg2 = (double *) 0 ;
26088 double *arg3 = (double *) 0 ;
26089 double *arg4 = (double *) 0 ;
26090 double *arg5 = (double *) 0 ;
26091 double temp2 ;
26092 double temp3 ;
26093 double temp4 ;
26094 double temp5 ;
26095 PyObject * obj0 = 0 ;
26096 char *kwnames[] = {
26097 (char *) "self", NULL
26098 };
26099
26100 arg2 = &temp2;
26101 arg3 = &temp3;
26102 arg4 = &temp4;
26103 arg5 = &temp5;
26104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
26110
26111 wxPyEndAllowThreads(__tstate);
26112 if (PyErr_Occurred()) SWIG_fail;
26113 }
26114 Py_INCREF(Py_None); resultobj = Py_None;
26115 {
26116 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26117 resultobj = t_output_helper(resultobj,o);
26118 }
26119 {
26120 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26121 resultobj = t_output_helper(resultobj,o);
26122 }
26123 {
26124 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26125 resultobj = t_output_helper(resultobj,o);
26126 }
26127 {
26128 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26129 resultobj = t_output_helper(resultobj,o);
26130 }
26131 return resultobj;
26132 fail:
26133 return NULL;
26134}
26135
26136
a95a7133 26137static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26138 PyObject *resultobj;
26139 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26140 wxPyShape *result;
26141 PyObject * obj0 = 0 ;
26142 char *kwnames[] = {
26143 (char *) "self", NULL
26144 };
26145
26146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26149 {
26150 PyThreadState* __tstate = wxPyBeginAllowThreads();
26151 result = (wxPyShape *)(arg1)->GetFrom();
26152
26153 wxPyEndAllowThreads(__tstate);
26154 if (PyErr_Occurred()) SWIG_fail;
26155 }
26156 {
412d302d 26157 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
26158 }
26159 return resultobj;
26160 fail:
26161 return NULL;
26162}
26163
26164
a95a7133 26165static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26166 PyObject *resultobj;
26167 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26168 int arg2 ;
26169 double *arg3 = (double *) 0 ;
26170 double *arg4 = (double *) 0 ;
26171 double temp3 ;
26172 double temp4 ;
26173 PyObject * obj0 = 0 ;
8edf1c75 26174 PyObject * obj1 = 0 ;
44127b65
RD
26175 char *kwnames[] = {
26176 (char *) "self",(char *) "position", NULL
26177 };
26178
26179 arg3 = &temp3;
26180 arg4 = &temp4;
8edf1c75 26181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26184 arg2 = (int) SWIG_AsInt(obj1);
26185 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26186 {
26187 PyThreadState* __tstate = wxPyBeginAllowThreads();
26188 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26189
26190 wxPyEndAllowThreads(__tstate);
26191 if (PyErr_Occurred()) SWIG_fail;
26192 }
26193 Py_INCREF(Py_None); resultobj = Py_None;
26194 {
26195 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26196 resultobj = t_output_helper(resultobj,o);
26197 }
26198 {
26199 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26200 resultobj = t_output_helper(resultobj,o);
26201 }
26202 return resultobj;
26203 fail:
26204 return NULL;
26205}
26206
26207
a95a7133 26208static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26209 PyObject *resultobj;
26210 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26211 wxPyShape *arg2 = (wxPyShape *) 0 ;
26212 wxRealPoint *result;
26213 PyObject * obj0 = 0 ;
26214 PyObject * obj1 = 0 ;
26215 char *kwnames[] = {
26216 (char *) "self",(char *) "shape", NULL
26217 };
26218
26219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26227
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
2f4c0a16 26231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
44127b65
RD
26232 return resultobj;
26233 fail:
26234 return NULL;
26235}
26236
26237
a95a7133 26238static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26239 PyObject *resultobj;
26240 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26241 wxPyShape *result;
26242 PyObject * obj0 = 0 ;
26243 char *kwnames[] = {
26244 (char *) "self", NULL
26245 };
26246
26247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26250 {
26251 PyThreadState* __tstate = wxPyBeginAllowThreads();
26252 result = (wxPyShape *)(arg1)->GetTo();
26253
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
26257 {
412d302d 26258 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
26259 }
26260 return resultobj;
26261 fail:
26262 return NULL;
26263}
26264
26265
a95a7133 26266static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26267 PyObject *resultobj;
26268 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26269 PyObject * obj0 = 0 ;
26270 char *kwnames[] = {
26271 (char *) "self", NULL
26272 };
26273
26274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26277 {
26278 PyThreadState* __tstate = wxPyBeginAllowThreads();
26279 (arg1)->Initialise();
26280
26281 wxPyEndAllowThreads(__tstate);
26282 if (PyErr_Occurred()) SWIG_fail;
26283 }
26284 Py_INCREF(Py_None); resultobj = Py_None;
26285 return resultobj;
26286 fail:
26287 return NULL;
26288}
26289
26290
a95a7133 26291static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26292 PyObject *resultobj;
26293 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26294 wxDC *arg2 = (wxDC *) 0 ;
26295 PyObject * obj0 = 0 ;
26296 PyObject * obj1 = 0 ;
26297 char *kwnames[] = {
26298 (char *) "self",(char *) "dc", NULL
26299 };
26300
26301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 (arg1)->InsertLineControlPoint(arg2);
26309
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 Py_INCREF(Py_None); resultobj = Py_None;
26314 return resultobj;
26315 fail:
26316 return NULL;
26317}
26318
26319
a95a7133 26320static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26321 PyObject *resultobj;
26322 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26323 wxPyShape *arg2 = (wxPyShape *) 0 ;
26324 bool result;
26325 PyObject * obj0 = 0 ;
26326 PyObject * obj1 = 0 ;
26327 char *kwnames[] = {
26328 (char *) "self",(char *) "shape", NULL
26329 };
26330
26331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = (bool)(arg1)->IsEnd(arg2);
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
fbc46b20
RD
26343 {
26344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26345 }
44127b65
RD
26346 return resultobj;
26347 fail:
26348 return NULL;
26349}
26350
26351
a95a7133 26352static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26353 PyObject *resultobj;
26354 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26355 bool result;
26356 PyObject * obj0 = 0 ;
26357 char *kwnames[] = {
26358 (char *) "self", NULL
26359 };
26360
26361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 result = (bool)(arg1)->IsSpline();
26367
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
fbc46b20
RD
26371 {
26372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26373 }
44127b65
RD
26374 return resultobj;
26375 fail:
26376 return NULL;
26377}
26378
26379
a95a7133 26380static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26381 PyObject *resultobj;
26382 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26383 int arg2 ;
26384 PyObject * obj0 = 0 ;
8edf1c75 26385 PyObject * obj1 = 0 ;
44127b65
RD
26386 char *kwnames[] = {
26387 (char *) "self",(char *) "n", NULL
26388 };
26389
8edf1c75 26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26393 arg2 = (int) SWIG_AsInt(obj1);
26394 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 (arg1)->MakeLineControlPoints(arg2);
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 Py_INCREF(Py_None); resultobj = Py_None;
26403 return resultobj;
26404 fail:
26405 return NULL;
26406}
26407
26408
a95a7133 26409static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26410 PyObject *resultobj;
26411 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26412 PyObject *result;
26413 PyObject * obj0 = 0 ;
26414 char *kwnames[] = {
26415 (char *) "self", NULL
26416 };
26417
26418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26421 {
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26424
26425 wxPyEndAllowThreads(__tstate);
26426 if (PyErr_Occurred()) SWIG_fail;
26427 }
26428 resultobj = result;
26429 return resultobj;
26430 fail:
26431 return NULL;
26432}
26433
26434
0346c964
RD
26435static PyObject *_wrap_PyLineShape_SetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26436 PyObject *resultobj;
26437 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26438 PyObject *arg2 = (PyObject *) 0 ;
26439 PyObject * obj0 = 0 ;
26440 PyObject * obj1 = 0 ;
26441 char *kwnames[] = {
26442 (char *) "self",(char *) "list", NULL
26443 };
26444
26445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
26446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26448 arg2 = obj1;
26449 {
26450 PyThreadState* __tstate = wxPyBeginAllowThreads();
26451 wxPyLineShape_SetLineControlPoints(arg1,arg2);
26452
26453 wxPyEndAllowThreads(__tstate);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 }
26456 Py_INCREF(Py_None); resultobj = Py_None;
26457 return resultobj;
26458 fail:
26459 return NULL;
26460}
26461
26462
a95a7133 26463static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26464 PyObject *resultobj;
26465 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26466 int arg2 ;
26467 PyObject * obj0 = 0 ;
8edf1c75 26468 PyObject * obj1 = 0 ;
44127b65
RD
26469 char *kwnames[] = {
26470 (char *) "self",(char *) "fromAttach", NULL
26471 };
26472
8edf1c75 26473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26476 arg2 = (int) SWIG_AsInt(obj1);
26477 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 (arg1)->SetAttachmentFrom(arg2);
26481
26482 wxPyEndAllowThreads(__tstate);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 }
26485 Py_INCREF(Py_None); resultobj = Py_None;
26486 return resultobj;
26487 fail:
26488 return NULL;
26489}
26490
26491
a95a7133 26492static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26493 PyObject *resultobj;
26494 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26495 int arg2 ;
26496 int arg3 ;
26497 PyObject * obj0 = 0 ;
8edf1c75
RD
26498 PyObject * obj1 = 0 ;
26499 PyObject * obj2 = 0 ;
44127b65
RD
26500 char *kwnames[] = {
26501 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26502 };
26503
8edf1c75 26504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26507 arg2 = (int) SWIG_AsInt(obj1);
26508 if (PyErr_Occurred()) SWIG_fail;
26509 arg3 = (int) SWIG_AsInt(obj2);
26510 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26511 {
26512 PyThreadState* __tstate = wxPyBeginAllowThreads();
26513 (arg1)->SetAttachments(arg2,arg3);
26514
26515 wxPyEndAllowThreads(__tstate);
26516 if (PyErr_Occurred()) SWIG_fail;
26517 }
26518 Py_INCREF(Py_None); resultobj = Py_None;
26519 return resultobj;
26520 fail:
26521 return NULL;
26522}
26523
26524
a95a7133 26525static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26526 PyObject *resultobj;
26527 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26528 int arg2 ;
26529 PyObject * obj0 = 0 ;
8edf1c75 26530 PyObject * obj1 = 0 ;
44127b65
RD
26531 char *kwnames[] = {
26532 (char *) "self",(char *) "toAttach", NULL
26533 };
26534
8edf1c75 26535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26538 arg2 = (int) SWIG_AsInt(obj1);
26539 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26540 {
26541 PyThreadState* __tstate = wxPyBeginAllowThreads();
26542 (arg1)->SetAttachmentTo(arg2);
26543
26544 wxPyEndAllowThreads(__tstate);
26545 if (PyErr_Occurred()) SWIG_fail;
26546 }
26547 Py_INCREF(Py_None); resultobj = Py_None;
26548 return resultobj;
26549 fail:
26550 return NULL;
26551}
26552
26553
a95a7133 26554static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26555 PyObject *resultobj;
26556 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26557 double arg2 ;
26558 double arg3 ;
26559 double arg4 ;
26560 double arg5 ;
26561 PyObject * obj0 = 0 ;
8edf1c75
RD
26562 PyObject * obj1 = 0 ;
26563 PyObject * obj2 = 0 ;
26564 PyObject * obj3 = 0 ;
26565 PyObject * obj4 = 0 ;
44127b65
RD
26566 char *kwnames[] = {
26567 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26568 };
26569
8edf1c75 26570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
26571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26573 arg2 = (double) SWIG_AsDouble(obj1);
26574 if (PyErr_Occurred()) SWIG_fail;
26575 arg3 = (double) SWIG_AsDouble(obj2);
26576 if (PyErr_Occurred()) SWIG_fail;
26577 arg4 = (double) SWIG_AsDouble(obj3);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 arg5 = (double) SWIG_AsDouble(obj4);
26580 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26581 {
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
26584
26585 wxPyEndAllowThreads(__tstate);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 }
26588 Py_INCREF(Py_None); resultobj = Py_None;
26589 return resultobj;
26590 fail:
26591 return NULL;
26592}
26593
26594
a95a7133 26595static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26596 PyObject *resultobj;
26597 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26598 wxPyShape *arg2 = (wxPyShape *) 0 ;
26599 PyObject * obj0 = 0 ;
26600 PyObject * obj1 = 0 ;
26601 char *kwnames[] = {
26602 (char *) "self",(char *) "object", NULL
26603 };
26604
26605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26610 {
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 (arg1)->SetFrom(arg2);
26613
26614 wxPyEndAllowThreads(__tstate);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 }
26617 Py_INCREF(Py_None); resultobj = Py_None;
26618 return resultobj;
26619 fail:
26620 return NULL;
26621}
26622
26623
a95a7133 26624static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26625 PyObject *resultobj;
26626 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26627 bool arg2 ;
26628 PyObject * obj0 = 0 ;
26629 PyObject * obj1 = 0 ;
26630 char *kwnames[] = {
26631 (char *) "self",(char *) "ignore", NULL
26632 };
26633
26634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26637 arg2 = (bool) SWIG_AsBool(obj1);
26638 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 (arg1)->SetIgnoreOffsets(arg2);
26642
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 Py_INCREF(Py_None); resultobj = Py_None;
26647 return resultobj;
26648 fail:
26649 return NULL;
26650}
26651
26652
a95a7133 26653static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26654 PyObject *resultobj;
26655 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26656 bool arg2 ;
26657 PyObject * obj0 = 0 ;
26658 PyObject * obj1 = 0 ;
26659 char *kwnames[] = {
26660 (char *) "self",(char *) "spline", NULL
26661 };
26662
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26666 arg2 = (bool) SWIG_AsBool(obj1);
26667 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 (arg1)->SetSpline(arg2);
26671
26672 wxPyEndAllowThreads(__tstate);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 }
26675 Py_INCREF(Py_None); resultobj = Py_None;
26676 return resultobj;
26677 fail:
26678 return NULL;
26679}
26680
26681
a95a7133 26682static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26683 PyObject *resultobj;
26684 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26685 wxPyShape *arg2 = (wxPyShape *) 0 ;
26686 PyObject * obj0 = 0 ;
26687 PyObject * obj1 = 0 ;
26688 char *kwnames[] = {
26689 (char *) "self",(char *) "object", NULL
26690 };
26691
26692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
26696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26697 {
26698 PyThreadState* __tstate = wxPyBeginAllowThreads();
26699 (arg1)->SetTo(arg2);
26700
26701 wxPyEndAllowThreads(__tstate);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 }
26704 Py_INCREF(Py_None); resultobj = Py_None;
26705 return resultobj;
26706 fail:
26707 return NULL;
26708}
26709
26710
a95a7133 26711static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26712 PyObject *resultobj;
26713 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26714 wxDC *arg2 = (wxDC *) NULL ;
26715 PyObject * obj0 = 0 ;
26716 PyObject * obj1 = 0 ;
26717 char *kwnames[] = {
26718 (char *) "self",(char *) "dc", NULL
26719 };
26720
26721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 26724 if (obj1) {
2f4c0a16
RD
26725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26727 }
26728 {
26729 PyThreadState* __tstate = wxPyBeginAllowThreads();
26730 (arg1)->Straighten(arg2);
26731
26732 wxPyEndAllowThreads(__tstate);
26733 if (PyErr_Occurred()) SWIG_fail;
26734 }
26735 Py_INCREF(Py_None); resultobj = Py_None;
26736 return resultobj;
26737 fail:
26738 return NULL;
26739}
26740
26741
a95a7133 26742static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26743 PyObject *resultobj;
26744 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26745 PyObject * obj0 = 0 ;
26746 char *kwnames[] = {
26747 (char *) "self", NULL
26748 };
26749
26750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
26753 {
26754 PyThreadState* __tstate = wxPyBeginAllowThreads();
26755 (arg1)->Unlink();
26756
26757 wxPyEndAllowThreads(__tstate);
26758 if (PyErr_Occurred()) SWIG_fail;
26759 }
26760 Py_INCREF(Py_None); resultobj = Py_None;
26761 return resultobj;
26762 fail:
26763 return NULL;
26764}
26765
26766
a95a7133 26767static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26768 PyObject *resultobj;
26769 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26770 bool arg2 ;
26771 bool arg3 ;
26772 PyObject * obj0 = 0 ;
26773 PyObject * obj1 = 0 ;
26774 PyObject * obj2 = 0 ;
26775 char *kwnames[] = {
26776 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26777 };
26778
26779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26782 arg2 = (bool) SWIG_AsBool(obj1);
26783 if (PyErr_Occurred()) SWIG_fail;
26784 arg3 = (bool) SWIG_AsBool(obj2);
26785 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26786 {
26787 PyThreadState* __tstate = wxPyBeginAllowThreads();
26788 (arg1)->SetAlignmentOrientation(arg2,arg3);
26789
26790 wxPyEndAllowThreads(__tstate);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 Py_INCREF(Py_None); resultobj = Py_None;
26794 return resultobj;
26795 fail:
26796 return NULL;
26797}
26798
26799
a95a7133 26800static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26801 PyObject *resultobj;
26802 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26803 bool arg2 ;
26804 int arg3 ;
26805 PyObject * obj0 = 0 ;
26806 PyObject * obj1 = 0 ;
8edf1c75 26807 PyObject * obj2 = 0 ;
7a0a63ae
RD
26808 char *kwnames[] = {
26809 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26810 };
26811
8edf1c75 26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26815 arg2 = (bool) SWIG_AsBool(obj1);
26816 if (PyErr_Occurred()) SWIG_fail;
26817 arg3 = (int) SWIG_AsInt(obj2);
26818 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26819 {
26820 PyThreadState* __tstate = wxPyBeginAllowThreads();
26821 (arg1)->SetAlignmentType(arg2,arg3);
26822
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 Py_INCREF(Py_None); resultobj = Py_None;
26827 return resultobj;
26828 fail:
26829 return NULL;
26830}
26831
26832
a95a7133 26833static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26834 PyObject *resultobj;
26835 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26836 bool arg2 ;
26837 bool result;
26838 PyObject * obj0 = 0 ;
26839 PyObject * obj1 = 0 ;
26840 char *kwnames[] = {
26841 (char *) "self",(char *) "isEnd", NULL
26842 };
26843
26844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26847 arg2 = (bool) SWIG_AsBool(obj1);
26848 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
26851 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
26852
26853 wxPyEndAllowThreads(__tstate);
26854 if (PyErr_Occurred()) SWIG_fail;
26855 }
fbc46b20
RD
26856 {
26857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26858 }
7a0a63ae
RD
26859 return resultobj;
26860 fail:
26861 return NULL;
26862}
26863
26864
a95a7133 26865static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26866 PyObject *resultobj;
26867 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26868 bool arg2 ;
26869 int result;
26870 PyObject * obj0 = 0 ;
26871 PyObject * obj1 = 0 ;
26872 char *kwnames[] = {
26873 (char *) "self",(char *) "isEnd", NULL
26874 };
26875
26876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26879 arg2 = (bool) SWIG_AsBool(obj1);
26880 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
26881 {
26882 PyThreadState* __tstate = wxPyBeginAllowThreads();
26883 result = (int)(arg1)->GetAlignmentType(arg2);
26884
26885 wxPyEndAllowThreads(__tstate);
26886 if (PyErr_Occurred()) SWIG_fail;
26887 }
2f4c0a16 26888 resultobj = SWIG_FromInt((int)result);
7a0a63ae
RD
26889 return resultobj;
26890 fail:
26891 return NULL;
26892}
26893
26894
a95a7133 26895static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26896 PyObject *resultobj;
26897 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26898 int result;
26899 PyObject * obj0 = 0 ;
26900 char *kwnames[] = {
26901 (char *) "self", NULL
26902 };
26903
26904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
26907 {
26908 PyThreadState* __tstate = wxPyBeginAllowThreads();
26909 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
26910
26911 wxPyEndAllowThreads(__tstate);
26912 if (PyErr_Occurred()) SWIG_fail;
26913 }
2f4c0a16 26914 resultobj = SWIG_FromInt((int)result);
7a0a63ae
RD
26915 return resultobj;
26916 fail:
26917 return NULL;
26918}
26919
26920
a95a7133 26921static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
26922 PyObject *resultobj;
26923 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26924 int result;
26925 PyObject * obj0 = 0 ;
26926 char *kwnames[] = {
26927 (char *) "self", NULL
26928 };
26929
26930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
26933 {
26934 PyThreadState* __tstate = wxPyBeginAllowThreads();
26935 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
26936
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
2f4c0a16 26940 resultobj = SWIG_FromInt((int)result);
7a0a63ae
RD
26941 return resultobj;
26942 fail:
26943 return NULL;
26944}
26945
26946
a95a7133 26947static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26948 PyObject *resultobj;
26949 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26950 wxDC *arg2 = 0 ;
26951 PyObject * obj0 = 0 ;
26952 PyObject * obj1 = 0 ;
26953 char *kwnames[] = {
26954 (char *) "self",(char *) "dc", NULL
26955 };
26956
26957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26961 SWIG_POINTER_EXCEPTION | 0)) == -1)
26962 SWIG_fail;
44127b65 26963 if (arg2 == NULL) {
2f4c0a16
RD
26964 PyErr_SetString(PyExc_TypeError,"null reference");
26965 SWIG_fail;
44127b65
RD
26966 }
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
26969 (arg1)->base_OnDraw(*arg2);
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
26974 Py_INCREF(Py_None); resultobj = Py_None;
26975 return resultobj;
26976 fail:
26977 return NULL;
26978}
26979
26980
a95a7133 26981static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
26982 PyObject *resultobj;
26983 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26984 wxDC *arg2 = 0 ;
26985 PyObject * obj0 = 0 ;
26986 PyObject * obj1 = 0 ;
26987 char *kwnames[] = {
26988 (char *) "self",(char *) "dc", NULL
26989 };
26990
26991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
26993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26995 SWIG_POINTER_EXCEPTION | 0)) == -1)
26996 SWIG_fail;
44127b65 26997 if (arg2 == NULL) {
2f4c0a16
RD
26998 PyErr_SetString(PyExc_TypeError,"null reference");
26999 SWIG_fail;
44127b65
RD
27000 }
27001 {
27002 PyThreadState* __tstate = wxPyBeginAllowThreads();
27003 (arg1)->base_OnDrawContents(*arg2);
27004
27005 wxPyEndAllowThreads(__tstate);
27006 if (PyErr_Occurred()) SWIG_fail;
27007 }
27008 Py_INCREF(Py_None); resultobj = Py_None;
27009 return resultobj;
27010 fail:
27011 return NULL;
27012}
27013
27014
a95a7133 27015static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27016 PyObject *resultobj;
27017 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27018 wxDC *arg2 = 0 ;
27019 bool arg3 = (bool) FALSE ;
27020 PyObject * obj0 = 0 ;
27021 PyObject * obj1 = 0 ;
27022 PyObject * obj2 = 0 ;
27023 char *kwnames[] = {
27024 (char *) "self",(char *) "dc",(char *) "erase", NULL
27025 };
27026
27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27031 SWIG_POINTER_EXCEPTION | 0)) == -1)
27032 SWIG_fail;
44127b65 27033 if (arg2 == NULL) {
2f4c0a16
RD
27034 PyErr_SetString(PyExc_TypeError,"null reference");
27035 SWIG_fail;
44127b65
RD
27036 }
27037 if (obj2) {
2f4c0a16
RD
27038 arg3 = (bool) SWIG_AsBool(obj2);
27039 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27040 }
27041 {
27042 PyThreadState* __tstate = wxPyBeginAllowThreads();
27043 (arg1)->base_OnDrawBranches(*arg2,arg3);
27044
27045 wxPyEndAllowThreads(__tstate);
27046 if (PyErr_Occurred()) SWIG_fail;
27047 }
27048 Py_INCREF(Py_None); resultobj = Py_None;
27049 return resultobj;
27050 fail:
27051 return NULL;
27052}
27053
27054
a95a7133 27055static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27056 PyObject *resultobj;
27057 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27058 wxDC *arg2 = 0 ;
27059 PyObject * obj0 = 0 ;
27060 PyObject * obj1 = 0 ;
27061 char *kwnames[] = {
27062 (char *) "self",(char *) "dc", NULL
27063 };
27064
27065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27069 SWIG_POINTER_EXCEPTION | 0)) == -1)
27070 SWIG_fail;
44127b65 27071 if (arg2 == NULL) {
2f4c0a16
RD
27072 PyErr_SetString(PyExc_TypeError,"null reference");
27073 SWIG_fail;
44127b65
RD
27074 }
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 (arg1)->base_OnMoveLinks(*arg2);
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 Py_INCREF(Py_None); resultobj = Py_None;
27083 return resultobj;
27084 fail:
27085 return NULL;
27086}
27087
27088
a95a7133 27089static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27090 PyObject *resultobj;
27091 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27092 wxDC *arg2 = 0 ;
27093 PyObject * obj0 = 0 ;
27094 PyObject * obj1 = 0 ;
27095 char *kwnames[] = {
27096 (char *) "self",(char *) "dc", NULL
27097 };
27098
27099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27103 SWIG_POINTER_EXCEPTION | 0)) == -1)
27104 SWIG_fail;
44127b65 27105 if (arg2 == NULL) {
2f4c0a16
RD
27106 PyErr_SetString(PyExc_TypeError,"null reference");
27107 SWIG_fail;
44127b65
RD
27108 }
27109 {
27110 PyThreadState* __tstate = wxPyBeginAllowThreads();
27111 (arg1)->base_OnErase(*arg2);
27112
27113 wxPyEndAllowThreads(__tstate);
27114 if (PyErr_Occurred()) SWIG_fail;
27115 }
27116 Py_INCREF(Py_None); resultobj = Py_None;
27117 return resultobj;
27118 fail:
27119 return NULL;
27120}
27121
27122
a95a7133 27123static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27124 PyObject *resultobj;
27125 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27126 wxDC *arg2 = 0 ;
27127 PyObject * obj0 = 0 ;
27128 PyObject * obj1 = 0 ;
27129 char *kwnames[] = {
27130 (char *) "self",(char *) "dc", NULL
27131 };
27132
27133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27137 SWIG_POINTER_EXCEPTION | 0)) == -1)
27138 SWIG_fail;
44127b65 27139 if (arg2 == NULL) {
2f4c0a16
RD
27140 PyErr_SetString(PyExc_TypeError,"null reference");
27141 SWIG_fail;
44127b65
RD
27142 }
27143 {
27144 PyThreadState* __tstate = wxPyBeginAllowThreads();
27145 (arg1)->base_OnEraseContents(*arg2);
27146
27147 wxPyEndAllowThreads(__tstate);
27148 if (PyErr_Occurred()) SWIG_fail;
27149 }
27150 Py_INCREF(Py_None); resultobj = Py_None;
27151 return resultobj;
27152 fail:
27153 return NULL;
27154}
27155
27156
a95a7133 27157static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27158 PyObject *resultobj;
27159 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27160 wxDC *arg2 = 0 ;
27161 PyObject * obj0 = 0 ;
27162 PyObject * obj1 = 0 ;
27163 char *kwnames[] = {
27164 (char *) "self",(char *) "dc", NULL
27165 };
27166
27167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27171 SWIG_POINTER_EXCEPTION | 0)) == -1)
27172 SWIG_fail;
44127b65 27173 if (arg2 == NULL) {
2f4c0a16
RD
27174 PyErr_SetString(PyExc_TypeError,"null reference");
27175 SWIG_fail;
44127b65
RD
27176 }
27177 {
27178 PyThreadState* __tstate = wxPyBeginAllowThreads();
27179 (arg1)->base_OnHighlight(*arg2);
27180
27181 wxPyEndAllowThreads(__tstate);
27182 if (PyErr_Occurred()) SWIG_fail;
27183 }
27184 Py_INCREF(Py_None); resultobj = Py_None;
27185 return resultobj;
27186 fail:
27187 return NULL;
27188}
27189
27190
a95a7133 27191static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27192 PyObject *resultobj;
27193 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27194 double arg2 ;
27195 double arg3 ;
27196 int arg4 = (int) 0 ;
27197 int arg5 = (int) 0 ;
27198 PyObject * obj0 = 0 ;
8edf1c75
RD
27199 PyObject * obj1 = 0 ;
27200 PyObject * obj2 = 0 ;
27201 PyObject * obj3 = 0 ;
27202 PyObject * obj4 = 0 ;
44127b65
RD
27203 char *kwnames[] = {
27204 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27205 };
27206
8edf1c75 27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27210 arg2 = (double) SWIG_AsDouble(obj1);
27211 if (PyErr_Occurred()) SWIG_fail;
27212 arg3 = (double) SWIG_AsDouble(obj2);
27213 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27214 if (obj3) {
2f4c0a16
RD
27215 arg4 = (int) SWIG_AsInt(obj3);
27216 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27217 }
27218 if (obj4) {
2f4c0a16
RD
27219 arg5 = (int) SWIG_AsInt(obj4);
27220 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27221 }
44127b65
RD
27222 {
27223 PyThreadState* __tstate = wxPyBeginAllowThreads();
27224 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27225
27226 wxPyEndAllowThreads(__tstate);
27227 if (PyErr_Occurred()) SWIG_fail;
27228 }
27229 Py_INCREF(Py_None); resultobj = Py_None;
27230 return resultobj;
27231 fail:
27232 return NULL;
27233}
27234
27235
a95a7133 27236static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27237 PyObject *resultobj;
27238 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27239 double arg2 ;
27240 double arg3 ;
27241 int arg4 = (int) 0 ;
27242 int arg5 = (int) 0 ;
27243 PyObject * obj0 = 0 ;
8edf1c75
RD
27244 PyObject * obj1 = 0 ;
27245 PyObject * obj2 = 0 ;
27246 PyObject * obj3 = 0 ;
27247 PyObject * obj4 = 0 ;
44127b65
RD
27248 char *kwnames[] = {
27249 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27250 };
27251
8edf1c75 27252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27255 arg2 = (double) SWIG_AsDouble(obj1);
27256 if (PyErr_Occurred()) SWIG_fail;
27257 arg3 = (double) SWIG_AsDouble(obj2);
27258 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27259 if (obj3) {
2f4c0a16
RD
27260 arg4 = (int) SWIG_AsInt(obj3);
27261 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27262 }
27263 if (obj4) {
2f4c0a16
RD
27264 arg5 = (int) SWIG_AsInt(obj4);
27265 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27266 }
44127b65
RD
27267 {
27268 PyThreadState* __tstate = wxPyBeginAllowThreads();
27269 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27270
27271 wxPyEndAllowThreads(__tstate);
27272 if (PyErr_Occurred()) SWIG_fail;
27273 }
27274 Py_INCREF(Py_None); resultobj = Py_None;
27275 return resultobj;
27276 fail:
27277 return NULL;
27278}
27279
27280
a95a7133 27281static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27282 PyObject *resultobj;
27283 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27284 double arg2 ;
27285 double arg3 ;
27286 int arg4 = (int) 0 ;
27287 int arg5 = (int) 0 ;
27288 PyObject * obj0 = 0 ;
8edf1c75
RD
27289 PyObject * obj1 = 0 ;
27290 PyObject * obj2 = 0 ;
27291 PyObject * obj3 = 0 ;
27292 PyObject * obj4 = 0 ;
44127b65
RD
27293 char *kwnames[] = {
27294 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27295 };
27296
8edf1c75 27297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27300 arg2 = (double) SWIG_AsDouble(obj1);
27301 if (PyErr_Occurred()) SWIG_fail;
27302 arg3 = (double) SWIG_AsDouble(obj2);
27303 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27304 if (obj3) {
2f4c0a16
RD
27305 arg4 = (int) SWIG_AsInt(obj3);
27306 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27307 }
27308 if (obj4) {
2f4c0a16
RD
27309 arg5 = (int) SWIG_AsInt(obj4);
27310 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27311 }
44127b65
RD
27312 {
27313 PyThreadState* __tstate = wxPyBeginAllowThreads();
27314 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27315
27316 wxPyEndAllowThreads(__tstate);
27317 if (PyErr_Occurred()) SWIG_fail;
27318 }
27319 Py_INCREF(Py_None); resultobj = Py_None;
27320 return resultobj;
27321 fail:
27322 return NULL;
27323}
27324
27325
a95a7133 27326static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27327 PyObject *resultobj;
27328 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27329 double arg2 ;
27330 double arg3 ;
27331 PyObject * obj0 = 0 ;
8edf1c75
RD
27332 PyObject * obj1 = 0 ;
27333 PyObject * obj2 = 0 ;
44127b65
RD
27334 char *kwnames[] = {
27335 (char *) "self",(char *) "x",(char *) "y", NULL
27336 };
27337
8edf1c75 27338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27341 arg2 = (double) SWIG_AsDouble(obj1);
27342 if (PyErr_Occurred()) SWIG_fail;
27343 arg3 = (double) SWIG_AsDouble(obj2);
27344 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27345 {
27346 PyThreadState* __tstate = wxPyBeginAllowThreads();
27347 (arg1)->base_OnSize(arg2,arg3);
27348
27349 wxPyEndAllowThreads(__tstate);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 Py_INCREF(Py_None); resultobj = Py_None;
27353 return resultobj;
27354 fail:
27355 return NULL;
27356}
27357
27358
a95a7133 27359static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27360 PyObject *resultobj;
27361 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27362 wxDC *arg2 = 0 ;
27363 double arg3 ;
27364 double arg4 ;
27365 double arg5 ;
27366 double arg6 ;
27367 bool arg7 = (bool) True ;
27368 bool result;
27369 PyObject * obj0 = 0 ;
27370 PyObject * obj1 = 0 ;
8edf1c75
RD
27371 PyObject * obj2 = 0 ;
27372 PyObject * obj3 = 0 ;
27373 PyObject * obj4 = 0 ;
27374 PyObject * obj5 = 0 ;
44127b65
RD
27375 PyObject * obj6 = 0 ;
27376 char *kwnames[] = {
27377 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27378 };
27379
8edf1c75 27380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27384 SWIG_POINTER_EXCEPTION | 0)) == -1)
27385 SWIG_fail;
44127b65 27386 if (arg2 == NULL) {
2f4c0a16
RD
27387 PyErr_SetString(PyExc_TypeError,"null reference");
27388 SWIG_fail;
27389 }
27390 arg3 = (double) SWIG_AsDouble(obj2);
27391 if (PyErr_Occurred()) SWIG_fail;
27392 arg4 = (double) SWIG_AsDouble(obj3);
27393 if (PyErr_Occurred()) SWIG_fail;
27394 arg5 = (double) SWIG_AsDouble(obj4);
27395 if (PyErr_Occurred()) SWIG_fail;
27396 arg6 = (double) SWIG_AsDouble(obj5);
27397 if (PyErr_Occurred()) SWIG_fail;
44127b65 27398 if (obj6) {
2f4c0a16
RD
27399 arg7 = (bool) SWIG_AsBool(obj6);
27400 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27401 }
27402 {
27403 PyThreadState* __tstate = wxPyBeginAllowThreads();
27404 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27405
27406 wxPyEndAllowThreads(__tstate);
27407 if (PyErr_Occurred()) SWIG_fail;
27408 }
fbc46b20
RD
27409 {
27410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27411 }
44127b65
RD
27412 return resultobj;
27413 fail:
27414 return NULL;
27415}
27416
27417
a95a7133 27418static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27419 PyObject *resultobj;
27420 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27421 wxDC *arg2 = 0 ;
27422 double arg3 ;
27423 double arg4 ;
27424 double arg5 ;
27425 double arg6 ;
27426 bool arg7 = (bool) True ;
27427 PyObject * obj0 = 0 ;
27428 PyObject * obj1 = 0 ;
8edf1c75
RD
27429 PyObject * obj2 = 0 ;
27430 PyObject * obj3 = 0 ;
27431 PyObject * obj4 = 0 ;
27432 PyObject * obj5 = 0 ;
44127b65
RD
27433 PyObject * obj6 = 0 ;
27434 char *kwnames[] = {
27435 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27436 };
27437
8edf1c75 27438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27441 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27442 SWIG_POINTER_EXCEPTION | 0)) == -1)
27443 SWIG_fail;
44127b65 27444 if (arg2 == NULL) {
2f4c0a16
RD
27445 PyErr_SetString(PyExc_TypeError,"null reference");
27446 SWIG_fail;
27447 }
27448 arg3 = (double) SWIG_AsDouble(obj2);
27449 if (PyErr_Occurred()) SWIG_fail;
27450 arg4 = (double) SWIG_AsDouble(obj3);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 arg5 = (double) SWIG_AsDouble(obj4);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 arg6 = (double) SWIG_AsDouble(obj5);
27455 if (PyErr_Occurred()) SWIG_fail;
44127b65 27456 if (obj6) {
2f4c0a16
RD
27457 arg7 = (bool) SWIG_AsBool(obj6);
27458 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27459 }
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 Py_INCREF(Py_None); resultobj = Py_None;
27468 return resultobj;
27469 fail:
27470 return NULL;
27471}
27472
27473
a95a7133 27474static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27475 PyObject *resultobj;
27476 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27477 bool arg2 ;
27478 double arg3 ;
27479 double arg4 ;
27480 int arg5 = (int) 0 ;
27481 int arg6 = (int) 0 ;
27482 PyObject * obj0 = 0 ;
27483 PyObject * obj1 = 0 ;
8edf1c75
RD
27484 PyObject * obj2 = 0 ;
27485 PyObject * obj3 = 0 ;
27486 PyObject * obj4 = 0 ;
27487 PyObject * obj5 = 0 ;
44127b65
RD
27488 char *kwnames[] = {
27489 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27490 };
27491
8edf1c75 27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27495 arg2 = (bool) SWIG_AsBool(obj1);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 arg3 = (double) SWIG_AsDouble(obj2);
27498 if (PyErr_Occurred()) SWIG_fail;
27499 arg4 = (double) SWIG_AsDouble(obj3);
27500 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27501 if (obj4) {
2f4c0a16
RD
27502 arg5 = (int) SWIG_AsInt(obj4);
27503 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27504 }
27505 if (obj5) {
2f4c0a16
RD
27506 arg6 = (int) SWIG_AsInt(obj5);
27507 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27508 }
44127b65
RD
27509 {
27510 PyThreadState* __tstate = wxPyBeginAllowThreads();
27511 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27512
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 Py_INCREF(Py_None); resultobj = Py_None;
27517 return resultobj;
27518 fail:
27519 return NULL;
27520}
27521
27522
a95a7133 27523static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27524 PyObject *resultobj;
27525 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27526 double arg2 ;
27527 double arg3 ;
27528 int arg4 = (int) 0 ;
27529 int arg5 = (int) 0 ;
27530 PyObject * obj0 = 0 ;
8edf1c75
RD
27531 PyObject * obj1 = 0 ;
27532 PyObject * obj2 = 0 ;
27533 PyObject * obj3 = 0 ;
27534 PyObject * obj4 = 0 ;
44127b65
RD
27535 char *kwnames[] = {
27536 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27537 };
27538
8edf1c75 27539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27542 arg2 = (double) SWIG_AsDouble(obj1);
27543 if (PyErr_Occurred()) SWIG_fail;
27544 arg3 = (double) SWIG_AsDouble(obj2);
27545 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27546 if (obj3) {
2f4c0a16
RD
27547 arg4 = (int) SWIG_AsInt(obj3);
27548 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27549 }
27550 if (obj4) {
2f4c0a16
RD
27551 arg5 = (int) SWIG_AsInt(obj4);
27552 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27553 }
44127b65
RD
27554 {
27555 PyThreadState* __tstate = wxPyBeginAllowThreads();
27556 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27557
27558 wxPyEndAllowThreads(__tstate);
27559 if (PyErr_Occurred()) SWIG_fail;
27560 }
27561 Py_INCREF(Py_None); resultobj = Py_None;
27562 return resultobj;
27563 fail:
27564 return NULL;
27565}
27566
27567
a95a7133 27568static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27569 PyObject *resultobj;
27570 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27571 double arg2 ;
27572 double arg3 ;
27573 int arg4 = (int) 0 ;
27574 int arg5 = (int) 0 ;
27575 PyObject * obj0 = 0 ;
8edf1c75
RD
27576 PyObject * obj1 = 0 ;
27577 PyObject * obj2 = 0 ;
27578 PyObject * obj3 = 0 ;
27579 PyObject * obj4 = 0 ;
44127b65
RD
27580 char *kwnames[] = {
27581 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27582 };
27583
8edf1c75 27584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27587 arg2 = (double) SWIG_AsDouble(obj1);
27588 if (PyErr_Occurred()) SWIG_fail;
27589 arg3 = (double) SWIG_AsDouble(obj2);
27590 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27591 if (obj3) {
2f4c0a16
RD
27592 arg4 = (int) SWIG_AsInt(obj3);
27593 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27594 }
27595 if (obj4) {
2f4c0a16
RD
27596 arg5 = (int) SWIG_AsInt(obj4);
27597 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27598 }
44127b65
RD
27599 {
27600 PyThreadState* __tstate = wxPyBeginAllowThreads();
27601 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27602
27603 wxPyEndAllowThreads(__tstate);
27604 if (PyErr_Occurred()) SWIG_fail;
27605 }
27606 Py_INCREF(Py_None); resultobj = Py_None;
27607 return resultobj;
27608 fail:
27609 return NULL;
27610}
27611
27612
a95a7133 27613static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27614 PyObject *resultobj;
27615 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27616 bool arg2 ;
27617 double arg3 ;
27618 double arg4 ;
27619 int arg5 = (int) 0 ;
27620 int arg6 = (int) 0 ;
27621 PyObject * obj0 = 0 ;
27622 PyObject * obj1 = 0 ;
8edf1c75
RD
27623 PyObject * obj2 = 0 ;
27624 PyObject * obj3 = 0 ;
27625 PyObject * obj4 = 0 ;
27626 PyObject * obj5 = 0 ;
44127b65
RD
27627 char *kwnames[] = {
27628 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27629 };
27630
8edf1c75 27631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27634 arg2 = (bool) SWIG_AsBool(obj1);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 arg3 = (double) SWIG_AsDouble(obj2);
27637 if (PyErr_Occurred()) SWIG_fail;
27638 arg4 = (double) SWIG_AsDouble(obj3);
27639 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27640 if (obj4) {
2f4c0a16
RD
27641 arg5 = (int) SWIG_AsInt(obj4);
27642 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27643 }
27644 if (obj5) {
2f4c0a16
RD
27645 arg6 = (int) SWIG_AsInt(obj5);
27646 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27647 }
44127b65
RD
27648 {
27649 PyThreadState* __tstate = wxPyBeginAllowThreads();
27650 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27651
27652 wxPyEndAllowThreads(__tstate);
27653 if (PyErr_Occurred()) SWIG_fail;
27654 }
27655 Py_INCREF(Py_None); resultobj = Py_None;
27656 return resultobj;
27657 fail:
27658 return NULL;
27659}
27660
27661
a95a7133 27662static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27663 PyObject *resultobj;
27664 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27665 double arg2 ;
27666 double arg3 ;
27667 int arg4 = (int) 0 ;
27668 int arg5 = (int) 0 ;
27669 PyObject * obj0 = 0 ;
8edf1c75
RD
27670 PyObject * obj1 = 0 ;
27671 PyObject * obj2 = 0 ;
27672 PyObject * obj3 = 0 ;
27673 PyObject * obj4 = 0 ;
44127b65
RD
27674 char *kwnames[] = {
27675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27676 };
27677
8edf1c75 27678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27681 arg2 = (double) SWIG_AsDouble(obj1);
27682 if (PyErr_Occurred()) SWIG_fail;
27683 arg3 = (double) SWIG_AsDouble(obj2);
27684 if (PyErr_Occurred()) SWIG_fail;
27685 if (obj3) {
27686 arg4 = (int) SWIG_AsInt(obj3);
8edf1c75
RD
27687 if (PyErr_Occurred()) SWIG_fail;
27688 }
2f4c0a16
RD
27689 if (obj4) {
27690 arg5 = (int) SWIG_AsInt(obj4);
8edf1c75
RD
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
44127b65
RD
27693 {
27694 PyThreadState* __tstate = wxPyBeginAllowThreads();
27695 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27696
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 Py_INCREF(Py_None); resultobj = Py_None;
27701 return resultobj;
27702 fail:
27703 return NULL;
27704}
27705
27706
a95a7133 27707static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27708 PyObject *resultobj;
27709 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27710 double arg2 ;
27711 double arg3 ;
27712 int arg4 = (int) 0 ;
27713 int arg5 = (int) 0 ;
27714 PyObject * obj0 = 0 ;
8edf1c75
RD
27715 PyObject * obj1 = 0 ;
27716 PyObject * obj2 = 0 ;
27717 PyObject * obj3 = 0 ;
27718 PyObject * obj4 = 0 ;
44127b65
RD
27719 char *kwnames[] = {
27720 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27721 };
27722
8edf1c75 27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27726 arg2 = (double) SWIG_AsDouble(obj1);
27727 if (PyErr_Occurred()) SWIG_fail;
27728 arg3 = (double) SWIG_AsDouble(obj2);
27729 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27730 if (obj3) {
2f4c0a16
RD
27731 arg4 = (int) SWIG_AsInt(obj3);
27732 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27733 }
27734 if (obj4) {
2f4c0a16
RD
27735 arg5 = (int) SWIG_AsInt(obj4);
27736 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27737 }
44127b65
RD
27738 {
27739 PyThreadState* __tstate = wxPyBeginAllowThreads();
27740 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27741
27742 wxPyEndAllowThreads(__tstate);
27743 if (PyErr_Occurred()) SWIG_fail;
27744 }
27745 Py_INCREF(Py_None); resultobj = Py_None;
27746 return resultobj;
27747 fail:
27748 return NULL;
27749}
27750
27751
a95a7133 27752static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27753 PyObject *resultobj;
27754 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27755 wxDC *arg2 = 0 ;
27756 double arg3 ;
27757 double arg4 ;
27758 double arg5 ;
27759 double arg6 ;
27760 PyObject * obj0 = 0 ;
27761 PyObject * obj1 = 0 ;
8edf1c75
RD
27762 PyObject * obj2 = 0 ;
27763 PyObject * obj3 = 0 ;
27764 PyObject * obj4 = 0 ;
27765 PyObject * obj5 = 0 ;
44127b65
RD
27766 char *kwnames[] = {
27767 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27768 };
27769
8edf1c75 27770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27774 SWIG_POINTER_EXCEPTION | 0)) == -1)
27775 SWIG_fail;
44127b65 27776 if (arg2 == NULL) {
2f4c0a16
RD
27777 PyErr_SetString(PyExc_TypeError,"null reference");
27778 SWIG_fail;
8edf1c75 27779 }
2f4c0a16
RD
27780 arg3 = (double) SWIG_AsDouble(obj2);
27781 if (PyErr_Occurred()) SWIG_fail;
27782 arg4 = (double) SWIG_AsDouble(obj3);
27783 if (PyErr_Occurred()) SWIG_fail;
27784 arg5 = (double) SWIG_AsDouble(obj4);
27785 if (PyErr_Occurred()) SWIG_fail;
27786 arg6 = (double) SWIG_AsDouble(obj5);
27787 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27788 {
27789 PyThreadState* __tstate = wxPyBeginAllowThreads();
27790 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27791
27792 wxPyEndAllowThreads(__tstate);
27793 if (PyErr_Occurred()) SWIG_fail;
27794 }
27795 Py_INCREF(Py_None); resultobj = Py_None;
27796 return resultobj;
27797 fail:
27798 return NULL;
27799}
27800
27801
a95a7133 27802static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27803 PyObject *resultobj;
27804 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27805 wxDC *arg2 = 0 ;
27806 PyObject * obj0 = 0 ;
27807 PyObject * obj1 = 0 ;
27808 char *kwnames[] = {
27809 (char *) "self",(char *) "dc", NULL
27810 };
27811
27812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27816 SWIG_POINTER_EXCEPTION | 0)) == -1)
27817 SWIG_fail;
44127b65 27818 if (arg2 == NULL) {
2f4c0a16
RD
27819 PyErr_SetString(PyExc_TypeError,"null reference");
27820 SWIG_fail;
44127b65
RD
27821 }
27822 {
27823 PyThreadState* __tstate = wxPyBeginAllowThreads();
27824 (arg1)->base_OnDrawControlPoints(*arg2);
27825
27826 wxPyEndAllowThreads(__tstate);
27827 if (PyErr_Occurred()) SWIG_fail;
27828 }
27829 Py_INCREF(Py_None); resultobj = Py_None;
27830 return resultobj;
27831 fail:
27832 return NULL;
27833}
27834
27835
a95a7133 27836static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27837 PyObject *resultobj;
27838 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27839 wxDC *arg2 = 0 ;
27840 PyObject * obj0 = 0 ;
27841 PyObject * obj1 = 0 ;
27842 char *kwnames[] = {
27843 (char *) "self",(char *) "dc", NULL
27844 };
27845
27846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27850 SWIG_POINTER_EXCEPTION | 0)) == -1)
27851 SWIG_fail;
44127b65 27852 if (arg2 == NULL) {
2f4c0a16
RD
27853 PyErr_SetString(PyExc_TypeError,"null reference");
27854 SWIG_fail;
44127b65
RD
27855 }
27856 {
27857 PyThreadState* __tstate = wxPyBeginAllowThreads();
27858 (arg1)->base_OnEraseControlPoints(*arg2);
27859
27860 wxPyEndAllowThreads(__tstate);
27861 if (PyErr_Occurred()) SWIG_fail;
27862 }
27863 Py_INCREF(Py_None); resultobj = Py_None;
27864 return resultobj;
27865 fail:
27866 return NULL;
27867}
27868
27869
a95a7133 27870static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27871 PyObject *resultobj;
27872 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27873 wxDC *arg2 = 0 ;
27874 bool arg3 = (bool) True ;
27875 PyObject * obj0 = 0 ;
27876 PyObject * obj1 = 0 ;
27877 PyObject * obj2 = 0 ;
27878 char *kwnames[] = {
27879 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27880 };
27881
27882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
27886 SWIG_POINTER_EXCEPTION | 0)) == -1)
27887 SWIG_fail;
44127b65 27888 if (arg2 == NULL) {
2f4c0a16
RD
27889 PyErr_SetString(PyExc_TypeError,"null reference");
27890 SWIG_fail;
44127b65
RD
27891 }
27892 if (obj2) {
2f4c0a16
RD
27893 arg3 = (bool) SWIG_AsBool(obj2);
27894 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
27895 }
27896 {
27897 PyThreadState* __tstate = wxPyBeginAllowThreads();
27898 (arg1)->base_OnMoveLink(*arg2,arg3);
27899
27900 wxPyEndAllowThreads(__tstate);
27901 if (PyErr_Occurred()) SWIG_fail;
27902 }
27903 Py_INCREF(Py_None); resultobj = Py_None;
27904 return resultobj;
27905 fail:
27906 return NULL;
27907}
27908
27909
a95a7133 27910static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27911 PyObject *resultobj;
27912 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27913 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27914 bool arg3 ;
27915 double arg4 ;
27916 double arg5 ;
27917 int arg6 = (int) 0 ;
27918 int arg7 = (int) 0 ;
27919 PyObject * obj0 = 0 ;
27920 PyObject * obj1 = 0 ;
27921 PyObject * obj2 = 0 ;
8edf1c75
RD
27922 PyObject * obj3 = 0 ;
27923 PyObject * obj4 = 0 ;
27924 PyObject * obj5 = 0 ;
27925 PyObject * obj6 = 0 ;
44127b65
RD
27926 char *kwnames[] = {
27927 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27928 };
27929
8edf1c75 27930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27935 arg3 = (bool) SWIG_AsBool(obj2);
27936 if (PyErr_Occurred()) SWIG_fail;
27937 arg4 = (double) SWIG_AsDouble(obj3);
27938 if (PyErr_Occurred()) SWIG_fail;
27939 arg5 = (double) SWIG_AsDouble(obj4);
27940 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27941 if (obj5) {
2f4c0a16
RD
27942 arg6 = (int) SWIG_AsInt(obj5);
27943 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27944 }
27945 if (obj6) {
2f4c0a16
RD
27946 arg7 = (int) SWIG_AsInt(obj6);
27947 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27948 }
44127b65
RD
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
27952
27953 wxPyEndAllowThreads(__tstate);
27954 if (PyErr_Occurred()) SWIG_fail;
27955 }
27956 Py_INCREF(Py_None); resultobj = Py_None;
27957 return resultobj;
27958 fail:
27959 return NULL;
27960}
27961
27962
a95a7133 27963static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
27964 PyObject *resultobj;
27965 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27966 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27967 double arg3 ;
27968 double arg4 ;
27969 int arg5 = (int) 0 ;
27970 int arg6 = (int) 0 ;
27971 PyObject * obj0 = 0 ;
27972 PyObject * obj1 = 0 ;
8edf1c75
RD
27973 PyObject * obj2 = 0 ;
27974 PyObject * obj3 = 0 ;
27975 PyObject * obj4 = 0 ;
27976 PyObject * obj5 = 0 ;
44127b65
RD
27977 char *kwnames[] = {
27978 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27979 };
27980
8edf1c75 27981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
27983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
27985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27986 arg3 = (double) SWIG_AsDouble(obj2);
27987 if (PyErr_Occurred()) SWIG_fail;
27988 arg4 = (double) SWIG_AsDouble(obj3);
27989 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27990 if (obj4) {
2f4c0a16
RD
27991 arg5 = (int) SWIG_AsInt(obj4);
27992 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
27993 }
27994 if (obj5) {
2f4c0a16
RD
27995 arg6 = (int) SWIG_AsInt(obj5);
27996 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27997 }
44127b65
RD
27998 {
27999 PyThreadState* __tstate = wxPyBeginAllowThreads();
28000 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
28001
28002 wxPyEndAllowThreads(__tstate);
28003 if (PyErr_Occurred()) SWIG_fail;
28004 }
28005 Py_INCREF(Py_None); resultobj = Py_None;
28006 return resultobj;
28007 fail:
28008 return NULL;
28009}
28010
28011
a95a7133 28012static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28013 PyObject *resultobj;
28014 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28015 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28016 double arg3 ;
28017 double arg4 ;
28018 int arg5 = (int) 0 ;
28019 int arg6 = (int) 0 ;
28020 PyObject * obj0 = 0 ;
28021 PyObject * obj1 = 0 ;
8edf1c75
RD
28022 PyObject * obj2 = 0 ;
28023 PyObject * obj3 = 0 ;
28024 PyObject * obj4 = 0 ;
28025 PyObject * obj5 = 0 ;
44127b65
RD
28026 char *kwnames[] = {
28027 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28028 };
28029
8edf1c75 28030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
28031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
28034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28035 arg3 = (double) SWIG_AsDouble(obj2);
28036 if (PyErr_Occurred()) SWIG_fail;
28037 arg4 = (double) SWIG_AsDouble(obj3);
28038 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28039 if (obj4) {
2f4c0a16
RD
28040 arg5 = (int) SWIG_AsInt(obj4);
28041 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28042 }
28043 if (obj5) {
2f4c0a16
RD
28044 arg6 = (int) SWIG_AsInt(obj5);
28045 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28046 }
44127b65
RD
28047 {
28048 PyThreadState* __tstate = wxPyBeginAllowThreads();
28049 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
28050
28051 wxPyEndAllowThreads(__tstate);
28052 if (PyErr_Occurred()) SWIG_fail;
28053 }
28054 Py_INCREF(Py_None); resultobj = Py_None;
28055 return resultobj;
28056 fail:
28057 return NULL;
28058}
28059
28060
a95a7133 28061static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28062 PyObject *resultobj;
28063 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28064 double arg2 ;
28065 double arg3 ;
28066 PyObject * obj0 = 0 ;
8edf1c75
RD
28067 PyObject * obj1 = 0 ;
28068 PyObject * obj2 = 0 ;
44127b65
RD
28069 char *kwnames[] = {
28070 (char *) "self",(char *) "w",(char *) "h", NULL
28071 };
28072
8edf1c75 28073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28076 arg2 = (double) SWIG_AsDouble(obj1);
28077 if (PyErr_Occurred()) SWIG_fail;
28078 arg3 = (double) SWIG_AsDouble(obj2);
28079 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28080 {
28081 PyThreadState* __tstate = wxPyBeginAllowThreads();
28082 (arg1)->base_OnBeginSize(arg2,arg3);
28083
28084 wxPyEndAllowThreads(__tstate);
28085 if (PyErr_Occurred()) SWIG_fail;
28086 }
28087 Py_INCREF(Py_None); resultobj = Py_None;
28088 return resultobj;
28089 fail:
28090 return NULL;
28091}
28092
28093
a95a7133 28094static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28095 PyObject *resultobj;
28096 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28097 double arg2 ;
28098 double arg3 ;
28099 PyObject * obj0 = 0 ;
8edf1c75
RD
28100 PyObject * obj1 = 0 ;
28101 PyObject * obj2 = 0 ;
44127b65
RD
28102 char *kwnames[] = {
28103 (char *) "self",(char *) "w",(char *) "h", NULL
28104 };
28105
8edf1c75 28106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLineShape,
28108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28109 arg2 = (double) SWIG_AsDouble(obj1);
28110 if (PyErr_Occurred()) SWIG_fail;
28111 arg3 = (double) SWIG_AsDouble(obj2);
28112 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 (arg1)->base_OnEndSize(arg2,arg3);
28116
28117 wxPyEndAllowThreads(__tstate);
28118 if (PyErr_Occurred()) SWIG_fail;
28119 }
28120 Py_INCREF(Py_None); resultobj = Py_None;
28121 return resultobj;
28122 fail:
28123 return NULL;
28124}
28125
28126
a95a7133 28127static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
28128 PyObject *obj;
28129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28130 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
28131 Py_INCREF(obj);
28132 return Py_BuildValue((char *)"");
28133}
a95a7133 28134static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28135 PyObject *resultobj;
28136 wxPyPolygonShape *result;
28137 char *kwnames[] = {
28138 NULL
28139 };
28140
28141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
28142 {
28143 PyThreadState* __tstate = wxPyBeginAllowThreads();
28144 result = (wxPyPolygonShape *)new wxPyPolygonShape();
28145
28146 wxPyEndAllowThreads(__tstate);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
2f4c0a16 28149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
44127b65
RD
28150 return resultobj;
28151 fail:
28152 return NULL;
28153}
28154
28155
a95a7133 28156static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28157 PyObject *resultobj;
28158 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28159 PyObject *arg2 = (PyObject *) 0 ;
28160 PyObject *arg3 = (PyObject *) 0 ;
28161 PyObject * obj0 = 0 ;
28162 PyObject * obj1 = 0 ;
28163 PyObject * obj2 = 0 ;
28164 char *kwnames[] = {
28165 (char *) "self",(char *) "self",(char *) "_class", NULL
28166 };
28167
28168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28171 arg2 = obj1;
28172 arg3 = obj2;
28173 {
28174 PyThreadState* __tstate = wxPyBeginAllowThreads();
28175 (arg1)->_setCallbackInfo(arg2,arg3);
28176
28177 wxPyEndAllowThreads(__tstate);
28178 if (PyErr_Occurred()) SWIG_fail;
28179 }
28180 Py_INCREF(Py_None); resultobj = Py_None;
28181 return resultobj;
28182 fail:
28183 return NULL;
28184}
28185
28186
a95a7133 28187static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28188 PyObject *resultobj;
28189 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28190 PyObject *arg2 = (PyObject *) 0 ;
28191 PyObject *result;
28192 PyObject * obj0 = 0 ;
28193 PyObject * obj1 = 0 ;
28194 char *kwnames[] = {
28195 (char *) "self",(char *) "points", NULL
28196 };
28197
28198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28201 arg2 = obj1;
28202 {
28203 PyThreadState* __tstate = wxPyBeginAllowThreads();
28204 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28205
28206 wxPyEndAllowThreads(__tstate);
28207 if (PyErr_Occurred()) SWIG_fail;
28208 }
28209 resultobj = result;
28210 return resultobj;
28211 fail:
28212 return NULL;
28213}
28214
28215
a95a7133 28216static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28217 PyObject *resultobj;
28218 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28219 int arg2 = (int) 0 ;
28220 PyObject * obj0 = 0 ;
8edf1c75 28221 PyObject * obj1 = 0 ;
44127b65
RD
28222 char *kwnames[] = {
28223 (char *) "self",(char *) "pos", NULL
28224 };
28225
8edf1c75 28226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 28229 if (obj1) {
2f4c0a16
RD
28230 arg2 = (int) SWIG_AsInt(obj1);
28231 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28232 }
44127b65
RD
28233 {
28234 PyThreadState* __tstate = wxPyBeginAllowThreads();
28235 (arg1)->AddPolygonPoint(arg2);
28236
28237 wxPyEndAllowThreads(__tstate);
28238 if (PyErr_Occurred()) SWIG_fail;
28239 }
28240 Py_INCREF(Py_None); resultobj = Py_None;
28241 return resultobj;
28242 fail:
28243 return NULL;
28244}
28245
28246
a95a7133 28247static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28248 PyObject *resultobj;
28249 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28250 PyObject * obj0 = 0 ;
28251 char *kwnames[] = {
28252 (char *) "self", NULL
28253 };
28254
28255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28258 {
28259 PyThreadState* __tstate = wxPyBeginAllowThreads();
28260 (arg1)->CalculatePolygonCentre();
28261
28262 wxPyEndAllowThreads(__tstate);
28263 if (PyErr_Occurred()) SWIG_fail;
28264 }
28265 Py_INCREF(Py_None); resultobj = Py_None;
28266 return resultobj;
28267 fail:
28268 return NULL;
28269}
28270
28271
a95a7133 28272static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28273 PyObject *resultobj;
28274 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28275 int arg2 = (int) 0 ;
28276 PyObject * obj0 = 0 ;
8edf1c75 28277 PyObject * obj1 = 0 ;
44127b65
RD
28278 char *kwnames[] = {
28279 (char *) "self",(char *) "pos", NULL
28280 };
28281
8edf1c75 28282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 28285 if (obj1) {
2f4c0a16
RD
28286 arg2 = (int) SWIG_AsInt(obj1);
28287 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28288 }
44127b65
RD
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 (arg1)->DeletePolygonPoint(arg2);
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 Py_INCREF(Py_None); resultobj = Py_None;
28297 return resultobj;
28298 fail:
28299 return NULL;
28300}
28301
28302
a95a7133 28303static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28304 PyObject *resultobj;
28305 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28306 PyObject *result;
28307 PyObject * obj0 = 0 ;
28308 char *kwnames[] = {
28309 (char *) "self", NULL
28310 };
28311
28312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28318
28319 wxPyEndAllowThreads(__tstate);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 resultobj = result;
28323 return resultobj;
28324 fail:
28325 return NULL;
28326}
28327
28328
a95a7133 28329static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28330 PyObject *resultobj;
28331 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28332 PyObject *result;
28333 PyObject * obj0 = 0 ;
28334 char *kwnames[] = {
28335 (char *) "self", NULL
28336 };
28337
28338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28341 {
28342 PyThreadState* __tstate = wxPyBeginAllowThreads();
28343 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28344
28345 wxPyEndAllowThreads(__tstate);
28346 if (PyErr_Occurred()) SWIG_fail;
28347 }
28348 resultobj = result;
28349 return resultobj;
28350 fail:
28351 return NULL;
28352}
28353
28354
a95a7133 28355static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28356 PyObject *resultobj;
28357 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28358 double result;
28359 PyObject * obj0 = 0 ;
28360 char *kwnames[] = {
28361 (char *) "self", NULL
28362 };
28363
28364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28367 {
28368 PyThreadState* __tstate = wxPyBeginAllowThreads();
28369 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28370
28371 wxPyEndAllowThreads(__tstate);
28372 if (PyErr_Occurred()) SWIG_fail;
28373 }
2f4c0a16 28374 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
28375 return resultobj;
28376 fail:
28377 return NULL;
28378}
28379
28380
a95a7133 28381static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28382 PyObject *resultobj;
28383 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28384 double result;
28385 PyObject * obj0 = 0 ;
28386 char *kwnames[] = {
28387 (char *) "self", NULL
28388 };
28389
28390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0a63ae
RD
28393 {
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
28395 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
28396
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
2f4c0a16 28400 resultobj = SWIG_FromDouble((double)result);
7a0a63ae
RD
28401 return resultobj;
28402 fail:
28403 return NULL;
28404}
28405
28406
a95a7133 28407static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28408 PyObject *resultobj;
28409 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28410 double arg2 ;
28411 PyObject * obj0 = 0 ;
8edf1c75 28412 PyObject * obj1 = 0 ;
7a0a63ae
RD
28413 char *kwnames[] = {
28414 (char *) "self",(char *) "w", NULL
28415 };
28416
8edf1c75 28417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28420 arg2 = (double) SWIG_AsDouble(obj1);
28421 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
28422 {
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 (arg1)->SetOriginalWidth(arg2);
28425
28426 wxPyEndAllowThreads(__tstate);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 }
28429 Py_INCREF(Py_None); resultobj = Py_None;
28430 return resultobj;
28431 fail:
28432 return NULL;
28433}
28434
28435
a95a7133 28436static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
28437 PyObject *resultobj;
28438 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28439 double arg2 ;
28440 PyObject * obj0 = 0 ;
8edf1c75 28441 PyObject * obj1 = 0 ;
7a0a63ae
RD
28442 char *kwnames[] = {
28443 (char *) "self",(char *) "h", NULL
28444 };
28445
8edf1c75 28446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28449 arg2 = (double) SWIG_AsDouble(obj1);
28450 if (PyErr_Occurred()) SWIG_fail;
7a0a63ae
RD
28451 {
28452 PyThreadState* __tstate = wxPyBeginAllowThreads();
28453 (arg1)->SetOriginalHeight(arg2);
28454
28455 wxPyEndAllowThreads(__tstate);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 }
28458 Py_INCREF(Py_None); resultobj = Py_None;
28459 return resultobj;
28460 fail:
28461 return NULL;
28462}
28463
28464
a95a7133 28465static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28466 PyObject *resultobj;
28467 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28468 PyObject * obj0 = 0 ;
28469 char *kwnames[] = {
28470 (char *) "self", NULL
28471 };
28472
28473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
28476 {
28477 PyThreadState* __tstate = wxPyBeginAllowThreads();
28478 (arg1)->UpdateOriginalPoints();
28479
28480 wxPyEndAllowThreads(__tstate);
28481 if (PyErr_Occurred()) SWIG_fail;
28482 }
28483 Py_INCREF(Py_None); resultobj = Py_None;
28484 return resultobj;
28485 fail:
28486 return NULL;
28487}
28488
28489
a95a7133 28490static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28491 PyObject *resultobj;
28492 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28493 wxDC *arg2 = 0 ;
28494 PyObject * obj0 = 0 ;
28495 PyObject * obj1 = 0 ;
28496 char *kwnames[] = {
28497 (char *) "self",(char *) "dc", NULL
28498 };
28499
28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28504 SWIG_POINTER_EXCEPTION | 0)) == -1)
28505 SWIG_fail;
44127b65 28506 if (arg2 == NULL) {
2f4c0a16
RD
28507 PyErr_SetString(PyExc_TypeError,"null reference");
28508 SWIG_fail;
44127b65
RD
28509 }
28510 {
28511 PyThreadState* __tstate = wxPyBeginAllowThreads();
28512 (arg1)->base_OnDraw(*arg2);
28513
28514 wxPyEndAllowThreads(__tstate);
28515 if (PyErr_Occurred()) SWIG_fail;
28516 }
28517 Py_INCREF(Py_None); resultobj = Py_None;
28518 return resultobj;
28519 fail:
28520 return NULL;
28521}
28522
28523
a95a7133 28524static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28525 PyObject *resultobj;
28526 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28527 wxDC *arg2 = 0 ;
28528 PyObject * obj0 = 0 ;
28529 PyObject * obj1 = 0 ;
28530 char *kwnames[] = {
28531 (char *) "self",(char *) "dc", NULL
28532 };
28533
28534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28538 SWIG_POINTER_EXCEPTION | 0)) == -1)
28539 SWIG_fail;
44127b65 28540 if (arg2 == NULL) {
2f4c0a16
RD
28541 PyErr_SetString(PyExc_TypeError,"null reference");
28542 SWIG_fail;
44127b65
RD
28543 }
28544 {
28545 PyThreadState* __tstate = wxPyBeginAllowThreads();
28546 (arg1)->base_OnDrawContents(*arg2);
28547
28548 wxPyEndAllowThreads(__tstate);
28549 if (PyErr_Occurred()) SWIG_fail;
28550 }
28551 Py_INCREF(Py_None); resultobj = Py_None;
28552 return resultobj;
28553 fail:
28554 return NULL;
28555}
28556
28557
a95a7133 28558static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28559 PyObject *resultobj;
28560 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28561 wxDC *arg2 = 0 ;
28562 bool arg3 = (bool) FALSE ;
28563 PyObject * obj0 = 0 ;
28564 PyObject * obj1 = 0 ;
28565 PyObject * obj2 = 0 ;
28566 char *kwnames[] = {
28567 (char *) "self",(char *) "dc",(char *) "erase", NULL
28568 };
28569
28570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28574 SWIG_POINTER_EXCEPTION | 0)) == -1)
28575 SWIG_fail;
44127b65 28576 if (arg2 == NULL) {
2f4c0a16
RD
28577 PyErr_SetString(PyExc_TypeError,"null reference");
28578 SWIG_fail;
44127b65
RD
28579 }
28580 if (obj2) {
2f4c0a16
RD
28581 arg3 = (bool) SWIG_AsBool(obj2);
28582 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28583 }
28584 {
28585 PyThreadState* __tstate = wxPyBeginAllowThreads();
28586 (arg1)->base_OnDrawBranches(*arg2,arg3);
28587
28588 wxPyEndAllowThreads(__tstate);
28589 if (PyErr_Occurred()) SWIG_fail;
28590 }
28591 Py_INCREF(Py_None); resultobj = Py_None;
28592 return resultobj;
28593 fail:
28594 return NULL;
28595}
28596
28597
a95a7133 28598static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28599 PyObject *resultobj;
28600 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28601 wxDC *arg2 = 0 ;
28602 PyObject * obj0 = 0 ;
28603 PyObject * obj1 = 0 ;
28604 char *kwnames[] = {
28605 (char *) "self",(char *) "dc", NULL
28606 };
28607
28608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28612 SWIG_POINTER_EXCEPTION | 0)) == -1)
28613 SWIG_fail;
44127b65 28614 if (arg2 == NULL) {
2f4c0a16
RD
28615 PyErr_SetString(PyExc_TypeError,"null reference");
28616 SWIG_fail;
44127b65
RD
28617 }
28618 {
28619 PyThreadState* __tstate = wxPyBeginAllowThreads();
28620 (arg1)->base_OnMoveLinks(*arg2);
28621
28622 wxPyEndAllowThreads(__tstate);
28623 if (PyErr_Occurred()) SWIG_fail;
28624 }
28625 Py_INCREF(Py_None); resultobj = Py_None;
28626 return resultobj;
28627 fail:
28628 return NULL;
28629}
28630
28631
a95a7133 28632static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28633 PyObject *resultobj;
28634 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28635 wxDC *arg2 = 0 ;
28636 PyObject * obj0 = 0 ;
28637 PyObject * obj1 = 0 ;
28638 char *kwnames[] = {
28639 (char *) "self",(char *) "dc", NULL
28640 };
28641
28642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28646 SWIG_POINTER_EXCEPTION | 0)) == -1)
28647 SWIG_fail;
44127b65 28648 if (arg2 == NULL) {
2f4c0a16
RD
28649 PyErr_SetString(PyExc_TypeError,"null reference");
28650 SWIG_fail;
44127b65
RD
28651 }
28652 {
28653 PyThreadState* __tstate = wxPyBeginAllowThreads();
28654 (arg1)->base_OnErase(*arg2);
28655
28656 wxPyEndAllowThreads(__tstate);
28657 if (PyErr_Occurred()) SWIG_fail;
28658 }
28659 Py_INCREF(Py_None); resultobj = Py_None;
28660 return resultobj;
28661 fail:
28662 return NULL;
28663}
28664
28665
a95a7133 28666static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28667 PyObject *resultobj;
28668 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28669 wxDC *arg2 = 0 ;
28670 PyObject * obj0 = 0 ;
28671 PyObject * obj1 = 0 ;
28672 char *kwnames[] = {
28673 (char *) "self",(char *) "dc", NULL
28674 };
28675
28676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28680 SWIG_POINTER_EXCEPTION | 0)) == -1)
28681 SWIG_fail;
44127b65 28682 if (arg2 == NULL) {
2f4c0a16
RD
28683 PyErr_SetString(PyExc_TypeError,"null reference");
28684 SWIG_fail;
44127b65
RD
28685 }
28686 {
28687 PyThreadState* __tstate = wxPyBeginAllowThreads();
28688 (arg1)->base_OnEraseContents(*arg2);
28689
28690 wxPyEndAllowThreads(__tstate);
28691 if (PyErr_Occurred()) SWIG_fail;
28692 }
28693 Py_INCREF(Py_None); resultobj = Py_None;
28694 return resultobj;
28695 fail:
28696 return NULL;
28697}
28698
28699
a95a7133 28700static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28701 PyObject *resultobj;
28702 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28703 wxDC *arg2 = 0 ;
28704 PyObject * obj0 = 0 ;
28705 PyObject * obj1 = 0 ;
28706 char *kwnames[] = {
28707 (char *) "self",(char *) "dc", NULL
28708 };
28709
28710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28714 SWIG_POINTER_EXCEPTION | 0)) == -1)
28715 SWIG_fail;
44127b65 28716 if (arg2 == NULL) {
2f4c0a16
RD
28717 PyErr_SetString(PyExc_TypeError,"null reference");
28718 SWIG_fail;
44127b65
RD
28719 }
28720 {
28721 PyThreadState* __tstate = wxPyBeginAllowThreads();
28722 (arg1)->base_OnHighlight(*arg2);
28723
28724 wxPyEndAllowThreads(__tstate);
28725 if (PyErr_Occurred()) SWIG_fail;
28726 }
28727 Py_INCREF(Py_None); resultobj = Py_None;
28728 return resultobj;
28729 fail:
28730 return NULL;
28731}
28732
28733
a95a7133 28734static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28735 PyObject *resultobj;
28736 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28737 double arg2 ;
28738 double arg3 ;
28739 int arg4 = (int) 0 ;
28740 int arg5 = (int) 0 ;
28741 PyObject * obj0 = 0 ;
8edf1c75
RD
28742 PyObject * obj1 = 0 ;
28743 PyObject * obj2 = 0 ;
28744 PyObject * obj3 = 0 ;
28745 PyObject * obj4 = 0 ;
44127b65
RD
28746 char *kwnames[] = {
28747 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28748 };
28749
8edf1c75 28750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28753 arg2 = (double) SWIG_AsDouble(obj1);
28754 if (PyErr_Occurred()) SWIG_fail;
28755 arg3 = (double) SWIG_AsDouble(obj2);
28756 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28757 if (obj3) {
2f4c0a16
RD
28758 arg4 = (int) SWIG_AsInt(obj3);
28759 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28760 }
28761 if (obj4) {
2f4c0a16
RD
28762 arg5 = (int) SWIG_AsInt(obj4);
28763 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28764 }
44127b65
RD
28765 {
28766 PyThreadState* __tstate = wxPyBeginAllowThreads();
28767 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
28768
28769 wxPyEndAllowThreads(__tstate);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 Py_INCREF(Py_None); resultobj = Py_None;
28773 return resultobj;
28774 fail:
28775 return NULL;
28776}
28777
28778
a95a7133 28779static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28780 PyObject *resultobj;
28781 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28782 double arg2 ;
28783 double arg3 ;
28784 int arg4 = (int) 0 ;
28785 int arg5 = (int) 0 ;
28786 PyObject * obj0 = 0 ;
8edf1c75
RD
28787 PyObject * obj1 = 0 ;
28788 PyObject * obj2 = 0 ;
28789 PyObject * obj3 = 0 ;
28790 PyObject * obj4 = 0 ;
44127b65
RD
28791 char *kwnames[] = {
28792 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28793 };
28794
8edf1c75 28795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28798 arg2 = (double) SWIG_AsDouble(obj1);
28799 if (PyErr_Occurred()) SWIG_fail;
28800 arg3 = (double) SWIG_AsDouble(obj2);
28801 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28802 if (obj3) {
2f4c0a16
RD
28803 arg4 = (int) SWIG_AsInt(obj3);
28804 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28805 }
28806 if (obj4) {
2f4c0a16
RD
28807 arg5 = (int) SWIG_AsInt(obj4);
28808 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28809 }
44127b65
RD
28810 {
28811 PyThreadState* __tstate = wxPyBeginAllowThreads();
28812 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
28813
28814 wxPyEndAllowThreads(__tstate);
28815 if (PyErr_Occurred()) SWIG_fail;
28816 }
28817 Py_INCREF(Py_None); resultobj = Py_None;
28818 return resultobj;
28819 fail:
28820 return NULL;
28821}
28822
28823
a95a7133 28824static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28825 PyObject *resultobj;
28826 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28827 double arg2 ;
28828 double arg3 ;
28829 int arg4 = (int) 0 ;
28830 int arg5 = (int) 0 ;
28831 PyObject * obj0 = 0 ;
8edf1c75
RD
28832 PyObject * obj1 = 0 ;
28833 PyObject * obj2 = 0 ;
28834 PyObject * obj3 = 0 ;
28835 PyObject * obj4 = 0 ;
44127b65
RD
28836 char *kwnames[] = {
28837 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28838 };
28839
8edf1c75 28840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28843 arg2 = (double) SWIG_AsDouble(obj1);
28844 if (PyErr_Occurred()) SWIG_fail;
28845 arg3 = (double) SWIG_AsDouble(obj2);
28846 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28847 if (obj3) {
2f4c0a16
RD
28848 arg4 = (int) SWIG_AsInt(obj3);
28849 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28850 }
28851 if (obj4) {
2f4c0a16
RD
28852 arg5 = (int) SWIG_AsInt(obj4);
28853 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28854 }
44127b65
RD
28855 {
28856 PyThreadState* __tstate = wxPyBeginAllowThreads();
28857 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
28858
28859 wxPyEndAllowThreads(__tstate);
28860 if (PyErr_Occurred()) SWIG_fail;
28861 }
28862 Py_INCREF(Py_None); resultobj = Py_None;
28863 return resultobj;
28864 fail:
28865 return NULL;
28866}
28867
28868
a95a7133 28869static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28870 PyObject *resultobj;
28871 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28872 double arg2 ;
28873 double arg3 ;
28874 PyObject * obj0 = 0 ;
8edf1c75
RD
28875 PyObject * obj1 = 0 ;
28876 PyObject * obj2 = 0 ;
44127b65
RD
28877 char *kwnames[] = {
28878 (char *) "self",(char *) "x",(char *) "y", NULL
28879 };
28880
8edf1c75 28881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28884 arg2 = (double) SWIG_AsDouble(obj1);
28885 if (PyErr_Occurred()) SWIG_fail;
28886 arg3 = (double) SWIG_AsDouble(obj2);
28887 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28888 {
28889 PyThreadState* __tstate = wxPyBeginAllowThreads();
28890 (arg1)->base_OnSize(arg2,arg3);
28891
28892 wxPyEndAllowThreads(__tstate);
28893 if (PyErr_Occurred()) SWIG_fail;
28894 }
28895 Py_INCREF(Py_None); resultobj = Py_None;
28896 return resultobj;
28897 fail:
28898 return NULL;
28899}
28900
28901
a95a7133 28902static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28903 PyObject *resultobj;
28904 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28905 wxDC *arg2 = 0 ;
28906 double arg3 ;
28907 double arg4 ;
28908 double arg5 ;
28909 double arg6 ;
28910 bool arg7 = (bool) True ;
28911 bool result;
28912 PyObject * obj0 = 0 ;
28913 PyObject * obj1 = 0 ;
8edf1c75
RD
28914 PyObject * obj2 = 0 ;
28915 PyObject * obj3 = 0 ;
28916 PyObject * obj4 = 0 ;
28917 PyObject * obj5 = 0 ;
44127b65
RD
28918 PyObject * obj6 = 0 ;
28919 char *kwnames[] = {
28920 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28921 };
28922
8edf1c75 28923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
28924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28927 SWIG_POINTER_EXCEPTION | 0)) == -1)
28928 SWIG_fail;
44127b65 28929 if (arg2 == NULL) {
2f4c0a16
RD
28930 PyErr_SetString(PyExc_TypeError,"null reference");
28931 SWIG_fail;
28932 }
28933 arg3 = (double) SWIG_AsDouble(obj2);
28934 if (PyErr_Occurred()) SWIG_fail;
28935 arg4 = (double) SWIG_AsDouble(obj3);
28936 if (PyErr_Occurred()) SWIG_fail;
28937 arg5 = (double) SWIG_AsDouble(obj4);
28938 if (PyErr_Occurred()) SWIG_fail;
28939 arg6 = (double) SWIG_AsDouble(obj5);
28940 if (PyErr_Occurred()) SWIG_fail;
44127b65 28941 if (obj6) {
2f4c0a16
RD
28942 arg7 = (bool) SWIG_AsBool(obj6);
28943 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
28944 }
28945 {
28946 PyThreadState* __tstate = wxPyBeginAllowThreads();
28947 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
28948
28949 wxPyEndAllowThreads(__tstate);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
fbc46b20
RD
28952 {
28953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28954 }
44127b65
RD
28955 return resultobj;
28956 fail:
28957 return NULL;
28958}
28959
28960
a95a7133 28961static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
28962 PyObject *resultobj;
28963 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28964 wxDC *arg2 = 0 ;
28965 double arg3 ;
28966 double arg4 ;
28967 double arg5 ;
28968 double arg6 ;
28969 bool arg7 = (bool) True ;
28970 PyObject * obj0 = 0 ;
28971 PyObject * obj1 = 0 ;
8edf1c75
RD
28972 PyObject * obj2 = 0 ;
28973 PyObject * obj3 = 0 ;
28974 PyObject * obj4 = 0 ;
28975 PyObject * obj5 = 0 ;
44127b65
RD
28976 PyObject * obj6 = 0 ;
28977 char *kwnames[] = {
28978 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28979 };
28980
8edf1c75 28981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
28982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
28983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
28985 SWIG_POINTER_EXCEPTION | 0)) == -1)
28986 SWIG_fail;
44127b65 28987 if (arg2 == NULL) {
2f4c0a16
RD
28988 PyErr_SetString(PyExc_TypeError,"null reference");
28989 SWIG_fail;
28990 }
28991 arg3 = (double) SWIG_AsDouble(obj2);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 arg4 = (double) SWIG_AsDouble(obj3);
28994 if (PyErr_Occurred()) SWIG_fail;
28995 arg5 = (double) SWIG_AsDouble(obj4);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 arg6 = (double) SWIG_AsDouble(obj5);
28998 if (PyErr_Occurred()) SWIG_fail;
44127b65 28999 if (obj6) {
2f4c0a16
RD
29000 arg7 = (bool) SWIG_AsBool(obj6);
29001 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29002 }
29003 {
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
29006
29007 wxPyEndAllowThreads(__tstate);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 Py_INCREF(Py_None); resultobj = Py_None;
29011 return resultobj;
29012 fail:
29013 return NULL;
29014}
29015
29016
a95a7133 29017static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29018 PyObject *resultobj;
29019 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29020 bool arg2 ;
29021 double arg3 ;
29022 double arg4 ;
29023 int arg5 = (int) 0 ;
29024 int arg6 = (int) 0 ;
29025 PyObject * obj0 = 0 ;
29026 PyObject * obj1 = 0 ;
8edf1c75
RD
29027 PyObject * obj2 = 0 ;
29028 PyObject * obj3 = 0 ;
29029 PyObject * obj4 = 0 ;
29030 PyObject * obj5 = 0 ;
44127b65
RD
29031 char *kwnames[] = {
29032 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29033 };
29034
8edf1c75 29035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29038 arg2 = (bool) SWIG_AsBool(obj1);
29039 if (PyErr_Occurred()) SWIG_fail;
29040 arg3 = (double) SWIG_AsDouble(obj2);
29041 if (PyErr_Occurred()) SWIG_fail;
29042 arg4 = (double) SWIG_AsDouble(obj3);
29043 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29044 if (obj4) {
2f4c0a16
RD
29045 arg5 = (int) SWIG_AsInt(obj4);
29046 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29047 }
29048 if (obj5) {
2f4c0a16
RD
29049 arg6 = (int) SWIG_AsInt(obj5);
29050 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29051 }
44127b65
RD
29052 {
29053 PyThreadState* __tstate = wxPyBeginAllowThreads();
29054 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
29055
29056 wxPyEndAllowThreads(__tstate);
29057 if (PyErr_Occurred()) SWIG_fail;
29058 }
29059 Py_INCREF(Py_None); resultobj = Py_None;
29060 return resultobj;
29061 fail:
29062 return NULL;
29063}
29064
29065
a95a7133 29066static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29067 PyObject *resultobj;
29068 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29069 double arg2 ;
29070 double arg3 ;
29071 int arg4 = (int) 0 ;
29072 int arg5 = (int) 0 ;
29073 PyObject * obj0 = 0 ;
8edf1c75
RD
29074 PyObject * obj1 = 0 ;
29075 PyObject * obj2 = 0 ;
29076 PyObject * obj3 = 0 ;
29077 PyObject * obj4 = 0 ;
44127b65
RD
29078 char *kwnames[] = {
29079 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29080 };
29081
8edf1c75 29082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29085 arg2 = (double) SWIG_AsDouble(obj1);
29086 if (PyErr_Occurred()) SWIG_fail;
29087 arg3 = (double) SWIG_AsDouble(obj2);
29088 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29089 if (obj3) {
2f4c0a16
RD
29090 arg4 = (int) SWIG_AsInt(obj3);
29091 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29092 }
29093 if (obj4) {
2f4c0a16
RD
29094 arg5 = (int) SWIG_AsInt(obj4);
29095 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29096 }
44127b65
RD
29097 {
29098 PyThreadState* __tstate = wxPyBeginAllowThreads();
29099 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
29100
29101 wxPyEndAllowThreads(__tstate);
29102 if (PyErr_Occurred()) SWIG_fail;
29103 }
29104 Py_INCREF(Py_None); resultobj = Py_None;
29105 return resultobj;
29106 fail:
29107 return NULL;
29108}
29109
29110
a95a7133 29111static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29112 PyObject *resultobj;
29113 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29114 double arg2 ;
29115 double arg3 ;
29116 int arg4 = (int) 0 ;
29117 int arg5 = (int) 0 ;
29118 PyObject * obj0 = 0 ;
8edf1c75
RD
29119 PyObject * obj1 = 0 ;
29120 PyObject * obj2 = 0 ;
29121 PyObject * obj3 = 0 ;
29122 PyObject * obj4 = 0 ;
44127b65
RD
29123 char *kwnames[] = {
29124 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29125 };
29126
8edf1c75 29127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29130 arg2 = (double) SWIG_AsDouble(obj1);
29131 if (PyErr_Occurred()) SWIG_fail;
29132 arg3 = (double) SWIG_AsDouble(obj2);
29133 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29134 if (obj3) {
2f4c0a16
RD
29135 arg4 = (int) SWIG_AsInt(obj3);
29136 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29137 }
29138 if (obj4) {
2f4c0a16
RD
29139 arg5 = (int) SWIG_AsInt(obj4);
29140 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29141 }
44127b65
RD
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
29145
29146 wxPyEndAllowThreads(__tstate);
29147 if (PyErr_Occurred()) SWIG_fail;
29148 }
29149 Py_INCREF(Py_None); resultobj = Py_None;
29150 return resultobj;
29151 fail:
29152 return NULL;
29153}
29154
29155
a95a7133 29156static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29157 PyObject *resultobj;
29158 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29159 bool arg2 ;
29160 double arg3 ;
29161 double arg4 ;
29162 int arg5 = (int) 0 ;
29163 int arg6 = (int) 0 ;
29164 PyObject * obj0 = 0 ;
29165 PyObject * obj1 = 0 ;
8edf1c75
RD
29166 PyObject * obj2 = 0 ;
29167 PyObject * obj3 = 0 ;
29168 PyObject * obj4 = 0 ;
29169 PyObject * obj5 = 0 ;
44127b65
RD
29170 char *kwnames[] = {
29171 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29172 };
29173
8edf1c75 29174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29177 arg2 = (bool) SWIG_AsBool(obj1);
29178 if (PyErr_Occurred()) SWIG_fail;
29179 arg3 = (double) SWIG_AsDouble(obj2);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 arg4 = (double) SWIG_AsDouble(obj3);
29182 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29183 if (obj4) {
2f4c0a16
RD
29184 arg5 = (int) SWIG_AsInt(obj4);
29185 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29186 }
29187 if (obj5) {
2f4c0a16
RD
29188 arg6 = (int) SWIG_AsInt(obj5);
29189 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29190 }
44127b65
RD
29191 {
29192 PyThreadState* __tstate = wxPyBeginAllowThreads();
29193 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29194
29195 wxPyEndAllowThreads(__tstate);
29196 if (PyErr_Occurred()) SWIG_fail;
29197 }
29198 Py_INCREF(Py_None); resultobj = Py_None;
29199 return resultobj;
29200 fail:
29201 return NULL;
29202}
29203
29204
a95a7133 29205static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29206 PyObject *resultobj;
29207 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29208 double arg2 ;
29209 double arg3 ;
29210 int arg4 = (int) 0 ;
29211 int arg5 = (int) 0 ;
29212 PyObject * obj0 = 0 ;
8edf1c75
RD
29213 PyObject * obj1 = 0 ;
29214 PyObject * obj2 = 0 ;
29215 PyObject * obj3 = 0 ;
29216 PyObject * obj4 = 0 ;
44127b65
RD
29217 char *kwnames[] = {
29218 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29219 };
29220
8edf1c75 29221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29224 arg2 = (double) SWIG_AsDouble(obj1);
29225 if (PyErr_Occurred()) SWIG_fail;
29226 arg3 = (double) SWIG_AsDouble(obj2);
29227 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29228 if (obj3) {
2f4c0a16
RD
29229 arg4 = (int) SWIG_AsInt(obj3);
29230 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29231 }
29232 if (obj4) {
2f4c0a16
RD
29233 arg5 = (int) SWIG_AsInt(obj4);
29234 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29235 }
44127b65
RD
29236 {
29237 PyThreadState* __tstate = wxPyBeginAllowThreads();
29238 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29239
29240 wxPyEndAllowThreads(__tstate);
29241 if (PyErr_Occurred()) SWIG_fail;
29242 }
29243 Py_INCREF(Py_None); resultobj = Py_None;
29244 return resultobj;
29245 fail:
29246 return NULL;
29247}
29248
29249
a95a7133 29250static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29251 PyObject *resultobj;
29252 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29253 double arg2 ;
29254 double arg3 ;
29255 int arg4 = (int) 0 ;
29256 int arg5 = (int) 0 ;
29257 PyObject * obj0 = 0 ;
8edf1c75
RD
29258 PyObject * obj1 = 0 ;
29259 PyObject * obj2 = 0 ;
29260 PyObject * obj3 = 0 ;
29261 PyObject * obj4 = 0 ;
44127b65
RD
29262 char *kwnames[] = {
29263 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29264 };
29265
8edf1c75 29266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29269 arg2 = (double) SWIG_AsDouble(obj1);
29270 if (PyErr_Occurred()) SWIG_fail;
29271 arg3 = (double) SWIG_AsDouble(obj2);
29272 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29273 if (obj3) {
2f4c0a16
RD
29274 arg4 = (int) SWIG_AsInt(obj3);
29275 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29276 }
29277 if (obj4) {
2f4c0a16
RD
29278 arg5 = (int) SWIG_AsInt(obj4);
29279 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29280 }
44127b65
RD
29281 {
29282 PyThreadState* __tstate = wxPyBeginAllowThreads();
29283 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29284
29285 wxPyEndAllowThreads(__tstate);
29286 if (PyErr_Occurred()) SWIG_fail;
29287 }
29288 Py_INCREF(Py_None); resultobj = Py_None;
29289 return resultobj;
29290 fail:
29291 return NULL;
29292}
29293
29294
a95a7133 29295static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29296 PyObject *resultobj;
29297 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29298 wxDC *arg2 = 0 ;
29299 double arg3 ;
29300 double arg4 ;
29301 double arg5 ;
29302 double arg6 ;
29303 PyObject * obj0 = 0 ;
29304 PyObject * obj1 = 0 ;
8edf1c75
RD
29305 PyObject * obj2 = 0 ;
29306 PyObject * obj3 = 0 ;
29307 PyObject * obj4 = 0 ;
29308 PyObject * obj5 = 0 ;
44127b65
RD
29309 char *kwnames[] = {
29310 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29311 };
29312
8edf1c75 29313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29317 SWIG_POINTER_EXCEPTION | 0)) == -1)
29318 SWIG_fail;
44127b65 29319 if (arg2 == NULL) {
2f4c0a16
RD
29320 PyErr_SetString(PyExc_TypeError,"null reference");
29321 SWIG_fail;
8edf1c75 29322 }
2f4c0a16
RD
29323 arg3 = (double) SWIG_AsDouble(obj2);
29324 if (PyErr_Occurred()) SWIG_fail;
29325 arg4 = (double) SWIG_AsDouble(obj3);
29326 if (PyErr_Occurred()) SWIG_fail;
29327 arg5 = (double) SWIG_AsDouble(obj4);
29328 if (PyErr_Occurred()) SWIG_fail;
29329 arg6 = (double) SWIG_AsDouble(obj5);
29330 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29331 {
29332 PyThreadState* __tstate = wxPyBeginAllowThreads();
29333 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29334
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 Py_INCREF(Py_None); resultobj = Py_None;
29339 return resultobj;
29340 fail:
29341 return NULL;
29342}
29343
29344
a95a7133 29345static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29346 PyObject *resultobj;
29347 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29348 wxDC *arg2 = 0 ;
29349 PyObject * obj0 = 0 ;
29350 PyObject * obj1 = 0 ;
29351 char *kwnames[] = {
29352 (char *) "self",(char *) "dc", NULL
29353 };
29354
29355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29359 SWIG_POINTER_EXCEPTION | 0)) == -1)
29360 SWIG_fail;
44127b65 29361 if (arg2 == NULL) {
2f4c0a16
RD
29362 PyErr_SetString(PyExc_TypeError,"null reference");
29363 SWIG_fail;
44127b65
RD
29364 }
29365 {
29366 PyThreadState* __tstate = wxPyBeginAllowThreads();
29367 (arg1)->base_OnDrawControlPoints(*arg2);
29368
29369 wxPyEndAllowThreads(__tstate);
29370 if (PyErr_Occurred()) SWIG_fail;
29371 }
29372 Py_INCREF(Py_None); resultobj = Py_None;
29373 return resultobj;
29374 fail:
29375 return NULL;
29376}
29377
29378
a95a7133 29379static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29380 PyObject *resultobj;
29381 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29382 wxDC *arg2 = 0 ;
29383 PyObject * obj0 = 0 ;
29384 PyObject * obj1 = 0 ;
29385 char *kwnames[] = {
29386 (char *) "self",(char *) "dc", NULL
29387 };
29388
29389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29393 SWIG_POINTER_EXCEPTION | 0)) == -1)
29394 SWIG_fail;
44127b65 29395 if (arg2 == NULL) {
2f4c0a16
RD
29396 PyErr_SetString(PyExc_TypeError,"null reference");
29397 SWIG_fail;
44127b65
RD
29398 }
29399 {
29400 PyThreadState* __tstate = wxPyBeginAllowThreads();
29401 (arg1)->base_OnEraseControlPoints(*arg2);
29402
29403 wxPyEndAllowThreads(__tstate);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 }
29406 Py_INCREF(Py_None); resultobj = Py_None;
29407 return resultobj;
29408 fail:
29409 return NULL;
29410}
29411
29412
a95a7133 29413static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29414 PyObject *resultobj;
29415 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29416 wxDC *arg2 = 0 ;
29417 bool arg3 = (bool) True ;
29418 PyObject * obj0 = 0 ;
29419 PyObject * obj1 = 0 ;
29420 PyObject * obj2 = 0 ;
29421 char *kwnames[] = {
29422 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29423 };
29424
29425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29429 SWIG_POINTER_EXCEPTION | 0)) == -1)
29430 SWIG_fail;
44127b65 29431 if (arg2 == NULL) {
2f4c0a16
RD
29432 PyErr_SetString(PyExc_TypeError,"null reference");
29433 SWIG_fail;
44127b65
RD
29434 }
29435 if (obj2) {
2f4c0a16
RD
29436 arg3 = (bool) SWIG_AsBool(obj2);
29437 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29438 }
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 (arg1)->base_OnMoveLink(*arg2,arg3);
29442
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 Py_INCREF(Py_None); resultobj = Py_None;
29447 return resultobj;
29448 fail:
29449 return NULL;
29450}
29451
29452
a95a7133 29453static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29454 PyObject *resultobj;
29455 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29456 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29457 bool arg3 ;
29458 double arg4 ;
29459 double arg5 ;
29460 int arg6 = (int) 0 ;
29461 int arg7 = (int) 0 ;
29462 PyObject * obj0 = 0 ;
29463 PyObject * obj1 = 0 ;
29464 PyObject * obj2 = 0 ;
8edf1c75
RD
29465 PyObject * obj3 = 0 ;
29466 PyObject * obj4 = 0 ;
29467 PyObject * obj5 = 0 ;
29468 PyObject * obj6 = 0 ;
44127b65
RD
29469 char *kwnames[] = {
29470 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29471 };
29472
8edf1c75 29473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
29474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29478 arg3 = (bool) SWIG_AsBool(obj2);
29479 if (PyErr_Occurred()) SWIG_fail;
29480 arg4 = (double) SWIG_AsDouble(obj3);
29481 if (PyErr_Occurred()) SWIG_fail;
29482 arg5 = (double) SWIG_AsDouble(obj4);
29483 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29484 if (obj5) {
2f4c0a16
RD
29485 arg6 = (int) SWIG_AsInt(obj5);
29486 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29487 }
29488 if (obj6) {
2f4c0a16
RD
29489 arg7 = (int) SWIG_AsInt(obj6);
29490 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29491 }
44127b65
RD
29492 {
29493 PyThreadState* __tstate = wxPyBeginAllowThreads();
29494 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
29495
29496 wxPyEndAllowThreads(__tstate);
29497 if (PyErr_Occurred()) SWIG_fail;
29498 }
29499 Py_INCREF(Py_None); resultobj = Py_None;
29500 return resultobj;
29501 fail:
29502 return NULL;
29503}
29504
29505
a95a7133 29506static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29507 PyObject *resultobj;
29508 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29509 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29510 double arg3 ;
29511 double arg4 ;
29512 int arg5 = (int) 0 ;
29513 int arg6 = (int) 0 ;
29514 PyObject * obj0 = 0 ;
29515 PyObject * obj1 = 0 ;
8edf1c75
RD
29516 PyObject * obj2 = 0 ;
29517 PyObject * obj3 = 0 ;
29518 PyObject * obj4 = 0 ;
29519 PyObject * obj5 = 0 ;
44127b65
RD
29520 char *kwnames[] = {
29521 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29522 };
29523
8edf1c75 29524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29529 arg3 = (double) SWIG_AsDouble(obj2);
29530 if (PyErr_Occurred()) SWIG_fail;
29531 arg4 = (double) SWIG_AsDouble(obj3);
29532 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29533 if (obj4) {
2f4c0a16
RD
29534 arg5 = (int) SWIG_AsInt(obj4);
29535 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29536 }
29537 if (obj5) {
2f4c0a16
RD
29538 arg6 = (int) SWIG_AsInt(obj5);
29539 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29540 }
44127b65
RD
29541 {
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
29543 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
29544
29545 wxPyEndAllowThreads(__tstate);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
29548 Py_INCREF(Py_None); resultobj = Py_None;
29549 return resultobj;
29550 fail:
29551 return NULL;
29552}
29553
29554
a95a7133 29555static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29556 PyObject *resultobj;
29557 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29558 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
29559 double arg3 ;
29560 double arg4 ;
29561 int arg5 = (int) 0 ;
29562 int arg6 = (int) 0 ;
29563 PyObject * obj0 = 0 ;
29564 PyObject * obj1 = 0 ;
8edf1c75
RD
29565 PyObject * obj2 = 0 ;
29566 PyObject * obj3 = 0 ;
29567 PyObject * obj4 = 0 ;
29568 PyObject * obj5 = 0 ;
44127b65
RD
29569 char *kwnames[] = {
29570 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29571 };
29572
8edf1c75 29573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
29577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29578 arg3 = (double) SWIG_AsDouble(obj2);
29579 if (PyErr_Occurred()) SWIG_fail;
29580 arg4 = (double) SWIG_AsDouble(obj3);
29581 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29582 if (obj4) {
2f4c0a16
RD
29583 arg5 = (int) SWIG_AsInt(obj4);
29584 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29585 }
29586 if (obj5) {
2f4c0a16
RD
29587 arg6 = (int) SWIG_AsInt(obj5);
29588 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29589 }
44127b65
RD
29590 {
29591 PyThreadState* __tstate = wxPyBeginAllowThreads();
29592 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
29593
29594 wxPyEndAllowThreads(__tstate);
29595 if (PyErr_Occurred()) SWIG_fail;
29596 }
29597 Py_INCREF(Py_None); resultobj = Py_None;
29598 return resultobj;
29599 fail:
29600 return NULL;
29601}
29602
29603
a95a7133 29604static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29605 PyObject *resultobj;
29606 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29607 double arg2 ;
29608 double arg3 ;
29609 PyObject * obj0 = 0 ;
8edf1c75
RD
29610 PyObject * obj1 = 0 ;
29611 PyObject * obj2 = 0 ;
44127b65
RD
29612 char *kwnames[] = {
29613 (char *) "self",(char *) "w",(char *) "h", NULL
29614 };
29615
8edf1c75 29616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29619 arg2 = (double) SWIG_AsDouble(obj1);
29620 if (PyErr_Occurred()) SWIG_fail;
29621 arg3 = (double) SWIG_AsDouble(obj2);
29622 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29623 {
29624 PyThreadState* __tstate = wxPyBeginAllowThreads();
29625 (arg1)->base_OnBeginSize(arg2,arg3);
29626
29627 wxPyEndAllowThreads(__tstate);
29628 if (PyErr_Occurred()) SWIG_fail;
29629 }
29630 Py_INCREF(Py_None); resultobj = Py_None;
29631 return resultobj;
29632 fail:
29633 return NULL;
29634}
29635
29636
a95a7133 29637static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29638 PyObject *resultobj;
29639 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29640 double arg2 ;
29641 double arg3 ;
29642 PyObject * obj0 = 0 ;
8edf1c75
RD
29643 PyObject * obj1 = 0 ;
29644 PyObject * obj2 = 0 ;
44127b65
RD
29645 char *kwnames[] = {
29646 (char *) "self",(char *) "w",(char *) "h", NULL
29647 };
29648
8edf1c75 29649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPolygonShape,
29651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29652 arg2 = (double) SWIG_AsDouble(obj1);
29653 if (PyErr_Occurred()) SWIG_fail;
29654 arg3 = (double) SWIG_AsDouble(obj2);
29655 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29656 {
29657 PyThreadState* __tstate = wxPyBeginAllowThreads();
29658 (arg1)->base_OnEndSize(arg2,arg3);
29659
29660 wxPyEndAllowThreads(__tstate);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
29663 Py_INCREF(Py_None); resultobj = Py_None;
29664 return resultobj;
29665 fail:
29666 return NULL;
29667}
29668
29669
a95a7133 29670static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
29671 PyObject *obj;
29672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29673 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
29674 Py_INCREF(obj);
29675 return Py_BuildValue((char *)"");
29676}
a95a7133 29677static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29678 PyObject *resultobj;
29679 double arg1 = (double) 0.0 ;
29680 double arg2 = (double) 0.0 ;
29681 wxPyTextShape *result;
8edf1c75
RD
29682 PyObject * obj0 = 0 ;
29683 PyObject * obj1 = 0 ;
44127b65
RD
29684 char *kwnames[] = {
29685 (char *) "width",(char *) "height", NULL
29686 };
29687
8edf1c75
RD
29688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
29689 if (obj0) {
2f4c0a16
RD
29690 arg1 = (double) SWIG_AsDouble(obj0);
29691 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
29692 }
29693 if (obj1) {
2f4c0a16
RD
29694 arg2 = (double) SWIG_AsDouble(obj1);
29695 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29696 }
44127b65
RD
29697 {
29698 PyThreadState* __tstate = wxPyBeginAllowThreads();
29699 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
29700
29701 wxPyEndAllowThreads(__tstate);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
2f4c0a16 29704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
44127b65
RD
29705 return resultobj;
29706 fail:
29707 return NULL;
29708}
29709
29710
a95a7133 29711static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29712 PyObject *resultobj;
29713 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29714 PyObject *arg2 = (PyObject *) 0 ;
29715 PyObject *arg3 = (PyObject *) 0 ;
29716 PyObject * obj0 = 0 ;
29717 PyObject * obj1 = 0 ;
29718 PyObject * obj2 = 0 ;
29719 char *kwnames[] = {
29720 (char *) "self",(char *) "self",(char *) "_class", NULL
29721 };
29722
29723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
29726 arg2 = obj1;
29727 arg3 = obj2;
29728 {
29729 PyThreadState* __tstate = wxPyBeginAllowThreads();
29730 (arg1)->_setCallbackInfo(arg2,arg3);
29731
29732 wxPyEndAllowThreads(__tstate);
29733 if (PyErr_Occurred()) SWIG_fail;
29734 }
29735 Py_INCREF(Py_None); resultobj = Py_None;
29736 return resultobj;
29737 fail:
29738 return NULL;
29739}
29740
29741
a95a7133 29742static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29743 PyObject *resultobj;
29744 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29745 PyObject * obj0 = 0 ;
29746 char *kwnames[] = {
29747 (char *) "self", NULL
29748 };
29749
29750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
29753 {
29754 PyThreadState* __tstate = wxPyBeginAllowThreads();
29755 (arg1)->base_OnDelete();
29756
29757 wxPyEndAllowThreads(__tstate);
29758 if (PyErr_Occurred()) SWIG_fail;
29759 }
29760 Py_INCREF(Py_None); resultobj = Py_None;
29761 return resultobj;
29762 fail:
29763 return NULL;
29764}
29765
29766
a95a7133 29767static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29768 PyObject *resultobj;
29769 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29770 wxDC *arg2 = 0 ;
29771 PyObject * obj0 = 0 ;
29772 PyObject * obj1 = 0 ;
29773 char *kwnames[] = {
29774 (char *) "self",(char *) "dc", NULL
29775 };
29776
29777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29781 SWIG_POINTER_EXCEPTION | 0)) == -1)
29782 SWIG_fail;
44127b65 29783 if (arg2 == NULL) {
2f4c0a16
RD
29784 PyErr_SetString(PyExc_TypeError,"null reference");
29785 SWIG_fail;
44127b65
RD
29786 }
29787 {
29788 PyThreadState* __tstate = wxPyBeginAllowThreads();
29789 (arg1)->base_OnDraw(*arg2);
29790
29791 wxPyEndAllowThreads(__tstate);
29792 if (PyErr_Occurred()) SWIG_fail;
29793 }
29794 Py_INCREF(Py_None); resultobj = Py_None;
29795 return resultobj;
29796 fail:
29797 return NULL;
29798}
29799
29800
a95a7133 29801static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29802 PyObject *resultobj;
29803 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29804 wxDC *arg2 = 0 ;
29805 PyObject * obj0 = 0 ;
29806 PyObject * obj1 = 0 ;
29807 char *kwnames[] = {
29808 (char *) "self",(char *) "dc", NULL
29809 };
29810
29811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29815 SWIG_POINTER_EXCEPTION | 0)) == -1)
29816 SWIG_fail;
44127b65 29817 if (arg2 == NULL) {
2f4c0a16
RD
29818 PyErr_SetString(PyExc_TypeError,"null reference");
29819 SWIG_fail;
44127b65
RD
29820 }
29821 {
29822 PyThreadState* __tstate = wxPyBeginAllowThreads();
29823 (arg1)->base_OnDrawContents(*arg2);
29824
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
29828 Py_INCREF(Py_None); resultobj = Py_None;
29829 return resultobj;
29830 fail:
29831 return NULL;
29832}
29833
29834
a95a7133 29835static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29836 PyObject *resultobj;
29837 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29838 wxDC *arg2 = 0 ;
29839 bool arg3 = (bool) FALSE ;
29840 PyObject * obj0 = 0 ;
29841 PyObject * obj1 = 0 ;
29842 PyObject * obj2 = 0 ;
29843 char *kwnames[] = {
29844 (char *) "self",(char *) "dc",(char *) "erase", NULL
29845 };
29846
29847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29850 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29851 SWIG_POINTER_EXCEPTION | 0)) == -1)
29852 SWIG_fail;
44127b65 29853 if (arg2 == NULL) {
2f4c0a16
RD
29854 PyErr_SetString(PyExc_TypeError,"null reference");
29855 SWIG_fail;
44127b65
RD
29856 }
29857 if (obj2) {
2f4c0a16
RD
29858 arg3 = (bool) SWIG_AsBool(obj2);
29859 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
29860 }
29861 {
29862 PyThreadState* __tstate = wxPyBeginAllowThreads();
29863 (arg1)->base_OnDrawBranches(*arg2,arg3);
29864
29865 wxPyEndAllowThreads(__tstate);
29866 if (PyErr_Occurred()) SWIG_fail;
29867 }
29868 Py_INCREF(Py_None); resultobj = Py_None;
29869 return resultobj;
29870 fail:
29871 return NULL;
29872}
29873
29874
a95a7133 29875static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29876 PyObject *resultobj;
29877 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29878 wxDC *arg2 = 0 ;
29879 PyObject * obj0 = 0 ;
29880 PyObject * obj1 = 0 ;
29881 char *kwnames[] = {
29882 (char *) "self",(char *) "dc", NULL
29883 };
29884
29885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29889 SWIG_POINTER_EXCEPTION | 0)) == -1)
29890 SWIG_fail;
44127b65 29891 if (arg2 == NULL) {
2f4c0a16
RD
29892 PyErr_SetString(PyExc_TypeError,"null reference");
29893 SWIG_fail;
44127b65
RD
29894 }
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 (arg1)->base_OnMoveLinks(*arg2);
29898
29899 wxPyEndAllowThreads(__tstate);
29900 if (PyErr_Occurred()) SWIG_fail;
29901 }
29902 Py_INCREF(Py_None); resultobj = Py_None;
29903 return resultobj;
29904 fail:
29905 return NULL;
29906}
29907
29908
a95a7133 29909static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29910 PyObject *resultobj;
29911 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29912 wxDC *arg2 = 0 ;
29913 PyObject * obj0 = 0 ;
29914 PyObject * obj1 = 0 ;
29915 char *kwnames[] = {
29916 (char *) "self",(char *) "dc", NULL
29917 };
29918
29919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29923 SWIG_POINTER_EXCEPTION | 0)) == -1)
29924 SWIG_fail;
44127b65 29925 if (arg2 == NULL) {
2f4c0a16
RD
29926 PyErr_SetString(PyExc_TypeError,"null reference");
29927 SWIG_fail;
44127b65
RD
29928 }
29929 {
29930 PyThreadState* __tstate = wxPyBeginAllowThreads();
29931 (arg1)->base_OnErase(*arg2);
29932
29933 wxPyEndAllowThreads(__tstate);
29934 if (PyErr_Occurred()) SWIG_fail;
29935 }
29936 Py_INCREF(Py_None); resultobj = Py_None;
29937 return resultobj;
29938 fail:
29939 return NULL;
29940}
29941
29942
a95a7133 29943static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29944 PyObject *resultobj;
29945 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29946 wxDC *arg2 = 0 ;
29947 PyObject * obj0 = 0 ;
29948 PyObject * obj1 = 0 ;
29949 char *kwnames[] = {
29950 (char *) "self",(char *) "dc", NULL
29951 };
29952
29953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29957 SWIG_POINTER_EXCEPTION | 0)) == -1)
29958 SWIG_fail;
44127b65 29959 if (arg2 == NULL) {
2f4c0a16
RD
29960 PyErr_SetString(PyExc_TypeError,"null reference");
29961 SWIG_fail;
44127b65
RD
29962 }
29963 {
29964 PyThreadState* __tstate = wxPyBeginAllowThreads();
29965 (arg1)->base_OnEraseContents(*arg2);
29966
29967 wxPyEndAllowThreads(__tstate);
29968 if (PyErr_Occurred()) SWIG_fail;
29969 }
29970 Py_INCREF(Py_None); resultobj = Py_None;
29971 return resultobj;
29972 fail:
29973 return NULL;
29974}
29975
29976
a95a7133 29977static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
29978 PyObject *resultobj;
29979 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
29980 wxDC *arg2 = 0 ;
29981 PyObject * obj0 = 0 ;
29982 PyObject * obj1 = 0 ;
29983 char *kwnames[] = {
29984 (char *) "self",(char *) "dc", NULL
29985 };
29986
29987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
29989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29991 SWIG_POINTER_EXCEPTION | 0)) == -1)
29992 SWIG_fail;
44127b65 29993 if (arg2 == NULL) {
2f4c0a16
RD
29994 PyErr_SetString(PyExc_TypeError,"null reference");
29995 SWIG_fail;
44127b65
RD
29996 }
29997 {
29998 PyThreadState* __tstate = wxPyBeginAllowThreads();
29999 (arg1)->base_OnHighlight(*arg2);
30000
30001 wxPyEndAllowThreads(__tstate);
30002 if (PyErr_Occurred()) SWIG_fail;
30003 }
30004 Py_INCREF(Py_None); resultobj = Py_None;
30005 return resultobj;
30006 fail:
30007 return NULL;
30008}
30009
30010
a95a7133 30011static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30012 PyObject *resultobj;
30013 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30014 double arg2 ;
30015 double arg3 ;
30016 int arg4 = (int) 0 ;
30017 int arg5 = (int) 0 ;
30018 PyObject * obj0 = 0 ;
8edf1c75
RD
30019 PyObject * obj1 = 0 ;
30020 PyObject * obj2 = 0 ;
30021 PyObject * obj3 = 0 ;
30022 PyObject * obj4 = 0 ;
44127b65
RD
30023 char *kwnames[] = {
30024 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30025 };
30026
8edf1c75 30027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30030 arg2 = (double) SWIG_AsDouble(obj1);
30031 if (PyErr_Occurred()) SWIG_fail;
30032 arg3 = (double) SWIG_AsDouble(obj2);
30033 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30034 if (obj3) {
2f4c0a16
RD
30035 arg4 = (int) SWIG_AsInt(obj3);
30036 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30037 }
30038 if (obj4) {
2f4c0a16
RD
30039 arg5 = (int) SWIG_AsInt(obj4);
30040 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30041 }
44127b65
RD
30042 {
30043 PyThreadState* __tstate = wxPyBeginAllowThreads();
30044 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
30045
30046 wxPyEndAllowThreads(__tstate);
30047 if (PyErr_Occurred()) SWIG_fail;
30048 }
30049 Py_INCREF(Py_None); resultobj = Py_None;
30050 return resultobj;
30051 fail:
30052 return NULL;
30053}
30054
30055
a95a7133 30056static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30057 PyObject *resultobj;
30058 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30059 double arg2 ;
30060 double arg3 ;
30061 int arg4 = (int) 0 ;
30062 int arg5 = (int) 0 ;
30063 PyObject * obj0 = 0 ;
8edf1c75
RD
30064 PyObject * obj1 = 0 ;
30065 PyObject * obj2 = 0 ;
30066 PyObject * obj3 = 0 ;
30067 PyObject * obj4 = 0 ;
44127b65
RD
30068 char *kwnames[] = {
30069 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30070 };
30071
8edf1c75 30072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30075 arg2 = (double) SWIG_AsDouble(obj1);
30076 if (PyErr_Occurred()) SWIG_fail;
30077 arg3 = (double) SWIG_AsDouble(obj2);
30078 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30079 if (obj3) {
2f4c0a16
RD
30080 arg4 = (int) SWIG_AsInt(obj3);
30081 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30082 }
30083 if (obj4) {
2f4c0a16
RD
30084 arg5 = (int) SWIG_AsInt(obj4);
30085 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30086 }
44127b65
RD
30087 {
30088 PyThreadState* __tstate = wxPyBeginAllowThreads();
30089 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30090
30091 wxPyEndAllowThreads(__tstate);
30092 if (PyErr_Occurred()) SWIG_fail;
30093 }
30094 Py_INCREF(Py_None); resultobj = Py_None;
30095 return resultobj;
30096 fail:
30097 return NULL;
30098}
30099
30100
a95a7133 30101static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30102 PyObject *resultobj;
30103 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30104 double arg2 ;
30105 double arg3 ;
30106 int arg4 = (int) 0 ;
30107 int arg5 = (int) 0 ;
30108 PyObject * obj0 = 0 ;
8edf1c75
RD
30109 PyObject * obj1 = 0 ;
30110 PyObject * obj2 = 0 ;
30111 PyObject * obj3 = 0 ;
30112 PyObject * obj4 = 0 ;
44127b65
RD
30113 char *kwnames[] = {
30114 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30115 };
30116
8edf1c75 30117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30120 arg2 = (double) SWIG_AsDouble(obj1);
30121 if (PyErr_Occurred()) SWIG_fail;
30122 arg3 = (double) SWIG_AsDouble(obj2);
30123 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30124 if (obj3) {
2f4c0a16
RD
30125 arg4 = (int) SWIG_AsInt(obj3);
30126 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30127 }
30128 if (obj4) {
2f4c0a16
RD
30129 arg5 = (int) SWIG_AsInt(obj4);
30130 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30131 }
44127b65
RD
30132 {
30133 PyThreadState* __tstate = wxPyBeginAllowThreads();
30134 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30135
30136 wxPyEndAllowThreads(__tstate);
30137 if (PyErr_Occurred()) SWIG_fail;
30138 }
30139 Py_INCREF(Py_None); resultobj = Py_None;
30140 return resultobj;
30141 fail:
30142 return NULL;
30143}
30144
30145
a95a7133 30146static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30147 PyObject *resultobj;
30148 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30149 double arg2 ;
30150 double arg3 ;
30151 PyObject * obj0 = 0 ;
8edf1c75
RD
30152 PyObject * obj1 = 0 ;
30153 PyObject * obj2 = 0 ;
44127b65
RD
30154 char *kwnames[] = {
30155 (char *) "self",(char *) "x",(char *) "y", NULL
30156 };
30157
8edf1c75 30158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30161 arg2 = (double) SWIG_AsDouble(obj1);
30162 if (PyErr_Occurred()) SWIG_fail;
30163 arg3 = (double) SWIG_AsDouble(obj2);
30164 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30165 {
30166 PyThreadState* __tstate = wxPyBeginAllowThreads();
30167 (arg1)->base_OnSize(arg2,arg3);
30168
30169 wxPyEndAllowThreads(__tstate);
30170 if (PyErr_Occurred()) SWIG_fail;
30171 }
30172 Py_INCREF(Py_None); resultobj = Py_None;
30173 return resultobj;
30174 fail:
30175 return NULL;
30176}
30177
30178
a95a7133 30179static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30180 PyObject *resultobj;
30181 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30182 wxDC *arg2 = 0 ;
30183 double arg3 ;
30184 double arg4 ;
30185 double arg5 ;
30186 double arg6 ;
30187 bool arg7 = (bool) True ;
30188 bool result;
30189 PyObject * obj0 = 0 ;
30190 PyObject * obj1 = 0 ;
8edf1c75
RD
30191 PyObject * obj2 = 0 ;
30192 PyObject * obj3 = 0 ;
30193 PyObject * obj4 = 0 ;
30194 PyObject * obj5 = 0 ;
44127b65
RD
30195 PyObject * obj6 = 0 ;
30196 char *kwnames[] = {
30197 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30198 };
30199
8edf1c75 30200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30204 SWIG_POINTER_EXCEPTION | 0)) == -1)
30205 SWIG_fail;
44127b65 30206 if (arg2 == NULL) {
2f4c0a16
RD
30207 PyErr_SetString(PyExc_TypeError,"null reference");
30208 SWIG_fail;
30209 }
30210 arg3 = (double) SWIG_AsDouble(obj2);
30211 if (PyErr_Occurred()) SWIG_fail;
30212 arg4 = (double) SWIG_AsDouble(obj3);
30213 if (PyErr_Occurred()) SWIG_fail;
30214 arg5 = (double) SWIG_AsDouble(obj4);
30215 if (PyErr_Occurred()) SWIG_fail;
30216 arg6 = (double) SWIG_AsDouble(obj5);
30217 if (PyErr_Occurred()) SWIG_fail;
44127b65 30218 if (obj6) {
2f4c0a16
RD
30219 arg7 = (bool) SWIG_AsBool(obj6);
30220 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30221 }
30222 {
30223 PyThreadState* __tstate = wxPyBeginAllowThreads();
30224 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30225
30226 wxPyEndAllowThreads(__tstate);
30227 if (PyErr_Occurred()) SWIG_fail;
30228 }
fbc46b20
RD
30229 {
30230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30231 }
44127b65
RD
30232 return resultobj;
30233 fail:
30234 return NULL;
30235}
30236
30237
a95a7133 30238static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30239 PyObject *resultobj;
30240 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30241 wxDC *arg2 = 0 ;
30242 double arg3 ;
30243 double arg4 ;
30244 double arg5 ;
30245 double arg6 ;
30246 bool arg7 = (bool) True ;
30247 PyObject * obj0 = 0 ;
30248 PyObject * obj1 = 0 ;
8edf1c75
RD
30249 PyObject * obj2 = 0 ;
30250 PyObject * obj3 = 0 ;
30251 PyObject * obj4 = 0 ;
30252 PyObject * obj5 = 0 ;
44127b65
RD
30253 PyObject * obj6 = 0 ;
30254 char *kwnames[] = {
30255 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30256 };
30257
8edf1c75 30258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30262 SWIG_POINTER_EXCEPTION | 0)) == -1)
30263 SWIG_fail;
44127b65 30264 if (arg2 == NULL) {
2f4c0a16
RD
30265 PyErr_SetString(PyExc_TypeError,"null reference");
30266 SWIG_fail;
30267 }
30268 arg3 = (double) SWIG_AsDouble(obj2);
30269 if (PyErr_Occurred()) SWIG_fail;
30270 arg4 = (double) SWIG_AsDouble(obj3);
30271 if (PyErr_Occurred()) SWIG_fail;
30272 arg5 = (double) SWIG_AsDouble(obj4);
30273 if (PyErr_Occurred()) SWIG_fail;
30274 arg6 = (double) SWIG_AsDouble(obj5);
30275 if (PyErr_Occurred()) SWIG_fail;
44127b65 30276 if (obj6) {
2f4c0a16
RD
30277 arg7 = (bool) SWIG_AsBool(obj6);
30278 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30279 }
30280 {
30281 PyThreadState* __tstate = wxPyBeginAllowThreads();
30282 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30283
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 Py_INCREF(Py_None); resultobj = Py_None;
30288 return resultobj;
30289 fail:
30290 return NULL;
30291}
30292
30293
a95a7133 30294static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30295 PyObject *resultobj;
30296 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30297 bool arg2 ;
30298 double arg3 ;
30299 double arg4 ;
30300 int arg5 = (int) 0 ;
30301 int arg6 = (int) 0 ;
30302 PyObject * obj0 = 0 ;
30303 PyObject * obj1 = 0 ;
8edf1c75
RD
30304 PyObject * obj2 = 0 ;
30305 PyObject * obj3 = 0 ;
30306 PyObject * obj4 = 0 ;
30307 PyObject * obj5 = 0 ;
44127b65
RD
30308 char *kwnames[] = {
30309 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30310 };
30311
8edf1c75 30312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30315 arg2 = (bool) SWIG_AsBool(obj1);
30316 if (PyErr_Occurred()) SWIG_fail;
30317 arg3 = (double) SWIG_AsDouble(obj2);
30318 if (PyErr_Occurred()) SWIG_fail;
30319 arg4 = (double) SWIG_AsDouble(obj3);
30320 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30321 if (obj4) {
2f4c0a16
RD
30322 arg5 = (int) SWIG_AsInt(obj4);
30323 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30324 }
30325 if (obj5) {
2f4c0a16
RD
30326 arg6 = (int) SWIG_AsInt(obj5);
30327 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30328 }
44127b65
RD
30329 {
30330 PyThreadState* __tstate = wxPyBeginAllowThreads();
30331 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
30332
30333 wxPyEndAllowThreads(__tstate);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
30336 Py_INCREF(Py_None); resultobj = Py_None;
30337 return resultobj;
30338 fail:
30339 return NULL;
30340}
30341
30342
a95a7133 30343static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30344 PyObject *resultobj;
30345 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30346 double arg2 ;
30347 double arg3 ;
30348 int arg4 = (int) 0 ;
30349 int arg5 = (int) 0 ;
30350 PyObject * obj0 = 0 ;
8edf1c75
RD
30351 PyObject * obj1 = 0 ;
30352 PyObject * obj2 = 0 ;
30353 PyObject * obj3 = 0 ;
30354 PyObject * obj4 = 0 ;
44127b65 30355 char *kwnames[] = {
2f4c0a16
RD
30356 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30357 };
30358
30359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30362 arg2 = (double) SWIG_AsDouble(obj1);
30363 if (PyErr_Occurred()) SWIG_fail;
30364 arg3 = (double) SWIG_AsDouble(obj2);
30365 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30366 if (obj3) {
2f4c0a16
RD
30367 arg4 = (int) SWIG_AsInt(obj3);
30368 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30369 }
30370 if (obj4) {
2f4c0a16
RD
30371 arg5 = (int) SWIG_AsInt(obj4);
30372 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30373 }
44127b65
RD
30374 {
30375 PyThreadState* __tstate = wxPyBeginAllowThreads();
30376 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
30377
30378 wxPyEndAllowThreads(__tstate);
30379 if (PyErr_Occurred()) SWIG_fail;
30380 }
30381 Py_INCREF(Py_None); resultobj = Py_None;
30382 return resultobj;
30383 fail:
30384 return NULL;
30385}
30386
30387
a95a7133 30388static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30389 PyObject *resultobj;
30390 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30391 double arg2 ;
30392 double arg3 ;
30393 int arg4 = (int) 0 ;
30394 int arg5 = (int) 0 ;
30395 PyObject * obj0 = 0 ;
8edf1c75
RD
30396 PyObject * obj1 = 0 ;
30397 PyObject * obj2 = 0 ;
30398 PyObject * obj3 = 0 ;
30399 PyObject * obj4 = 0 ;
44127b65
RD
30400 char *kwnames[] = {
30401 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30402 };
30403
8edf1c75 30404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30407 arg2 = (double) SWIG_AsDouble(obj1);
30408 if (PyErr_Occurred()) SWIG_fail;
30409 arg3 = (double) SWIG_AsDouble(obj2);
30410 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30411 if (obj3) {
2f4c0a16
RD
30412 arg4 = (int) SWIG_AsInt(obj3);
30413 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30414 }
30415 if (obj4) {
2f4c0a16
RD
30416 arg5 = (int) SWIG_AsInt(obj4);
30417 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30418 }
44127b65
RD
30419 {
30420 PyThreadState* __tstate = wxPyBeginAllowThreads();
30421 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
30422
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 Py_INCREF(Py_None); resultobj = Py_None;
30427 return resultobj;
30428 fail:
30429 return NULL;
30430}
30431
30432
a95a7133 30433static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30434 PyObject *resultobj;
30435 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30436 bool arg2 ;
30437 double arg3 ;
30438 double arg4 ;
30439 int arg5 = (int) 0 ;
30440 int arg6 = (int) 0 ;
30441 PyObject * obj0 = 0 ;
30442 PyObject * obj1 = 0 ;
8edf1c75
RD
30443 PyObject * obj2 = 0 ;
30444 PyObject * obj3 = 0 ;
30445 PyObject * obj4 = 0 ;
30446 PyObject * obj5 = 0 ;
44127b65
RD
30447 char *kwnames[] = {
30448 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30449 };
30450
8edf1c75 30451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30454 arg2 = (bool) SWIG_AsBool(obj1);
30455 if (PyErr_Occurred()) SWIG_fail;
30456 arg3 = (double) SWIG_AsDouble(obj2);
30457 if (PyErr_Occurred()) SWIG_fail;
30458 arg4 = (double) SWIG_AsDouble(obj3);
30459 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30460 if (obj4) {
2f4c0a16
RD
30461 arg5 = (int) SWIG_AsInt(obj4);
30462 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30463 }
30464 if (obj5) {
2f4c0a16
RD
30465 arg6 = (int) SWIG_AsInt(obj5);
30466 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30467 }
44127b65
RD
30468 {
30469 PyThreadState* __tstate = wxPyBeginAllowThreads();
30470 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
30471
30472 wxPyEndAllowThreads(__tstate);
30473 if (PyErr_Occurred()) SWIG_fail;
30474 }
30475 Py_INCREF(Py_None); resultobj = Py_None;
30476 return resultobj;
30477 fail:
30478 return NULL;
30479}
30480
30481
a95a7133 30482static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30483 PyObject *resultobj;
30484 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30485 double arg2 ;
30486 double arg3 ;
30487 int arg4 = (int) 0 ;
30488 int arg5 = (int) 0 ;
30489 PyObject * obj0 = 0 ;
8edf1c75
RD
30490 PyObject * obj1 = 0 ;
30491 PyObject * obj2 = 0 ;
30492 PyObject * obj3 = 0 ;
30493 PyObject * obj4 = 0 ;
44127b65
RD
30494 char *kwnames[] = {
30495 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30496 };
30497
8edf1c75 30498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30501 arg2 = (double) SWIG_AsDouble(obj1);
30502 if (PyErr_Occurred()) SWIG_fail;
30503 arg3 = (double) SWIG_AsDouble(obj2);
30504 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30505 if (obj3) {
2f4c0a16
RD
30506 arg4 = (int) SWIG_AsInt(obj3);
30507 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30508 }
30509 if (obj4) {
2f4c0a16
RD
30510 arg5 = (int) SWIG_AsInt(obj4);
30511 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30512 }
44127b65
RD
30513 {
30514 PyThreadState* __tstate = wxPyBeginAllowThreads();
30515 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
30516
30517 wxPyEndAllowThreads(__tstate);
30518 if (PyErr_Occurred()) SWIG_fail;
30519 }
30520 Py_INCREF(Py_None); resultobj = Py_None;
30521 return resultobj;
30522 fail:
30523 return NULL;
30524}
30525
30526
a95a7133 30527static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30528 PyObject *resultobj;
30529 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30530 double arg2 ;
30531 double arg3 ;
30532 int arg4 = (int) 0 ;
30533 int arg5 = (int) 0 ;
30534 PyObject * obj0 = 0 ;
8edf1c75
RD
30535 PyObject * obj1 = 0 ;
30536 PyObject * obj2 = 0 ;
30537 PyObject * obj3 = 0 ;
30538 PyObject * obj4 = 0 ;
44127b65
RD
30539 char *kwnames[] = {
30540 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30541 };
30542
8edf1c75 30543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
30544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30546 arg2 = (double) SWIG_AsDouble(obj1);
30547 if (PyErr_Occurred()) SWIG_fail;
30548 arg3 = (double) SWIG_AsDouble(obj2);
30549 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30550 if (obj3) {
2f4c0a16
RD
30551 arg4 = (int) SWIG_AsInt(obj3);
30552 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30553 }
30554 if (obj4) {
2f4c0a16
RD
30555 arg5 = (int) SWIG_AsInt(obj4);
30556 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30557 }
44127b65
RD
30558 {
30559 PyThreadState* __tstate = wxPyBeginAllowThreads();
30560 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
30561
30562 wxPyEndAllowThreads(__tstate);
30563 if (PyErr_Occurred()) SWIG_fail;
30564 }
30565 Py_INCREF(Py_None); resultobj = Py_None;
30566 return resultobj;
30567 fail:
30568 return NULL;
30569}
30570
30571
a95a7133 30572static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30573 PyObject *resultobj;
30574 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30575 wxDC *arg2 = 0 ;
30576 double arg3 ;
30577 double arg4 ;
30578 double arg5 ;
30579 double arg6 ;
30580 PyObject * obj0 = 0 ;
30581 PyObject * obj1 = 0 ;
8edf1c75
RD
30582 PyObject * obj2 = 0 ;
30583 PyObject * obj3 = 0 ;
30584 PyObject * obj4 = 0 ;
30585 PyObject * obj5 = 0 ;
44127b65
RD
30586 char *kwnames[] = {
30587 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30588 };
30589
8edf1c75 30590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30594 SWIG_POINTER_EXCEPTION | 0)) == -1)
30595 SWIG_fail;
44127b65 30596 if (arg2 == NULL) {
2f4c0a16
RD
30597 PyErr_SetString(PyExc_TypeError,"null reference");
30598 SWIG_fail;
8edf1c75 30599 }
2f4c0a16
RD
30600 arg3 = (double) SWIG_AsDouble(obj2);
30601 if (PyErr_Occurred()) SWIG_fail;
30602 arg4 = (double) SWIG_AsDouble(obj3);
30603 if (PyErr_Occurred()) SWIG_fail;
30604 arg5 = (double) SWIG_AsDouble(obj4);
30605 if (PyErr_Occurred()) SWIG_fail;
30606 arg6 = (double) SWIG_AsDouble(obj5);
30607 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
30611
30612 wxPyEndAllowThreads(__tstate);
30613 if (PyErr_Occurred()) SWIG_fail;
30614 }
30615 Py_INCREF(Py_None); resultobj = Py_None;
30616 return resultobj;
30617 fail:
30618 return NULL;
30619}
30620
30621
a95a7133 30622static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30623 PyObject *resultobj;
30624 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30625 wxDC *arg2 = 0 ;
30626 PyObject * obj0 = 0 ;
30627 PyObject * obj1 = 0 ;
30628 char *kwnames[] = {
30629 (char *) "self",(char *) "dc", NULL
30630 };
30631
30632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30636 SWIG_POINTER_EXCEPTION | 0)) == -1)
30637 SWIG_fail;
44127b65 30638 if (arg2 == NULL) {
2f4c0a16
RD
30639 PyErr_SetString(PyExc_TypeError,"null reference");
30640 SWIG_fail;
44127b65
RD
30641 }
30642 {
30643 PyThreadState* __tstate = wxPyBeginAllowThreads();
30644 (arg1)->base_OnDrawControlPoints(*arg2);
30645
30646 wxPyEndAllowThreads(__tstate);
30647 if (PyErr_Occurred()) SWIG_fail;
30648 }
30649 Py_INCREF(Py_None); resultobj = Py_None;
30650 return resultobj;
30651 fail:
30652 return NULL;
30653}
30654
30655
a95a7133 30656static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30657 PyObject *resultobj;
30658 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30659 wxDC *arg2 = 0 ;
30660 PyObject * obj0 = 0 ;
30661 PyObject * obj1 = 0 ;
30662 char *kwnames[] = {
30663 (char *) "self",(char *) "dc", NULL
30664 };
30665
30666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30670 SWIG_POINTER_EXCEPTION | 0)) == -1)
30671 SWIG_fail;
44127b65 30672 if (arg2 == NULL) {
2f4c0a16
RD
30673 PyErr_SetString(PyExc_TypeError,"null reference");
30674 SWIG_fail;
44127b65
RD
30675 }
30676 {
30677 PyThreadState* __tstate = wxPyBeginAllowThreads();
30678 (arg1)->base_OnEraseControlPoints(*arg2);
30679
30680 wxPyEndAllowThreads(__tstate);
30681 if (PyErr_Occurred()) SWIG_fail;
30682 }
30683 Py_INCREF(Py_None); resultobj = Py_None;
30684 return resultobj;
30685 fail:
30686 return NULL;
30687}
30688
30689
a95a7133 30690static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30691 PyObject *resultobj;
30692 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30693 wxDC *arg2 = 0 ;
30694 bool arg3 = (bool) True ;
30695 PyObject * obj0 = 0 ;
30696 PyObject * obj1 = 0 ;
30697 PyObject * obj2 = 0 ;
30698 char *kwnames[] = {
30699 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30700 };
30701
30702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30706 SWIG_POINTER_EXCEPTION | 0)) == -1)
30707 SWIG_fail;
44127b65 30708 if (arg2 == NULL) {
2f4c0a16
RD
30709 PyErr_SetString(PyExc_TypeError,"null reference");
30710 SWIG_fail;
44127b65
RD
30711 }
30712 if (obj2) {
2f4c0a16
RD
30713 arg3 = (bool) SWIG_AsBool(obj2);
30714 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30715 }
30716 {
30717 PyThreadState* __tstate = wxPyBeginAllowThreads();
30718 (arg1)->base_OnMoveLink(*arg2,arg3);
30719
30720 wxPyEndAllowThreads(__tstate);
30721 if (PyErr_Occurred()) SWIG_fail;
30722 }
30723 Py_INCREF(Py_None); resultobj = Py_None;
30724 return resultobj;
30725 fail:
30726 return NULL;
30727}
30728
30729
a95a7133 30730static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30731 PyObject *resultobj;
30732 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30733 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30734 bool arg3 ;
30735 double arg4 ;
30736 double arg5 ;
30737 int arg6 = (int) 0 ;
30738 int arg7 = (int) 0 ;
30739 PyObject * obj0 = 0 ;
30740 PyObject * obj1 = 0 ;
30741 PyObject * obj2 = 0 ;
8edf1c75
RD
30742 PyObject * obj3 = 0 ;
30743 PyObject * obj4 = 0 ;
30744 PyObject * obj5 = 0 ;
30745 PyObject * obj6 = 0 ;
44127b65
RD
30746 char *kwnames[] = {
30747 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30748 };
30749
8edf1c75 30750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
30751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30755 arg3 = (bool) SWIG_AsBool(obj2);
30756 if (PyErr_Occurred()) SWIG_fail;
30757 arg4 = (double) SWIG_AsDouble(obj3);
30758 if (PyErr_Occurred()) SWIG_fail;
30759 arg5 = (double) SWIG_AsDouble(obj4);
30760 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30761 if (obj5) {
2f4c0a16
RD
30762 arg6 = (int) SWIG_AsInt(obj5);
30763 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30764 }
30765 if (obj6) {
2f4c0a16
RD
30766 arg7 = (int) SWIG_AsInt(obj6);
30767 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30768 }
44127b65
RD
30769 {
30770 PyThreadState* __tstate = wxPyBeginAllowThreads();
30771 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30772
30773 wxPyEndAllowThreads(__tstate);
30774 if (PyErr_Occurred()) SWIG_fail;
30775 }
30776 Py_INCREF(Py_None); resultobj = Py_None;
30777 return resultobj;
30778 fail:
30779 return NULL;
30780}
30781
30782
a95a7133 30783static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30784 PyObject *resultobj;
30785 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30786 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30787 double arg3 ;
30788 double arg4 ;
30789 int arg5 = (int) 0 ;
30790 int arg6 = (int) 0 ;
30791 PyObject * obj0 = 0 ;
30792 PyObject * obj1 = 0 ;
8edf1c75
RD
30793 PyObject * obj2 = 0 ;
30794 PyObject * obj3 = 0 ;
30795 PyObject * obj4 = 0 ;
30796 PyObject * obj5 = 0 ;
44127b65
RD
30797 char *kwnames[] = {
30798 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30799 };
30800
8edf1c75 30801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30806 arg3 = (double) SWIG_AsDouble(obj2);
30807 if (PyErr_Occurred()) SWIG_fail;
30808 arg4 = (double) SWIG_AsDouble(obj3);
30809 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30810 if (obj4) {
2f4c0a16
RD
30811 arg5 = (int) SWIG_AsInt(obj4);
30812 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30813 }
30814 if (obj5) {
2f4c0a16
RD
30815 arg6 = (int) SWIG_AsInt(obj5);
30816 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30817 }
44127b65
RD
30818 {
30819 PyThreadState* __tstate = wxPyBeginAllowThreads();
30820 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30821
30822 wxPyEndAllowThreads(__tstate);
30823 if (PyErr_Occurred()) SWIG_fail;
30824 }
30825 Py_INCREF(Py_None); resultobj = Py_None;
30826 return resultobj;
30827 fail:
30828 return NULL;
30829}
30830
30831
a95a7133 30832static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30833 PyObject *resultobj;
30834 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30835 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30836 double arg3 ;
30837 double arg4 ;
30838 int arg5 = (int) 0 ;
30839 int arg6 = (int) 0 ;
30840 PyObject * obj0 = 0 ;
30841 PyObject * obj1 = 0 ;
8edf1c75
RD
30842 PyObject * obj2 = 0 ;
30843 PyObject * obj3 = 0 ;
30844 PyObject * obj4 = 0 ;
30845 PyObject * obj5 = 0 ;
44127b65
RD
30846 char *kwnames[] = {
30847 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30848 };
30849
8edf1c75 30850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
30851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyControlPoint,
30854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30855 arg3 = (double) SWIG_AsDouble(obj2);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 arg4 = (double) SWIG_AsDouble(obj3);
30858 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30859 if (obj4) {
2f4c0a16
RD
30860 arg5 = (int) SWIG_AsInt(obj4);
30861 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
30862 }
30863 if (obj5) {
2f4c0a16
RD
30864 arg6 = (int) SWIG_AsInt(obj5);
30865 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30866 }
44127b65
RD
30867 {
30868 PyThreadState* __tstate = wxPyBeginAllowThreads();
30869 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30870
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 Py_INCREF(Py_None); resultobj = Py_None;
30875 return resultobj;
30876 fail:
30877 return NULL;
30878}
30879
30880
a95a7133 30881static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30882 PyObject *resultobj;
30883 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30884 double arg2 ;
30885 double arg3 ;
30886 PyObject * obj0 = 0 ;
8edf1c75
RD
30887 PyObject * obj1 = 0 ;
30888 PyObject * obj2 = 0 ;
44127b65
RD
30889 char *kwnames[] = {
30890 (char *) "self",(char *) "w",(char *) "h", NULL
30891 };
30892
8edf1c75 30893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30896 arg2 = (double) SWIG_AsDouble(obj1);
30897 if (PyErr_Occurred()) SWIG_fail;
30898 arg3 = (double) SWIG_AsDouble(obj2);
30899 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30900 {
30901 PyThreadState* __tstate = wxPyBeginAllowThreads();
30902 (arg1)->base_OnBeginSize(arg2,arg3);
30903
30904 wxPyEndAllowThreads(__tstate);
30905 if (PyErr_Occurred()) SWIG_fail;
30906 }
30907 Py_INCREF(Py_None); resultobj = Py_None;
30908 return resultobj;
30909 fail:
30910 return NULL;
30911}
30912
30913
a95a7133 30914static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30915 PyObject *resultobj;
30916 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30917 double arg2 ;
30918 double arg3 ;
30919 PyObject * obj0 = 0 ;
8edf1c75
RD
30920 PyObject * obj1 = 0 ;
30921 PyObject * obj2 = 0 ;
44127b65
RD
30922 char *kwnames[] = {
30923 (char *) "self",(char *) "w",(char *) "h", NULL
30924 };
30925
8edf1c75 30926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextShape,
30928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30929 arg2 = (double) SWIG_AsDouble(obj1);
30930 if (PyErr_Occurred()) SWIG_fail;
30931 arg3 = (double) SWIG_AsDouble(obj2);
30932 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
30933 {
30934 PyThreadState* __tstate = wxPyBeginAllowThreads();
30935 (arg1)->base_OnEndSize(arg2,arg3);
30936
30937 wxPyEndAllowThreads(__tstate);
30938 if (PyErr_Occurred()) SWIG_fail;
30939 }
30940 Py_INCREF(Py_None); resultobj = Py_None;
30941 return resultobj;
30942 fail:
30943 return NULL;
30944}
30945
30946
a95a7133 30947static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
30948 PyObject *obj;
30949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30950 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
30951 Py_INCREF(obj);
30952 return Py_BuildValue((char *)"");
30953}
a95a7133 30954static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30955 PyObject *resultobj;
30956 wxDiagram *result;
30957 char *kwnames[] = {
30958 NULL
30959 };
30960
30961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
30962 {
30963 PyThreadState* __tstate = wxPyBeginAllowThreads();
30964 result = (wxDiagram *)new wxDiagram();
30965
30966 wxPyEndAllowThreads(__tstate);
30967 if (PyErr_Occurred()) SWIG_fail;
30968 }
30969 {
412d302d 30970 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
30971 }
30972 return resultobj;
30973 fail:
30974 return NULL;
30975}
30976
30977
a95a7133 30978static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
30979 PyObject *resultobj;
30980 wxDiagram *arg1 = (wxDiagram *) 0 ;
30981 wxPyShape *arg2 = (wxPyShape *) 0 ;
30982 wxPyShape *arg3 = (wxPyShape *) NULL ;
30983 PyObject * obj0 = 0 ;
30984 PyObject * obj1 = 0 ;
30985 PyObject * obj2 = 0 ;
30986 char *kwnames[] = {
30987 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
30988 };
30989
30990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
30992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
30994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 30995 if (obj2) {
2f4c0a16
RD
30996 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
30997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
30998 }
30999 {
31000 PyThreadState* __tstate = wxPyBeginAllowThreads();
31001 (arg1)->AddShape(arg2,arg3);
31002
31003 wxPyEndAllowThreads(__tstate);
31004 if (PyErr_Occurred()) SWIG_fail;
31005 }
31006 Py_INCREF(Py_None); resultobj = Py_None;
31007 return resultobj;
31008 fail:
31009 return NULL;
31010}
31011
31012
a95a7133 31013static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31014 PyObject *resultobj;
31015 wxDiagram *arg1 = (wxDiagram *) 0 ;
31016 wxDC *arg2 = 0 ;
31017 PyObject * obj0 = 0 ;
31018 PyObject * obj1 = 0 ;
31019 char *kwnames[] = {
31020 (char *) "self",(char *) "dc", NULL
31021 };
31022
31023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31027 SWIG_POINTER_EXCEPTION | 0)) == -1)
31028 SWIG_fail;
44127b65 31029 if (arg2 == NULL) {
2f4c0a16
RD
31030 PyErr_SetString(PyExc_TypeError,"null reference");
31031 SWIG_fail;
44127b65
RD
31032 }
31033 {
31034 PyThreadState* __tstate = wxPyBeginAllowThreads();
31035 (arg1)->Clear(*arg2);
31036
31037 wxPyEndAllowThreads(__tstate);
31038 if (PyErr_Occurred()) SWIG_fail;
31039 }
31040 Py_INCREF(Py_None); resultobj = Py_None;
31041 return resultobj;
31042 fail:
31043 return NULL;
31044}
31045
31046
a95a7133 31047static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31048 PyObject *resultobj;
31049 wxDiagram *arg1 = (wxDiagram *) 0 ;
31050 PyObject * obj0 = 0 ;
31051 char *kwnames[] = {
31052 (char *) "self", NULL
31053 };
31054
31055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31058 {
31059 PyThreadState* __tstate = wxPyBeginAllowThreads();
31060 (arg1)->DeleteAllShapes();
31061
31062 wxPyEndAllowThreads(__tstate);
31063 if (PyErr_Occurred()) SWIG_fail;
31064 }
31065 Py_INCREF(Py_None); resultobj = Py_None;
31066 return resultobj;
31067 fail:
31068 return NULL;
31069}
31070
31071
a95a7133 31072static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31073 PyObject *resultobj;
31074 wxDiagram *arg1 = (wxDiagram *) 0 ;
31075 wxDC *arg2 = 0 ;
31076 double arg3 ;
31077 double arg4 ;
31078 double arg5 ;
31079 double arg6 ;
31080 PyObject * obj0 = 0 ;
31081 PyObject * obj1 = 0 ;
8edf1c75
RD
31082 PyObject * obj2 = 0 ;
31083 PyObject * obj3 = 0 ;
31084 PyObject * obj4 = 0 ;
31085 PyObject * obj5 = 0 ;
44127b65
RD
31086 char *kwnames[] = {
31087 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31088 };
31089
8edf1c75 31090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
31091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31094 SWIG_POINTER_EXCEPTION | 0)) == -1)
31095 SWIG_fail;
44127b65 31096 if (arg2 == NULL) {
2f4c0a16
RD
31097 PyErr_SetString(PyExc_TypeError,"null reference");
31098 SWIG_fail;
8edf1c75 31099 }
2f4c0a16
RD
31100 arg3 = (double) SWIG_AsDouble(obj2);
31101 if (PyErr_Occurred()) SWIG_fail;
31102 arg4 = (double) SWIG_AsDouble(obj3);
31103 if (PyErr_Occurred()) SWIG_fail;
31104 arg5 = (double) SWIG_AsDouble(obj4);
31105 if (PyErr_Occurred()) SWIG_fail;
31106 arg6 = (double) SWIG_AsDouble(obj5);
31107 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31108 {
31109 PyThreadState* __tstate = wxPyBeginAllowThreads();
31110 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
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
a95a7133 31122static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31123 PyObject *resultobj;
31124 wxDiagram *arg1 = (wxDiagram *) 0 ;
31125 long arg2 ;
31126 wxPyShape *result;
31127 PyObject * obj0 = 0 ;
8edf1c75 31128 PyObject * obj1 = 0 ;
44127b65
RD
31129 char *kwnames[] = {
31130 (char *) "self",(char *) "id", NULL
31131 };
31132
8edf1c75 31133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31136 arg2 = (long) SWIG_AsLong(obj1);
31137 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31138 {
31139 PyThreadState* __tstate = wxPyBeginAllowThreads();
31140 result = (wxPyShape *)(arg1)->FindShape(arg2);
31141
31142 wxPyEndAllowThreads(__tstate);
31143 if (PyErr_Occurred()) SWIG_fail;
31144 }
31145 {
412d302d 31146 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
31147 }
31148 return resultobj;
31149 fail:
31150 return NULL;
31151}
31152
31153
a95a7133 31154static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31155 PyObject *resultobj;
31156 wxDiagram *arg1 = (wxDiagram *) 0 ;
31157 wxPyShapeCanvas *result;
31158 PyObject * obj0 = 0 ;
31159 char *kwnames[] = {
31160 (char *) "self", NULL
31161 };
31162
31163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31166 {
31167 PyThreadState* __tstate = wxPyBeginAllowThreads();
31168 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
31169
31170 wxPyEndAllowThreads(__tstate);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
31173 {
412d302d 31174 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
31175 }
31176 return resultobj;
31177 fail:
31178 return NULL;
31179}
31180
31181
a95a7133 31182static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31183 PyObject *resultobj;
31184 wxDiagram *arg1 = (wxDiagram *) 0 ;
31185 int result;
31186 PyObject * obj0 = 0 ;
31187 char *kwnames[] = {
31188 (char *) "self", NULL
31189 };
31190
31191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31194 {
31195 PyThreadState* __tstate = wxPyBeginAllowThreads();
31196 result = (int)(arg1)->GetCount();
31197
31198 wxPyEndAllowThreads(__tstate);
31199 if (PyErr_Occurred()) SWIG_fail;
31200 }
2f4c0a16 31201 resultobj = SWIG_FromInt((int)result);
44127b65
RD
31202 return resultobj;
31203 fail:
31204 return NULL;
31205}
31206
31207
a95a7133 31208static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31209 PyObject *resultobj;
31210 wxDiagram *arg1 = (wxDiagram *) 0 ;
31211 double result;
31212 PyObject * obj0 = 0 ;
31213 char *kwnames[] = {
31214 (char *) "self", NULL
31215 };
31216
31217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31220 {
31221 PyThreadState* __tstate = wxPyBeginAllowThreads();
31222 result = (double)(arg1)->GetGridSpacing();
31223
31224 wxPyEndAllowThreads(__tstate);
31225 if (PyErr_Occurred()) SWIG_fail;
31226 }
2f4c0a16 31227 resultobj = SWIG_FromDouble((double)result);
44127b65
RD
31228 return resultobj;
31229 fail:
31230 return NULL;
31231}
31232
31233
a95a7133 31234static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31235 PyObject *resultobj;
31236 wxDiagram *arg1 = (wxDiagram *) 0 ;
31237 int result;
31238 PyObject * obj0 = 0 ;
31239 char *kwnames[] = {
31240 (char *) "self", NULL
31241 };
31242
31243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31246 {
31247 PyThreadState* __tstate = wxPyBeginAllowThreads();
31248 result = (int)(arg1)->GetMouseTolerance();
31249
31250 wxPyEndAllowThreads(__tstate);
31251 if (PyErr_Occurred()) SWIG_fail;
31252 }
2f4c0a16 31253 resultobj = SWIG_FromInt((int)result);
44127b65
RD
31254 return resultobj;
31255 fail:
31256 return NULL;
31257}
31258
31259
a95a7133 31260static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31261 PyObject *resultobj;
31262 wxDiagram *arg1 = (wxDiagram *) 0 ;
31263 PyObject *result;
31264 PyObject * obj0 = 0 ;
31265 char *kwnames[] = {
31266 (char *) "self", NULL
31267 };
31268
31269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31272 {
31273 PyThreadState* __tstate = wxPyBeginAllowThreads();
31274 result = (PyObject *)wxDiagram_GetShapeList(arg1);
31275
31276 wxPyEndAllowThreads(__tstate);
31277 if (PyErr_Occurred()) SWIG_fail;
31278 }
31279 resultobj = result;
31280 return resultobj;
31281 fail:
31282 return NULL;
31283}
31284
31285
a95a7133 31286static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31287 PyObject *resultobj;
31288 wxDiagram *arg1 = (wxDiagram *) 0 ;
31289 bool result;
31290 PyObject * obj0 = 0 ;
31291 char *kwnames[] = {
31292 (char *) "self", NULL
31293 };
31294
31295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31298 {
31299 PyThreadState* __tstate = wxPyBeginAllowThreads();
31300 result = (bool)(arg1)->GetQuickEditMode();
31301
31302 wxPyEndAllowThreads(__tstate);
31303 if (PyErr_Occurred()) SWIG_fail;
31304 }
fbc46b20
RD
31305 {
31306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31307 }
44127b65
RD
31308 return resultobj;
31309 fail:
31310 return NULL;
31311}
31312
31313
a95a7133 31314static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31315 PyObject *resultobj;
31316 wxDiagram *arg1 = (wxDiagram *) 0 ;
31317 bool result;
31318 PyObject * obj0 = 0 ;
31319 char *kwnames[] = {
31320 (char *) "self", NULL
31321 };
31322
31323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31326 {
31327 PyThreadState* __tstate = wxPyBeginAllowThreads();
31328 result = (bool)(arg1)->GetSnapToGrid();
31329
31330 wxPyEndAllowThreads(__tstate);
31331 if (PyErr_Occurred()) SWIG_fail;
31332 }
fbc46b20
RD
31333 {
31334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31335 }
44127b65
RD
31336 return resultobj;
31337 fail:
31338 return NULL;
31339}
31340
31341
a95a7133 31342static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31343 PyObject *resultobj;
31344 wxDiagram *arg1 = (wxDiagram *) 0 ;
31345 wxPyShape *arg2 = (wxPyShape *) 0 ;
31346 PyObject * obj0 = 0 ;
31347 PyObject * obj1 = 0 ;
31348 char *kwnames[] = {
31349 (char *) "self",(char *) "shape", NULL
31350 };
31351
31352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31357 {
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 (arg1)->InsertShape(arg2);
31360
31361 wxPyEndAllowThreads(__tstate);
31362 if (PyErr_Occurred()) SWIG_fail;
31363 }
31364 Py_INCREF(Py_None); resultobj = Py_None;
31365 return resultobj;
31366 fail:
31367 return NULL;
31368}
31369
31370
a95a7133 31371static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31372 PyObject *resultobj;
31373 wxDiagram *arg1 = (wxDiagram *) 0 ;
31374 wxDC *arg2 = 0 ;
31375 PyObject * obj0 = 0 ;
31376 PyObject * obj1 = 0 ;
31377 char *kwnames[] = {
31378 (char *) "self",(char *) "dc", NULL
31379 };
31380
31381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31385 SWIG_POINTER_EXCEPTION | 0)) == -1)
31386 SWIG_fail;
44127b65 31387 if (arg2 == NULL) {
2f4c0a16
RD
31388 PyErr_SetString(PyExc_TypeError,"null reference");
31389 SWIG_fail;
44127b65
RD
31390 }
31391 {
31392 PyThreadState* __tstate = wxPyBeginAllowThreads();
31393 (arg1)->RecentreAll(*arg2);
31394
31395 wxPyEndAllowThreads(__tstate);
31396 if (PyErr_Occurred()) SWIG_fail;
31397 }
31398 Py_INCREF(Py_None); resultobj = Py_None;
31399 return resultobj;
31400 fail:
31401 return NULL;
31402}
31403
31404
a95a7133 31405static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31406 PyObject *resultobj;
31407 wxDiagram *arg1 = (wxDiagram *) 0 ;
31408 wxDC *arg2 = 0 ;
31409 PyObject * obj0 = 0 ;
31410 PyObject * obj1 = 0 ;
31411 char *kwnames[] = {
31412 (char *) "self",(char *) "dc", NULL
31413 };
31414
31415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31419 SWIG_POINTER_EXCEPTION | 0)) == -1)
31420 SWIG_fail;
44127b65 31421 if (arg2 == NULL) {
2f4c0a16
RD
31422 PyErr_SetString(PyExc_TypeError,"null reference");
31423 SWIG_fail;
44127b65
RD
31424 }
31425 {
31426 PyThreadState* __tstate = wxPyBeginAllowThreads();
31427 (arg1)->Redraw(*arg2);
31428
31429 wxPyEndAllowThreads(__tstate);
31430 if (PyErr_Occurred()) SWIG_fail;
31431 }
31432 Py_INCREF(Py_None); resultobj = Py_None;
31433 return resultobj;
31434 fail:
31435 return NULL;
31436}
31437
31438
a95a7133 31439static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31440 PyObject *resultobj;
31441 wxDiagram *arg1 = (wxDiagram *) 0 ;
31442 PyObject * obj0 = 0 ;
31443 char *kwnames[] = {
31444 (char *) "self", NULL
31445 };
31446
31447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31450 {
31451 PyThreadState* __tstate = wxPyBeginAllowThreads();
31452 (arg1)->RemoveAllShapes();
31453
31454 wxPyEndAllowThreads(__tstate);
31455 if (PyErr_Occurred()) SWIG_fail;
31456 }
31457 Py_INCREF(Py_None); resultobj = Py_None;
31458 return resultobj;
31459 fail:
31460 return NULL;
31461}
31462
31463
a95a7133 31464static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31465 PyObject *resultobj;
31466 wxDiagram *arg1 = (wxDiagram *) 0 ;
31467 wxPyShape *arg2 = (wxPyShape *) 0 ;
31468 PyObject * obj0 = 0 ;
31469 PyObject * obj1 = 0 ;
31470 char *kwnames[] = {
31471 (char *) "self",(char *) "shape", NULL
31472 };
31473
31474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31479 {
31480 PyThreadState* __tstate = wxPyBeginAllowThreads();
31481 (arg1)->RemoveShape(arg2);
31482
31483 wxPyEndAllowThreads(__tstate);
31484 if (PyErr_Occurred()) SWIG_fail;
31485 }
31486 Py_INCREF(Py_None); resultobj = Py_None;
31487 return resultobj;
31488 fail:
31489 return NULL;
31490}
31491
31492
a95a7133 31493static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31494 PyObject *resultobj;
31495 wxDiagram *arg1 = (wxDiagram *) 0 ;
31496 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
31497 PyObject * obj0 = 0 ;
31498 PyObject * obj1 = 0 ;
31499 char *kwnames[] = {
31500 (char *) "self",(char *) "canvas", NULL
31501 };
31502
31503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShapeCanvas,
31507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31508 {
31509 PyThreadState* __tstate = wxPyBeginAllowThreads();
31510 (arg1)->SetCanvas(arg2);
31511
31512 wxPyEndAllowThreads(__tstate);
31513 if (PyErr_Occurred()) SWIG_fail;
31514 }
31515 Py_INCREF(Py_None); resultobj = Py_None;
31516 return resultobj;
31517 fail:
31518 return NULL;
31519}
31520
31521
a95a7133 31522static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31523 PyObject *resultobj;
31524 wxDiagram *arg1 = (wxDiagram *) 0 ;
31525 double arg2 ;
31526 PyObject * obj0 = 0 ;
8edf1c75 31527 PyObject * obj1 = 0 ;
44127b65
RD
31528 char *kwnames[] = {
31529 (char *) "self",(char *) "spacing", NULL
31530 };
31531
8edf1c75 31532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31535 arg2 = (double) SWIG_AsDouble(obj1);
31536 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31537 {
31538 PyThreadState* __tstate = wxPyBeginAllowThreads();
31539 (arg1)->SetGridSpacing(arg2);
31540
31541 wxPyEndAllowThreads(__tstate);
31542 if (PyErr_Occurred()) SWIG_fail;
31543 }
31544 Py_INCREF(Py_None); resultobj = Py_None;
31545 return resultobj;
31546 fail:
31547 return NULL;
31548}
31549
31550
a95a7133 31551static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31552 PyObject *resultobj;
31553 wxDiagram *arg1 = (wxDiagram *) 0 ;
31554 int arg2 ;
31555 PyObject * obj0 = 0 ;
8edf1c75 31556 PyObject * obj1 = 0 ;
44127b65
RD
31557 char *kwnames[] = {
31558 (char *) "self",(char *) "tolerance", NULL
31559 };
31560
8edf1c75 31561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31564 arg2 = (int) SWIG_AsInt(obj1);
31565 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31566 {
31567 PyThreadState* __tstate = wxPyBeginAllowThreads();
31568 (arg1)->SetMouseTolerance(arg2);
31569
31570 wxPyEndAllowThreads(__tstate);
31571 if (PyErr_Occurred()) SWIG_fail;
31572 }
31573 Py_INCREF(Py_None); resultobj = Py_None;
31574 return resultobj;
31575 fail:
31576 return NULL;
31577}
31578
31579
a95a7133 31580static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31581 PyObject *resultobj;
31582 wxDiagram *arg1 = (wxDiagram *) 0 ;
31583 bool arg2 ;
31584 PyObject * obj0 = 0 ;
31585 PyObject * obj1 = 0 ;
31586 char *kwnames[] = {
31587 (char *) "self",(char *) "mode", NULL
31588 };
31589
31590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31593 arg2 = (bool) SWIG_AsBool(obj1);
31594 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31595 {
31596 PyThreadState* __tstate = wxPyBeginAllowThreads();
31597 (arg1)->SetQuickEditMode(arg2);
31598
31599 wxPyEndAllowThreads(__tstate);
31600 if (PyErr_Occurred()) SWIG_fail;
31601 }
31602 Py_INCREF(Py_None); resultobj = Py_None;
31603 return resultobj;
31604 fail:
31605 return NULL;
31606}
31607
31608
a95a7133 31609static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31610 PyObject *resultobj;
31611 wxDiagram *arg1 = (wxDiagram *) 0 ;
31612 bool arg2 ;
31613 PyObject * obj0 = 0 ;
31614 PyObject * obj1 = 0 ;
31615 char *kwnames[] = {
31616 (char *) "self",(char *) "snap", NULL
31617 };
31618
31619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31622 arg2 = (bool) SWIG_AsBool(obj1);
31623 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31624 {
31625 PyThreadState* __tstate = wxPyBeginAllowThreads();
31626 (arg1)->SetSnapToGrid(arg2);
31627
31628 wxPyEndAllowThreads(__tstate);
31629 if (PyErr_Occurred()) SWIG_fail;
31630 }
31631 Py_INCREF(Py_None); resultobj = Py_None;
31632 return resultobj;
31633 fail:
31634 return NULL;
31635}
31636
31637
a95a7133 31638static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31639 PyObject *resultobj;
31640 wxDiagram *arg1 = (wxDiagram *) 0 ;
31641 bool arg2 ;
31642 PyObject * obj0 = 0 ;
31643 PyObject * obj1 = 0 ;
31644 char *kwnames[] = {
31645 (char *) "self",(char *) "show", NULL
31646 };
31647
31648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31651 arg2 = (bool) SWIG_AsBool(obj1);
31652 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31653 {
31654 PyThreadState* __tstate = wxPyBeginAllowThreads();
31655 (arg1)->ShowAll(arg2);
31656
31657 wxPyEndAllowThreads(__tstate);
31658 if (PyErr_Occurred()) SWIG_fail;
31659 }
31660 Py_INCREF(Py_None); resultobj = Py_None;
31661 return resultobj;
31662 fail:
31663 return NULL;
31664}
31665
31666
a95a7133 31667static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31668 PyObject *resultobj;
31669 wxDiagram *arg1 = (wxDiagram *) 0 ;
31670 double *arg2 = (double *) 0 ;
31671 double *arg3 = (double *) 0 ;
31672 double temp2 ;
31673 double temp3 ;
31674 PyObject * obj0 = 0 ;
31675 PyObject * obj1 = 0 ;
31676 PyObject * obj2 = 0 ;
31677 char *kwnames[] = {
31678 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31679 };
31680
31681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDiagram,
31683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31684 {
31685 temp2 = PyFloat_AsDouble(obj1);
31686 if (PyErr_Occurred()) SWIG_fail;
31687 arg2 = &temp2;
31688 }
31689 {
31690 temp3 = PyFloat_AsDouble(obj2);
31691 if (PyErr_Occurred()) SWIG_fail;
31692 arg3 = &temp3;
31693 }
31694 {
31695 PyThreadState* __tstate = wxPyBeginAllowThreads();
31696 (arg1)->Snap(arg2,arg3);
31697
31698 wxPyEndAllowThreads(__tstate);
31699 if (PyErr_Occurred()) SWIG_fail;
31700 }
31701 Py_INCREF(Py_None); resultobj = Py_None;
31702 {
31703 PyObject *o = PyFloat_FromDouble((double) (*arg2));
31704 resultobj = t_output_helper(resultobj,o);
31705 }
31706 {
31707 PyObject *o = PyFloat_FromDouble((double) (*arg3));
31708 resultobj = t_output_helper(resultobj,o);
31709 }
31710 return resultobj;
31711 fail:
31712 return NULL;
31713}
31714
31715
a95a7133 31716static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
31717 PyObject *obj;
31718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31719 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
31720 Py_INCREF(obj);
31721 return Py_BuildValue((char *)"");
31722}
a95a7133 31723static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31724 PyObject *resultobj;
31725 wxWindow *arg1 = (wxWindow *) NULL ;
31726 int arg2 = (int) -1 ;
31727 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31728 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31729 wxSize const &arg4_defvalue = wxDefaultSize ;
31730 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31731 long arg5 = (long) wxBORDER ;
31732 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
31733 wxString *arg6 = (wxString *) &arg6_defvalue ;
31734 wxPyShapeCanvas *result;
31735 wxPoint temp3 ;
31736 wxSize temp4 ;
31737 bool temp6 = False ;
31738 PyObject * obj0 = 0 ;
8edf1c75 31739 PyObject * obj1 = 0 ;
44127b65
RD
31740 PyObject * obj2 = 0 ;
31741 PyObject * obj3 = 0 ;
8edf1c75 31742 PyObject * obj4 = 0 ;
44127b65
RD
31743 PyObject * obj5 = 0 ;
31744 char *kwnames[] = {
31745 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31746 };
31747
8edf1c75 31748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 31749 if (obj0) {
2f4c0a16
RD
31750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 31752 }
8edf1c75 31753 if (obj1) {
2f4c0a16
RD
31754 arg2 = (int) SWIG_AsInt(obj1);
31755 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31756 }
44127b65
RD
31757 if (obj2) {
31758 {
31759 arg3 = &temp3;
31760 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31761 }
31762 }
31763 if (obj3) {
31764 {
31765 arg4 = &temp4;
31766 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31767 }
31768 }
8edf1c75 31769 if (obj4) {
2f4c0a16
RD
31770 arg5 = (long) SWIG_AsLong(obj4);
31771 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31772 }
44127b65
RD
31773 if (obj5) {
31774 {
31775 arg6 = wxString_in_helper(obj5);
31776 if (arg6 == NULL) SWIG_fail;
31777 temp6 = True;
31778 }
31779 }
31780 {
0439c23b 31781 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
31782 PyThreadState* __tstate = wxPyBeginAllowThreads();
31783 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31784
31785 wxPyEndAllowThreads(__tstate);
110da5b0 31786 if (PyErr_Occurred()) SWIG_fail;
44127b65 31787 }
b0f7404b 31788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShapeCanvas, 1);
44127b65
RD
31789 {
31790 if (temp6)
31791 delete arg6;
31792 }
31793 return resultobj;
31794 fail:
31795 {
31796 if (temp6)
31797 delete arg6;
31798 }
31799 return NULL;
31800}
31801
31802
a95a7133 31803static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31804 PyObject *resultobj;
31805 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31806 PyObject *arg2 = (PyObject *) 0 ;
31807 PyObject *arg3 = (PyObject *) 0 ;
31808 PyObject * obj0 = 0 ;
31809 PyObject * obj1 = 0 ;
31810 PyObject * obj2 = 0 ;
31811 char *kwnames[] = {
31812 (char *) "self",(char *) "self",(char *) "_class", NULL
31813 };
31814
31815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31818 arg2 = obj1;
31819 arg3 = obj2;
31820 {
31821 PyThreadState* __tstate = wxPyBeginAllowThreads();
31822 (arg1)->_setCallbackInfo(arg2,arg3);
31823
31824 wxPyEndAllowThreads(__tstate);
31825 if (PyErr_Occurred()) SWIG_fail;
31826 }
31827 Py_INCREF(Py_None); resultobj = Py_None;
31828 return resultobj;
31829 fail:
31830 return NULL;
31831}
31832
31833
a95a7133 31834static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31835 PyObject *resultobj;
31836 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31837 wxPyShape *arg2 = (wxPyShape *) 0 ;
31838 wxPyShape *arg3 = (wxPyShape *) NULL ;
31839 PyObject * obj0 = 0 ;
31840 PyObject * obj1 = 0 ;
31841 PyObject * obj2 = 0 ;
31842 char *kwnames[] = {
31843 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31844 };
31845
31846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
31850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65 31851 if (obj2) {
2f4c0a16
RD
31852 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyShape,
31853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31854 }
31855 {
31856 PyThreadState* __tstate = wxPyBeginAllowThreads();
31857 (arg1)->AddShape(arg2,arg3);
31858
31859 wxPyEndAllowThreads(__tstate);
31860 if (PyErr_Occurred()) SWIG_fail;
31861 }
31862 Py_INCREF(Py_None); resultobj = Py_None;
31863 return resultobj;
31864 fail:
31865 return NULL;
31866}
31867
31868
a95a7133 31869static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31870 PyObject *resultobj;
31871 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31872 double arg2 ;
31873 double arg3 ;
31874 int *arg4 = (int *) 0 ;
31875 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
31876 wxPyShape *arg6 = (wxPyShape *) NULL ;
31877 wxPyShape *result;
31878 int temp4 ;
31879 PyObject * obj0 = 0 ;
8edf1c75
RD
31880 PyObject * obj1 = 0 ;
31881 PyObject * obj2 = 0 ;
44127b65
RD
31882 PyObject * obj3 = 0 ;
31883 PyObject * obj4 = 0 ;
31884 char *kwnames[] = {
31885 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31886 };
31887
31888 arg4 = &temp4;
8edf1c75 31889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
31890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31892 arg2 = (double) SWIG_AsDouble(obj1);
31893 if (PyErr_Occurred()) SWIG_fail;
31894 arg3 = (double) SWIG_AsDouble(obj2);
31895 if (PyErr_Occurred()) SWIG_fail;
44127b65 31896 if (obj3) {
2f4c0a16
RD
31897 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxClassInfo,
31898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31899 }
31900 if (obj4) {
2f4c0a16
RD
31901 if ((SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_wxPyShape,
31902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31903 }
31904 {
31905 PyThreadState* __tstate = wxPyBeginAllowThreads();
31906 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
31907
31908 wxPyEndAllowThreads(__tstate);
31909 if (PyErr_Occurred()) SWIG_fail;
31910 }
31911 {
412d302d 31912 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
31913 }
31914 {
31915 PyObject *o = PyInt_FromLong((long) (*arg4));
31916 resultobj = t_output_helper(resultobj,o);
31917 }
31918 return resultobj;
31919 fail:
31920 return NULL;
31921}
31922
31923
a95a7133 31924static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31925 PyObject *resultobj;
31926 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31927 double arg2 ;
31928 double arg3 ;
31929 int *arg4 = (int *) 0 ;
31930 int arg5 ;
31931 wxPyShape *result;
31932 int temp4 ;
31933 PyObject * obj0 = 0 ;
8edf1c75
RD
31934 PyObject * obj1 = 0 ;
31935 PyObject * obj2 = 0 ;
31936 PyObject * obj3 = 0 ;
44127b65
RD
31937 char *kwnames[] = {
31938 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
31939 };
31940
31941 arg4 = &temp4;
8edf1c75 31942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
31943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31945 arg2 = (double) SWIG_AsDouble(obj1);
31946 if (PyErr_Occurred()) SWIG_fail;
31947 arg3 = (double) SWIG_AsDouble(obj2);
31948 if (PyErr_Occurred()) SWIG_fail;
31949 arg5 = (int) SWIG_AsInt(obj3);
31950 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
31951 {
31952 PyThreadState* __tstate = wxPyBeginAllowThreads();
31953 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
31954
31955 wxPyEndAllowThreads(__tstate);
31956 if (PyErr_Occurred()) SWIG_fail;
31957 }
31958 {
412d302d 31959 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
31960 }
31961 {
31962 PyObject *o = PyInt_FromLong((long) (*arg4));
31963 resultobj = t_output_helper(resultobj,o);
31964 }
31965 return resultobj;
31966 fail:
31967 return NULL;
31968}
31969
31970
a95a7133 31971static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
31972 PyObject *resultobj;
31973 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
31974 wxDiagram *result;
31975 PyObject * obj0 = 0 ;
31976 char *kwnames[] = {
31977 (char *) "self", NULL
31978 };
31979
31980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
31982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
31983 {
31984 PyThreadState* __tstate = wxPyBeginAllowThreads();
31985 result = (wxDiagram *)(arg1)->GetDiagram();
31986
31987 wxPyEndAllowThreads(__tstate);
31988 if (PyErr_Occurred()) SWIG_fail;
31989 }
31990 {
412d302d 31991 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
31992 }
31993 return resultobj;
31994 fail:
31995 return NULL;
31996}
31997
31998
a95a7133 31999static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32000 PyObject *resultobj;
32001 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32002 bool result;
32003 PyObject * obj0 = 0 ;
32004 char *kwnames[] = {
32005 (char *) "self", NULL
32006 };
32007
32008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32011 {
32012 PyThreadState* __tstate = wxPyBeginAllowThreads();
32013 result = (bool)(arg1)->GetQuickEditMode();
32014
32015 wxPyEndAllowThreads(__tstate);
32016 if (PyErr_Occurred()) SWIG_fail;
32017 }
fbc46b20
RD
32018 {
32019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32020 }
44127b65
RD
32021 return resultobj;
32022 fail:
32023 return NULL;
32024}
32025
32026
a95a7133 32027static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32028 PyObject *resultobj;
32029 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32030 wxPyShape *arg2 = (wxPyShape *) 0 ;
32031 PyObject * obj0 = 0 ;
32032 PyObject * obj1 = 0 ;
32033 char *kwnames[] = {
32034 (char *) "self",(char *) "shape", NULL
32035 };
32036
32037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32042 {
32043 PyThreadState* __tstate = wxPyBeginAllowThreads();
32044 (arg1)->InsertShape(arg2);
32045
32046 wxPyEndAllowThreads(__tstate);
32047 if (PyErr_Occurred()) SWIG_fail;
32048 }
32049 Py_INCREF(Py_None); resultobj = Py_None;
32050 return resultobj;
32051 fail:
32052 return NULL;
32053}
32054
32055
a95a7133 32056static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32057 PyObject *resultobj;
32058 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32059 double arg2 ;
32060 double arg3 ;
32061 int arg4 = (int) 0 ;
32062 PyObject * obj0 = 0 ;
8edf1c75
RD
32063 PyObject * obj1 = 0 ;
32064 PyObject * obj2 = 0 ;
32065 PyObject * obj3 = 0 ;
44127b65
RD
32066 char *kwnames[] = {
32067 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32068 };
32069
8edf1c75 32070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32073 arg2 = (double) SWIG_AsDouble(obj1);
32074 if (PyErr_Occurred()) SWIG_fail;
32075 arg3 = (double) SWIG_AsDouble(obj2);
32076 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32077 if (obj3) {
2f4c0a16
RD
32078 arg4 = (int) SWIG_AsInt(obj3);
32079 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32080 }
44127b65
RD
32081 {
32082 PyThreadState* __tstate = wxPyBeginAllowThreads();
32083 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
32084
32085 wxPyEndAllowThreads(__tstate);
32086 if (PyErr_Occurred()) SWIG_fail;
32087 }
32088 Py_INCREF(Py_None); resultobj = Py_None;
32089 return resultobj;
32090 fail:
32091 return NULL;
32092}
32093
32094
a95a7133 32095static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32096 PyObject *resultobj;
32097 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32098 double arg2 ;
32099 double arg3 ;
32100 int arg4 = (int) 0 ;
32101 PyObject * obj0 = 0 ;
8edf1c75
RD
32102 PyObject * obj1 = 0 ;
32103 PyObject * obj2 = 0 ;
32104 PyObject * obj3 = 0 ;
44127b65
RD
32105 char *kwnames[] = {
32106 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32107 };
32108
8edf1c75 32109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32112 arg2 = (double) SWIG_AsDouble(obj1);
32113 if (PyErr_Occurred()) SWIG_fail;
32114 arg3 = (double) SWIG_AsDouble(obj2);
32115 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32116 if (obj3) {
2f4c0a16
RD
32117 arg4 = (int) SWIG_AsInt(obj3);
32118 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32119 }
44127b65
RD
32120 {
32121 PyThreadState* __tstate = wxPyBeginAllowThreads();
32122 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
32123
32124 wxPyEndAllowThreads(__tstate);
32125 if (PyErr_Occurred()) SWIG_fail;
32126 }
32127 Py_INCREF(Py_None); resultobj = Py_None;
32128 return resultobj;
32129 fail:
32130 return NULL;
32131}
32132
32133
a95a7133 32134static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32135 PyObject *resultobj;
32136 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32137 double arg2 ;
32138 double arg3 ;
32139 int arg4 = (int) 0 ;
32140 PyObject * obj0 = 0 ;
8edf1c75
RD
32141 PyObject * obj1 = 0 ;
32142 PyObject * obj2 = 0 ;
32143 PyObject * obj3 = 0 ;
44127b65
RD
32144 char *kwnames[] = {
32145 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32146 };
32147
8edf1c75 32148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32151 arg2 = (double) SWIG_AsDouble(obj1);
32152 if (PyErr_Occurred()) SWIG_fail;
32153 arg3 = (double) SWIG_AsDouble(obj2);
32154 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32155 if (obj3) {
2f4c0a16
RD
32156 arg4 = (int) SWIG_AsInt(obj3);
32157 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32158 }
44127b65
RD
32159 {
32160 PyThreadState* __tstate = wxPyBeginAllowThreads();
32161 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
32162
32163 wxPyEndAllowThreads(__tstate);
32164 if (PyErr_Occurred()) SWIG_fail;
32165 }
32166 Py_INCREF(Py_None); resultobj = Py_None;
32167 return resultobj;
32168 fail:
32169 return NULL;
32170}
32171
32172
a95a7133 32173static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32174 PyObject *resultobj;
32175 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32176 double arg2 ;
32177 double arg3 ;
32178 int arg4 = (int) 0 ;
32179 PyObject * obj0 = 0 ;
8edf1c75
RD
32180 PyObject * obj1 = 0 ;
32181 PyObject * obj2 = 0 ;
32182 PyObject * obj3 = 0 ;
44127b65
RD
32183 char *kwnames[] = {
32184 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32185 };
32186
8edf1c75 32187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32190 arg2 = (double) SWIG_AsDouble(obj1);
32191 if (PyErr_Occurred()) SWIG_fail;
32192 arg3 = (double) SWIG_AsDouble(obj2);
32193 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32194 if (obj3) {
2f4c0a16
RD
32195 arg4 = (int) SWIG_AsInt(obj3);
32196 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32197 }
44127b65
RD
32198 {
32199 PyThreadState* __tstate = wxPyBeginAllowThreads();
32200 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32201
32202 wxPyEndAllowThreads(__tstate);
32203 if (PyErr_Occurred()) SWIG_fail;
32204 }
32205 Py_INCREF(Py_None); resultobj = Py_None;
32206 return resultobj;
32207 fail:
32208 return NULL;
32209}
32210
32211
a95a7133 32212static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32213 PyObject *resultobj;
32214 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32215 bool arg2 ;
32216 double arg3 ;
32217 double arg4 ;
32218 int arg5 = (int) 0 ;
32219 PyObject * obj0 = 0 ;
32220 PyObject * obj1 = 0 ;
8edf1c75
RD
32221 PyObject * obj2 = 0 ;
32222 PyObject * obj3 = 0 ;
32223 PyObject * obj4 = 0 ;
44127b65
RD
32224 char *kwnames[] = {
32225 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32226 };
32227
8edf1c75 32228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32231 arg2 = (bool) SWIG_AsBool(obj1);
32232 if (PyErr_Occurred()) SWIG_fail;
32233 arg3 = (double) SWIG_AsDouble(obj2);
32234 if (PyErr_Occurred()) SWIG_fail;
32235 arg4 = (double) SWIG_AsDouble(obj3);
32236 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32237 if (obj4) {
2f4c0a16
RD
32238 arg5 = (int) SWIG_AsInt(obj4);
32239 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32240 }
44127b65
RD
32241 {
32242 PyThreadState* __tstate = wxPyBeginAllowThreads();
32243 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
32244
32245 wxPyEndAllowThreads(__tstate);
32246 if (PyErr_Occurred()) SWIG_fail;
32247 }
32248 Py_INCREF(Py_None); resultobj = Py_None;
32249 return resultobj;
32250 fail:
32251 return NULL;
32252}
32253
32254
a95a7133 32255static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32256 PyObject *resultobj;
32257 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32258 bool arg2 ;
32259 double arg3 ;
32260 double arg4 ;
32261 int arg5 = (int) 0 ;
32262 PyObject * obj0 = 0 ;
32263 PyObject * obj1 = 0 ;
8edf1c75
RD
32264 PyObject * obj2 = 0 ;
32265 PyObject * obj3 = 0 ;
32266 PyObject * obj4 = 0 ;
44127b65
RD
32267 char *kwnames[] = {
32268 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32269 };
32270
8edf1c75 32271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32274 arg2 = (bool) SWIG_AsBool(obj1);
32275 if (PyErr_Occurred()) SWIG_fail;
32276 arg3 = (double) SWIG_AsDouble(obj2);
32277 if (PyErr_Occurred()) SWIG_fail;
32278 arg4 = (double) SWIG_AsDouble(obj3);
32279 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32280 if (obj4) {
2f4c0a16
RD
32281 arg5 = (int) SWIG_AsInt(obj4);
32282 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32283 }
44127b65
RD
32284 {
32285 PyThreadState* __tstate = wxPyBeginAllowThreads();
32286 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
32287
32288 wxPyEndAllowThreads(__tstate);
32289 if (PyErr_Occurred()) SWIG_fail;
32290 }
32291 Py_INCREF(Py_None); resultobj = Py_None;
32292 return resultobj;
32293 fail:
32294 return NULL;
32295}
32296
32297
a95a7133 32298static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32299 PyObject *resultobj;
32300 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32301 double arg2 ;
32302 double arg3 ;
32303 int arg4 = (int) 0 ;
32304 PyObject * obj0 = 0 ;
8edf1c75
RD
32305 PyObject * obj1 = 0 ;
32306 PyObject * obj2 = 0 ;
32307 PyObject * obj3 = 0 ;
44127b65
RD
32308 char *kwnames[] = {
32309 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32310 };
32311
8edf1c75 32312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32315 arg2 = (double) SWIG_AsDouble(obj1);
32316 if (PyErr_Occurred()) SWIG_fail;
32317 arg3 = (double) SWIG_AsDouble(obj2);
32318 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32319 if (obj3) {
2f4c0a16
RD
32320 arg4 = (int) SWIG_AsInt(obj3);
32321 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32322 }
44127b65
RD
32323 {
32324 PyThreadState* __tstate = wxPyBeginAllowThreads();
32325 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
32326
32327 wxPyEndAllowThreads(__tstate);
32328 if (PyErr_Occurred()) SWIG_fail;
32329 }
32330 Py_INCREF(Py_None); resultobj = Py_None;
32331 return resultobj;
32332 fail:
32333 return NULL;
32334}
32335
32336
a95a7133 32337static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32338 PyObject *resultobj;
32339 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32340 double arg2 ;
32341 double arg3 ;
32342 int arg4 = (int) 0 ;
32343 PyObject * obj0 = 0 ;
8edf1c75
RD
32344 PyObject * obj1 = 0 ;
32345 PyObject * obj2 = 0 ;
32346 PyObject * obj3 = 0 ;
44127b65
RD
32347 char *kwnames[] = {
32348 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32349 };
32350
8edf1c75 32351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32354 arg2 = (double) SWIG_AsDouble(obj1);
32355 if (PyErr_Occurred()) SWIG_fail;
32356 arg3 = (double) SWIG_AsDouble(obj2);
32357 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32358 if (obj3) {
2f4c0a16
RD
32359 arg4 = (int) SWIG_AsInt(obj3);
32360 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32361 }
44127b65
RD
32362 {
32363 PyThreadState* __tstate = wxPyBeginAllowThreads();
32364 (arg1)->base_OnRightClick(arg2,arg3,arg4);
32365
32366 wxPyEndAllowThreads(__tstate);
32367 if (PyErr_Occurred()) SWIG_fail;
32368 }
32369 Py_INCREF(Py_None); resultobj = Py_None;
32370 return resultobj;
32371 fail:
32372 return NULL;
32373}
32374
32375
a95a7133 32376static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32377 PyObject *resultobj;
32378 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32379 wxDC *arg2 = 0 ;
32380 PyObject * obj0 = 0 ;
32381 PyObject * obj1 = 0 ;
32382 char *kwnames[] = {
32383 (char *) "self",(char *) "dc", NULL
32384 };
32385
32386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
32390 SWIG_POINTER_EXCEPTION | 0)) == -1)
32391 SWIG_fail;
44127b65 32392 if (arg2 == NULL) {
2f4c0a16
RD
32393 PyErr_SetString(PyExc_TypeError,"null reference");
32394 SWIG_fail;
44127b65
RD
32395 }
32396 {
32397 PyThreadState* __tstate = wxPyBeginAllowThreads();
32398 (arg1)->Redraw(*arg2);
32399
32400 wxPyEndAllowThreads(__tstate);
32401 if (PyErr_Occurred()) SWIG_fail;
32402 }
32403 Py_INCREF(Py_None); resultobj = Py_None;
32404 return resultobj;
32405 fail:
32406 return NULL;
32407}
32408
32409
a95a7133 32410static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32411 PyObject *resultobj;
32412 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32413 wxPyShape *arg2 = (wxPyShape *) 0 ;
32414 PyObject * obj0 = 0 ;
32415 PyObject * obj1 = 0 ;
32416 char *kwnames[] = {
32417 (char *) "self",(char *) "shape", NULL
32418 };
32419
32420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyShape,
32424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32425 {
32426 PyThreadState* __tstate = wxPyBeginAllowThreads();
32427 (arg1)->RemoveShape(arg2);
32428
32429 wxPyEndAllowThreads(__tstate);
32430 if (PyErr_Occurred()) SWIG_fail;
32431 }
32432 Py_INCREF(Py_None); resultobj = Py_None;
32433 return resultobj;
32434 fail:
32435 return NULL;
32436}
32437
32438
a95a7133 32439static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32440 PyObject *resultobj;
32441 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32442 wxDiagram *arg2 = (wxDiagram *) 0 ;
32443 PyObject * obj0 = 0 ;
32444 PyObject * obj1 = 0 ;
32445 char *kwnames[] = {
32446 (char *) "self",(char *) "diagram", NULL
32447 };
32448
32449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDiagram,
32453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32454 {
32455 PyThreadState* __tstate = wxPyBeginAllowThreads();
32456 (arg1)->SetDiagram(arg2);
32457
32458 wxPyEndAllowThreads(__tstate);
32459 if (PyErr_Occurred()) SWIG_fail;
32460 }
32461 Py_INCREF(Py_None); resultobj = Py_None;
32462 return resultobj;
32463 fail:
32464 return NULL;
32465}
32466
32467
a95a7133 32468static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32469 PyObject *resultobj;
32470 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32471 double *arg2 = (double *) 0 ;
32472 double *arg3 = (double *) 0 ;
32473 double temp2 ;
32474 double temp3 ;
32475 PyObject * obj0 = 0 ;
32476 PyObject * obj1 = 0 ;
32477 PyObject * obj2 = 0 ;
32478 char *kwnames[] = {
32479 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32480 };
32481
32482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyShapeCanvas,
32484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
32485 {
32486 temp2 = PyFloat_AsDouble(obj1);
32487 if (PyErr_Occurred()) SWIG_fail;
32488 arg2 = &temp2;
32489 }
32490 {
32491 temp3 = PyFloat_AsDouble(obj2);
32492 if (PyErr_Occurred()) SWIG_fail;
32493 arg3 = &temp3;
32494 }
32495 {
32496 PyThreadState* __tstate = wxPyBeginAllowThreads();
32497 (arg1)->Snap(arg2,arg3);
32498
32499 wxPyEndAllowThreads(__tstate);
32500 if (PyErr_Occurred()) SWIG_fail;
32501 }
32502 Py_INCREF(Py_None); resultobj = Py_None;
32503 {
32504 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32505 resultobj = t_output_helper(resultobj,o);
32506 }
32507 {
32508 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32509 resultobj = t_output_helper(resultobj,o);
32510 }
32511 return resultobj;
32512 fail:
32513 return NULL;
32514}
32515
32516
a95a7133 32517static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
44127b65
RD
32518 PyObject *obj;
32519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32520 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
32521 Py_INCREF(obj);
32522 return Py_BuildValue((char *)"");
32523}
a95a7133 32524static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32525 PyObject *resultobj;
32526 char *kwnames[] = {
32527 NULL
32528 };
32529
32530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
32531 {
0439c23b 32532 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
32533 PyThreadState* __tstate = wxPyBeginAllowThreads();
32534 wxOGLInitialize();
32535
32536 wxPyEndAllowThreads(__tstate);
110da5b0 32537 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
32538 }
32539 Py_INCREF(Py_None); resultobj = Py_None;
32540 return resultobj;
32541 fail:
32542 return NULL;
32543}
32544
32545
a95a7133 32546static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
44127b65
RD
32547 PyObject *resultobj;
32548 char *kwnames[] = {
32549 NULL
32550 };
32551
32552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
32553 {
0439c23b 32554 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
32555 PyThreadState* __tstate = wxPyBeginAllowThreads();
32556 wxOGLCleanUp();
32557
32558 wxPyEndAllowThreads(__tstate);
110da5b0 32559 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
32560 }
32561 Py_INCREF(Py_None); resultobj = Py_None;
32562 return resultobj;
32563 fail:
32564 return NULL;
32565}
32566
32567
32568static PyMethodDef SwigMethods[] = {
a95a7133
RD
32569 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
32570 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
32571 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
32572 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
32573 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
32574 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
32575 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
32576 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32577 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
32578 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
32579 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
32580 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
32581 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
32582 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
32583 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
32584 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
32585 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32586 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
32587 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
32588 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
32589 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
32590 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
32591 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
32592 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
32593 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
32594 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
32595 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
32596 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
32597 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
32598 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
32599 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32600 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
32601 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
32602 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
32603 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
32604 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
32605 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
32606 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
32607 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
32608 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32609 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
32610 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
32611 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
32612 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32613 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
32614 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32615 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32616 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32617 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32618 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32619 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32620 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32621 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32622 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32623 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32624 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32625 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32626 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32627 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32628 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32629 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32630 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32631 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32632 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32633 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32634 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32635 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32636 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32637 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32638 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32639 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32640 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32641 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32642 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32643 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32644 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
32645 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
32646 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32647 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
32648 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
32649 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
32650 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
32651 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
32652 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
32653 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
32654 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
32655 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
32656 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
32657 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
32658 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
32659 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
32660 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
32661 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
32662 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
32663 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
32664 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32665 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
32666 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
32667 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
32668 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
32669 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
32670 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
32671 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32672 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
32673 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
32674 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32675 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
32676 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
32677 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
32678 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
32679 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
32680 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32681 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
32682 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
32683 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
32684 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
32685 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
32686 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
32687 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32688 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
32689 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
32690 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
32691 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
32692 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
32693 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
32694 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32695 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
32696 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
32697 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32698 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
32699 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32700 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
32701 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
32702 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
32703 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
32704 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
32705 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
32706 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
32707 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
32708 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
32709 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
32710 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
32711 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
32712 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
32713 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
32714 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
32715 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
32716 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
32717 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
32718 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
32719 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
32720 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
32721 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
32722 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
32723 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
32724 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
32725 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
32726 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
32727 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
32728 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
32729 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
32730 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32731 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32732 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
32733 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
32734 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
32735 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
32736 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
32737 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
32738 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
32739 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
32740 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
32741 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
32742 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
32743 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
32744 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
32745 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
32746 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
32747 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
32748 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
32749 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
32750 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
32751 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
32752 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
32753 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
32754 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
32755 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
32756 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
32757 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
32758 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
32759 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
32760 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32761 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
32762 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32763 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
32764 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32765 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
32766 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32767 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
32768 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
32769 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
32770 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
32771 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
32772 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
32773 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
32774 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
32775 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32776 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32777 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
32778 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
32779 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
32780 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
32781 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
32782 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
32783 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32784 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32785 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32786 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32787 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32788 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32789 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32790 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32791 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32792 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32793 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32794 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32795 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32796 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32797 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32798 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32799 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32800 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32801 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32802 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32803 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32804 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32805 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32806 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32807 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32808 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32809 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32810 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32811 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32812 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
32813 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32814 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
32815 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
32816 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
32817 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
32818 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
32819 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
32820 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
32821 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
32822 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32823 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
32824 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32825 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
32826 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
32827 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
32828 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
32829 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
32830 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32831 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
32832 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32833 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
32834 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
32835 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
32836 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32837 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32838 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
32839 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32840 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
32841 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32842 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
32843 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
32844 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32845 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32846 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32847 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32848 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
32849 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
32850 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
32851 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32852 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32853 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32854 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
32855 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
32856 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32857 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32858 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32859 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32860 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32861 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32862 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32863 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32864 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32865 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32866 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32867 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32868 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32869 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32870 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32871 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32872 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32873 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32874 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32875 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32876 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32877 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32878 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32879 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32880 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32881 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32882 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32883 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32884 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32885 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32886 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32887 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32888 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
32889 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
32890 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32891 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
32892 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32893 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32894 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32895 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32896 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32897 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32898 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32899 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32900 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32901 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32902 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32903 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32904 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32905 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32906 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32907 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32908 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32909 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32910 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32911 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32912 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32913 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32914 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32915 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32916 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32917 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32918 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32919 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32920 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32921 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
32922 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
32923 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32924 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
32925 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
32926 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
32927 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
32928 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32929 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32930 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32931 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32932 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32933 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32934 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32935 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32936 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32937 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32938 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32939 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
32940 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
32941 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
32942 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
32943 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32944 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32945 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
32946 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
32947 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
32948 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
32949 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
32950 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
32951 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
32952 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
32953 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
32954 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
32955 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
32956 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
32957 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
32958 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
32959 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32960 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
32961 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
32962 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
32963 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
32964 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
32965 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
32966 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
32967 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
32968 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
32969 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
32970 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
32971 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
32972 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
32973 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
32974 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
32975 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
32976 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
32977 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
32978 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
32979 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32980 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
32981 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
32982 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
32983 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
32984 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
32985 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
32986 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
32987 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
32988 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
32989 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
32990 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
32991 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
32992 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
32993 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
32994 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
32995 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
32996 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
32997 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
32998 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
32999 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33000 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33001 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33002 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33003 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33004 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33005 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33006 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33007 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33008 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33009 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33010 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33011 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33012 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33013 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33014 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33015 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33016 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33017 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
33018 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
33019 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
33020 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33021 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
33022 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
33023 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
33024 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33025 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
33026 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
33027 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
33028 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
33029 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33030 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
33031 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
33032 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
33033 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
33034 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
33035 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
33036 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
33037 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
33038 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
33039 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33040 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33041 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33042 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33043 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33044 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33045 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33046 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33047 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33048 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33049 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33050 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33051 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33052 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33053 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33054 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33055 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33056 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33057 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33058 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33059 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33060 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33061 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33062 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33063 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33064 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33065 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33066 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33067 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33068 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
33069 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
33070 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33071 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
33072 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
33073 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33074 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33075 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33076 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33077 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33078 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33079 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33080 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33081 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33082 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33083 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33084 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33085 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33086 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33087 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33088 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33089 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33090 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33091 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33092 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33093 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33094 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33095 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33096 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33097 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33098 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33099 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33100 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33101 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33102 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
33103 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
33104 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33105 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
33106 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
33107 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
33108 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
33109 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
33110 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
33111 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
33112 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
33113 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
33114 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33115 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33116 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
33117 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
33118 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33119 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
33120 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
33121 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
33122 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
33123 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
33124 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33125 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33126 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
33127 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
33128 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
33129 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33130 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33131 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33132 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33133 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33134 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33135 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33136 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33137 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33138 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33139 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33140 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33141 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33142 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33143 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33144 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33145 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33146 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33147 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33148 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33149 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33150 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33151 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33152 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33153 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33154 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33155 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33156 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33157 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33158 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33159 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
33160 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
33161 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33162 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33163 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33164 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33165 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33166 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33167 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33168 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33169 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33170 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33171 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33172 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33173 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33174 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33175 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33176 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33177 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33178 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33179 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33180 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33181 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33182 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33183 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33184 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33185 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33186 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33187 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33188 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33189 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33190 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
33191 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
33192 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33193 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33194 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33195 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33196 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33197 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33198 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33199 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33200 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33201 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33202 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33203 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33204 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33205 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33206 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33207 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33208 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33209 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33210 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33211 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33212 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33213 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33214 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33215 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33216 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33217 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33218 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33219 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33220 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33221 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33222 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33223 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33224 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33225 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33226 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33227 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33228 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33229 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33230 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33231 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33232 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33233 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33234 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33235 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33236 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
33237 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
33238 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
33239 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33240 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
33241 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
33242 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33243 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
33244 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
33245 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
33246 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
33247 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
33248 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33249 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
33250 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33251 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
33252 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
33253 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
33254 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
33255 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
33256 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
33257 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
33258 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
33259 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
33260 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33261 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33262 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
33263 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
33264 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
33265 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
33266 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
33267 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
33268 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
33269 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
33270 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
33271 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
33272 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
0346c964 33273 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction) _wrap_PyLineShape_SetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
a95a7133
RD
33274 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
33275 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
33276 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
33277 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
33278 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
33279 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
33280 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
33281 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
33282 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
33283 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33284 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33285 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33286 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
33287 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
33288 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
33289 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
33290 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33291 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33292 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33293 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33294 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33295 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33296 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33297 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33298 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33299 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33300 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33301 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33302 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33303 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33304 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33305 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33306 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33307 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33308 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33309 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33310 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33311 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33312 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33313 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33314 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33315 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33316 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33317 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33318 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
33319 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
33320 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33321 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
33322 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
33323 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
33324 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
33325 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
33326 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33327 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33328 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33329 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
33330 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
33331 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
33332 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33333 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33334 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33335 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33336 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33337 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33338 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33339 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33340 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33341 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33342 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33343 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33344 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33345 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33346 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33347 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33348 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33349 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33350 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33351 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33352 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33353 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33354 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33355 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33356 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33357 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33358 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33359 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33360 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
33361 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
33362 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33363 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33364 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33365 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33366 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33367 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33368 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33369 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33370 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33371 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33372 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33373 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33374 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33375 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33376 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33377 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33378 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33379 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33380 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33381 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33382 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33383 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33384 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33385 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33386 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33387 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33388 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33389 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33390 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33391 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33392 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
33393 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
33394 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
33395 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
33396 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
33397 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
33398 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
33399 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33400 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
33401 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33402 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33403 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
33404 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33405 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33406 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
33407 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
33408 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
33409 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
33410 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33411 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33412 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
33413 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
33414 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33415 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
33416 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
33417 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
33418 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
33419 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
33420 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33421 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
33422 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
33423 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
33424 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
33425 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
33426 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
33427 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33428 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33429 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33430 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33431 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33432 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33433 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33434 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33435 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
33436 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
33437 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
33438 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
33439 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
33440 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
33441 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
33442 { NULL, NULL }
44127b65
RD
33443};
33444
33445
33446/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33447
33448static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33449 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33450}
33451static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33452 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33453}
a2482628
RD
33454static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33455 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33456}
44127b65
RD
33457static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33458 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33459}
33460static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33461 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33462}
33463static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33464 return (void *)((wxPanel *) ((wxPyPanel *) x));
33465}
33466static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33467 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33468}
33469static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33470 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33471}
33472static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33473 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33474}
33475static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
33476 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33477}
a2482628
RD
33478static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33479 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33480}
44127b65
RD
33481static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33482 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33483}
33484static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
33485 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33486}
33487static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33488 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33489}
33490static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33491 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33492}
33493static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33494 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33495}
33496static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33497 return (void *)((wxWindow *) ((wxMenuBar *) x));
33498}
33499static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33500 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33501}
33502static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33503 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33504}
33505static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33506 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33507}
33508static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33509 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33510}
33511static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33512 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33513}
33514static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33515 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33516}
33517static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33518 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33519}
33520static void *_p_wxPanelTo_p_wxWindow(void *x) {
33521 return (void *)((wxWindow *) ((wxPanel *) x));
33522}
33523static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33524 return (void *)((wxWindow *) ((wxStatusBar *) x));
33525}
33526static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33527 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33528}
33529static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33530 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33531}
33532static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33534}
33535static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33536 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33537}
33538static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33539 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33540}
33541static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33542 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33543}
33544static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33545 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33546}
33547static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33548 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33549}
33550static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33551 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33552}
33553static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33554 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33555}
33556static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33557 return (void *)((wxWindow *) ((wxSashWindow *) x));
33558}
a2482628
RD
33559static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33560 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33561}
44127b65
RD
33562static void *_p_wxControlTo_p_wxWindow(void *x) {
33563 return (void *)((wxWindow *) ((wxControl *) x));
33564}
33565static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33566 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33567}
33568static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33569 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33570}
33571static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33572 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33573}
33574static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33575 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33576}
33577static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33578 return (void *)((wxWindow *) ((wxPyWindow *) x));
33579}
33580static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33581 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33582}
33583static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
33584 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33585}
33586static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33587 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33588}
33589static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33590 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33591}
33592static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33593 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33594}
33595static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33596 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33597}
33598static void *_p_wxFrameTo_p_wxWindow(void *x) {
33599 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33600}
33601static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33602 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33603}
33604static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33605 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33606}
33607static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33608 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33609}
33610static void *_p_wxDialogTo_p_wxWindow(void *x) {
33611 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33612}
33613static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
33614 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33615}
33616static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
33617 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33618}
33619static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33620 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33621}
33622static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33623 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33624}
33625static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
33626 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
33627}
33628static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
33629 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
33630}
33631static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
33632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33633}
33634static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
33635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33636}
33637static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33638 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33639}
33640static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33641 return (void *)((wxObject *) ((wxSizerItem *) x));
33642}
33643static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33645}
33646static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33647 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33648}
33649static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
33650 return (void *)((wxObject *) ((wxOGLConstraint *) x));
33651}
33652static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33653 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33654}
33655static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33656 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33657}
33658static void *_p_wxSizerTo_p_wxObject(void *x) {
33659 return (void *)((wxObject *) ((wxSizer *) x));
33660}
33661static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
33662 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
33663}
33664static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
33665 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
33666}
33667static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
33668 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
33669}
33670static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33671 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33672}
33673static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33674 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33675}
33676static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
33677 return (void *)((wxObject *) ((wxArrowHead *) x));
33678}
33679static void *_p_wxPyPanelTo_p_wxObject(void *x) {
33680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
33681}
33682static void *_p_wxEventTo_p_wxObject(void *x) {
33683 return (void *)((wxObject *) ((wxEvent *) x));
33684}
33685static void *_p_wxFontDataTo_p_wxObject(void *x) {
33686 return (void *)((wxObject *) ((wxFontData *) x));
33687}
33688static void *_p_wxPrintDataTo_p_wxObject(void *x) {
33689 return (void *)((wxObject *) ((wxPrintData *) x));
33690}
33691static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33692 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33693}
33694static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33695 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33696}
33697static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33698 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33699}
33700static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
33701 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
33702}
33703static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
33704 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
33705}
33706static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
33707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
33708}
33709static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33710 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33711}
33712static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33713 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33714}
33715static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33716 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
33717}
33718static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
33719 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
33720}
33721static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
33722 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33723}
33724static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33725 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33726}
33727static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33729}
33730static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
33731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
33732}
33733static void *_p_wxControlTo_p_wxObject(void *x) {
33734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33735}
33736static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
33737 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
33738}
33739static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33740 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33741}
33742static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33744}
33745static void *_p_wxFSFileTo_p_wxObject(void *x) {
33746 return (void *)((wxObject *) ((wxFSFile *) x));
33747}
33748static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33749 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33750}
33751static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
33752 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
33753}
33754static void *_p_wxPySizerTo_p_wxObject(void *x) {
33755 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33756}
33757static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33759}
33760static void *_p_wxColourDataTo_p_wxObject(void *x) {
33761 return (void *)((wxObject *) ((wxColourData *) x));
33762}
33763static void *_p_wxPyEventTo_p_wxObject(void *x) {
33764 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33765}
33766static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33767 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33768}
33769static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33771}
33772static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33774}
33775static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33777}
33778static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33780}
33781static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33783}
33784static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33786}
33787static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33789}
33790static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33792}
33793static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33795}
33796static void *_p_wxShowEventTo_p_wxObject(void *x) {
33797 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33798}
33799static void *_p_wxPrinterTo_p_wxObject(void *x) {
33800 return (void *)((wxObject *) ((wxPrinter *) x));
33801}
33802static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33803 return (void *)((wxObject *) ((wxMenuItem *) x));
33804}
33805static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33806 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33807}
33808static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33809 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33810}
33811static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33812 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33813}
33814static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33815 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33816}
33817static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33818 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33819}
33820static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33821 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33822}
33823static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33824 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33825}
33826static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33827 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33828}
33829static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33830 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33831}
33832static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33833 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33834}
33835static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33836 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33837}
33838static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33839 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33840}
33841static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33842 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33843}
33844static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33845 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33846}
33847static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33848 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33849}
33850static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33851 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33852}
33853static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33854 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33855}
33856static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33857 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33858}
33859static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33860 return (void *)((wxObject *) ((wxImageHandler *) x));
33861}
33862static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33863 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33864}
33865static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33866 return (void *)((wxObject *) ((wxEvtHandler *) x));
33867}
33868static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33869 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33870}
33871static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
33872 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
33873}
33874static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33876}
33877static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33879}
33880static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
33881 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
33882}
33883static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33884 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33885}
33886static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
33887 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
33888}
33889static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33891}
33892static void *_p_wxImageTo_p_wxObject(void *x) {
33893 return (void *)((wxObject *) ((wxImage *) x));
33894}
33895static void *_p_wxFrameTo_p_wxObject(void *x) {
33896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33897}
33898static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33899 return (void *)((wxObject *) ((wxPyPrintout *) x));
33900}
33901static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33902 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33903}
33904static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33905 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33906}
33907static void *_p_wxDiagramTo_p_wxObject(void *x) {
33908 return (void *)((wxObject *) ((wxDiagram *) x));
33909}
33910static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33912}
33913static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33915}
33916static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33917 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33918}
33919static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33920 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33921}
33922static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33923 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33924}
44127b65
RD
33925static void *_p_wxWindowTo_p_wxObject(void *x) {
33926 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33927}
33928static void *_p_wxMenuTo_p_wxObject(void *x) {
33929 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33930}
33931static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33933}
41f1cec7
RD
33934static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33936}
44127b65
RD
33937static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33939}
33940static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33942}
33943static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33945}
33946static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33948}
33949static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33951}
33952static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33954}
33955static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33957}
33958static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33960}
33961static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33963}
33964static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33966}
a2482628
RD
33967static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33969}
44127b65
RD
33970static void *_p_wxSashEventTo_p_wxObject(void *x) {
33971 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33972}
33973static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33974 return (void *)((wxObject *) ((wxPrintPreview *) x));
33975}
33976static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33977 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33978}
33979static void *_p_wxPanelTo_p_wxObject(void *x) {
33980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33981}
33982static void *_p_wxDialogTo_p_wxObject(void *x) {
33983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33984}
33985static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33987}
33988static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33990}
33991static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33993}
33994static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
33996}
33997static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
33999}
7a0a63ae
RD
34000static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
34001 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
34002}
44127b65
RD
34003static void *_p_wxPyShapeTo_p_wxObject(void *x) {
34004 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
34005}
34006static void *_p_wxFileSystemTo_p_wxObject(void *x) {
34007 return (void *)((wxObject *) ((wxFileSystem *) x));
34008}
34009static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
34010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
34011}
34012static void *_p_wxMenuEventTo_p_wxObject(void *x) {
34013 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
34014}
34015static void *_p_wxPyAppTo_p_wxObject(void *x) {
34016 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
34017}
34018static void *_p_wxCloseEventTo_p_wxObject(void *x) {
34019 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
34020}
34021static void *_p_wxMouseEventTo_p_wxObject(void *x) {
34022 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
34023}
34024static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34025 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34026}
34027static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34028 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34029}
34030static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34031 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34032}
34033static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
34034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34035}
34036static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
34037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34038}
34039static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34040 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34041}
34042static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34043 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34044}
34045static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34046 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34047}
34048static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
34049 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
34050}
34051static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
34052 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34053}
34054static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
34055 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34056}
34057static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
34058 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
34059}
34060static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
34061 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
34062}
34063static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34065}
34066static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
34067 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
34068}
34069static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
34070 return (void *)((wxObject *) ((wxPrintDialogData *) x));
34071}
34072static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34073 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34074}
34075static void *_p_wxValidatorTo_p_wxObject(void *x) {
34076 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34077}
34078static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
34079 return (void *)((wxObject *) ((wxShapeRegion *) x));
34080}
34081static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34082 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
34083}
34084static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
34085 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34086}
34087static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
34088 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34089}
34090static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34091 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34092}
34093static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
34094 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
34095}
34096static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
34097 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34098}
34099static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
34100 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34101}
34102static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
34103 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34104}
34105static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
34106 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34107}
34108static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
34109 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
34110}
34111static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
34112 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34113}
34114static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
34115 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
34116}
34117static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
34118 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
34119}
34120static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34121 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34122}
34123static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34124 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34125}
34126static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34127 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34128}
34129static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34130 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34131}
34132static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34133 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34134}
34135static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34136 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34137}
34138static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34139 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34140}
34141static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34142 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34143}
34144static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34145 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34146}
34147static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34148 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34149}
34150static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34151 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34152}
34153static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34154 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34155}
34156static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34157 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34158}
34159static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34160 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34161}
34162static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34163 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34164}
34165static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34166 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34167}
34168static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34169 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34170}
34171static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34172 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
34173}
34174static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34175 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34176}
34177static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34178 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34179}
34180static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34181 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34182}
34183static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34184 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34185}
34186static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34187 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34188}
34189static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34190 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34191}
34192static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34193 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34194}
34195static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34196 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34197}
34198static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34199 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34200}
34201static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34202 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34203}
a2482628
RD
34204static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
34205 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34206}
44127b65
RD
34207static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34208 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34209}
34210static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34212}
34213static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34215}
34216static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34218}
34219static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34220 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34221}
34222static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34223 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34224}
34225static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34227}
34228static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34229 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34230}
34231static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34232 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34233}
34234static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34235 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34236}
34237static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34238 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34239}
34240static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34241 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34242}
34243static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34244 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34245}
34246static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34247 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34248}
34249static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34251}
34252static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34254}
34255static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34257}
34258static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34260}
34261static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34262 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34263}
34264static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
34265 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34266}
34267static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
34268 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34269}
34270static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34271 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34272}
34273static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
34274 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
34275}
34276static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
34277 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
34278}
34279static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
34280 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34281}
34282static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
34283 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34284}
34285static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
34286 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
34287}
34288static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
34289 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
34290}
34291static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
34292 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
34293}
34294static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
34295 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
34296}
34297static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
34298 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34299}
34300static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
34301 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34302}
34303static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
34304 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
34305}
34306static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
34307 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
34308}
34309static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
34310 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
34311}
34312static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
34313 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34314}
34315static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
34316 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34317}
34318static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
34319 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
34320}
34321static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
34322 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
34323}
34324static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
34325 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34326}
34327static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
34328 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34329}
34330static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
34331 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
34332}
34333static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
34334 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34335}
2f4c0a16
RD
34336static 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}};
34337static 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}};
34338static 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}};
34339static 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}};
34340static 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}};
34341static 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}};
34342static 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}};
34343static 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}};
34344static 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}};
34345static 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 34346static 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
34347static 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}};
34348static 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}};
34349static 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
RD
34350static 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}};
34351static 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_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_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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
34352static 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}};
34353static 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}};
34354static 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}};
34355static 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}};
34356static 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}};
a2482628 34357static 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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_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_wxPCXHandler", _p_wxPCXHandlerTo_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_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
34358static 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}};
34359static 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}};
a2482628 34360static 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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_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_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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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
34361static 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}};
34362static 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}};
34363static 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}};
34364static 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}};
34365static 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}};
34366static 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}};
34367static 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}};
34368static 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}};
34369static 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}};
34370static 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}};
34371static 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}};
34372static 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}};
34373static 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}};
34374static 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}};
34375static 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}};
34376static 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
34377
34378static swig_type_info *swig_types_initial[] = {
34379_swigt__p_wxOGLConstraint,
34380_swigt__p_wxBrush,
34381_swigt__p_wxColour,
34382_swigt__p_wxShapeRegion,
34383_swigt__p_wxDC,
34384_swigt__p_wxRealPoint,
34385_swigt__p_wxPyControlPoint,
34386_swigt__p_wxArrowHead,
8edf1c75 34387_swigt__p_char,
44127b65
RD
34388_swigt__p_wxStringList,
34389_swigt__p_wxPanel,
34390_swigt__p_bool,
34391_swigt__p_wxList,
34392_swigt__p_wxFont,
34393_swigt__p_wxScrolledWindow,
34394_swigt__p_wxWindow,
34395_swigt__p_double,
8edf1c75 34396_swigt__p_wxPyDivisionShape,
02a34c4c 34397_swigt__p_wxPyDrawnShape,
44127b65
RD
34398_swigt__p_wxPyPolygonShape,
34399_swigt__p_wxBitmap,
34400_swigt__p_wxObject,
34401_swigt__p_wxPyBitmapShape,
44127b65
RD
34402_swigt__p_wxPyShapeEvtHandler,
34403_swigt__p_wxEvtHandler,
34404_swigt__p_wxPyEllipseShape,
34405_swigt__p_wxPyShapeCanvas,
34406_swigt__p_wxPoint,
34407_swigt__p_wxDiagram,
34408_swigt__p_wxPyShape,
7a0a63ae 34409_swigt__p_wxAttachmentPoint,
44127b65
RD
34410_swigt__p_wxClassInfo,
34411_swigt__p_wxPyLineShape,
34412_swigt__p_wxPyRectangleShape,
34413_swigt__p_wxPyCompositeShape,
34414_swigt__p_wxPyCircleShape,
34415_swigt__p_wxPen,
34416_swigt__p_int,
34417_swigt__p_wxPseudoMetaFile,
34418_swigt__p_wxPyTextShape,
34419_swigt__p_wxPyDividedShape,
344200
34421};
34422
34423
34424/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34425
34426static swig_const_info swig_const_table[] = {
a95a7133 34427{0}};
44127b65
RD
34428
34429#ifdef __cplusplus
34430}
34431#endif
34432
34433#ifdef __cplusplus
34434extern "C"
34435#endif
34436SWIGEXPORT(void) SWIG_init(void) {
34437 static PyObject *SWIG_globals = 0;
34438 static int typeinit = 0;
34439 PyObject *m, *d;
34440 int i;
34441 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
34442 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34443 d = PyModule_GetDict(m);
34444
34445 if (!typeinit) {
34446 for (i = 0; swig_types_initial[i]; i++) {
34447 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
34448 }
34449 typeinit = 1;
34450 }
34451 SWIG_InstallConstants(d,swig_const_table);
34452
2f4c0a16
RD
34453 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_FromInt((int)oglMETAFLAGS_OUTLINE));
34454 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
34455 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_FromInt((int)KEY_SHIFT));
34456 PyDict_SetItemString(d,"KEY_CTRL", SWIG_FromInt((int)KEY_CTRL));
34457 PyDict_SetItemString(d,"ARROW_NONE", SWIG_FromInt((int)ARROW_NONE));
34458 PyDict_SetItemString(d,"ARROW_END", SWIG_FromInt((int)ARROW_END));
34459 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_FromInt((int)ARROW_BOTH));
34460 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_FromInt((int)ARROW_MIDDLE));
34461 PyDict_SetItemString(d,"ARROW_START", SWIG_FromInt((int)ARROW_START));
34462 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_FromInt((int)ARROW_HOLLOW_CIRCLE));
34463 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_FromInt((int)ARROW_FILLED_CIRCLE));
34464 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_FromInt((int)ARROW_ARROW));
34465 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_FromInt((int)ARROW_SINGLE_OBLIQUE));
34466 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_FromInt((int)ARROW_DOUBLE_OBLIQUE));
34467 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_FromInt((int)ARROW_METAFILE));
34468 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_FromInt((int)ARROW_POSITION_END));
34469 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_FromInt((int)ARROW_POSITION_START));
34470 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_FromInt((int)CONTROL_POINT_VERTICAL));
34471 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_FromInt((int)CONTROL_POINT_HORIZONTAL));
34472 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_FromInt((int)CONTROL_POINT_DIAGONAL));
34473 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
34474 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
34475 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_FromInt((int)CONTROL_POINT_LINE));
34476 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_FromInt((int)FORMAT_NONE));
34477 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_FromInt((int)FORMAT_CENTRE_HORIZ));
34478 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_FromInt((int)FORMAT_CENTRE_VERT));
34479 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
34480 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_FromInt((int)LINE_ALIGNMENT_HORIZ));
34481 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_FromInt((int)LINE_ALIGNMENT_VERT));
34482 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
34483 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_FromInt((int)LINE_ALIGNMENT_NONE));
34484 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_FromInt((int)SHADOW_NONE));
34485 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_FromInt((int)SHADOW_LEFT));
34486 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_FromInt((int)SHADOW_RIGHT));
34487 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_FromInt((int)OP_CLICK_LEFT));
34488 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_FromInt((int)OP_CLICK_RIGHT));
34489 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_FromInt((int)OP_DRAG_LEFT));
34490 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_FromInt((int)OP_DRAG_RIGHT));
34491 PyDict_SetItemString(d,"OP_ALL", SWIG_FromInt((int)OP_ALL));
34492 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_FromInt((int)ATTACHMENT_MODE_NONE));
34493 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_FromInt((int)ATTACHMENT_MODE_EDGE));
34494 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_FromInt((int)ATTACHMENT_MODE_BRANCHING));
34495 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
34496 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
34497 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
34498 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
34499 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
34500 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_FromInt((int)gyCONSTRAINT_LEFT_OF));
34501 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_FromInt((int)gyCONSTRAINT_RIGHT_OF));
34502 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_FromInt((int)gyCONSTRAINT_ABOVE));
34503 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_FromInt((int)gyCONSTRAINT_BELOW));
34504 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
34505 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
34506 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
34507 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
34508 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
34509 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
34510 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
34511 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
34512 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_FromInt((int)DIVISION_SIDE_NONE));
34513 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_FromInt((int)DIVISION_SIDE_LEFT));
34514 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_FromInt((int)DIVISION_SIDE_TOP));
34515 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_FromInt((int)DIVISION_SIDE_RIGHT));
34516 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_FromInt((int)DIVISION_SIDE_BOTTOM));
44127b65
RD
34517
34518
34519 // initoglbasicc();
34520 // initoglshapesc();
34521 // initoglshapes2c();
34522 // initoglcanvasc();
34523
34524
34525 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34526 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34527 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34528 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34529 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34530 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34531 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34532 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34533 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34534 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34535 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34536 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34537 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34538 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
34539
34540
34541}
34542