]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/msw/ogl_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / ogl / msw / ogl_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 3 * Version 1.3.22
44127b65
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
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
f0983263
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
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
44127b65
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
44127b65 89#else
f0983263 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 {
f0983263 101 const char *name;
44127b65
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 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 *);
f0983263
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
f0983263 126
44127b65
RD
127/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
44127b65
RD
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
44127b65
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
83448d71 174
44127b65
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
44127b65
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
8edf1c75 187typedef double (*py_objasdbl_conv)(PyObject *obj);
44127b65 188
f0983263
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
44127b65 197
8edf1c75
RD
198/* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201/* basic types */
202/*
203 utilities
204*/
205SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
44127b65
RD
219
220
221/* Contract support */
222
223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
44127b65
RD
225#ifdef __cplusplus
226}
227#endif
228
229
230
231/* -------- TYPES TABLE (BEGIN) -------- */
232
233#define SWIGTYPE_p_wxOGLConstraint swig_types[0]
234#define SWIGTYPE_p_wxBrush swig_types[1]
235#define SWIGTYPE_p_wxColour swig_types[2]
236#define SWIGTYPE_p_wxShapeRegion swig_types[3]
237#define SWIGTYPE_p_wxDC swig_types[4]
238#define SWIGTYPE_p_wxRealPoint swig_types[5]
239#define SWIGTYPE_p_wxPyControlPoint swig_types[6]
240#define SWIGTYPE_p_wxArrowHead swig_types[7]
8edf1c75
RD
241#define SWIGTYPE_p_char swig_types[8]
242#define SWIGTYPE_p_wxStringList swig_types[9]
243#define SWIGTYPE_p_wxPanel swig_types[10]
244#define SWIGTYPE_p_bool swig_types[11]
245#define SWIGTYPE_p_wxList swig_types[12]
246#define SWIGTYPE_p_wxFont swig_types[13]
247#define SWIGTYPE_p_wxScrolledWindow swig_types[14]
248#define SWIGTYPE_p_wxWindow swig_types[15]
249#define SWIGTYPE_p_double swig_types[16]
44127b65 250#define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
8edf1c75
RD
251#define SWIGTYPE_p_wxPyDivisionShape swig_types[18]
252#define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
253#define SWIGTYPE_p_wxBitmap swig_types[20]
254#define SWIGTYPE_p_wxObject swig_types[21]
255#define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
256#define SWIGTYPE_p_wxString swig_types[23]
257#define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[24]
258#define SWIGTYPE_p_wxEvtHandler swig_types[25]
259#define SWIGTYPE_p_wxPyEllipseShape swig_types[26]
260#define SWIGTYPE_p_wxPyShapeCanvas swig_types[27]
261#define SWIGTYPE_p_wxPoint swig_types[28]
262#define SWIGTYPE_p_wxDiagram swig_types[29]
263#define SWIGTYPE_p_wxPyShape swig_types[30]
264#define SWIGTYPE_p_wxAttachmentPoint swig_types[31]
265#define SWIGTYPE_p_wxClassInfo swig_types[32]
266#define SWIGTYPE_p_wxPyLineShape swig_types[33]
267#define SWIGTYPE_p_wxPyRectangleShape swig_types[34]
268#define SWIGTYPE_p_wxPyCompositeShape swig_types[35]
269#define SWIGTYPE_p_wxPyCircleShape swig_types[36]
270#define SWIGTYPE_p_wxPen swig_types[37]
271#define SWIGTYPE_p_int swig_types[38]
272#define SWIGTYPE_p_wxPseudoMetaFile swig_types[39]
273#define SWIGTYPE_p_wxPyTextShape swig_types[40]
274#define SWIGTYPE_p_wxPyDividedShape swig_types[41]
275static swig_type_info *swig_types[43];
44127b65
RD
276
277/* -------- TYPES TABLE (END) -------- */
278
279
280/*-----------------------------------------------
281 @(target):= _ogl.so
282 ------------------------------------------------*/
283#define SWIG_init init_ogl
284
285#define SWIG_name "_ogl"
286
8edf1c75
RD
287#include <limits.h>
288#include <float.h>
289#include <string.h>
290
291#ifndef SWIGSTATIC
292#ifdef __cplusplus
293#define SWIGSTATIC(a) static inline a
294#else
295#define SWIGSTATIC(a) static a
296#endif
297#endif
298
299#ifndef numeric_cast
300#ifdef __cplusplus
301#ifdef HAVE_NUMERIC_CAST
302#define numeric_cast(type,a) numeric_cast<type>(a)
303#else
304#define numeric_cast(type,a) static_cast<type>(a)
305#endif
306#else
307#define numeric_cast(type,a) (type)(a)
308#endif
309#endif
310
311
312
313#define SWIG_PyObj_FromSignedChar PyInt_FromLong
314#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
315#define SWIG_PyObj_FromShort PyInt_FromLong
316#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
317#define SWIG_PyObj_FromInt PyInt_FromLong
318#define SWIG_PyObj_FromLong PyInt_FromLong
319#define SWIG_PyObj_FromFloat PyFloat_FromDouble
320#define SWIG_PyObj_FromDouble PyFloat_FromDouble
321#define SWIG_PyObj_FromFloat PyFloat_FromDouble
322#define SWIG_PyObj_FromDouble PyFloat_FromDouble
323
324
44127b65
RD
325#include "wx/wxPython/wxPython.h"
326#include "wx/wxPython/pyclasses.h"
327#include "oglhelpers.h"
328
329
d03fd34d 330 static const wxString wxPyEmptyString(wxEmptyString);
44127b65 331
8edf1c75
RD
332SWIGSTATIC(double)
333SWIG_PyObj_AsDouble(PyObject *obj)
334{
335 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
336#if HAVE_LONG_LONG
337 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
338#else
339 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
340#endif
341 if (PyErr_Occurred()) {
342 PyErr_Clear();
343 PyErr_SetString(PyExc_TypeError, "a double is expected");
344 }
345}
346
347
348SWIGSTATIC(int)
349SWIG_PyObj_AsInt(PyObject *obj)
350{
351 return numeric_cast(int,
352 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
353}
354
355
44127b65
RD
356static PyObject* t_output_helper(PyObject* target, PyObject* o) {
357 PyObject* o2;
358 PyObject* o3;
359
360 if (!target) {
361 target = o;
362 } else if (target == Py_None) {
363 Py_DECREF(Py_None);
364 target = o;
365 } else {
366 if (!PyTuple_Check(target)) {
367 o2 = target;
368 target = PyTuple_New(1);
369 PyTuple_SetItem(target, 0, o2);
370 }
371 o3 = PyTuple_New(1);
372 PyTuple_SetItem(o3, 0, o);
373
374 o2 = target;
375 target = PySequence_Concat(o2, o3);
376 Py_DECREF(o2);
377 Py_DECREF(o3);
378 }
379 return target;
380}
381
382
383 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
384
385void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
386 self->SetClientObject(new wxPyOORClientData(_self));
387 }
388
8edf1c75
RD
389SWIGSTATIC(bool)
390SWIG_PyObj_AsBool(PyObject *obj)
391{
392 return PyObject_IsTrue(obj) ? true : false;
393}
394
395
396SWIGSTATIC(PyObject*)
397SWIG_PyObj_FromBool(bool value)
398{
399 PyObject *obj = value ? Py_True : Py_False;
400 Py_INCREF(obj);
401 return obj;
402}
403
404
44127b65
RD
405 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
406
407PyObject *wxPyShape_GetChildren(wxPyShape *self){
408 wxList& list = self->GetChildren();
409 return wxPy_ConvertShapeList(&list);
410 }
411PyObject *wxPyShape_GetLines(wxPyShape *self){
412 wxList& list = self->GetLines();
413 return wxPy_ConvertShapeList(&list);
414 }
8edf1c75
RD
415
416SWIGSTATIC(long)
417SWIG_PyObj_AsLong(PyObject * obj)
418{
419 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
420}
421
44127b65
RD
422PyObject *wxPyShape_GetRegions(wxPyShape *self){
423 wxList& list = self->GetRegions();
424 return wxPy_ConvertList(&list);
425 }
7a0a63ae
RD
426PyObject *wxPyShape_GetAttachments(wxPyShape *self){
427 wxList& list = self->GetAttachments();
428 return wxPy_ConvertList(&list);
429 }
44127b65
RD
430void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
431 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
432 self->ApplyAttachmentOrdering(*list);
433 delete list;
434 }
435
436// Using this macro can sometimes provoke an Internal Compiler Error in MSVC
437// 6, so instead I'l just expand it out by hand...
438// WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
439
440 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
441 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
442 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
443 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
444 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
445 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
446 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
447 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
448 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
449 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
450 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
451 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
452 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
453 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
454 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
455 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
456 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
457 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
458 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
459 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
460 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
461 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
462 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
463 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
464 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
465 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
466 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
467 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
468 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
469
470
471
472 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
473
474
475 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
476
477
478 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
479
480wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
481 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
482 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
483 delete list;
484 return rv;
485 }
486
487 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
488
489wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
490 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
491 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
492 delete list;
493 return rv;
494 }
495PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
496 wxList& list = self->GetConstraints();
497 return wxPy_ConvertList(&list);
498 }
499PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
500 wxList& list = self->GetDivisions();
501 return wxPy_ConvertShapeList(&list);
502 }
503
504 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
505
506
507 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
508
509
510 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
511
512
513 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
514
515
516 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
517
518void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
519 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
520 self->AddArrowOrdered(arrow, *list, end);
521 delete list;
522 }
523PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
524 wxList* list = self->GetLineControlPoints();
525 return wxPy_ConvertShapeList(list);
526 }
527
528 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
529
530PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
531 wxList* list = wxPy_wxRealPoint_ListHelper(points);
532 if (list) {
533 self->Create(list);
534 Py_INCREF(Py_None);
535 return Py_None;
536 }
537 else return NULL;
538 }
539PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
540 wxList* list = self->GetPoints();
541 PyObject* pyList;
542 PyObject* pyObj;
543 wxObject* wxObj;
544 wxNode* node = list->GetFirst();
545
7a0a63ae
RD
546 wxPyBeginBlockThreads();
547 pyList = PyList_New(0);
548 while (node) {
549 wxObj = node->GetData();
550 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
551 PyList_Append(pyList, pyObj);
552 node = node->GetNext();
553 }
554 wxPyEndBlockThreads();
555 return pyList;
556 }
557PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
558 wxList* list = self->GetOriginalPoints();
559 PyObject* pyList;
560 PyObject* pyObj;
561 wxObject* wxObj;
562 wxNode* node = list->GetFirst();
563
44127b65
RD
564 wxPyBeginBlockThreads();
565 pyList = PyList_New(0);
566 while (node) {
567 wxObj = node->GetData();
568 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
569 PyList_Append(pyList, pyObj);
570 node = node->GetNext();
571 }
572 wxPyEndBlockThreads();
573 return pyList;
574 }
575
576 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
577
578
579 // Put some wx default wxChar* values into wxStrings.
580 DECLARE_DEF_STRING(ShapeCanvasNameStr);
581
582PyObject *wxDiagram_GetShapeList(wxDiagram *self){
583 wxList* list = self->GetShapeList();
584 return wxPy_ConvertShapeList(list);
585 }
586
587 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
588 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
589 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
590 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
591 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
592 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
593 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
594 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
595
596
597//---------------------------------------------------------------------------
598
599// Convert from a Python list to a list of className objects. This one will
600// work for any class for the VERY generic cases, but beyond that the helper
601// needs to know more about the type.
602wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
603 wxPyBeginBlockThreads();
604 if (!PyList_Check(pyList)) {
605 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
606 wxPyEndBlockThreads();
607 return NULL;
608 }
609 int count = PyList_Size(pyList);
610 wxList* list = new wxList;
611 if (! list) {
612 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
613 wxPyEndBlockThreads();
614 return NULL;
615 }
616 for (int x=0; x<count; x++) {
617 PyObject* pyo = PyList_GetItem(pyList, x);
618 wxObject* wxo = NULL;
619
620 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
621 wxString errmsg;
622 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
623 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
624 wxPyEndBlockThreads();
625 return NULL;
626 }
627 list->Append(wxo);
628 }
629 wxPyEndBlockThreads();
630 return list;
631}
632
633//---------------------------------------------------------------------------
634
635wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
636 wxPyBeginBlockThreads();
637 if (!PyList_Check(pyList)) {
638 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
639 wxPyEndBlockThreads();
640 return NULL;
641 }
642 int count = PyList_Size(pyList);
643 wxList* list = new wxList;
644 if (! list) {
645 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
646 wxPyEndBlockThreads();
647 return NULL;
648 }
649 for (int x=0; x<count; x++) {
650 PyObject* pyo = PyList_GetItem(pyList, x);
651
652 if (PyTuple_Check(pyo)) {
653 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
654 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
655
656 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
657 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
658
659 list->Append((wxObject*) new wxRealPoint(val1, val2));
660
661 } else {
662 wxRealPoint* wxo = NULL;
663 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
664 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
665 wxPyEndBlockThreads();
666 return NULL;
667 }
668 list->Append((wxObject*) new wxRealPoint(*wxo));
669 }
670 }
671 wxPyEndBlockThreads();
672 return list;
673}
674
675//---------------------------------------------------------------------------
676
677PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source) {
678 PyObject* target = NULL;
679
680 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
681 // If it's derived from wxShapeEvtHandler then there may
682 // already be a pointer to a Python object that we can use
683 // in the OOR data.
684 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
685 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
686 if (data) {
687 target = data->m_obj;
688 Py_INCREF(target);
689 }
690 }
691 if (! target) {
692 target = wxPyMake_wxObject2(source, FALSE);
693 if (target != Py_None)
694 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
695 }
696 return target;
697}
698
699//---------------------------------------------------------------------------
700
701PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
702 wxList* list = (wxList*)listbase;
703 PyObject* pyList;
704 PyObject* pyObj;
705 wxObject* wxObj;
706 wxNode* node = list->GetFirst();
707
708 wxPyBeginBlockThreads();
709 pyList = PyList_New(0);
710 while (node) {
711 wxObj = node->GetData();
712 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj);
713 PyList_Append(pyList, pyObj);
714 node = node->GetNext();
715 }
716 wxPyEndBlockThreads();
717 return pyList;
718}
719
720
721//---------------------------------------------------------------------------
722
723IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
724IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
725IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
726IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
727IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
728IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
729IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
730IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
731IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
732IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
733IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
734IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
735IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
736IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
737IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
738
739//---------------------------------------------------------------------------
740
741// extern "C" SWIGEXPORT(void) initoglbasicc();
742// extern "C" SWIGEXPORT(void) initoglshapesc();
743// extern "C" SWIGEXPORT(void) initoglshapes2c();
744// extern "C" SWIGEXPORT(void) initoglcanvasc();
745
746#ifdef __cplusplus
747extern "C" {
748#endif
749static PyObject *_wrap_new_ShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
750 PyObject *resultobj;
751 wxShapeRegion *result;
752 char *kwnames[] = {
753 NULL
754 };
755
756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
757 {
758 PyThreadState* __tstate = wxPyBeginAllowThreads();
759 result = (wxShapeRegion *)new wxShapeRegion();
760
761 wxPyEndAllowThreads(__tstate);
762 if (PyErr_Occurred()) SWIG_fail;
763 }
764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShapeRegion, 1);
765 return resultobj;
766 fail:
767 return NULL;
768}
769
770
771static PyObject *_wrap_ShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
772 PyObject *resultobj;
773 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
774 wxString *arg2 = 0 ;
775 bool temp2 = False ;
776 PyObject * obj0 = 0 ;
777 PyObject * obj1 = 0 ;
778 char *kwnames[] = {
779 (char *) "self",(char *) "s", NULL
780 };
781
782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
784 {
785 arg2 = wxString_in_helper(obj1);
786 if (arg2 == NULL) SWIG_fail;
787 temp2 = True;
788 }
789 {
790 PyThreadState* __tstate = wxPyBeginAllowThreads();
791 (arg1)->SetText((wxString const &)*arg2);
792
793 wxPyEndAllowThreads(__tstate);
794 if (PyErr_Occurred()) SWIG_fail;
795 }
796 Py_INCREF(Py_None); resultobj = Py_None;
797 {
798 if (temp2)
799 delete arg2;
800 }
801 return resultobj;
802 fail:
803 {
804 if (temp2)
805 delete arg2;
806 }
807 return NULL;
808}
809
810
811static PyObject *_wrap_ShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
812 PyObject *resultobj;
813 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
814 wxFont *arg2 = (wxFont *) 0 ;
815 PyObject * obj0 = 0 ;
816 PyObject * obj1 = 0 ;
817 char *kwnames[] = {
818 (char *) "self",(char *) "f", NULL
819 };
820
821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
823 {
824 wxFont* temp;
825 if (obj1) {
826 if (obj1 == Py_None) {
827 temp = NULL;
828 }
829 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
830 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
831 return NULL;
832 }
833 }
834 if (temp)
835 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
836 temp->GetFamily(),
837 temp->GetStyle(),
838 temp->GetWeight(),
839 temp->GetUnderlined(),
840 temp->GetFaceName(),
841 temp->GetEncoding());
842 else
843 arg2 = NULL;
844 }
845 {
846 PyThreadState* __tstate = wxPyBeginAllowThreads();
847 (arg1)->SetFont(arg2);
848
849 wxPyEndAllowThreads(__tstate);
850 if (PyErr_Occurred()) SWIG_fail;
851 }
852 Py_INCREF(Py_None); resultobj = Py_None;
853 return resultobj;
854 fail:
855 return NULL;
856}
857
858
859static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
860 PyObject *resultobj;
861 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
862 double arg2 ;
863 double arg3 ;
864 PyObject * obj0 = 0 ;
8edf1c75
RD
865 PyObject * obj1 = 0 ;
866 PyObject * obj2 = 0 ;
44127b65
RD
867 char *kwnames[] = {
868 (char *) "self",(char *) "w",(char *) "h", NULL
869 };
870
8edf1c75 871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
873 {
874 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
875 if (PyErr_Occurred()) SWIG_fail;
876 }
877 {
878 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
879 if (PyErr_Occurred()) SWIG_fail;
880 }
44127b65
RD
881 {
882 PyThreadState* __tstate = wxPyBeginAllowThreads();
883 (arg1)->SetMinSize(arg2,arg3);
884
885 wxPyEndAllowThreads(__tstate);
886 if (PyErr_Occurred()) SWIG_fail;
887 }
888 Py_INCREF(Py_None); resultobj = Py_None;
889 return resultobj;
890 fail:
891 return NULL;
892}
893
894
895static PyObject *_wrap_ShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
896 PyObject *resultobj;
897 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
898 double arg2 ;
899 double arg3 ;
900 PyObject * obj0 = 0 ;
8edf1c75
RD
901 PyObject * obj1 = 0 ;
902 PyObject * obj2 = 0 ;
44127b65
RD
903 char *kwnames[] = {
904 (char *) "self",(char *) "w",(char *) "h", NULL
905 };
906
8edf1c75 907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
909 {
910 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
911 if (PyErr_Occurred()) SWIG_fail;
912 }
913 {
914 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
915 if (PyErr_Occurred()) SWIG_fail;
916 }
44127b65
RD
917 {
918 PyThreadState* __tstate = wxPyBeginAllowThreads();
919 (arg1)->SetSize(arg2,arg3);
920
921 wxPyEndAllowThreads(__tstate);
922 if (PyErr_Occurred()) SWIG_fail;
923 }
924 Py_INCREF(Py_None); resultobj = Py_None;
925 return resultobj;
926 fail:
927 return NULL;
928}
929
930
931static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
932 PyObject *resultobj;
933 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
934 double arg2 ;
935 double arg3 ;
936 PyObject * obj0 = 0 ;
8edf1c75
RD
937 PyObject * obj1 = 0 ;
938 PyObject * obj2 = 0 ;
44127b65
RD
939 char *kwnames[] = {
940 (char *) "self",(char *) "x",(char *) "y", NULL
941 };
942
8edf1c75 943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
945 {
946 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
947 if (PyErr_Occurred()) SWIG_fail;
948 }
949 {
950 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
951 if (PyErr_Occurred()) SWIG_fail;
952 }
44127b65
RD
953 {
954 PyThreadState* __tstate = wxPyBeginAllowThreads();
955 (arg1)->SetPosition(arg2,arg3);
956
957 wxPyEndAllowThreads(__tstate);
958 if (PyErr_Occurred()) SWIG_fail;
959 }
960 Py_INCREF(Py_None); resultobj = Py_None;
961 return resultobj;
962 fail:
963 return NULL;
964}
965
966
967static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) {
968 PyObject *resultobj;
969 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
970 double arg2 ;
971 double arg3 ;
972 PyObject * obj0 = 0 ;
8edf1c75
RD
973 PyObject * obj1 = 0 ;
974 PyObject * obj2 = 0 ;
44127b65
RD
975 char *kwnames[] = {
976 (char *) "self",(char *) "x",(char *) "y", NULL
977 };
978
8edf1c75 979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
981 {
982 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
983 if (PyErr_Occurred()) SWIG_fail;
984 }
985 {
986 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
987 if (PyErr_Occurred()) SWIG_fail;
988 }
44127b65
RD
989 {
990 PyThreadState* __tstate = wxPyBeginAllowThreads();
991 (arg1)->SetProportions(arg2,arg3);
992
993 wxPyEndAllowThreads(__tstate);
994 if (PyErr_Occurred()) SWIG_fail;
995 }
996 Py_INCREF(Py_None); resultobj = Py_None;
997 return resultobj;
998 fail:
999 return NULL;
1000}
1001
1002
1003static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject *resultobj;
1005 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1006 int arg2 ;
1007 PyObject * obj0 = 0 ;
8edf1c75 1008 PyObject * obj1 = 0 ;
44127b65
RD
1009 char *kwnames[] = {
1010 (char *) "self",(char *) "mode", NULL
1011 };
1012
8edf1c75 1013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
44127b65 1014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1015 {
1016 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1017 if (PyErr_Occurred()) SWIG_fail;
1018 }
44127b65
RD
1019 {
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
1021 (arg1)->SetFormatMode(arg2);
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) SWIG_fail;
1025 }
1026 Py_INCREF(Py_None); resultobj = Py_None;
1027 return resultobj;
1028 fail:
1029 return NULL;
1030}
1031
1032
1033static PyObject *_wrap_ShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1034 PyObject *resultobj;
1035 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1036 wxString *arg2 = 0 ;
1037 bool temp2 = False ;
1038 PyObject * obj0 = 0 ;
1039 PyObject * obj1 = 0 ;
1040 char *kwnames[] = {
1041 (char *) "self",(char *) "s", NULL
1042 };
1043
1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
1045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1046 {
1047 arg2 = wxString_in_helper(obj1);
1048 if (arg2 == NULL) SWIG_fail;
1049 temp2 = True;
1050 }
1051 {
1052 PyThreadState* __tstate = wxPyBeginAllowThreads();
1053 (arg1)->SetName((wxString const &)*arg2);
1054
1055 wxPyEndAllowThreads(__tstate);
1056 if (PyErr_Occurred()) SWIG_fail;
1057 }
1058 Py_INCREF(Py_None); resultobj = Py_None;
1059 {
1060 if (temp2)
1061 delete arg2;
1062 }
1063 return resultobj;
1064 fail:
1065 {
1066 if (temp2)
1067 delete arg2;
1068 }
1069 return NULL;
1070}
1071
1072
1073static PyObject *_wrap_ShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject *resultobj;
1075 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1076 wxString *arg2 = 0 ;
1077 bool temp2 = False ;
1078 PyObject * obj0 = 0 ;
1079 PyObject * obj1 = 0 ;
1080 char *kwnames[] = {
1081 (char *) "self",(char *) "col", NULL
1082 };
1083
1084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
1085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1086 {
1087 arg2 = wxString_in_helper(obj1);
1088 if (arg2 == NULL) SWIG_fail;
1089 temp2 = True;
1090 }
1091 {
1092 PyThreadState* __tstate = wxPyBeginAllowThreads();
1093 (arg1)->SetColour((wxString const &)*arg2);
1094
1095 wxPyEndAllowThreads(__tstate);
1096 if (PyErr_Occurred()) SWIG_fail;
1097 }
1098 Py_INCREF(Py_None); resultobj = Py_None;
1099 {
1100 if (temp2)
1101 delete arg2;
1102 }
1103 return resultobj;
1104 fail:
1105 {
1106 if (temp2)
1107 delete arg2;
1108 }
1109 return NULL;
1110}
1111
1112
1113static PyObject *_wrap_ShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
1114 PyObject *resultobj;
1115 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1116 wxString result;
1117 PyObject * obj0 = 0 ;
1118 char *kwnames[] = {
1119 (char *) "self", NULL
1120 };
1121
1122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
1123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1124 {
1125 PyThreadState* __tstate = wxPyBeginAllowThreads();
1126 result = (arg1)->GetText();
1127
1128 wxPyEndAllowThreads(__tstate);
1129 if (PyErr_Occurred()) SWIG_fail;
1130 }
1131 {
1132#if wxUSE_UNICODE
1133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1134#else
1135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1136#endif
1137 }
1138 return resultobj;
1139 fail:
1140 return NULL;
1141}
1142
1143
1144static PyObject *_wrap_ShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1145 PyObject *resultobj;
1146 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1147 wxFont *result;
1148 PyObject * obj0 = 0 ;
1149 char *kwnames[] = {
1150 (char *) "self", NULL
1151 };
1152
1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
1154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1155 {
1156 PyThreadState* __tstate = wxPyBeginAllowThreads();
1157 result = (wxFont *)(arg1)->GetFont();
1158
1159 wxPyEndAllowThreads(__tstate);
1160 if (PyErr_Occurred()) SWIG_fail;
1161 }
1162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
1163 return resultobj;
1164 fail:
1165 return NULL;
1166}
1167
1168
1169static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject *resultobj;
1171 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1172 double *arg2 = (double *) 0 ;
1173 double *arg3 = (double *) 0 ;
1174 double temp2 ;
1175 double temp3 ;
1176 PyObject * obj0 = 0 ;
1177 char *kwnames[] = {
1178 (char *) "self", NULL
1179 };
1180
1181 arg2 = &temp2;
1182 arg3 = &temp3;
1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
1184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1185 {
1186 PyThreadState* __tstate = wxPyBeginAllowThreads();
1187 (arg1)->GetMinSize(arg2,arg3);
1188
1189 wxPyEndAllowThreads(__tstate);
1190 if (PyErr_Occurred()) SWIG_fail;
1191 }
1192 Py_INCREF(Py_None); resultobj = Py_None;
1193 {
1194 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1195 resultobj = t_output_helper(resultobj,o);
1196 }
1197 {
1198 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1199 resultobj = t_output_helper(resultobj,o);
1200 }
1201 return resultobj;
1202 fail:
1203 return NULL;
1204}
1205
1206
1207static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
1208 PyObject *resultobj;
1209 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1210 double *arg2 = (double *) 0 ;
1211 double *arg3 = (double *) 0 ;
1212 double temp2 ;
1213 double temp3 ;
1214 PyObject * obj0 = 0 ;
1215 char *kwnames[] = {
1216 (char *) "self", NULL
1217 };
1218
1219 arg2 = &temp2;
1220 arg3 = &temp3;
1221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
1222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1223 {
1224 PyThreadState* __tstate = wxPyBeginAllowThreads();
1225 (arg1)->GetProportion(arg2,arg3);
1226
1227 wxPyEndAllowThreads(__tstate);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 Py_INCREF(Py_None); resultobj = Py_None;
1231 {
1232 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1233 resultobj = t_output_helper(resultobj,o);
1234 }
1235 {
1236 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1237 resultobj = t_output_helper(resultobj,o);
1238 }
1239 return resultobj;
1240 fail:
1241 return NULL;
1242}
1243
1244
1245static PyObject *_wrap_ShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1246 PyObject *resultobj;
1247 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1248 double *arg2 = (double *) 0 ;
1249 double *arg3 = (double *) 0 ;
1250 double temp2 ;
1251 double temp3 ;
1252 PyObject * obj0 = 0 ;
1253 char *kwnames[] = {
1254 (char *) "self", NULL
1255 };
1256
1257 arg2 = &temp2;
1258 arg3 = &temp3;
1259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
1260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1261 {
1262 PyThreadState* __tstate = wxPyBeginAllowThreads();
1263 (arg1)->GetSize(arg2,arg3);
1264
1265 wxPyEndAllowThreads(__tstate);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 }
1268 Py_INCREF(Py_None); resultobj = Py_None;
1269 {
1270 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1271 resultobj = t_output_helper(resultobj,o);
1272 }
1273 {
1274 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1275 resultobj = t_output_helper(resultobj,o);
1276 }
1277 return resultobj;
1278 fail:
1279 return NULL;
1280}
1281
1282
1283static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1284 PyObject *resultobj;
1285 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1286 double *arg2 = (double *) 0 ;
1287 double *arg3 = (double *) 0 ;
1288 double temp2 ;
1289 double temp3 ;
1290 PyObject * obj0 = 0 ;
1291 char *kwnames[] = {
1292 (char *) "self", NULL
1293 };
1294
1295 arg2 = &temp2;
1296 arg3 = &temp3;
1297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
1298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1299 {
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 (arg1)->GetPosition(arg2,arg3);
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 Py_INCREF(Py_None); resultobj = Py_None;
1307 {
1308 PyObject *o = PyFloat_FromDouble((double) (*arg2));
1309 resultobj = t_output_helper(resultobj,o);
1310 }
1311 {
1312 PyObject *o = PyFloat_FromDouble((double) (*arg3));
1313 resultobj = t_output_helper(resultobj,o);
1314 }
1315 return resultobj;
1316 fail:
1317 return NULL;
1318}
1319
1320
1321static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1322 PyObject *resultobj;
1323 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1324 int result;
1325 PyObject * obj0 = 0 ;
1326 char *kwnames[] = {
1327 (char *) "self", NULL
1328 };
1329
1330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
1331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1332 {
1333 PyThreadState* __tstate = wxPyBeginAllowThreads();
1334 result = (int)(arg1)->GetFormatMode();
1335
1336 wxPyEndAllowThreads(__tstate);
1337 if (PyErr_Occurred()) SWIG_fail;
1338 }
8edf1c75 1339 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
1340 return resultobj;
1341 fail:
1342 return NULL;
1343}
1344
1345
1346static PyObject *_wrap_ShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
1347 PyObject *resultobj;
1348 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1349 wxString result;
1350 PyObject * obj0 = 0 ;
1351 char *kwnames[] = {
1352 (char *) "self", NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
1356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1357 {
1358 PyThreadState* __tstate = wxPyBeginAllowThreads();
1359 result = (arg1)->GetName();
1360
1361 wxPyEndAllowThreads(__tstate);
1362 if (PyErr_Occurred()) SWIG_fail;
1363 }
1364 {
1365#if wxUSE_UNICODE
1366 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1367#else
1368 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1369#endif
1370 }
1371 return resultobj;
1372 fail:
1373 return NULL;
1374}
1375
1376
1377static PyObject *_wrap_ShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1380 wxString result;
1381 PyObject * obj0 = 0 ;
1382 char *kwnames[] = {
1383 (char *) "self", NULL
1384 };
1385
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
1387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1388 {
1389 PyThreadState* __tstate = wxPyBeginAllowThreads();
1390 result = (arg1)->GetColour();
1391
1392 wxPyEndAllowThreads(__tstate);
1393 if (PyErr_Occurred()) SWIG_fail;
1394 }
1395 {
1396#if wxUSE_UNICODE
1397 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1398#else
1399 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1400#endif
1401 }
1402 return resultobj;
1403 fail:
1404 return NULL;
1405}
1406
1407
1408static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1409 PyObject *resultobj;
1410 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
eb9b6107 1411 wxColour result;
44127b65
RD
1412 PyObject * obj0 = 0 ;
1413 char *kwnames[] = {
1414 (char *) "self", NULL
1415 };
1416
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
1418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1419 {
1420 PyThreadState* __tstate = wxPyBeginAllowThreads();
eb9b6107 1421 result = (arg1)->GetActualColourObject();
44127b65
RD
1422
1423 wxPyEndAllowThreads(__tstate);
1424 if (PyErr_Occurred()) SWIG_fail;
1425 }
eb9b6107
RD
1426 {
1427 wxColour * resultptr;
1428 resultptr = new wxColour((wxColour &) result);
1429 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1430 }
44127b65
RD
1431 return resultobj;
1432 fail:
1433 return NULL;
1434}
1435
1436
1437static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject *resultobj;
1439 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1440 wxList *result;
1441 PyObject * obj0 = 0 ;
1442 char *kwnames[] = {
1443 (char *) "self", NULL
1444 };
1445
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
1447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1448 {
1449 PyThreadState* __tstate = wxPyBeginAllowThreads();
1450 {
1451 wxList &_result_ref = (arg1)->GetFormattedText();
1452 result = (wxList *) &_result_ref;
1453 }
1454
1455 wxPyEndAllowThreads(__tstate);
1456 if (PyErr_Occurred()) SWIG_fail;
1457 }
1458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxList, 0);
1459 return resultobj;
1460 fail:
1461 return NULL;
1462}
1463
1464
1465static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1466 PyObject *resultobj;
1467 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1468 wxString result;
1469 PyObject * obj0 = 0 ;
1470 char *kwnames[] = {
1471 (char *) "self", NULL
1472 };
1473
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
1475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 result = (arg1)->GetPenColour();
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 {
1484#if wxUSE_UNICODE
1485 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1486#else
1487 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1488#endif
1489 }
1490 return resultobj;
1491 fail:
1492 return NULL;
1493}
1494
1495
1496static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1497 PyObject *resultobj;
1498 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1499 int result;
1500 PyObject * obj0 = 0 ;
1501 char *kwnames[] = {
1502 (char *) "self", NULL
1503 };
1504
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
1506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
1509 result = (int)(arg1)->GetPenStyle();
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) SWIG_fail;
1513 }
8edf1c75 1514 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
1515 return resultobj;
1516 fail:
1517 return NULL;
1518}
1519
1520
1521static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1522 PyObject *resultobj;
1523 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1524 int arg2 ;
1525 PyObject * obj0 = 0 ;
8edf1c75 1526 PyObject * obj1 = 0 ;
44127b65
RD
1527 char *kwnames[] = {
1528 (char *) "self",(char *) "style", NULL
1529 };
1530
8edf1c75 1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
44127b65 1532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1533 {
1534 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1535 if (PyErr_Occurred()) SWIG_fail;
1536 }
44127b65
RD
1537 {
1538 PyThreadState* __tstate = wxPyBeginAllowThreads();
1539 (arg1)->SetPenStyle(arg2);
1540
1541 wxPyEndAllowThreads(__tstate);
1542 if (PyErr_Occurred()) SWIG_fail;
1543 }
1544 Py_INCREF(Py_None); resultobj = Py_None;
1545 return resultobj;
1546 fail:
1547 return NULL;
1548}
1549
1550
1551static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1552 PyObject *resultobj;
1553 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1554 wxString *arg2 = 0 ;
1555 bool temp2 = False ;
1556 PyObject * obj0 = 0 ;
1557 PyObject * obj1 = 0 ;
1558 char *kwnames[] = {
1559 (char *) "self",(char *) "col", NULL
1560 };
1561
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
1563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 arg2 = wxString_in_helper(obj1);
1566 if (arg2 == NULL) SWIG_fail;
1567 temp2 = True;
1568 }
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 (arg1)->SetPenColour((wxString const &)*arg2);
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 Py_INCREF(Py_None); resultobj = Py_None;
1577 {
1578 if (temp2)
1579 delete arg2;
1580 }
1581 return resultobj;
1582 fail:
1583 {
1584 if (temp2)
1585 delete arg2;
1586 }
1587 return NULL;
1588}
1589
1590
1591static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject *resultobj;
1593 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1594 wxPen *result;
1595 PyObject * obj0 = 0 ;
1596 char *kwnames[] = {
1597 (char *) "self", NULL
1598 };
1599
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
1601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 result = (wxPen *)(arg1)->GetActualPen();
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
1610 return resultobj;
1611 fail:
1612 return NULL;
1613}
1614
1615
1616static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1619 double result;
1620 PyObject * obj0 = 0 ;
1621 char *kwnames[] = {
1622 (char *) "self", NULL
1623 };
1624
1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
1626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 result = (double)(arg1)->GetWidth();
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
8edf1c75 1634 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
1635 return resultobj;
1636 fail:
1637 return NULL;
1638}
1639
1640
1641static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1644 double result;
1645 PyObject * obj0 = 0 ;
1646 char *kwnames[] = {
1647 (char *) "self", NULL
1648 };
1649
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
1651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1652 {
1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
1654 result = (double)(arg1)->GetHeight();
1655
1656 wxPyEndAllowThreads(__tstate);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 }
8edf1c75 1659 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
1660 return resultobj;
1661 fail:
1662 return NULL;
1663}
1664
1665
1666static PyObject *_wrap_ShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
1667 PyObject *resultobj;
1668 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
1669 PyObject * obj0 = 0 ;
1670 char *kwnames[] = {
1671 (char *) "self", NULL
1672 };
1673
1674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
1675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1676 {
1677 PyThreadState* __tstate = wxPyBeginAllowThreads();
1678 (arg1)->ClearText();
1679
1680 wxPyEndAllowThreads(__tstate);
1681 if (PyErr_Occurred()) SWIG_fail;
1682 }
1683 Py_INCREF(Py_None); resultobj = Py_None;
1684 return resultobj;
1685 fail:
1686 return NULL;
1687}
1688
1689
1690static PyObject * ShapeRegion_swigregister(PyObject *self, PyObject *args) {
1691 PyObject *obj;
1692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
1694 Py_INCREF(obj);
1695 return Py_BuildValue((char *)"");
1696}
7a0a63ae
RD
1697static PyObject *_wrap_new_AttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1698 PyObject *resultobj;
1699 int arg1 = (int) 0 ;
1700 double arg2 = (double) 0.0 ;
1701 double arg3 = (double) 0.0 ;
1702 wxAttachmentPoint *result;
8edf1c75
RD
1703 PyObject * obj0 = 0 ;
1704 PyObject * obj1 = 0 ;
1705 PyObject * obj2 = 0 ;
7a0a63ae
RD
1706 char *kwnames[] = {
1707 (char *) "id",(char *) "x",(char *) "y", NULL
1708 };
1709
8edf1c75
RD
1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
1711 if (obj0) {
1712 {
1713 arg1 = (int) SWIG_PyObj_AsInt(obj0);
1714 if (PyErr_Occurred()) SWIG_fail;
1715 }
1716 }
1717 if (obj1) {
1718 {
1719 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 }
1722 }
1723 if (obj2) {
1724 {
1725 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 }
7a0a63ae
RD
1729 {
1730 PyThreadState* __tstate = wxPyBeginAllowThreads();
1731 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
1732
1733 wxPyEndAllowThreads(__tstate);
1734 if (PyErr_Occurred()) SWIG_fail;
1735 }
1736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAttachmentPoint, 1);
1737 return resultobj;
1738 fail:
1739 return NULL;
1740}
1741
1742
1743static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1744 PyObject *resultobj;
1745 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1746 int arg2 ;
1747 PyObject * obj0 = 0 ;
8edf1c75 1748 PyObject * obj1 = 0 ;
7a0a63ae
RD
1749 char *kwnames[] = {
1750 (char *) "self",(char *) "m_id", NULL
1751 };
1752
8edf1c75 1753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
7a0a63ae 1754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1755 {
1756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
7a0a63ae
RD
1759 if (arg1) (arg1)->m_id = arg2;
1760
1761 Py_INCREF(Py_None); resultobj = Py_None;
1762 return resultobj;
1763 fail:
1764 return NULL;
1765}
1766
1767
1768static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1769 PyObject *resultobj;
1770 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1771 int result;
1772 PyObject * obj0 = 0 ;
1773 char *kwnames[] = {
1774 (char *) "self", NULL
1775 };
1776
1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
1778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1779 result = (int) ((arg1)->m_id);
1780
8edf1c75 1781 resultobj = SWIG_PyObj_FromInt((int)result);
7a0a63ae
RD
1782 return resultobj;
1783 fail:
1784 return NULL;
1785}
1786
1787
1788static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1789 PyObject *resultobj;
1790 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1791 double arg2 ;
1792 PyObject * obj0 = 0 ;
8edf1c75 1793 PyObject * obj1 = 0 ;
7a0a63ae
RD
1794 char *kwnames[] = {
1795 (char *) "self",(char *) "m_x", NULL
1796 };
1797
8edf1c75 1798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
7a0a63ae 1799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1800 {
1801 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 }
7a0a63ae
RD
1804 if (arg1) (arg1)->m_x = arg2;
1805
1806 Py_INCREF(Py_None); resultobj = Py_None;
1807 return resultobj;
1808 fail:
1809 return NULL;
1810}
1811
1812
1813static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1816 double result;
1817 PyObject * obj0 = 0 ;
1818 char *kwnames[] = {
1819 (char *) "self", NULL
1820 };
1821
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
1823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1824 result = (double) ((arg1)->m_x);
1825
8edf1c75 1826 resultobj = SWIG_PyObj_FromDouble((double)result);
7a0a63ae
RD
1827 return resultobj;
1828 fail:
1829 return NULL;
1830}
1831
1832
1833static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1834 PyObject *resultobj;
1835 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1836 double arg2 ;
1837 PyObject * obj0 = 0 ;
8edf1c75 1838 PyObject * obj1 = 0 ;
7a0a63ae
RD
1839 char *kwnames[] = {
1840 (char *) "self",(char *) "m_y", NULL
1841 };
1842
8edf1c75 1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
7a0a63ae 1844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1845 {
1846 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
7a0a63ae
RD
1849 if (arg1) (arg1)->m_y = arg2;
1850
1851 Py_INCREF(Py_None); resultobj = Py_None;
1852 return resultobj;
1853 fail:
1854 return NULL;
1855}
1856
1857
1858static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1859 PyObject *resultobj;
1860 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
1861 double result;
1862 PyObject * obj0 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self", NULL
1865 };
1866
1867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
1868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAttachmentPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1869 result = (double) ((arg1)->m_y);
1870
8edf1c75 1871 resultobj = SWIG_PyObj_FromDouble((double)result);
7a0a63ae
RD
1872 return resultobj;
1873 fail:
1874 return NULL;
1875}
1876
1877
1878static PyObject * AttachmentPoint_swigregister(PyObject *self, PyObject *args) {
1879 PyObject *obj;
1880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1881 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
1882 Py_INCREF(obj);
1883 return Py_BuildValue((char *)"");
1884}
44127b65
RD
1885static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1886 PyObject *resultobj;
1887 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
1888 wxPyShape *arg2 = (wxPyShape *) NULL ;
1889 wxPyShapeEvtHandler *result;
1890 PyObject * obj0 = 0 ;
1891 PyObject * obj1 = 0 ;
1892 char *kwnames[] = {
1893 (char *) "prev",(char *) "shape", NULL
1894 };
1895
1896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
1897 if (obj0) {
1898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1899 }
1900 if (obj1) {
1901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1902 }
1903 {
1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
1905 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
1906
1907 wxPyEndAllowThreads(__tstate);
1908 if (PyErr_Occurred()) SWIG_fail;
1909 }
1910 {
1911 resultobj = wxPyMake_wxShapeEvtHandler(result);
1912 }
1913 return resultobj;
1914 fail:
1915 return NULL;
1916}
1917
1918
1919static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1922 PyObject *arg2 = (PyObject *) 0 ;
1923 PyObject *arg3 = (PyObject *) 0 ;
1924 PyObject * obj0 = 0 ;
1925 PyObject * obj1 = 0 ;
1926 PyObject * obj2 = 0 ;
1927 char *kwnames[] = {
1928 (char *) "self",(char *) "self",(char *) "_class", NULL
1929 };
1930
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
1932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1933 arg2 = obj1;
1934 arg3 = obj2;
1935 {
1936 PyThreadState* __tstate = wxPyBeginAllowThreads();
1937 (arg1)->_setCallbackInfo(arg2,arg3);
1938
1939 wxPyEndAllowThreads(__tstate);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 Py_INCREF(Py_None); resultobj = Py_None;
1943 return resultobj;
1944 fail:
1945 return NULL;
1946}
1947
1948
1949static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1952 PyObject *arg2 = (PyObject *) 0 ;
1953 PyObject * obj0 = 0 ;
1954 PyObject * obj1 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "self",(char *) "_self", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1961 arg2 = obj1;
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 Py_INCREF(Py_None); resultobj = Py_None;
1970 return resultobj;
1971 fail:
1972 return NULL;
1973}
1974
1975
1976static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject *resultobj;
1978 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
1979 wxPyShape *arg2 = (wxPyShape *) 0 ;
1980 PyObject * obj0 = 0 ;
1981 PyObject * obj1 = 0 ;
1982 char *kwnames[] = {
1983 (char *) "self",(char *) "sh", NULL
1984 };
1985
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
1987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 (arg1)->SetShape(arg2);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 Py_INCREF(Py_None); resultobj = Py_None;
1997 return resultobj;
1998 fail:
1999 return NULL;
2000}
2001
2002
2003static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2006 wxPyShape *result;
2007 PyObject * obj0 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
2013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2014 {
2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
2016 result = (wxPyShape *)(arg1)->GetShape();
2017
2018 wxPyEndAllowThreads(__tstate);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 }
2021 {
2022 resultobj = wxPyMake_wxShapeEvtHandler(result);
2023 }
2024 return resultobj;
2025 fail:
2026 return NULL;
2027}
2028
2029
2030static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2031 PyObject *resultobj;
2032 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2033 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
2034 PyObject * obj0 = 0 ;
2035 PyObject * obj1 = 0 ;
2036 char *kwnames[] = {
2037 (char *) "self",(char *) "handler", NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2043 {
2044 PyThreadState* __tstate = wxPyBeginAllowThreads();
2045 (arg1)->SetPreviousHandler(arg2);
2046
2047 wxPyEndAllowThreads(__tstate);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 }
2050 Py_INCREF(Py_None); resultobj = Py_None;
2051 return resultobj;
2052 fail:
2053 return NULL;
2054}
2055
2056
2057static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject *resultobj;
2059 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2060 wxPyShapeEvtHandler *result;
2061 PyObject * obj0 = 0 ;
2062 char *kwnames[] = {
2063 (char *) "self", NULL
2064 };
2065
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
2070 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 }
2075 {
2076 resultobj = wxPyMake_wxShapeEvtHandler(result);
2077 }
2078 return resultobj;
2079 fail:
2080 return NULL;
2081}
2082
2083
2084static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject *resultobj;
2086 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2087 wxPyShapeEvtHandler *result;
2088 PyObject * obj0 = 0 ;
2089 char *kwnames[] = {
2090 (char *) "self", NULL
2091 };
2092
2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
2094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2095 {
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 {
2103 resultobj = wxPyMake_wxShapeEvtHandler(result);
2104 }
2105 return resultobj;
2106 fail:
2107 return NULL;
2108}
2109
2110
2111static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject *resultobj;
2113 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2114 PyObject * obj0 = 0 ;
2115 char *kwnames[] = {
2116 (char *) "self", NULL
2117 };
2118
2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
2120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2121 {
2122 PyThreadState* __tstate = wxPyBeginAllowThreads();
2123 (arg1)->base_OnDelete();
2124
2125 wxPyEndAllowThreads(__tstate);
2126 if (PyErr_Occurred()) SWIG_fail;
2127 }
2128 Py_INCREF(Py_None); resultobj = Py_None;
2129 return resultobj;
2130 fail:
2131 return NULL;
2132}
2133
2134
2135static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
2136 PyObject *resultobj;
2137 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2138 wxDC *arg2 = 0 ;
2139 PyObject * obj0 = 0 ;
2140 PyObject * obj1 = 0 ;
2141 char *kwnames[] = {
2142 (char *) "self",(char *) "dc", NULL
2143 };
2144
2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
2146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2148 if (arg2 == NULL) {
2149 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2150 }
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 (arg1)->base_OnDraw(*arg2);
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 Py_INCREF(Py_None); resultobj = Py_None;
2159 return resultobj;
2160 fail:
2161 return NULL;
2162}
2163
2164
2165static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2168 wxDC *arg2 = 0 ;
2169 PyObject * obj0 = 0 ;
2170 PyObject * obj1 = 0 ;
2171 char *kwnames[] = {
2172 (char *) "self",(char *) "dc", NULL
2173 };
2174
2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
2176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2178 if (arg2 == NULL) {
2179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2180 }
2181 {
2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
2183 (arg1)->base_OnDrawContents(*arg2);
2184
2185 wxPyEndAllowThreads(__tstate);
2186 if (PyErr_Occurred()) SWIG_fail;
2187 }
2188 Py_INCREF(Py_None); resultobj = Py_None;
2189 return resultobj;
2190 fail:
2191 return NULL;
2192}
2193
2194
2195static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
2196 PyObject *resultobj;
2197 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2198 wxDC *arg2 = 0 ;
2199 bool arg3 = (bool) False ;
2200 PyObject * obj0 = 0 ;
2201 PyObject * obj1 = 0 ;
2202 PyObject * obj2 = 0 ;
2203 char *kwnames[] = {
2204 (char *) "self",(char *) "dc",(char *) "erase", NULL
2205 };
2206
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
2208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2210 if (arg2 == NULL) {
2211 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2212 }
2213 if (obj2) {
83448d71 2214 {
8edf1c75 2215 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
2216 if (PyErr_Occurred()) SWIG_fail;
2217 }
44127b65
RD
2218 }
2219 {
2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2221 (arg1)->base_OnDrawBranches(*arg2,arg3);
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) SWIG_fail;
2225 }
2226 Py_INCREF(Py_None); resultobj = Py_None;
2227 return resultobj;
2228 fail:
2229 return NULL;
2230}
2231
2232
2233static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2234 PyObject *resultobj;
2235 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2236 wxDC *arg2 = 0 ;
2237 PyObject * obj0 = 0 ;
2238 PyObject * obj1 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "dc", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2246 if (arg2 == NULL) {
2247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2248 }
2249 {
2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
2251 (arg1)->base_OnMoveLinks(*arg2);
2252
2253 wxPyEndAllowThreads(__tstate);
2254 if (PyErr_Occurred()) SWIG_fail;
2255 }
2256 Py_INCREF(Py_None); resultobj = Py_None;
2257 return resultobj;
2258 fail:
2259 return NULL;
2260}
2261
2262
2263static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2264 PyObject *resultobj;
2265 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2266 wxDC *arg2 = 0 ;
2267 PyObject * obj0 = 0 ;
2268 PyObject * obj1 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "self",(char *) "dc", NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
2274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2276 if (arg2 == NULL) {
2277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2278 }
2279 {
2280 PyThreadState* __tstate = wxPyBeginAllowThreads();
2281 (arg1)->base_OnErase(*arg2);
2282
2283 wxPyEndAllowThreads(__tstate);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 }
2286 Py_INCREF(Py_None); resultobj = Py_None;
2287 return resultobj;
2288 fail:
2289 return NULL;
2290}
2291
2292
2293static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2294 PyObject *resultobj;
2295 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2296 wxDC *arg2 = 0 ;
2297 PyObject * obj0 = 0 ;
2298 PyObject * obj1 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self",(char *) "dc", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2306 if (arg2 == NULL) {
2307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2308 }
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 (arg1)->base_OnEraseContents(*arg2);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 Py_INCREF(Py_None); resultobj = Py_None;
2317 return resultobj;
2318 fail:
2319 return NULL;
2320}
2321
2322
2323static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2326 wxDC *arg2 = 0 ;
2327 PyObject * obj0 = 0 ;
2328 PyObject * obj1 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self",(char *) "dc", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2336 if (arg2 == NULL) {
2337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2338 }
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 (arg1)->base_OnHighlight(*arg2);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 Py_INCREF(Py_None); resultobj = Py_None;
2347 return resultobj;
2348 fail:
2349 return NULL;
2350}
2351
2352
2353static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2356 double arg2 ;
2357 double arg3 ;
2358 int arg4 = (int) 0 ;
2359 int arg5 = (int) 0 ;
2360 PyObject * obj0 = 0 ;
8edf1c75
RD
2361 PyObject * obj1 = 0 ;
2362 PyObject * obj2 = 0 ;
2363 PyObject * obj3 = 0 ;
2364 PyObject * obj4 = 0 ;
44127b65
RD
2365 char *kwnames[] = {
2366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2367 };
2368
8edf1c75 2369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 2370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2371 {
2372 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 }
2375 {
2376 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 if (obj3) {
2380 {
2381 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 }
2385 if (obj4) {
2386 {
2387 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2388 if (PyErr_Occurred()) SWIG_fail;
2389 }
2390 }
44127b65
RD
2391 {
2392 PyThreadState* __tstate = wxPyBeginAllowThreads();
2393 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
2394
2395 wxPyEndAllowThreads(__tstate);
2396 if (PyErr_Occurred()) SWIG_fail;
2397 }
2398 Py_INCREF(Py_None); resultobj = Py_None;
2399 return resultobj;
2400 fail:
2401 return NULL;
2402}
2403
2404
2405static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject *resultobj;
2407 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2408 double arg2 ;
2409 double arg3 ;
2410 int arg4 = (int) 0 ;
2411 int arg5 = (int) 0 ;
2412 PyObject * obj0 = 0 ;
8edf1c75
RD
2413 PyObject * obj1 = 0 ;
2414 PyObject * obj2 = 0 ;
2415 PyObject * obj3 = 0 ;
2416 PyObject * obj4 = 0 ;
44127b65
RD
2417 char *kwnames[] = {
2418 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2419 };
2420
8edf1c75 2421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 2422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2423 {
2424 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 {
2428 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2429 if (PyErr_Occurred()) SWIG_fail;
2430 }
2431 if (obj3) {
2432 {
2433 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 }
2436 }
2437 if (obj4) {
2438 {
2439 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2440 if (PyErr_Occurred()) SWIG_fail;
2441 }
2442 }
44127b65
RD
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 }
2450 Py_INCREF(Py_None); resultobj = Py_None;
2451 return resultobj;
2452 fail:
2453 return NULL;
2454}
2455
2456
2457static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2460 double arg2 ;
2461 double arg3 ;
2462 int arg4 = (int) 0 ;
2463 int arg5 = (int) 0 ;
2464 PyObject * obj0 = 0 ;
8edf1c75
RD
2465 PyObject * obj1 = 0 ;
2466 PyObject * obj2 = 0 ;
2467 PyObject * obj3 = 0 ;
2468 PyObject * obj4 = 0 ;
44127b65
RD
2469 char *kwnames[] = {
2470 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2471 };
2472
8edf1c75 2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 2474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2475 {
2476 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2477 if (PyErr_Occurred()) SWIG_fail;
2478 }
2479 {
2480 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2481 if (PyErr_Occurred()) SWIG_fail;
2482 }
2483 if (obj3) {
2484 {
2485 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 }
2489 if (obj4) {
2490 {
2491 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 }
44127b65
RD
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 Py_INCREF(Py_None); resultobj = Py_None;
2503 return resultobj;
2504 fail:
2505 return NULL;
2506}
2507
2508
2509static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2512 double arg2 ;
2513 double arg3 ;
2514 PyObject * obj0 = 0 ;
8edf1c75
RD
2515 PyObject * obj1 = 0 ;
2516 PyObject * obj2 = 0 ;
44127b65
RD
2517 char *kwnames[] = {
2518 (char *) "self",(char *) "x",(char *) "y", NULL
2519 };
2520
8edf1c75 2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65
RD
2522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2523 {
8edf1c75
RD
2524 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2525 if (PyErr_Occurred()) SWIG_fail;
2526 }
2527 {
2528 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2529 if (PyErr_Occurred()) SWIG_fail;
2530 }
2531 {
2532 PyThreadState* __tstate = wxPyBeginAllowThreads();
2533 (arg1)->base_OnSize(arg2,arg3);
2534
2535 wxPyEndAllowThreads(__tstate);
44127b65
RD
2536 if (PyErr_Occurred()) SWIG_fail;
2537 }
2538 Py_INCREF(Py_None); resultobj = Py_None;
2539 return resultobj;
2540 fail:
2541 return NULL;
2542}
2543
2544
2545static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2546 PyObject *resultobj;
2547 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2548 wxDC *arg2 = 0 ;
2549 double arg3 ;
2550 double arg4 ;
2551 double arg5 ;
2552 double arg6 ;
2553 bool arg7 = (bool) True ;
2554 bool result;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj1 = 0 ;
8edf1c75
RD
2557 PyObject * obj2 = 0 ;
2558 PyObject * obj3 = 0 ;
2559 PyObject * obj4 = 0 ;
2560 PyObject * obj5 = 0 ;
44127b65
RD
2561 PyObject * obj6 = 0 ;
2562 char *kwnames[] = {
2563 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2564 };
2565
8edf1c75 2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
2567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2569 if (arg2 == NULL) {
2570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2571 }
8edf1c75
RD
2572 {
2573 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
2576 {
2577 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
2578 if (PyErr_Occurred()) SWIG_fail;
2579 }
2580 {
2581 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 {
2585 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
2586 if (PyErr_Occurred()) SWIG_fail;
2587 }
44127b65 2588 if (obj6) {
83448d71 2589 {
8edf1c75 2590 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
2591 if (PyErr_Occurred()) SWIG_fail;
2592 }
44127b65
RD
2593 }
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
8edf1c75 2601 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
2602 return resultobj;
2603 fail:
2604 return NULL;
2605}
2606
2607
2608static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2609 PyObject *resultobj;
2610 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2611 wxDC *arg2 = 0 ;
2612 double arg3 ;
2613 double arg4 ;
2614 double arg5 ;
2615 double arg6 ;
2616 bool arg7 = (bool) True ;
2617 PyObject * obj0 = 0 ;
2618 PyObject * obj1 = 0 ;
8edf1c75
RD
2619 PyObject * obj2 = 0 ;
2620 PyObject * obj3 = 0 ;
2621 PyObject * obj4 = 0 ;
2622 PyObject * obj5 = 0 ;
44127b65
RD
2623 PyObject * obj6 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2626 };
2627
8edf1c75 2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
2629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2631 if (arg2 == NULL) {
2632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2633 }
8edf1c75
RD
2634 {
2635 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
2640 if (PyErr_Occurred()) SWIG_fail;
2641 }
2642 {
2643 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 }
2646 {
2647 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 }
44127b65 2650 if (obj6) {
83448d71 2651 {
8edf1c75 2652 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
44127b65
RD
2655 }
2656 {
2657 PyThreadState* __tstate = wxPyBeginAllowThreads();
2658 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
2659
2660 wxPyEndAllowThreads(__tstate);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 }
2663 Py_INCREF(Py_None); resultobj = Py_None;
2664 return resultobj;
2665 fail:
2666 return NULL;
2667}
2668
2669
2670static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2671 PyObject *resultobj;
2672 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2673 bool arg2 ;
2674 double arg3 ;
2675 double arg4 ;
2676 int arg5 = (int) 0 ;
2677 int arg6 = (int) 0 ;
2678 PyObject * obj0 = 0 ;
2679 PyObject * obj1 = 0 ;
8edf1c75
RD
2680 PyObject * obj2 = 0 ;
2681 PyObject * obj3 = 0 ;
2682 PyObject * obj4 = 0 ;
2683 PyObject * obj5 = 0 ;
44127b65
RD
2684 char *kwnames[] = {
2685 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2686 };
2687
8edf1c75 2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 2689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 2690 {
8edf1c75
RD
2691 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 {
2695 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 {
2699 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
2700 if (PyErr_Occurred()) SWIG_fail;
2701 }
8edf1c75
RD
2702 if (obj4) {
2703 {
2704 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 }
2707 }
2708 if (obj5) {
2709 {
2710 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 }
44127b65
RD
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 Py_INCREF(Py_None); resultobj = Py_None;
2722 return resultobj;
2723 fail:
2724 return NULL;
2725}
2726
2727
2728static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2731 double arg2 ;
2732 double arg3 ;
2733 int arg4 = (int) 0 ;
2734 int arg5 = (int) 0 ;
2735 PyObject * obj0 = 0 ;
8edf1c75
RD
2736 PyObject * obj1 = 0 ;
2737 PyObject * obj2 = 0 ;
2738 PyObject * obj3 = 0 ;
2739 PyObject * obj4 = 0 ;
44127b65
RD
2740 char *kwnames[] = {
2741 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2742 };
2743
8edf1c75 2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 2745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2746 {
2747 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2748 if (PyErr_Occurred()) SWIG_fail;
2749 }
2750 {
2751 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 if (obj3) {
2755 {
2756 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 }
2760 if (obj4) {
2761 {
2762 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 }
44127b65
RD
2766 {
2767 PyThreadState* __tstate = wxPyBeginAllowThreads();
2768 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
2769
2770 wxPyEndAllowThreads(__tstate);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 Py_INCREF(Py_None); resultobj = Py_None;
2774 return resultobj;
2775 fail:
2776 return NULL;
2777}
2778
2779
2780static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2781 PyObject *resultobj;
2782 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2783 double arg2 ;
2784 double arg3 ;
2785 int arg4 = (int) 0 ;
2786 int arg5 = (int) 0 ;
2787 PyObject * obj0 = 0 ;
8edf1c75
RD
2788 PyObject * obj1 = 0 ;
2789 PyObject * obj2 = 0 ;
2790 PyObject * obj3 = 0 ;
2791 PyObject * obj4 = 0 ;
44127b65
RD
2792 char *kwnames[] = {
2793 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2794 };
2795
8edf1c75 2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 2797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2798 {
2799 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 {
2803 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 if (obj3) {
2807 {
2808 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2809 if (PyErr_Occurred()) SWIG_fail;
2810 }
2811 }
2812 if (obj4) {
2813 {
2814 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 }
44127b65
RD
2818 {
2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
2820 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
2821
2822 wxPyEndAllowThreads(__tstate);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 }
2825 Py_INCREF(Py_None); resultobj = Py_None;
2826 return resultobj;
2827 fail:
2828 return NULL;
2829}
2830
2831
2832static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2833 PyObject *resultobj;
2834 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2835 bool arg2 ;
2836 double arg3 ;
2837 double arg4 ;
2838 int arg5 = (int) 0 ;
2839 int arg6 = (int) 0 ;
2840 PyObject * obj0 = 0 ;
2841 PyObject * obj1 = 0 ;
8edf1c75
RD
2842 PyObject * obj2 = 0 ;
2843 PyObject * obj3 = 0 ;
2844 PyObject * obj4 = 0 ;
2845 PyObject * obj5 = 0 ;
44127b65
RD
2846 char *kwnames[] = {
2847 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2848 };
2849
8edf1c75 2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 2851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 2852 {
8edf1c75
RD
2853 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 {
2857 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 {
2861 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
8edf1c75
RD
2864 if (obj4) {
2865 {
2866 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 }
2870 if (obj5) {
2871 {
2872 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 }
44127b65
RD
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 Py_INCREF(Py_None); resultobj = Py_None;
2884 return resultobj;
2885 fail:
2886 return NULL;
2887}
2888
2889
2890static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject *resultobj;
2892 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2893 double arg2 ;
2894 double arg3 ;
2895 int arg4 = (int) 0 ;
2896 int arg5 = (int) 0 ;
2897 PyObject * obj0 = 0 ;
8edf1c75
RD
2898 PyObject * obj1 = 0 ;
2899 PyObject * obj2 = 0 ;
2900 PyObject * obj3 = 0 ;
2901 PyObject * obj4 = 0 ;
44127b65
RD
2902 char *kwnames[] = {
2903 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2904 };
2905
8edf1c75 2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 2907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2908 {
2909 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2910 if (PyErr_Occurred()) SWIG_fail;
2911 }
2912 {
2913 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 if (obj3) {
2917 {
2918 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 }
2922 if (obj4) {
2923 {
2924 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 }
44127b65
RD
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 Py_INCREF(Py_None); resultobj = Py_None;
2936 return resultobj;
2937 fail:
2938 return NULL;
2939}
2940
2941
2942static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2945 double arg2 ;
2946 double arg3 ;
2947 int arg4 = (int) 0 ;
2948 int arg5 = (int) 0 ;
2949 PyObject * obj0 = 0 ;
8edf1c75
RD
2950 PyObject * obj1 = 0 ;
2951 PyObject * obj2 = 0 ;
2952 PyObject * obj3 = 0 ;
2953 PyObject * obj4 = 0 ;
44127b65
RD
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2956 };
2957
8edf1c75 2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 2959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2960 {
2961 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 {
2965 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 if (obj3) {
2969 {
2970 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 }
2974 if (obj4) {
2975 {
2976 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2977 if (PyErr_Occurred()) SWIG_fail;
2978 }
2979 }
44127b65
RD
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 (arg1)->base_OnEndDragRight(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
2994static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
2997 wxDC *arg2 = 0 ;
2998 double arg3 ;
2999 double arg4 ;
3000 double arg5 ;
3001 double arg6 ;
3002 PyObject * obj0 = 0 ;
3003 PyObject * obj1 = 0 ;
8edf1c75
RD
3004 PyObject * obj2 = 0 ;
3005 PyObject * obj3 = 0 ;
3006 PyObject * obj4 = 0 ;
3007 PyObject * obj5 = 0 ;
44127b65
RD
3008 char *kwnames[] = {
3009 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3010 };
3011
8edf1c75 3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
3013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3015 if (arg2 == NULL) {
3016 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3017 }
8edf1c75
RD
3018 {
3019 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 {
3023 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
3027 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
3028 if (PyErr_Occurred()) SWIG_fail;
3029 }
3030 {
3031 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
44127b65
RD
3034 {
3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
3036 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
3037
3038 wxPyEndAllowThreads(__tstate);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 }
3041 Py_INCREF(Py_None); resultobj = Py_None;
3042 return resultobj;
3043 fail:
3044 return NULL;
3045}
3046
3047
3048static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3049 PyObject *resultobj;
3050 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3051 wxDC *arg2 = 0 ;
3052 PyObject * obj0 = 0 ;
3053 PyObject * obj1 = 0 ;
3054 char *kwnames[] = {
3055 (char *) "self",(char *) "dc", NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
3059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3061 if (arg2 == NULL) {
3062 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3063 }
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 (arg1)->base_OnDrawControlPoints(*arg2);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 Py_INCREF(Py_None); resultobj = Py_None;
3072 return resultobj;
3073 fail:
3074 return NULL;
3075}
3076
3077
3078static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3079 PyObject *resultobj;
3080 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3081 wxDC *arg2 = 0 ;
3082 PyObject * obj0 = 0 ;
3083 PyObject * obj1 = 0 ;
3084 char *kwnames[] = {
3085 (char *) "self",(char *) "dc", NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
3089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 if (arg2 == NULL) {
3092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3093 }
3094 {
3095 PyThreadState* __tstate = wxPyBeginAllowThreads();
3096 (arg1)->base_OnEraseControlPoints(*arg2);
3097
3098 wxPyEndAllowThreads(__tstate);
3099 if (PyErr_Occurred()) SWIG_fail;
3100 }
3101 Py_INCREF(Py_None); resultobj = Py_None;
3102 return resultobj;
3103 fail:
3104 return NULL;
3105}
3106
3107
3108static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3109 PyObject *resultobj;
3110 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3111 wxDC *arg2 = 0 ;
3112 bool arg3 = (bool) True ;
3113 PyObject * obj0 = 0 ;
3114 PyObject * obj1 = 0 ;
3115 PyObject * obj2 = 0 ;
3116 char *kwnames[] = {
3117 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3118 };
3119
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
3121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3123 if (arg2 == NULL) {
3124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3125 }
3126 if (obj2) {
83448d71 3127 {
8edf1c75 3128 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
3129 if (PyErr_Occurred()) SWIG_fail;
3130 }
44127b65
RD
3131 }
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 (arg1)->base_OnMoveLink(*arg2,arg3);
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 Py_INCREF(Py_None); resultobj = Py_None;
3140 return resultobj;
3141 fail:
3142 return NULL;
3143}
3144
3145
3146static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3149 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3150 bool arg3 ;
3151 double arg4 ;
3152 double arg5 ;
3153 int arg6 = (int) 0 ;
3154 int arg7 = (int) 0 ;
3155 PyObject * obj0 = 0 ;
3156 PyObject * obj1 = 0 ;
3157 PyObject * obj2 = 0 ;
8edf1c75
RD
3158 PyObject * obj3 = 0 ;
3159 PyObject * obj4 = 0 ;
3160 PyObject * obj5 = 0 ;
3161 PyObject * obj6 = 0 ;
44127b65
RD
3162 char *kwnames[] = {
3163 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3164 };
3165
8edf1c75 3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
3167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 3169 {
8edf1c75
RD
3170 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 {
3174 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 {
3178 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
8edf1c75
RD
3181 if (obj5) {
3182 {
3183 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 }
3187 if (obj6) {
3188 {
3189 arg7 = (int) SWIG_PyObj_AsInt(obj6);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 }
44127b65
RD
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 Py_INCREF(Py_None); resultobj = Py_None;
3201 return resultobj;
3202 fail:
3203 return NULL;
3204}
3205
3206
3207static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3210 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3211 double arg3 ;
3212 double arg4 ;
3213 int arg5 = (int) 0 ;
3214 int arg6 = (int) 0 ;
3215 PyObject * obj0 = 0 ;
3216 PyObject * obj1 = 0 ;
8edf1c75
RD
3217 PyObject * obj2 = 0 ;
3218 PyObject * obj3 = 0 ;
3219 PyObject * obj4 = 0 ;
3220 PyObject * obj5 = 0 ;
44127b65
RD
3221 char *kwnames[] = {
3222 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3223 };
3224
8edf1c75 3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
3226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3228 {
3229 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 {
3233 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 if (obj4) {
3237 {
3238 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 }
3242 if (obj5) {
3243 {
3244 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 }
44127b65
RD
3248 {
3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
3250 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
3251
3252 wxPyEndAllowThreads(__tstate);
3253 if (PyErr_Occurred()) SWIG_fail;
3254 }
3255 Py_INCREF(Py_None); resultobj = Py_None;
3256 return resultobj;
3257 fail:
3258 return NULL;
3259}
3260
3261
3262static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3263 PyObject *resultobj;
3264 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3265 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
3266 double arg3 ;
3267 double arg4 ;
3268 int arg5 = (int) 0 ;
3269 int arg6 = (int) 0 ;
3270 PyObject * obj0 = 0 ;
3271 PyObject * obj1 = 0 ;
8edf1c75
RD
3272 PyObject * obj2 = 0 ;
3273 PyObject * obj3 = 0 ;
3274 PyObject * obj4 = 0 ;
3275 PyObject * obj5 = 0 ;
44127b65
RD
3276 char *kwnames[] = {
3277 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3278 };
3279
8edf1c75 3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
3281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3283 {
3284 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 {
3288 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 if (obj4) {
3292 {
3293 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 }
3297 if (obj5) {
3298 {
3299 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 }
44127b65
RD
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 Py_INCREF(Py_None); resultobj = Py_None;
3311 return resultobj;
3312 fail:
3313 return NULL;
3314}
3315
3316
3317static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3320 double arg2 ;
3321 double arg3 ;
3322 PyObject * obj0 = 0 ;
8edf1c75
RD
3323 PyObject * obj1 = 0 ;
3324 PyObject * obj2 = 0 ;
44127b65
RD
3325 char *kwnames[] = {
3326 (char *) "self",(char *) "w",(char *) "h", NULL
3327 };
3328
8edf1c75 3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 3330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3331 {
3332 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 {
3336 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
44127b65
RD
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 (arg1)->base_OnBeginSize(arg2,arg3);
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 Py_INCREF(Py_None); resultobj = Py_None;
3347 return resultobj;
3348 fail:
3349 return NULL;
3350}
3351
3352
3353static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3356 double arg2 ;
3357 double arg3 ;
3358 PyObject * obj0 = 0 ;
8edf1c75
RD
3359 PyObject * obj1 = 0 ;
3360 PyObject * obj2 = 0 ;
44127b65
RD
3361 char *kwnames[] = {
3362 (char *) "self",(char *) "w",(char *) "h", NULL
3363 };
3364
8edf1c75 3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 3366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3367 {
3368 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 {
3372 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
44127b65
RD
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 (arg1)->base_OnEndSize(arg2,arg3);
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 Py_INCREF(Py_None); resultobj = Py_None;
3383 return resultobj;
3384 fail:
3385 return NULL;
3386}
3387
3388
3389static PyObject * PyShapeEvtHandler_swigregister(PyObject *self, PyObject *args) {
3390 PyObject *obj;
3391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3392 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
3393 Py_INCREF(obj);
3394 return Py_BuildValue((char *)"");
3395}
3396static PyObject *_wrap_new_PyShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
3399 wxPyShape *result;
3400 PyObject * obj0 = 0 ;
3401 char *kwnames[] = {
3402 (char *) "can", NULL
3403 };
3404
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
3406 if (obj0) {
3407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3408 }
3409 {
3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
3411 result = (wxPyShape *)new wxPyShape(arg1);
3412
3413 wxPyEndAllowThreads(__tstate);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
3416 {
3417 resultobj = wxPyMake_wxShapeEvtHandler(result);
3418 }
3419 return resultobj;
3420 fail:
3421 return NULL;
3422}
3423
3424
3425static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxPyShape *arg1 = (wxPyShape *) 0 ;
3428 PyObject *arg2 = (PyObject *) 0 ;
3429 PyObject *arg3 = (PyObject *) 0 ;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj1 = 0 ;
3432 PyObject * obj2 = 0 ;
3433 char *kwnames[] = {
3434 (char *) "self",(char *) "self",(char *) "_class", NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
3438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3439 arg2 = obj1;
3440 arg3 = obj2;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 (arg1)->_setCallbackInfo(arg2,arg3);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 Py_INCREF(Py_None); resultobj = Py_None;
3449 return resultobj;
3450 fail:
3451 return NULL;
3452}
3453
3454
3455static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 wxPyShape *arg1 = (wxPyShape *) 0 ;
3458 double *arg2 = (double *) 0 ;
3459 double *arg3 = (double *) 0 ;
3460 double temp2 ;
3461 double temp3 ;
3462 PyObject * obj0 = 0 ;
3463 char *kwnames[] = {
3464 (char *) "self", NULL
3465 };
3466
3467 arg2 = &temp2;
3468 arg3 = &temp3;
3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
3470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 (arg1)->GetBoundingBoxMax(arg2,arg3);
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 Py_INCREF(Py_None); resultobj = Py_None;
3479 {
3480 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3481 resultobj = t_output_helper(resultobj,o);
3482 }
3483 {
3484 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3485 resultobj = t_output_helper(resultobj,o);
3486 }
3487 return resultobj;
3488 fail:
3489 return NULL;
3490}
3491
3492
3493static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) {
3494 PyObject *resultobj;
3495 wxPyShape *arg1 = (wxPyShape *) 0 ;
3496 double *arg2 = (double *) 0 ;
3497 double *arg3 = (double *) 0 ;
3498 double temp2 ;
3499 double temp3 ;
3500 PyObject * obj0 = 0 ;
3501 char *kwnames[] = {
3502 (char *) "self", NULL
3503 };
3504
3505 arg2 = &temp2;
3506 arg3 = &temp3;
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
3508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 (arg1)->GetBoundingBoxMin(arg2,arg3);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 Py_INCREF(Py_None); resultobj = Py_None;
3517 {
3518 PyObject *o = PyFloat_FromDouble((double) (*arg2));
3519 resultobj = t_output_helper(resultobj,o);
3520 }
3521 {
3522 PyObject *o = PyFloat_FromDouble((double) (*arg3));
3523 resultobj = t_output_helper(resultobj,o);
3524 }
3525 return resultobj;
3526 fail:
3527 return NULL;
3528}
3529
3530
3531static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject *resultobj;
3533 wxPyShape *arg1 = (wxPyShape *) 0 ;
3534 double arg2 ;
3535 double arg3 ;
3536 double arg4 ;
3537 double arg5 ;
3538 double *arg6 = (double *) 0 ;
3539 double *arg7 = (double *) 0 ;
3540 bool result;
3541 double temp6 ;
3542 double temp7 ;
3543 PyObject * obj0 = 0 ;
8edf1c75
RD
3544 PyObject * obj1 = 0 ;
3545 PyObject * obj2 = 0 ;
3546 PyObject * obj3 = 0 ;
3547 PyObject * obj4 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
44127b65
RD
3550 };
3551
3552 arg6 = &temp6;
3553 arg7 = &temp7;
8edf1c75 3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 3555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3556 {
3557 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 {
3561 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
3564 {
3565 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 {
3569 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
44127b65
RD
3572 {
3573 PyThreadState* __tstate = wxPyBeginAllowThreads();
3574 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
3575
3576 wxPyEndAllowThreads(__tstate);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 }
8edf1c75 3579 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
3580 {
3581 PyObject *o = PyFloat_FromDouble((double) (*arg6));
3582 resultobj = t_output_helper(resultobj,o);
3583 }
3584 {
3585 PyObject *o = PyFloat_FromDouble((double) (*arg7));
3586 resultobj = t_output_helper(resultobj,o);
3587 }
3588 return resultobj;
3589 fail:
3590 return NULL;
3591}
3592
3593
3594static PyObject *_wrap_PyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject *resultobj;
3596 wxPyShape *arg1 = (wxPyShape *) 0 ;
3597 wxPyShapeCanvas *result;
3598 PyObject * obj0 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
3612 {
3613 resultobj = wxPyMake_wxObject(result);
3614 }
3615 return resultobj;
3616 fail:
3617 return NULL;
3618}
3619
3620
3621static PyObject *_wrap_PyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3622 PyObject *resultobj;
3623 wxPyShape *arg1 = (wxPyShape *) 0 ;
3624 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3625 PyObject * obj0 = 0 ;
3626 PyObject * obj1 = 0 ;
3627 char *kwnames[] = {
3628 (char *) "self",(char *) "the_canvas", NULL
3629 };
3630
3631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
3632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 (arg1)->SetCanvas(arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 Py_INCREF(Py_None); resultobj = Py_None;
3642 return resultobj;
3643 fail:
3644 return NULL;
3645}
3646
3647
3648static PyObject *_wrap_PyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxPyShape *arg1 = (wxPyShape *) 0 ;
3651 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3652 wxPyShape *arg3 = (wxPyShape *) NULL ;
3653 PyObject * obj0 = 0 ;
3654 PyObject * obj1 = 0 ;
3655 PyObject * obj2 = 0 ;
3656 char *kwnames[] = {
3657 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3658 };
3659
3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
3661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3663 if (obj2) {
3664 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3665 }
3666 {
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 (arg1)->AddToCanvas(arg2,arg3);
3669
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 Py_INCREF(Py_None); resultobj = Py_None;
3674 return resultobj;
3675 fail:
3676 return NULL;
3677}
3678
3679
3680static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject *resultobj;
3682 wxPyShape *arg1 = (wxPyShape *) 0 ;
3683 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "the_canvas", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 (arg1)->InsertInCanvas(arg2);
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 Py_INCREF(Py_None); resultobj = Py_None;
3701 return resultobj;
3702 fail:
3703 return NULL;
3704}
3705
3706
3707static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj;
3709 wxPyShape *arg1 = (wxPyShape *) 0 ;
3710 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
3711 PyObject * obj0 = 0 ;
3712 PyObject * obj1 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self",(char *) "the_canvas", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3719 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->RemoveFromCanvas(arg2);
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 return resultobj;
3729 fail:
3730 return NULL;
3731}
3732
3733
3734static PyObject *_wrap_PyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxPyShape *arg1 = (wxPyShape *) 0 ;
3737 double result;
3738 PyObject * obj0 = 0 ;
3739 char *kwnames[] = {
3740 (char *) "self", NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
3744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 result = (double)(arg1)->GetX();
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
8edf1c75 3752 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
3753 return resultobj;
3754 fail:
3755 return NULL;
3756}
3757
3758
3759static PyObject *_wrap_PyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 wxPyShape *arg1 = (wxPyShape *) 0 ;
3762 double result;
3763 PyObject * obj0 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "self", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
3769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3770 {
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 result = (double)(arg1)->GetY();
3773
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
8edf1c75 3777 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
3778 return resultobj;
3779 fail:
3780 return NULL;
3781}
3782
3783
3784static PyObject *_wrap_PyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxPyShape *arg1 = (wxPyShape *) 0 ;
3787 double arg2 ;
3788 PyObject * obj0 = 0 ;
8edf1c75 3789 PyObject * obj1 = 0 ;
44127b65
RD
3790 char *kwnames[] = {
3791 (char *) "self",(char *) "x", NULL
3792 };
3793
8edf1c75 3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
44127b65 3795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3796 {
3797 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
44127b65
RD
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 (arg1)->SetX(arg2);
3803
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 Py_INCREF(Py_None); resultobj = Py_None;
3808 return resultobj;
3809 fail:
3810 return NULL;
3811}
3812
3813
3814static PyObject *_wrap_PyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3815 PyObject *resultobj;
3816 wxPyShape *arg1 = (wxPyShape *) 0 ;
3817 double arg2 ;
3818 PyObject * obj0 = 0 ;
8edf1c75 3819 PyObject * obj1 = 0 ;
44127b65
RD
3820 char *kwnames[] = {
3821 (char *) "self",(char *) "y", NULL
3822 };
3823
8edf1c75 3824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
44127b65 3825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3826 {
3827 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
44127b65
RD
3830 {
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 (arg1)->SetY(arg2);
3833
3834 wxPyEndAllowThreads(__tstate);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 }
3837 Py_INCREF(Py_None); resultobj = Py_None;
3838 return resultobj;
3839 fail:
3840 return NULL;
3841}
3842
3843
3844static PyObject *_wrap_PyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3845 PyObject *resultobj;
3846 wxPyShape *arg1 = (wxPyShape *) 0 ;
3847 wxPyShape *result;
3848 PyObject * obj0 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
3854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 result = (wxPyShape *)(arg1)->GetParent();
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 {
3863 resultobj = wxPyMake_wxShapeEvtHandler(result);
3864 }
3865 return resultobj;
3866 fail:
3867 return NULL;
3868}
3869
3870
3871static PyObject *_wrap_PyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj;
3873 wxPyShape *arg1 = (wxPyShape *) 0 ;
3874 wxPyShape *arg2 = (wxPyShape *) 0 ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj1 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self",(char *) "p", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3884 {
3885 PyThreadState* __tstate = wxPyBeginAllowThreads();
3886 (arg1)->SetParent(arg2);
3887
3888 wxPyEndAllowThreads(__tstate);
3889 if (PyErr_Occurred()) SWIG_fail;
3890 }
3891 Py_INCREF(Py_None); resultobj = Py_None;
3892 return resultobj;
3893 fail:
3894 return NULL;
3895}
3896
3897
3898static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) {
3899 PyObject *resultobj;
3900 wxPyShape *arg1 = (wxPyShape *) 0 ;
3901 wxPyShape *result;
3902 PyObject * obj0 = 0 ;
3903 char *kwnames[] = {
3904 (char *) "self", NULL
3905 };
3906
3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
3908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3909 {
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 result = (wxPyShape *)(arg1)->GetTopAncestor();
3912
3913 wxPyEndAllowThreads(__tstate);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 }
3916 {
3917 resultobj = wxPyMake_wxShapeEvtHandler(result);
3918 }
3919 return resultobj;
3920 fail:
3921 return NULL;
3922}
3923
3924
3925static PyObject *_wrap_PyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
3926 PyObject *resultobj;
3927 wxPyShape *arg1 = (wxPyShape *) 0 ;
3928 PyObject *result;
3929 PyObject * obj0 = 0 ;
3930 char *kwnames[] = {
3931 (char *) "self", NULL
3932 };
3933
3934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
3935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 result = (PyObject *)wxPyShape_GetChildren(arg1);
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 }
3943 resultobj = result;
3944 return resultobj;
3945 fail:
3946 return NULL;
3947}
3948
3949
3950static PyObject *_wrap_PyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
3951 PyObject *resultobj;
3952 wxPyShape *arg1 = (wxPyShape *) 0 ;
3953 PyObject * obj0 = 0 ;
3954 char *kwnames[] = {
3955 (char *) "self", NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
3959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 (arg1)->Unlink();
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 Py_INCREF(Py_None); resultobj = Py_None;
3968 return resultobj;
3969 fail:
3970 return NULL;
3971}
3972
3973
3974static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
3975 PyObject *resultobj;
3976 wxPyShape *arg1 = (wxPyShape *) 0 ;
3977 bool arg2 ;
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self",(char *) "drawH", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 3986 {
8edf1c75 3987 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
44127b65
RD
3990 {
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 (arg1)->SetDrawHandles(arg2);
3993
3994 wxPyEndAllowThreads(__tstate);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 Py_INCREF(Py_None); resultobj = Py_None;
3998 return resultobj;
3999 fail:
4000 return NULL;
4001}
4002
4003
4004static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj;
4006 wxPyShape *arg1 = (wxPyShape *) 0 ;
4007 bool result;
4008 PyObject * obj0 = 0 ;
4009 char *kwnames[] = {
4010 (char *) "self", NULL
4011 };
4012
4013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
4014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 result = (bool)(arg1)->GetDrawHandles();
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
8edf1c75 4022 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4023 return resultobj;
4024 fail:
4025 return NULL;
4026}
4027
4028
4029static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4030 PyObject *resultobj;
4031 wxPyShape *arg1 = (wxPyShape *) 0 ;
4032 PyObject * obj0 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 (arg1)->MakeControlPoints();
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
4046 Py_INCREF(Py_None); resultobj = Py_None;
4047 return resultobj;
4048 fail:
4049 return NULL;
4050}
4051
4052
4053static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject *resultobj;
4055 wxPyShape *arg1 = (wxPyShape *) 0 ;
4056 wxDC *arg2 = (wxDC *) NULL ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 char *kwnames[] = {
4060 (char *) "self",(char *) "dc", NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
4064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4065 if (obj1) {
4066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4067 }
4068 {
4069 PyThreadState* __tstate = wxPyBeginAllowThreads();
4070 (arg1)->DeleteControlPoints(arg2);
4071
4072 wxPyEndAllowThreads(__tstate);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 Py_INCREF(Py_None); resultobj = Py_None;
4076 return resultobj;
4077 fail:
4078 return NULL;
4079}
4080
4081
4082static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4083 PyObject *resultobj;
4084 wxPyShape *arg1 = (wxPyShape *) 0 ;
4085 PyObject * obj0 = 0 ;
4086 char *kwnames[] = {
4087 (char *) "self", NULL
4088 };
4089
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
4091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 (arg1)->ResetControlPoints();
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 Py_INCREF(Py_None); resultobj = Py_None;
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
4106static PyObject *_wrap_PyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxPyShape *arg1 = (wxPyShape *) 0 ;
4109 wxPyShapeEvtHandler *result;
4110 PyObject * obj0 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 {
4125 resultobj = wxPyMake_wxShapeEvtHandler(result);
4126 }
4127 return resultobj;
4128 fail:
4129 return NULL;
4130}
4131
4132
4133static PyObject *_wrap_PyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj;
4135 wxPyShape *arg1 = (wxPyShape *) 0 ;
4136 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
4137 PyObject * obj0 = 0 ;
4138 PyObject * obj1 = 0 ;
4139 char *kwnames[] = {
4140 (char *) "self",(char *) "handler", NULL
4141 };
4142
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
4144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 (arg1)->SetEventHandler(arg2);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 Py_INCREF(Py_None); resultobj = Py_None;
4154 return resultobj;
4155 fail:
4156 return NULL;
4157}
4158
4159
4160static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxPyShape *arg1 = (wxPyShape *) 0 ;
4163 PyObject * obj0 = 0 ;
4164 char *kwnames[] = {
4165 (char *) "self", NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
4169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 (arg1)->MakeMandatoryControlPoints();
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 Py_INCREF(Py_None); resultobj = Py_None;
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
4184static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxPyShape *arg1 = (wxPyShape *) 0 ;
4187 PyObject * obj0 = 0 ;
4188 char *kwnames[] = {
4189 (char *) "self", NULL
4190 };
4191
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
4193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 (arg1)->ResetMandatoryControlPoints();
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 Py_INCREF(Py_None); resultobj = Py_None;
4202 return resultobj;
4203 fail:
4204 return NULL;
4205}
4206
4207
4208static PyObject *_wrap_PyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
4209 PyObject *resultobj;
4210 wxPyShape *arg1 = (wxPyShape *) 0 ;
4211 bool result;
4212 PyObject * obj0 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
4218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (bool)(arg1)->Recompute();
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
8edf1c75 4226 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4227 return resultobj;
4228 fail:
4229 return NULL;
4230}
4231
4232
4233static PyObject *_wrap_PyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4234 PyObject *resultobj;
4235 wxPyShape *arg1 = (wxPyShape *) 0 ;
4236 PyObject * obj0 = 0 ;
4237 char *kwnames[] = {
4238 (char *) "self", NULL
4239 };
4240
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
4242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 (arg1)->CalculateSize();
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
4257static PyObject *_wrap_PyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4258 PyObject *resultobj;
4259 wxPyShape *arg1 = (wxPyShape *) 0 ;
4260 bool arg2 = (bool) True ;
4261 wxDC *arg3 = (wxDC *) NULL ;
4262 PyObject * obj0 = 0 ;
4263 PyObject * obj1 = 0 ;
4264 PyObject * obj2 = 0 ;
4265 char *kwnames[] = {
4266 (char *) "self",(char *) "select",(char *) "dc", NULL
4267 };
4268
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
4270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4271 if (obj1) {
83448d71 4272 {
8edf1c75 4273 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
4274 if (PyErr_Occurred()) SWIG_fail;
4275 }
44127b65
RD
4276 }
4277 if (obj2) {
4278 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4279 }
4280 {
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 (arg1)->Select(arg2,arg3);
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 Py_INCREF(Py_None); resultobj = Py_None;
4288 return resultobj;
4289 fail:
4290 return NULL;
4291}
4292
4293
4294static PyObject *_wrap_PyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 wxPyShape *arg1 = (wxPyShape *) 0 ;
4297 bool arg2 = (bool) True ;
4298 bool arg3 = (bool) False ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 PyObject * obj2 = 0 ;
4302 char *kwnames[] = {
4303 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4304 };
4305
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
4307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4308 if (obj1) {
83448d71 4309 {
8edf1c75 4310 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
44127b65
RD
4313 }
4314 if (obj2) {
83448d71 4315 {
8edf1c75 4316 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
44127b65
RD
4319 }
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 (arg1)->SetHighlight(arg2,arg3);
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 Py_INCREF(Py_None); resultobj = Py_None;
4328 return resultobj;
4329 fail:
4330 return NULL;
4331}
4332
4333
4334static PyObject *_wrap_PyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj;
4336 wxPyShape *arg1 = (wxPyShape *) 0 ;
4337 bool result;
4338 PyObject * obj0 = 0 ;
4339 char *kwnames[] = {
4340 (char *) "self", NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
4344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 result = (bool)(arg1)->IsHighlighted();
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
8edf1c75 4352 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4353 return resultobj;
4354 fail:
4355 return NULL;
4356}
4357
4358
4359static PyObject *_wrap_PyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxPyShape *arg1 = (wxPyShape *) 0 ;
4362 bool result;
4363 PyObject * obj0 = 0 ;
4364 char *kwnames[] = {
4365 (char *) "self", NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
4369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 result = (bool)(arg1)->Selected();
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
8edf1c75 4377 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4378 return resultobj;
4379 fail:
4380 return NULL;
4381}
4382
4383
4384static PyObject *_wrap_PyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
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_AncestorSelected",kwnames,&obj0)) goto fail;
4394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (bool)(arg1)->AncestorSelected();
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
8edf1c75 4402 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4403 return resultobj;
4404 fail:
4405 return NULL;
4406}
4407
4408
4409static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxPyShape *arg1 = (wxPyShape *) 0 ;
4412 int arg2 = (int) OP_ALL ;
4413 bool arg3 = (bool) False ;
4414 PyObject * obj0 = 0 ;
8edf1c75 4415 PyObject * obj1 = 0 ;
44127b65
RD
4416 PyObject * obj2 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4419 };
4420
8edf1c75 4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 4422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4423 if (obj1) {
4424 {
4425 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 }
4428 }
44127b65 4429 if (obj2) {
83448d71 4430 {
8edf1c75 4431 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
44127b65
RD
4434 }
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 (arg1)->SetSensitivityFilter(arg2,arg3);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 Py_INCREF(Py_None); resultobj = Py_None;
4443 return resultobj;
4444 fail:
4445 return NULL;
4446}
4447
4448
4449static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 wxPyShape *arg1 = (wxPyShape *) 0 ;
4452 int result;
4453 PyObject * obj0 = 0 ;
4454 char *kwnames[] = {
4455 (char *) "self", NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
4459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 result = (int)(arg1)->GetSensitivityFilter();
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
8edf1c75 4467 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
4468 return resultobj;
4469 fail:
4470 return NULL;
4471}
4472
4473
4474static PyObject *_wrap_PyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 wxPyShape *arg1 = (wxPyShape *) 0 ;
4477 bool arg2 ;
4478 bool arg3 = (bool) False ;
4479 PyObject * obj0 = 0 ;
4480 PyObject * obj1 = 0 ;
4481 PyObject * obj2 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
4487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 4488 {
8edf1c75 4489 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
44127b65
RD
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
83448d71
RD
4492 if (obj2) {
4493 {
8edf1c75 4494 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 }
44127b65
RD
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 (arg1)->SetDraggable(arg2,arg3);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 Py_INCREF(Py_None); resultobj = Py_None;
4506 return resultobj;
4507 fail:
4508 return NULL;
4509}
4510
4511
4512static PyObject *_wrap_PyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4513 PyObject *resultobj;
4514 wxPyShape *arg1 = (wxPyShape *) 0 ;
4515 bool arg2 ;
4516 bool arg3 ;
4517 PyObject * obj0 = 0 ;
4518 PyObject * obj1 = 0 ;
4519 PyObject * obj2 = 0 ;
4520 char *kwnames[] = {
4521 (char *) "self",(char *) "x",(char *) "y", NULL
4522 };
4523
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
4525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 4526 {
8edf1c75 4527 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 {
8edf1c75 4531 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
44127b65
RD
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 (arg1)->SetFixedSize(arg2,arg3);
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 Py_INCREF(Py_None); resultobj = Py_None;
4542 return resultobj;
4543 fail:
4544 return NULL;
4545}
4546
4547
4548static PyObject *_wrap_PyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxPyShape *arg1 = (wxPyShape *) 0 ;
4551 bool *arg2 = (bool *) 0 ;
4552 bool *arg3 = (bool *) 0 ;
4553 bool temp2 ;
4554 bool temp3 ;
4555 PyObject * obj0 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "self", NULL
4558 };
4559
4560 arg2 = &temp2;
4561 arg3 = &temp3;
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
4563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 (arg1)->GetFixedSize(arg2,arg3);
4567
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 Py_INCREF(Py_None); resultobj = Py_None;
4572 {
4573 PyObject *o = PyInt_FromLong((long) (*arg2));
4574 resultobj = t_output_helper(resultobj,o);
4575 }
4576 {
4577 PyObject *o = PyInt_FromLong((long) (*arg3));
4578 resultobj = t_output_helper(resultobj,o);
4579 }
4580 return resultobj;
4581 fail:
4582 return NULL;
4583}
4584
4585
4586static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4587 PyObject *resultobj;
4588 wxPyShape *arg1 = (wxPyShape *) 0 ;
4589 bool result;
4590 PyObject * obj0 = 0 ;
4591 char *kwnames[] = {
4592 (char *) "self", NULL
4593 };
4594
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
4596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 result = (bool)(arg1)->GetFixedWidth();
4600
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
8edf1c75 4604 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4605 return resultobj;
4606 fail:
4607 return NULL;
4608}
4609
4610
4611static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4612 PyObject *resultobj;
4613 wxPyShape *arg1 = (wxPyShape *) 0 ;
4614 bool result;
4615 PyObject * obj0 = 0 ;
4616 char *kwnames[] = {
4617 (char *) "self", NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
4621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (bool)(arg1)->GetFixedHeight();
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
8edf1c75 4629 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4630 return resultobj;
4631 fail:
4632 return NULL;
4633}
4634
4635
4636static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj;
4638 wxPyShape *arg1 = (wxPyShape *) 0 ;
4639 bool arg2 ;
4640 PyObject * obj0 = 0 ;
4641 PyObject * obj1 = 0 ;
4642 char *kwnames[] = {
4643 (char *) "self",(char *) "sp", NULL
4644 };
4645
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
4647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 4648 {
8edf1c75 4649 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
44127b65
RD
4652 {
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 (arg1)->SetSpaceAttachments(arg2);
4655
4656 wxPyEndAllowThreads(__tstate);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 Py_INCREF(Py_None); resultobj = Py_None;
4660 return resultobj;
4661 fail:
4662 return NULL;
4663}
4664
4665
4666static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
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_GetSpaceAttachments",kwnames,&obj0)) goto fail;
4676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 result = (bool)(arg1)->GetSpaceAttachments();
4680
4681 wxPyEndAllowThreads(__tstate);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 }
8edf1c75 4684 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4685 return resultobj;
4686 fail:
4687 return NULL;
4688}
4689
4690
4691static PyObject *_wrap_PyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4692 PyObject *resultobj;
4693 wxPyShape *arg1 = (wxPyShape *) 0 ;
4694 int arg2 ;
4695 bool arg3 = (bool) False ;
4696 PyObject * obj0 = 0 ;
8edf1c75 4697 PyObject * obj1 = 0 ;
44127b65
RD
4698 PyObject * obj2 = 0 ;
4699 char *kwnames[] = {
4700 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4701 };
4702
8edf1c75 4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 4704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4705 {
4706 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
44127b65 4709 if (obj2) {
83448d71 4710 {
8edf1c75 4711 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
44127b65
RD
4714 }
4715 {
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 (arg1)->SetShadowMode(arg2,arg3);
4718
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 Py_INCREF(Py_None); resultobj = Py_None;
4723 return resultobj;
4724 fail:
4725 return NULL;
4726}
4727
4728
4729static PyObject *_wrap_PyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4730 PyObject *resultobj;
4731 wxPyShape *arg1 = (wxPyShape *) 0 ;
4732 int result;
4733 PyObject * obj0 = 0 ;
4734 char *kwnames[] = {
4735 (char *) "self", NULL
4736 };
4737
4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
4739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4740 {
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 result = (int)(arg1)->GetShadowMode();
4743
4744 wxPyEndAllowThreads(__tstate);
4745 if (PyErr_Occurred()) SWIG_fail;
4746 }
8edf1c75 4747 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
4748 return resultobj;
4749 fail:
4750 return NULL;
4751}
4752
4753
4754static PyObject *_wrap_PyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject *resultobj;
4756 wxPyShape *arg1 = (wxPyShape *) 0 ;
4757 double arg2 ;
4758 double arg3 ;
4759 int *arg4 = (int *) 0 ;
4760 double *arg5 = (double *) 0 ;
4761 bool result;
4762 int temp4 ;
4763 double temp5 ;
4764 PyObject * obj0 = 0 ;
8edf1c75
RD
4765 PyObject * obj1 = 0 ;
4766 PyObject * obj2 = 0 ;
44127b65
RD
4767 char *kwnames[] = {
4768 (char *) "self",(char *) "x",(char *) "y", NULL
4769 };
4770
4771 arg4 = &temp4;
4772 arg5 = &temp5;
8edf1c75 4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 4774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4775 {
4776 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 {
4780 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
44127b65
RD
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
8edf1c75 4790 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4791 {
4792 PyObject *o = PyInt_FromLong((long) (*arg4));
4793 resultobj = t_output_helper(resultobj,o);
4794 }
4795 {
4796 PyObject *o = PyFloat_FromDouble((double) (*arg5));
4797 resultobj = t_output_helper(resultobj,o);
4798 }
4799 return resultobj;
4800 fail:
4801 return NULL;
4802}
4803
4804
4805static PyObject *_wrap_PyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxPyShape *arg1 = (wxPyShape *) 0 ;
4808 bool arg2 ;
4809 PyObject * obj0 = 0 ;
4810 PyObject * obj1 = 0 ;
4811 char *kwnames[] = {
4812 (char *) "self",(char *) "cr", NULL
4813 };
4814
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
4816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 4817 {
8edf1c75 4818 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
44127b65
RD
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 (arg1)->SetCentreResize(arg2);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 Py_INCREF(Py_None); resultobj = Py_None;
4829 return resultobj;
4830 fail:
4831 return NULL;
4832}
4833
4834
4835static PyObject *_wrap_PyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) {
4836 PyObject *resultobj;
4837 wxPyShape *arg1 = (wxPyShape *) 0 ;
4838 bool result;
4839 PyObject * obj0 = 0 ;
4840 char *kwnames[] = {
4841 (char *) "self", NULL
4842 };
4843
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
4845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (bool)(arg1)->GetCentreResize();
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
8edf1c75 4853 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4854 return resultobj;
4855 fail:
4856 return NULL;
4857}
4858
4859
4860static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4861 PyObject *resultobj;
4862 wxPyShape *arg1 = (wxPyShape *) 0 ;
4863 bool arg2 ;
4864 PyObject * obj0 = 0 ;
4865 PyObject * obj1 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self",(char *) "ar", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
4871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 4872 {
8edf1c75 4873 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
44127b65
RD
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->SetMaintainAspectRatio(arg2);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 Py_INCREF(Py_None); resultobj = Py_None;
4884 return resultobj;
4885 fail:
4886 return NULL;
4887}
4888
4889
4890static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
4891 PyObject *resultobj;
4892 wxPyShape *arg1 = (wxPyShape *) 0 ;
4893 bool result;
4894 PyObject * obj0 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self", NULL
4897 };
4898
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
4900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = (bool)(arg1)->GetMaintainAspectRatio();
4904
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
8edf1c75 4908 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4909 return resultobj;
4910 fail:
4911 return NULL;
4912}
4913
4914
4915static PyObject *_wrap_PyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxPyShape *arg1 = (wxPyShape *) 0 ;
4918 PyObject *result;
4919 PyObject * obj0 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
4925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 result = (PyObject *)wxPyShape_GetLines(arg1);
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 resultobj = result;
4934 return resultobj;
4935 fail:
4936 return NULL;
4937}
4938
4939
4940static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj;
4942 wxPyShape *arg1 = (wxPyShape *) 0 ;
4943 bool arg2 ;
4944 PyObject * obj0 = 0 ;
4945 PyObject * obj1 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self",(char *) "flag", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
4951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 4952 {
8edf1c75 4953 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
44127b65
RD
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->SetDisableLabel(arg2);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967}
4968
4969
4970static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxPyShape *arg1 = (wxPyShape *) 0 ;
4973 bool result;
4974 PyObject * obj0 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
4980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 result = (bool)(arg1)->GetDisableLabel();
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
8edf1c75 4988 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
4989 return resultobj;
4990 fail:
4991 return NULL;
4992}
4993
4994
4995static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxPyShape *arg1 = (wxPyShape *) 0 ;
4998 int arg2 ;
4999 PyObject * obj0 = 0 ;
8edf1c75 5000 PyObject * obj1 = 0 ;
44127b65
RD
5001 char *kwnames[] = {
5002 (char *) "self",(char *) "mode", NULL
5003 };
5004
8edf1c75 5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
44127b65 5006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5007 {
5008 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
44127b65
RD
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 (arg1)->SetAttachmentMode(arg2);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 Py_INCREF(Py_None); resultobj = Py_None;
5019 return resultobj;
5020 fail:
5021 return NULL;
5022}
5023
5024
5025static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxPyShape *arg1 = (wxPyShape *) 0 ;
5028 int result;
5029 PyObject * obj0 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 result = (int)(arg1)->GetAttachmentMode();
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
8edf1c75 5043 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
5044 return resultobj;
5045 fail:
5046 return NULL;
5047}
5048
5049
5050static PyObject *_wrap_PyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxPyShape *arg1 = (wxPyShape *) 0 ;
5053 long arg2 ;
5054 PyObject * obj0 = 0 ;
8edf1c75 5055 PyObject * obj1 = 0 ;
44127b65
RD
5056 char *kwnames[] = {
5057 (char *) "self",(char *) "i", NULL
5058 };
5059
8edf1c75 5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
44127b65 5061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5062 {
5063 arg2 = (long) SWIG_PyObj_AsLong(obj1);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
44127b65
RD
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 (arg1)->SetId(arg2);
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 Py_INCREF(Py_None); resultobj = Py_None;
5074 return resultobj;
5075 fail:
5076 return NULL;
5077}
5078
5079
5080static PyObject *_wrap_PyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxPyShape *arg1 = (wxPyShape *) 0 ;
5083 long result;
5084 PyObject * obj0 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 result = (long)(arg1)->GetId();
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
8edf1c75 5098 resultobj = SWIG_PyObj_FromLong((long)result);
44127b65
RD
5099 return resultobj;
5100 fail:
5101 return NULL;
5102}
5103
5104
5105static PyObject *_wrap_PyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxPyShape *arg1 = (wxPyShape *) 0 ;
5108 wxPen *arg2 = (wxPen *) 0 ;
5109 PyObject * obj0 = 0 ;
5110 PyObject * obj1 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self",(char *) "pen", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5117 {
5118 wxPen* temp;
5119 if (obj1) {
5120 if (obj1 == Py_None) {
5121 temp = NULL;
5122 }
5123 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
5124 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
5125 return NULL;
5126 }
5127 }
5128 if (temp)
5129 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
5130 temp->GetWidth(),
5131 temp->GetStyle());
5132 else
5133 arg2 = NULL;
5134 }
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 (arg1)->SetPen(arg2);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 Py_INCREF(Py_None); resultobj = Py_None;
5143 return resultobj;
5144 fail:
5145 return NULL;
5146}
5147
5148
5149static PyObject *_wrap_PyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj;
5151 wxPyShape *arg1 = (wxPyShape *) 0 ;
5152 wxBrush *arg2 = (wxBrush *) 0 ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 char *kwnames[] = {
5156 (char *) "self",(char *) "brush", NULL
5157 };
5158
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
5160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5161 {
5162 wxBrush* temp;
5163 if (obj1) {
5164 if (obj1 == Py_None) {
5165 temp = NULL;
5166 }
5167 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
5168 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
5169 return NULL;
5170 }
5171 }
5172 if (temp)
5173 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
5174 else
5175 arg2 = NULL;
5176 }
5177 {
5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
5179 (arg1)->SetBrush(arg2);
5180
5181 wxPyEndAllowThreads(__tstate);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 }
5184 Py_INCREF(Py_None); resultobj = Py_None;
5185 return resultobj;
5186 fail:
5187 return NULL;
5188}
5189
5190
5191static PyObject *_wrap_PyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5192 PyObject *resultobj;
5193 wxPyShape *arg1 = (wxPyShape *) 0 ;
5194 bool arg2 ;
5195 PyObject * obj0 = 0 ;
5196 PyObject * obj1 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self",(char *) "show", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
5202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 5203 {
8edf1c75 5204 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
44127b65
RD
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 (arg1)->Show(arg2);
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 Py_INCREF(Py_None); resultobj = Py_None;
5215 return resultobj;
5216 fail:
5217 return NULL;
5218}
5219
5220
5221static PyObject *_wrap_PyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 wxPyShape *arg1 = (wxPyShape *) 0 ;
5224 bool result;
5225 PyObject * obj0 = 0 ;
5226 char *kwnames[] = {
5227 (char *) "self", NULL
5228 };
5229
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
5231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5232 {
5233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5234 result = (bool)(arg1)->IsShown();
5235
5236 wxPyEndAllowThreads(__tstate);
5237 if (PyErr_Occurred()) SWIG_fail;
5238 }
8edf1c75 5239 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
5240 return resultobj;
5241 fail:
5242 return NULL;
5243}
5244
5245
5246static PyObject *_wrap_PyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
5247 PyObject *resultobj;
5248 wxPyShape *arg1 = (wxPyShape *) 0 ;
5249 wxDC *arg2 = 0 ;
5250 double arg3 ;
5251 double arg4 ;
5252 bool arg5 = (bool) True ;
5253 PyObject * obj0 = 0 ;
5254 PyObject * obj1 = 0 ;
8edf1c75
RD
5255 PyObject * obj2 = 0 ;
5256 PyObject * obj3 = 0 ;
44127b65
RD
5257 PyObject * obj4 = 0 ;
5258 char *kwnames[] = {
5259 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5260 };
5261
8edf1c75 5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
5263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5265 if (arg2 == NULL) {
5266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5267 }
8edf1c75
RD
5268 {
5269 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 {
5273 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
44127b65 5276 if (obj4) {
83448d71 5277 {
8edf1c75 5278 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
83448d71
RD
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
44127b65
RD
5281 }
5282 {
5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5284 (arg1)->Move(*arg2,arg3,arg4,arg5);
5285
5286 wxPyEndAllowThreads(__tstate);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
5289 Py_INCREF(Py_None); resultobj = Py_None;
5290 return resultobj;
5291 fail:
5292 return NULL;
5293}
5294
5295
5296static PyObject *_wrap_PyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj;
5298 wxPyShape *arg1 = (wxPyShape *) 0 ;
5299 wxDC *arg2 = 0 ;
5300 PyObject * obj0 = 0 ;
5301 PyObject * obj1 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self",(char *) "dc", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5309 if (arg2 == NULL) {
5310 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5311 }
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
5314 (arg1)->Erase(*arg2);
5315
5316 wxPyEndAllowThreads(__tstate);
5317 if (PyErr_Occurred()) SWIG_fail;
5318 }
5319 Py_INCREF(Py_None); resultobj = Py_None;
5320 return resultobj;
5321 fail:
5322 return NULL;
5323}
5324
5325
5326static PyObject *_wrap_PyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxPyShape *arg1 = (wxPyShape *) 0 ;
5329 wxDC *arg2 = 0 ;
5330 PyObject * obj0 = 0 ;
5331 PyObject * obj1 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "self",(char *) "dc", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
5337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5338 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 if (arg2 == NULL) {
5340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5341 }
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 (arg1)->EraseContents(*arg2);
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 Py_INCREF(Py_None); resultobj = Py_None;
5350 return resultobj;
5351 fail:
5352 return NULL;
5353}
5354
5355
5356static PyObject *_wrap_PyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
5357 PyObject *resultobj;
5358 wxPyShape *arg1 = (wxPyShape *) 0 ;
5359 wxDC *arg2 = 0 ;
5360 PyObject * obj0 = 0 ;
5361 PyObject * obj1 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self",(char *) "dc", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
5367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5369 if (arg2 == NULL) {
5370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5371 }
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 (arg1)->Draw(*arg2);
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 Py_INCREF(Py_None); resultobj = Py_None;
5380 return resultobj;
5381 fail:
5382 return NULL;
5383}
5384
5385
5386static PyObject *_wrap_PyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) {
5387 PyObject *resultobj;
5388 wxPyShape *arg1 = (wxPyShape *) 0 ;
5389 PyObject * obj0 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
5395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 (arg1)->Flash();
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 Py_INCREF(Py_None); resultobj = Py_None;
5404 return resultobj;
5405 fail:
5406 return NULL;
5407}
5408
5409
5410static PyObject *_wrap_PyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxPyShape *arg1 = (wxPyShape *) 0 ;
5413 wxDC *arg2 = 0 ;
5414 PyObject * obj0 = 0 ;
5415 PyObject * obj1 = 0 ;
5416 char *kwnames[] = {
5417 (char *) "self",(char *) "dc", NULL
5418 };
5419
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
5421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5423 if (arg2 == NULL) {
5424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5425 }
5426 {
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 (arg1)->MoveLinks(*arg2);
5429
5430 wxPyEndAllowThreads(__tstate);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 Py_INCREF(Py_None); resultobj = Py_None;
5434 return resultobj;
5435 fail:
5436 return NULL;
5437}
5438
5439
5440static PyObject *_wrap_PyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5441 PyObject *resultobj;
5442 wxPyShape *arg1 = (wxPyShape *) 0 ;
5443 wxDC *arg2 = 0 ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 char *kwnames[] = {
5447 (char *) "self",(char *) "dc", NULL
5448 };
5449
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
5451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5453 if (arg2 == NULL) {
5454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5455 }
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 (arg1)->DrawContents(*arg2);
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 Py_INCREF(Py_None); resultobj = Py_None;
5464 return resultobj;
5465 fail:
5466 return NULL;
5467}
5468
5469
5470static PyObject *_wrap_PyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj;
5472 wxPyShape *arg1 = (wxPyShape *) 0 ;
5473 double arg2 ;
5474 double arg3 ;
5475 bool arg4 = (bool) True ;
5476 PyObject * obj0 = 0 ;
8edf1c75
RD
5477 PyObject * obj1 = 0 ;
5478 PyObject * obj2 = 0 ;
44127b65
RD
5479 PyObject * obj3 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5482 };
5483
8edf1c75 5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 5485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5486 {
5487 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 {
5491 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
44127b65 5494 if (obj3) {
83448d71 5495 {
8edf1c75 5496 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
83448d71
RD
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
44127b65
RD
5499 }
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 (arg1)->SetSize(arg2,arg3,arg4);
5503
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 Py_INCREF(Py_None); resultobj = Py_None;
5508 return resultobj;
5509 fail:
5510 return NULL;
5511}
5512
5513
5514static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 wxPyShape *arg1 = (wxPyShape *) 0 ;
5517 double arg2 ;
5518 double arg3 ;
5519 PyObject * obj0 = 0 ;
8edf1c75
RD
5520 PyObject * obj1 = 0 ;
5521 PyObject * obj2 = 0 ;
44127b65
RD
5522 char *kwnames[] = {
5523 (char *) "self",(char *) "x",(char *) "y", NULL
5524 };
5525
8edf1c75 5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 5527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5528 {
5529 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 {
5533 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
44127b65
RD
5536 {
5537 PyThreadState* __tstate = wxPyBeginAllowThreads();
5538 (arg1)->SetAttachmentSize(arg2,arg3);
5539
5540 wxPyEndAllowThreads(__tstate);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 }
5543 Py_INCREF(Py_None); resultobj = Py_None;
5544 return resultobj;
5545 fail:
5546 return NULL;
5547}
5548
5549
5550static PyObject *_wrap_PyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj;
5552 wxPyShape *arg1 = (wxPyShape *) 0 ;
5553 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5554 PyObject * obj0 = 0 ;
5555 PyObject * obj1 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self",(char *) "can", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 (arg1)->Attach(arg2);
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 Py_INCREF(Py_None); resultobj = Py_None;
5571 return resultobj;
5572 fail:
5573 return NULL;
5574}
5575
5576
5577static PyObject *_wrap_PyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxPyShape *arg1 = (wxPyShape *) 0 ;
5580 PyObject * obj0 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "self", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
5586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->Detach();
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598}
5599
5600
5601static PyObject *_wrap_PyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxPyShape *arg1 = (wxPyShape *) 0 ;
5604 bool result;
5605 PyObject * obj0 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 result = (bool)(arg1)->Constrain();
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
8edf1c75 5619 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
5620 return resultobj;
5621 fail:
5622 return NULL;
5623}
5624
5625
5626static PyObject *_wrap_PyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxPyShape *arg1 = (wxPyShape *) 0 ;
5629 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5630 wxPyShape *arg3 = (wxPyShape *) 0 ;
5631 int arg4 = (int) 0 ;
5632 int arg5 = (int) 0 ;
5633 int arg6 = (int) -1 ;
5634 int arg7 = (int) -1 ;
5635 PyObject * obj0 = 0 ;
5636 PyObject * obj1 = 0 ;
5637 PyObject * obj2 = 0 ;
8edf1c75
RD
5638 PyObject * obj3 = 0 ;
5639 PyObject * obj4 = 0 ;
5640 PyObject * obj5 = 0 ;
5641 PyObject * obj6 = 0 ;
44127b65
RD
5642 char *kwnames[] = {
5643 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5644 };
5645
8edf1c75 5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
5647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5649 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5650 if (obj3) {
5651 {
5652 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 }
5656 if (obj4) {
5657 {
5658 arg5 = (int) SWIG_PyObj_AsInt(obj4);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 }
5662 if (obj5) {
5663 {
5664 arg6 = (int) SWIG_PyObj_AsInt(obj5);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 }
5668 if (obj6) {
5669 {
5670 arg7 = (int) SWIG_PyObj_AsInt(obj6);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 }
44127b65
RD
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 Py_INCREF(Py_None); resultobj = Py_None;
5682 return resultobj;
5683 fail:
5684 return NULL;
5685}
5686
5687
5688static PyObject *_wrap_PyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5689 PyObject *resultobj;
5690 wxPyShape *arg1 = (wxPyShape *) 0 ;
5691 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
5692 int result;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self",(char *) "line", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (int)(arg1)->GetLinePosition(arg2);
5705
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
8edf1c75 5709 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
5710 return resultobj;
5711 fail:
5712 return NULL;
5713}
5714
5715
5716static PyObject *_wrap_PyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj;
5718 wxPyShape *arg1 = (wxPyShape *) 0 ;
5719 wxString *arg2 = 0 ;
5720 bool temp2 = False ;
5721 PyObject * obj0 = 0 ;
5722 PyObject * obj1 = 0 ;
5723 char *kwnames[] = {
5724 (char *) "self",(char *) "string", NULL
5725 };
5726
5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
5728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5729 {
5730 arg2 = wxString_in_helper(obj1);
5731 if (arg2 == NULL) SWIG_fail;
5732 temp2 = True;
5733 }
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 (arg1)->AddText((wxString const &)*arg2);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 Py_INCREF(Py_None); resultobj = Py_None;
5742 {
5743 if (temp2)
5744 delete arg2;
5745 }
5746 return resultobj;
5747 fail:
5748 {
5749 if (temp2)
5750 delete arg2;
5751 }
5752 return NULL;
5753}
5754
5755
5756static PyObject *_wrap_PyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5757 PyObject *resultobj;
5758 wxPyShape *arg1 = (wxPyShape *) 0 ;
5759 wxPen *result;
5760 PyObject * obj0 = 0 ;
5761 char *kwnames[] = {
5762 (char *) "self", NULL
5763 };
5764
5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
5766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5767 {
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 result = (wxPen *)(arg1)->GetPen();
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
5775 return resultobj;
5776 fail:
5777 return NULL;
5778}
5779
5780
5781static PyObject *_wrap_PyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5782 PyObject *resultobj;
5783 wxPyShape *arg1 = (wxPyShape *) 0 ;
5784 wxBrush *result;
5785 PyObject * obj0 = 0 ;
5786 char *kwnames[] = {
5787 (char *) "self", NULL
5788 };
5789
5790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
5791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 result = (wxBrush *)(arg1)->GetBrush();
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
5800 return resultobj;
5801 fail:
5802 return NULL;
5803}
5804
5805
5806static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxPyShape *arg1 = (wxPyShape *) 0 ;
5809 PyObject * obj0 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
5815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 (arg1)->SetDefaultRegionSize();
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 Py_INCREF(Py_None); resultobj = Py_None;
5824 return resultobj;
5825 fail:
5826 return NULL;
5827}
5828
5829
5830static PyObject *_wrap_PyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) {
5831 PyObject *resultobj;
5832 wxPyShape *arg1 = (wxPyShape *) 0 ;
5833 wxDC *arg2 = 0 ;
5834 wxString *arg3 = 0 ;
5835 int arg4 = (int) 0 ;
5836 bool temp3 = False ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 PyObject * obj2 = 0 ;
8edf1c75 5840 PyObject * obj3 = 0 ;
44127b65
RD
5841 char *kwnames[] = {
5842 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5843 };
5844
8edf1c75 5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65
RD
5846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5848 if (arg2 == NULL) {
5849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5850 }
5851 {
5852 arg3 = wxString_in_helper(obj2);
5853 if (arg3 == NULL) SWIG_fail;
5854 temp3 = True;
5855 }
8edf1c75
RD
5856 if (obj3) {
5857 {
5858 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 }
44127b65
RD
5862 {
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
5865
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) SWIG_fail;
5868 }
5869 Py_INCREF(Py_None); resultobj = Py_None;
5870 {
5871 if (temp3)
5872 delete arg3;
5873 }
5874 return resultobj;
5875 fail:
5876 {
5877 if (temp3)
5878 delete arg3;
5879 }
5880 return NULL;
5881}
5882
5883
5884static PyObject *_wrap_PyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj;
5886 wxPyShape *arg1 = (wxPyShape *) 0 ;
5887 int arg2 ;
5888 int arg3 = (int) 0 ;
5889 PyObject * obj0 = 0 ;
8edf1c75
RD
5890 PyObject * obj1 = 0 ;
5891 PyObject * obj2 = 0 ;
44127b65
RD
5892 char *kwnames[] = {
5893 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5894 };
5895
8edf1c75 5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 5897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5898 {
5899 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 if (obj2) {
5903 {
5904 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 }
44127b65
RD
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 (arg1)->SetFormatMode(arg2,arg3);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919}
5920
5921
5922static PyObject *_wrap_PyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxPyShape *arg1 = (wxPyShape *) 0 ;
5925 int arg2 = (int) 0 ;
5926 int result;
5927 PyObject * obj0 = 0 ;
8edf1c75 5928 PyObject * obj1 = 0 ;
44127b65
RD
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "regionId", NULL
5931 };
5932
8edf1c75 5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
44127b65 5934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5935 if (obj1) {
5936 {
5937 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 }
44127b65
RD
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 result = (int)(arg1)->GetFormatMode(arg2);
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
8edf1c75 5948 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
5949 return resultobj;
5950 fail:
5951 return NULL;
5952}
5953
5954
5955static PyObject *_wrap_PyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxPyShape *arg1 = (wxPyShape *) 0 ;
5958 wxFont *arg2 = (wxFont *) 0 ;
5959 int arg3 = (int) 0 ;
5960 PyObject * obj0 = 0 ;
5961 PyObject * obj1 = 0 ;
8edf1c75 5962 PyObject * obj2 = 0 ;
44127b65
RD
5963 char *kwnames[] = {
5964 (char *) "self",(char *) "font",(char *) "regionId", NULL
5965 };
5966
8edf1c75 5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65
RD
5968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5969 {
5970 wxFont* temp;
5971 if (obj1) {
5972 if (obj1 == Py_None) {
5973 temp = NULL;
5974 }
5975 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
5976 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
5977 return NULL;
5978 }
5979 }
5980 if (temp)
5981 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
5982 temp->GetFamily(),
5983 temp->GetStyle(),
5984 temp->GetWeight(),
5985 temp->GetUnderlined(),
5986 temp->GetFaceName(),
5987 temp->GetEncoding());
5988 else
5989 arg2 = NULL;
5990 }
8edf1c75
RD
5991 if (obj2) {
5992 {
5993 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 }
44127b65
RD
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 (arg1)->SetFont(arg2,arg3);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 Py_INCREF(Py_None); resultobj = Py_None;
6005 return resultobj;
6006 fail:
6007 return NULL;
6008}
6009
6010
6011static PyObject *_wrap_PyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj;
6013 wxPyShape *arg1 = (wxPyShape *) 0 ;
6014 int arg2 = (int) 0 ;
6015 wxFont *result;
6016 PyObject * obj0 = 0 ;
8edf1c75 6017 PyObject * obj1 = 0 ;
44127b65
RD
6018 char *kwnames[] = {
6019 (char *) "self",(char *) "regionId", NULL
6020 };
6021
8edf1c75 6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
44127b65 6023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6024 if (obj1) {
6025 {
6026 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 }
44127b65
RD
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = (wxFont *)(arg1)->GetFont(arg2);
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6038 return resultobj;
6039 fail:
6040 return NULL;
6041}
6042
6043
6044static PyObject *_wrap_PyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 wxPyShape *arg1 = (wxPyShape *) 0 ;
6047 wxString *arg2 = 0 ;
6048 int arg3 = (int) 0 ;
6049 bool temp2 = False ;
6050 PyObject * obj0 = 0 ;
6051 PyObject * obj1 = 0 ;
8edf1c75 6052 PyObject * obj2 = 0 ;
44127b65
RD
6053 char *kwnames[] = {
6054 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6055 };
6056
8edf1c75 6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65
RD
6058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6059 {
6060 arg2 = wxString_in_helper(obj1);
6061 if (arg2 == NULL) SWIG_fail;
6062 temp2 = True;
6063 }
8edf1c75
RD
6064 if (obj2) {
6065 {
6066 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 }
44127b65
RD
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 Py_INCREF(Py_None); resultobj = Py_None;
6078 {
6079 if (temp2)
6080 delete arg2;
6081 }
6082 return resultobj;
6083 fail:
6084 {
6085 if (temp2)
6086 delete arg2;
6087 }
6088 return NULL;
6089}
6090
6091
6092static PyObject *_wrap_PyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject *resultobj;
6094 wxPyShape *arg1 = (wxPyShape *) 0 ;
6095 int arg2 = (int) 0 ;
6096 wxString result;
6097 PyObject * obj0 = 0 ;
8edf1c75 6098 PyObject * obj1 = 0 ;
44127b65
RD
6099 char *kwnames[] = {
6100 (char *) "self",(char *) "regionId", NULL
6101 };
6102
8edf1c75 6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
44127b65 6104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6105 if (obj1) {
6106 {
6107 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
6110 }
44127b65
RD
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 result = (arg1)->GetTextColour(arg2);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 {
6119#if wxUSE_UNICODE
6120 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6121#else
6122 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6123#endif
6124 }
6125 return resultobj;
6126 fail:
6127 return NULL;
6128}
6129
6130
6131static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6132 PyObject *resultobj;
6133 wxPyShape *arg1 = (wxPyShape *) 0 ;
6134 int result;
6135 PyObject * obj0 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 result = (int)(arg1)->GetNumberOfTextRegions();
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
8edf1c75 6149 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
6150 return resultobj;
6151 fail:
6152 return NULL;
6153}
6154
6155
6156static PyObject *_wrap_PyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj;
6158 wxPyShape *arg1 = (wxPyShape *) 0 ;
6159 wxString *arg2 = 0 ;
6160 int arg3 = (int) 0 ;
6161 bool temp2 = False ;
6162 PyObject * obj0 = 0 ;
6163 PyObject * obj1 = 0 ;
8edf1c75 6164 PyObject * obj2 = 0 ;
44127b65
RD
6165 char *kwnames[] = {
6166 (char *) "self",(char *) "name",(char *) "regionId", NULL
6167 };
6168
8edf1c75 6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65
RD
6170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6171 {
6172 arg2 = wxString_in_helper(obj1);
6173 if (arg2 == NULL) SWIG_fail;
6174 temp2 = True;
6175 }
8edf1c75
RD
6176 if (obj2) {
6177 {
6178 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 }
44127b65
RD
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
6185
6186 wxPyEndAllowThreads(__tstate);
6187 if (PyErr_Occurred()) SWIG_fail;
6188 }
6189 Py_INCREF(Py_None); resultobj = Py_None;
6190 {
6191 if (temp2)
6192 delete arg2;
6193 }
6194 return resultobj;
6195 fail:
6196 {
6197 if (temp2)
6198 delete arg2;
6199 }
6200 return NULL;
6201}
6202
6203
6204static PyObject *_wrap_PyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxPyShape *arg1 = (wxPyShape *) 0 ;
6207 int arg2 ;
6208 wxString result;
6209 PyObject * obj0 = 0 ;
8edf1c75 6210 PyObject * obj1 = 0 ;
44127b65
RD
6211 char *kwnames[] = {
6212 (char *) "self",(char *) "regionId", NULL
6213 };
6214
8edf1c75 6215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
44127b65 6216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6217 {
6218 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
44127b65
RD
6221 {
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
6223 result = (arg1)->GetRegionName(arg2);
6224
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 {
6229#if wxUSE_UNICODE
6230 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6231#else
6232 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6233#endif
6234 }
6235 return resultobj;
6236 fail:
6237 return NULL;
6238}
6239
6240
6241static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject *resultobj;
6243 wxPyShape *arg1 = (wxPyShape *) 0 ;
6244 wxString *arg2 = 0 ;
6245 int result;
6246 bool temp2 = False ;
6247 PyObject * obj0 = 0 ;
6248 PyObject * obj1 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self",(char *) "name", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6255 {
6256 arg2 = wxString_in_helper(obj1);
6257 if (arg2 == NULL) SWIG_fail;
6258 temp2 = True;
6259 }
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
8edf1c75 6267 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
6268 {
6269 if (temp2)
6270 delete arg2;
6271 }
6272 return resultobj;
6273 fail:
6274 {
6275 if (temp2)
6276 delete arg2;
6277 }
6278 return NULL;
6279}
6280
6281
6282static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxPyShape *arg1 = (wxPyShape *) 0 ;
a64def11 6285 wxString const &arg2_defvalue = wxPyEmptyString ;
44127b65
RD
6286 wxString *arg2 = (wxString *) &arg2_defvalue ;
6287 bool temp2 = False ;
6288 PyObject * obj0 = 0 ;
6289 PyObject * obj1 = 0 ;
6290 char *kwnames[] = {
6291 (char *) "self",(char *) "parentName", NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
6295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6296 if (obj1) {
6297 {
6298 arg2 = wxString_in_helper(obj1);
6299 if (arg2 == NULL) SWIG_fail;
6300 temp2 = True;
6301 }
6302 }
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 (arg1)->NameRegions((wxString const &)*arg2);
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 Py_INCREF(Py_None); resultobj = Py_None;
6311 {
6312 if (temp2)
6313 delete arg2;
6314 }
6315 return resultobj;
6316 fail:
6317 {
6318 if (temp2)
6319 delete arg2;
6320 }
6321 return NULL;
6322}
6323
6324
6325static PyObject *_wrap_PyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj;
6327 wxPyShape *arg1 = (wxPyShape *) 0 ;
6328 PyObject *result;
6329 PyObject * obj0 = 0 ;
6330 char *kwnames[] = {
6331 (char *) "self", NULL
6332 };
6333
6334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
6335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (PyObject *)wxPyShape_GetRegions(arg1);
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 resultobj = result;
6344 return resultobj;
6345 fail:
6346 return NULL;
6347}
6348
6349
6350static PyObject *_wrap_PyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6351 PyObject *resultobj;
6352 wxPyShape *arg1 = (wxPyShape *) 0 ;
6353 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
6354 PyObject * obj0 = 0 ;
6355 PyObject * obj1 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self",(char *) "region", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 (arg1)->AddRegion(arg2);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 Py_INCREF(Py_None); resultobj = Py_None;
6371 return resultobj;
6372 fail:
6373 return NULL;
6374}
6375
6376
6377static PyObject *_wrap_PyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxPyShape *arg1 = (wxPyShape *) 0 ;
6380 PyObject * obj0 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
6386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 (arg1)->ClearRegions();
6390
6391 wxPyEndAllowThreads(__tstate);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 }
6394 Py_INCREF(Py_None); resultobj = Py_None;
6395 return resultobj;
6396 fail:
6397 return NULL;
6398}
6399
6400
6401static PyObject *_wrap_PyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxPyShape *arg1 = (wxPyShape *) 0 ;
6404 PyObject * obj0 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6411 {
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 (arg1)->AssignNewIds();
6414
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 Py_INCREF(Py_None); resultobj = Py_None;
6419 return resultobj;
6420 fail:
6421 return NULL;
6422}
6423
6424
6425static PyObject *_wrap_PyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
6426 PyObject *resultobj;
6427 wxPyShape *arg1 = (wxPyShape *) 0 ;
6428 wxString *arg2 = 0 ;
6429 int *arg3 = (int *) 0 ;
6430 wxPyShape *result;
6431 bool temp2 = False ;
6432 int temp3 ;
6433 PyObject * obj0 = 0 ;
6434 PyObject * obj1 = 0 ;
6435 char *kwnames[] = {
6436 (char *) "self",(char *) "regionName", NULL
6437 };
6438
6439 arg3 = &temp3;
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
6441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6442 {
6443 arg2 = wxString_in_helper(obj1);
6444 if (arg2 == NULL) SWIG_fail;
6445 temp2 = True;
6446 }
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 {
6455 resultobj = wxPyMake_wxShapeEvtHandler(result);
6456 }
6457 {
6458 PyObject *o = PyInt_FromLong((long) (*arg3));
6459 resultobj = t_output_helper(resultobj,o);
6460 }
6461 {
6462 if (temp2)
6463 delete arg2;
6464 }
6465 return resultobj;
6466 fail:
6467 {
6468 if (temp2)
6469 delete arg2;
6470 }
6471 return NULL;
6472}
6473
6474
6475static PyObject *_wrap_PyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) {
6476 PyObject *resultobj;
6477 wxPyShape *arg1 = (wxPyShape *) 0 ;
6478 wxStringList *arg2 = 0 ;
6479 PyObject * obj0 = 0 ;
6480 PyObject * obj1 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self",(char *) "list", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStringList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6488 if (arg2 == NULL) {
6489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 (arg1)->FindRegionNames(*arg2);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 Py_INCREF(Py_None); resultobj = Py_None;
6499 return resultobj;
6500 fail:
6501 return NULL;
6502}
6503
6504
6505static PyObject *_wrap_PyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject *resultobj;
6507 wxPyShape *arg1 = (wxPyShape *) 0 ;
6508 int arg2 = (int) 0 ;
6509 PyObject * obj0 = 0 ;
8edf1c75 6510 PyObject * obj1 = 0 ;
44127b65
RD
6511 char *kwnames[] = {
6512 (char *) "self",(char *) "regionId", NULL
6513 };
6514
8edf1c75 6515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
44127b65 6516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6517 if (obj1) {
6518 {
6519 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 }
44127b65
RD
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 (arg1)->ClearText(arg2);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 Py_INCREF(Py_None); resultobj = Py_None;
6531 return resultobj;
6532 fail:
6533 return NULL;
6534}
6535
6536
6537static PyObject *_wrap_PyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxPyShape *arg1 = (wxPyShape *) 0 ;
6540 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "self",(char *) "line", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
6548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 (arg1)->RemoveLine(arg2);
6553
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) SWIG_fail;
6556 }
6557 Py_INCREF(Py_None); resultobj = Py_None;
6558 return resultobj;
6559 fail:
6560 return NULL;
6561}
6562
6563
6564static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6565 PyObject *resultobj;
6566 wxPyShape *arg1 = (wxPyShape *) 0 ;
6567 int arg2 ;
6568 double *arg3 = (double *) 0 ;
6569 double *arg4 = (double *) 0 ;
6570 int arg5 = (int) 0 ;
6571 int arg6 = (int) 1 ;
6572 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6573 bool result;
6574 double temp3 ;
6575 double temp4 ;
6576 PyObject * obj0 = 0 ;
8edf1c75
RD
6577 PyObject * obj1 = 0 ;
6578 PyObject * obj2 = 0 ;
6579 PyObject * obj3 = 0 ;
44127b65
RD
6580 PyObject * obj4 = 0 ;
6581 char *kwnames[] = {
6582 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6583 };
6584
6585 arg3 = &temp3;
6586 arg4 = &temp4;
8edf1c75 6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 6588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6589 {
6590 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 if (obj2) {
6594 {
6595 arg5 = (int) SWIG_PyObj_AsInt(obj2);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 }
6599 if (obj3) {
6600 {
6601 arg6 = (int) SWIG_PyObj_AsInt(obj3);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 }
44127b65
RD
6605 if (obj4) {
6606 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6607 }
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
6611
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
8edf1c75 6615 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
6616 {
6617 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6618 resultobj = t_output_helper(resultobj,o);
6619 }
6620 {
6621 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6622 resultobj = t_output_helper(resultobj,o);
6623 }
6624 return resultobj;
6625 fail:
6626 return NULL;
6627}
6628
6629
6630static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxPyShape *arg1 = (wxPyShape *) 0 ;
6633 int result;
6634 PyObject * obj0 = 0 ;
6635 char *kwnames[] = {
6636 (char *) "self", NULL
6637 };
6638
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
6640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 result = (int)(arg1)->GetNumberOfAttachments();
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
8edf1c75 6648 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
6649 return resultobj;
6650 fail:
6651 return NULL;
6652}
6653
6654
6655static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 wxPyShape *arg1 = (wxPyShape *) 0 ;
6658 int arg2 ;
6659 bool result;
6660 PyObject * obj0 = 0 ;
8edf1c75 6661 PyObject * obj1 = 0 ;
44127b65
RD
6662 char *kwnames[] = {
6663 (char *) "self",(char *) "attachment", NULL
6664 };
6665
8edf1c75 6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
44127b65 6667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6668 {
6669 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
44127b65
RD
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (bool)(arg1)->AttachmentIsValid(arg2);
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
8edf1c75 6679 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
6680 return resultobj;
6681 fail:
6682 return NULL;
6683}
6684
6685
7a0a63ae
RD
6686static PyObject *_wrap_PyShape_GetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
6687 PyObject *resultobj;
6688 wxPyShape *arg1 = (wxPyShape *) 0 ;
6689 PyObject *result;
6690 PyObject * obj0 = 0 ;
6691 char *kwnames[] = {
6692 (char *) "self", NULL
6693 };
6694
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
6696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (PyObject *)wxPyShape_GetAttachments(arg1);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = result;
6705 return resultobj;
6706 fail:
6707 return NULL;
6708}
6709
6710
44127b65
RD
6711static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxPyShape *arg1 = (wxPyShape *) 0 ;
6714 int arg2 ;
6715 double *arg3 = (double *) 0 ;
6716 double *arg4 = (double *) 0 ;
6717 int arg5 = (int) 0 ;
6718 int arg6 = (int) 1 ;
6719 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
6720 bool result;
6721 double temp3 ;
6722 double temp4 ;
6723 PyObject * obj0 = 0 ;
8edf1c75
RD
6724 PyObject * obj1 = 0 ;
6725 PyObject * obj2 = 0 ;
6726 PyObject * obj3 = 0 ;
44127b65
RD
6727 PyObject * obj4 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6730 };
6731
6732 arg3 = &temp3;
6733 arg4 = &temp4;
8edf1c75 6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 6735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6736 {
6737 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 if (obj2) {
6741 {
6742 arg5 = (int) SWIG_PyObj_AsInt(obj2);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 }
6746 if (obj3) {
6747 {
6748 arg6 = (int) SWIG_PyObj_AsInt(obj3);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 }
44127b65
RD
6752 if (obj4) {
6753 if ((SWIG_ConvertPtr(obj4,(void **) &arg7, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6754 }
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
8edf1c75 6762 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
6763 {
6764 PyObject *o = PyFloat_FromDouble((double) (*arg3));
6765 resultobj = t_output_helper(resultobj,o);
6766 }
6767 {
6768 PyObject *o = PyFloat_FromDouble((double) (*arg4));
6769 resultobj = t_output_helper(resultobj,o);
6770 }
6771 return resultobj;
6772 fail:
6773 return NULL;
6774}
6775
6776
6777static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject *resultobj;
6779 wxPyShape *arg1 = (wxPyShape *) 0 ;
6780 wxRealPoint *arg2 = 0 ;
6781 wxRealPoint *arg3 = 0 ;
6782 int arg4 ;
6783 int arg5 ;
6784 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
6785 wxRealPoint result;
6786 wxRealPoint temp2 ;
6787 wxRealPoint temp3 ;
6788 PyObject * obj0 = 0 ;
6789 PyObject * obj1 = 0 ;
6790 PyObject * obj2 = 0 ;
8edf1c75
RD
6791 PyObject * obj3 = 0 ;
6792 PyObject * obj4 = 0 ;
44127b65
RD
6793 PyObject * obj5 = 0 ;
6794 char *kwnames[] = {
6795 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6796 };
6797
8edf1c75 6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
6799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6800 {
6801 arg2 = &temp2;
6802 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
6803 }
6804 {
6805 arg3 = &temp3;
6806 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6807 }
8edf1c75
RD
6808 {
6809 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 {
6813 arg5 = (int) SWIG_PyObj_AsInt(obj4);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
44127b65
RD
6816 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 {
6825 wxRealPoint * resultptr;
6826 resultptr = new wxRealPoint((wxRealPoint &) result);
6827 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
6828 }
6829 return resultobj;
6830 fail:
6831 return NULL;
6832}
6833
6834
6835static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6836 PyObject *resultobj;
6837 wxPyShape *arg1 = (wxPyShape *) 0 ;
6838 int arg2 ;
6839 wxRealPoint *arg3 = 0 ;
6840 wxRealPoint *arg4 = 0 ;
6841 bool result;
6842 wxRealPoint temp3 ;
6843 wxRealPoint temp4 ;
6844 PyObject * obj0 = 0 ;
8edf1c75 6845 PyObject * obj1 = 0 ;
44127b65
RD
6846 PyObject * obj2 = 0 ;
6847 PyObject * obj3 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6850 };
6851
8edf1c75 6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 6853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6854 {
6855 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
44127b65
RD
6858 {
6859 arg3 = &temp3;
6860 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
6861 }
6862 {
6863 arg4 = &temp4;
6864 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
8edf1c75 6873 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
6880static PyObject *_wrap_PyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxPyShape *arg1 = (wxPyShape *) 0 ;
6883 wxDC *arg2 = 0 ;
6884 int arg3 = (int) -1 ;
6885 bool arg4 = (bool) False ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
8edf1c75 6888 PyObject * obj2 = 0 ;
44127b65
RD
6889 PyObject * obj3 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6892 };
6893
8edf1c75 6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65
RD
6895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6897 if (arg2 == NULL) {
6898 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6899 }
8edf1c75
RD
6900 if (obj2) {
6901 {
6902 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 }
44127b65 6906 if (obj3) {
83448d71 6907 {
8edf1c75 6908 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
83448d71
RD
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
44127b65
RD
6911 }
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 (arg1)->EraseLinks(*arg2,arg3,arg4);
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 Py_INCREF(Py_None); resultobj = Py_None;
6920 return resultobj;
6921 fail:
6922 return NULL;
6923}
6924
6925
6926static PyObject *_wrap_PyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxPyShape *arg1 = (wxPyShape *) 0 ;
6929 wxDC *arg2 = 0 ;
6930 int arg3 = (int) -1 ;
6931 bool arg4 = (bool) False ;
6932 PyObject * obj0 = 0 ;
6933 PyObject * obj1 = 0 ;
8edf1c75 6934 PyObject * obj2 = 0 ;
44127b65
RD
6935 PyObject * obj3 = 0 ;
6936 char *kwnames[] = {
6937 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6938 };
6939
8edf1c75 6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65
RD
6941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6943 if (arg2 == NULL) {
6944 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6945 }
8edf1c75
RD
6946 if (obj2) {
6947 {
6948 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 }
44127b65 6952 if (obj3) {
83448d71 6953 {
8edf1c75 6954 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
83448d71
RD
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
44127b65
RD
6957 }
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 (arg1)->DrawLinks(*arg2,arg3,arg4);
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 Py_INCREF(Py_None); resultobj = Py_None;
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
6972static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj;
6974 wxPyShape *arg1 = (wxPyShape *) 0 ;
6975 wxDC *arg2 = 0 ;
6976 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
6977 double arg4 ;
6978 double arg5 ;
6979 bool result;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 PyObject * obj2 = 0 ;
8edf1c75
RD
6983 PyObject * obj3 = 0 ;
6984 PyObject * obj4 = 0 ;
44127b65
RD
6985 char *kwnames[] = {
6986 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
6987 };
6988
8edf1c75 6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
6990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992 if (arg2 == NULL) {
6993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6994 }
6995 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6996 {
6997 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 {
7001 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
44127b65
RD
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
8edf1c75 7011 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
7012 return resultobj;
7013 fail:
7014 return NULL;
7015}
7016
7017
7018static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj;
7020 wxPyShape *arg1 = (wxPyShape *) 0 ;
7021 PyObject *arg2 = (PyObject *) 0 ;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 char *kwnames[] = {
7025 (char *) "self",(char *) "linesToSort", NULL
7026 };
7027
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
7029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7030 arg2 = obj1;
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 Py_INCREF(Py_None); resultobj = Py_None;
7039 return resultobj;
7040 fail:
7041 return NULL;
7042}
7043
7044
7045static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj;
7047 wxPyShape *arg1 = (wxPyShape *) 0 ;
7048 int arg2 ;
7049 wxRealPoint result;
7050 PyObject * obj0 = 0 ;
8edf1c75 7051 PyObject * obj1 = 0 ;
44127b65
RD
7052 char *kwnames[] = {
7053 (char *) "self",(char *) "attachment", NULL
7054 };
7055
8edf1c75 7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
44127b65 7057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7058 {
7059 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
44127b65
RD
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 result = (arg1)->GetBranchingAttachmentRoot(arg2);
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 wxRealPoint * resultptr;
7071 resultptr = new wxRealPoint((wxRealPoint &) result);
7072 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
7073 }
7074 return resultobj;
7075 fail:
7076 return NULL;
7077}
7078
7079
7080static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7081 PyObject *resultobj;
7082 wxPyShape *arg1 = (wxPyShape *) 0 ;
7083 int arg2 ;
7084 wxRealPoint *arg3 = 0 ;
7085 wxRealPoint *arg4 = 0 ;
7086 wxRealPoint *arg5 = 0 ;
7087 wxRealPoint *arg6 = 0 ;
7088 bool result;
7089 wxRealPoint temp3 ;
7090 wxRealPoint temp4 ;
7091 wxRealPoint temp5 ;
7092 wxRealPoint temp6 ;
7093 PyObject * obj0 = 0 ;
8edf1c75 7094 PyObject * obj1 = 0 ;
44127b65
RD
7095 PyObject * obj2 = 0 ;
7096 PyObject * obj3 = 0 ;
7097 PyObject * obj4 = 0 ;
7098 PyObject * obj5 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7101 };
7102
8edf1c75 7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 7104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7105 {
7106 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
44127b65
RD
7109 {
7110 arg3 = &temp3;
7111 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
7112 }
7113 {
7114 arg4 = &temp4;
7115 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7116 }
7117 {
7118 arg5 = &temp5;
7119 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7120 }
7121 {
7122 arg6 = &temp6;
7123 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
7124 }
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
8edf1c75 7132 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
7133 return resultobj;
7134 fail:
7135 return NULL;
7136}
7137
7138
7139static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj;
7141 wxPyShape *arg1 = (wxPyShape *) 0 ;
7142 int arg2 ;
7143 int arg3 ;
7144 wxRealPoint *arg4 = 0 ;
7145 wxRealPoint *arg5 = 0 ;
7146 bool result;
7147 wxRealPoint temp4 ;
7148 wxRealPoint temp5 ;
7149 PyObject * obj0 = 0 ;
8edf1c75
RD
7150 PyObject * obj1 = 0 ;
7151 PyObject * obj2 = 0 ;
44127b65
RD
7152 PyObject * obj3 = 0 ;
7153 PyObject * obj4 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7156 };
7157
8edf1c75 7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 7159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7160 {
7161 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7162 if (PyErr_Occurred()) SWIG_fail;
7163 }
7164 {
7165 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
44127b65
RD
7168 {
7169 arg4 = &temp4;
7170 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
7171 }
7172 {
7173 arg5 = &temp5;
7174 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
8edf1c75 7183 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
7184 return resultobj;
7185 fail:
7186 return NULL;
7187}
7188
7189
7190static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxPyShape *arg1 = (wxPyShape *) 0 ;
7193 int arg2 ;
7194 int result;
7195 PyObject * obj0 = 0 ;
8edf1c75 7196 PyObject * obj1 = 0 ;
44127b65
RD
7197 char *kwnames[] = {
7198 (char *) "self",(char *) "attachment", NULL
7199 };
7200
8edf1c75 7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
44127b65 7202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7203 {
7204 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
44127b65
RD
7207 {
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 result = (int)(arg1)->GetAttachmentLineCount(arg2);
7210
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
8edf1c75 7214 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
7215 return resultobj;
7216 fail:
7217 return NULL;
7218}
7219
7220
7221static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7222 PyObject *resultobj;
7223 wxPyShape *arg1 = (wxPyShape *) 0 ;
7224 int arg2 ;
7225 PyObject * obj0 = 0 ;
8edf1c75 7226 PyObject * obj1 = 0 ;
44127b65
RD
7227 char *kwnames[] = {
7228 (char *) "self",(char *) "len", NULL
7229 };
7230
8edf1c75 7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
44127b65 7232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7233 {
7234 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
44127b65
RD
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 (arg1)->SetBranchNeckLength(arg2);
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 Py_INCREF(Py_None); resultobj = Py_None;
7245 return resultobj;
7246 fail:
7247 return NULL;
7248}
7249
7250
7251static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxPyShape *arg1 = (wxPyShape *) 0 ;
7254 int result;
7255 PyObject * obj0 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "self", NULL
7258 };
7259
7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
7261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7262 {
7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7264 result = (int)(arg1)->GetBranchNeckLength();
7265
7266 wxPyEndAllowThreads(__tstate);
7267 if (PyErr_Occurred()) SWIG_fail;
7268 }
8edf1c75 7269 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
7270 return resultobj;
7271 fail:
7272 return NULL;
7273}
7274
7275
7276static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7277 PyObject *resultobj;
7278 wxPyShape *arg1 = (wxPyShape *) 0 ;
7279 int arg2 ;
7280 PyObject * obj0 = 0 ;
8edf1c75 7281 PyObject * obj1 = 0 ;
44127b65
RD
7282 char *kwnames[] = {
7283 (char *) "self",(char *) "len", NULL
7284 };
7285
8edf1c75 7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
44127b65
RD
7287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7288 {
8edf1c75
RD
7289 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65
RD
7294 (arg1)->SetBranchStemLength(arg2);
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 Py_INCREF(Py_None); resultobj = Py_None;
7300 return resultobj;
7301 fail:
7302 return NULL;
7303}
7304
7305
7306static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj;
7308 wxPyShape *arg1 = (wxPyShape *) 0 ;
7309 int result;
7310 PyObject * obj0 = 0 ;
7311 char *kwnames[] = {
7312 (char *) "self", NULL
7313 };
7314
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
7316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 result = (int)(arg1)->GetBranchStemLength();
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
8edf1c75 7324 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
7325 return resultobj;
7326 fail:
7327 return NULL;
7328}
7329
7330
7331static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7332 PyObject *resultobj;
7333 wxPyShape *arg1 = (wxPyShape *) 0 ;
7334 int arg2 ;
7335 PyObject * obj0 = 0 ;
8edf1c75 7336 PyObject * obj1 = 0 ;
44127b65
RD
7337 char *kwnames[] = {
7338 (char *) "self",(char *) "len", NULL
7339 };
7340
8edf1c75 7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
44127b65 7342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7343 {
7344 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
44127b65
RD
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 (arg1)->SetBranchSpacing(arg2);
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 Py_INCREF(Py_None); resultobj = Py_None;
7355 return resultobj;
7356 fail:
7357 return NULL;
7358}
7359
7360
7361static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj;
7363 wxPyShape *arg1 = (wxPyShape *) 0 ;
7364 int result;
7365 PyObject * obj0 = 0 ;
7366 char *kwnames[] = {
7367 (char *) "self", NULL
7368 };
7369
7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
7371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (int)(arg1)->GetBranchSpacing();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
8edf1c75 7379 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
7380 return resultobj;
7381 fail:
7382 return NULL;
7383}
7384
7385
7386static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxPyShape *arg1 = (wxPyShape *) 0 ;
7389 long arg2 ;
7390 PyObject * obj0 = 0 ;
8edf1c75 7391 PyObject * obj1 = 0 ;
44127b65
RD
7392 char *kwnames[] = {
7393 (char *) "self",(char *) "style", NULL
7394 };
7395
8edf1c75 7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
44127b65 7397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7398 {
7399 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
44127b65
RD
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 (arg1)->SetBranchStyle(arg2);
7405
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
7409 Py_INCREF(Py_None); resultobj = Py_None;
7410 return resultobj;
7411 fail:
7412 return NULL;
7413}
7414
7415
7416static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxPyShape *arg1 = (wxPyShape *) 0 ;
7419 long result;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 result = (long)(arg1)->GetBranchStyle();
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
8edf1c75 7434 resultobj = SWIG_PyObj_FromLong((long)result);
44127b65
RD
7435 return resultobj;
7436 fail:
7437 return NULL;
7438}
7439
7440
7441static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxPyShape *arg1 = (wxPyShape *) 0 ;
7444 int arg2 ;
7445 int result;
7446 PyObject * obj0 = 0 ;
8edf1c75 7447 PyObject * obj1 = 0 ;
44127b65
RD
7448 char *kwnames[] = {
7449 (char *) "self",(char *) "physicalAttachment", NULL
7450 };
7451
8edf1c75 7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
44127b65 7453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7454 {
7455 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
44127b65
RD
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
8edf1c75 7465 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
7466 return resultobj;
7467 fail:
7468 return NULL;
7469}
7470
7471
7472static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxPyShape *arg1 = (wxPyShape *) 0 ;
7475 int arg2 ;
7476 int result;
7477 PyObject * obj0 = 0 ;
8edf1c75 7478 PyObject * obj1 = 0 ;
44127b65
RD
7479 char *kwnames[] = {
7480 (char *) "self",(char *) "logicalAttachment", NULL
7481 };
7482
8edf1c75 7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
44127b65 7484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7485 {
7486 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
44127b65
RD
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
8edf1c75 7496 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
7497 return resultobj;
7498 fail:
7499 return NULL;
7500}
7501
7502
7503static PyObject *_wrap_PyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 wxPyShape *arg1 = (wxPyShape *) 0 ;
7506 bool result;
7507 PyObject * obj0 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
7513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = (bool)(arg1)->Draggable();
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
8edf1c75 7521 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
7522 return resultobj;
7523 fail:
7524 return NULL;
7525}
7526
7527
7528static PyObject *_wrap_PyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxPyShape *arg1 = (wxPyShape *) 0 ;
7531 wxPyShape *arg2 = (wxPyShape *) 0 ;
7532 bool result;
7533 PyObject * obj0 = 0 ;
7534 PyObject * obj1 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self",(char *) "image", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (bool)(arg1)->HasDescendant(arg2);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
8edf1c75 7549 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
7550 return resultobj;
7551 fail:
7552 return NULL;
7553}
7554
7555
7556static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxPyShape *arg1 = (wxPyShape *) 0 ;
7559 bool arg2 = (bool) True ;
7560 bool arg3 = (bool) True ;
7561 wxPyShape *result;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 PyObject * obj2 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
7570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7571 if (obj1) {
83448d71 7572 {
8edf1c75 7573 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
44127b65
RD
7576 }
7577 if (obj2) {
83448d71 7578 {
8edf1c75 7579 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
44127b65
RD
7582 }
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 {
7591 resultobj = wxPyMake_wxShapeEvtHandler(result);
7592 }
7593 return resultobj;
7594 fail:
7595 return NULL;
7596}
7597
7598
7599static PyObject *_wrap_PyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7600 PyObject *resultobj;
7601 wxPyShape *arg1 = (wxPyShape *) 0 ;
7602 wxPyShape *arg2 = 0 ;
7603 PyObject * obj0 = 0 ;
7604 PyObject * obj1 = 0 ;
7605 char *kwnames[] = {
7606 (char *) "self",(char *) "copy", NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
7610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7612 if (arg2 == NULL) {
7613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7614 }
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 (arg1)->Copy(*arg2);
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 Py_INCREF(Py_None); resultobj = Py_None;
7623 return resultobj;
7624 fail:
7625 return NULL;
7626}
7627
7628
7629static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7630 PyObject *resultobj;
7631 wxPyShape *arg1 = (wxPyShape *) 0 ;
7632 wxPyShape *arg2 = 0 ;
7633 PyObject * obj0 = 0 ;
7634 PyObject * obj1 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self",(char *) "copy", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
7640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7642 if (arg2 == NULL) {
7643 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7644 }
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 (arg1)->CopyWithHandler(*arg2);
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 Py_INCREF(Py_None); resultobj = Py_None;
7653 return resultobj;
7654 fail:
7655 return NULL;
7656}
7657
7658
7659static PyObject *_wrap_PyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj;
7661 wxPyShape *arg1 = (wxPyShape *) 0 ;
7662 double arg2 ;
7663 double arg3 ;
7664 double arg4 ;
7665 PyObject * obj0 = 0 ;
8edf1c75
RD
7666 PyObject * obj1 = 0 ;
7667 PyObject * obj2 = 0 ;
7668 PyObject * obj3 = 0 ;
44127b65
RD
7669 char *kwnames[] = {
7670 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7671 };
7672
8edf1c75 7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 7674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7675 {
7676 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 {
7680 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 {
7684 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
44127b65
RD
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 (arg1)->Rotate(arg2,arg3,arg4);
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 Py_INCREF(Py_None); resultobj = Py_None;
7695 return resultobj;
7696 fail:
7697 return NULL;
7698}
7699
7700
7701static PyObject *_wrap_PyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj;
7703 wxPyShape *arg1 = (wxPyShape *) 0 ;
7704 double result;
7705 PyObject * obj0 = 0 ;
7706 char *kwnames[] = {
7707 (char *) "self", NULL
7708 };
7709
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
7711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (double)(arg1)->GetRotation();
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
8edf1c75 7719 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
7720 return resultobj;
7721 fail:
7722 return NULL;
7723}
7724
7725
7a0a63ae
RD
7726static PyObject *_wrap_PyShape_SetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
7727 PyObject *resultobj;
7728 wxPyShape *arg1 = (wxPyShape *) 0 ;
7729 double arg2 ;
7730 PyObject * obj0 = 0 ;
8edf1c75 7731 PyObject * obj1 = 0 ;
7a0a63ae
RD
7732 char *kwnames[] = {
7733 (char *) "self",(char *) "rotation", NULL
7734 };
7735
8edf1c75 7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
7a0a63ae 7737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7738 {
7739 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7a0a63ae
RD
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 (arg1)->SetRotation(arg2);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 Py_INCREF(Py_None); resultobj = Py_None;
7750 return resultobj;
7751 fail:
7752 return NULL;
7753}
7754
7755
44127b65
RD
7756static PyObject *_wrap_PyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
7757 PyObject *resultobj;
7758 wxPyShape *arg1 = (wxPyShape *) 0 ;
7759 PyObject * obj0 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
7765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 (arg1)->ClearAttachments();
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 Py_INCREF(Py_None); resultobj = Py_None;
7774 return resultobj;
7775 fail:
7776 return NULL;
7777}
7778
7779
7780static PyObject *_wrap_PyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject *resultobj;
7782 wxPyShape *arg1 = (wxPyShape *) 0 ;
7783 wxDC *arg2 = 0 ;
7784 PyObject * obj0 = 0 ;
7785 PyObject * obj1 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self",(char *) "dc", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
7791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7793 if (arg2 == NULL) {
7794 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7795 }
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 (arg1)->Recentre(*arg2);
7799
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 Py_INCREF(Py_None); resultobj = Py_None;
7804 return resultobj;
7805 fail:
7806 return NULL;
7807}
7808
7809
7810static PyObject *_wrap_PyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxPyShape *arg1 = (wxPyShape *) 0 ;
7813 wxList *arg2 = 0 ;
7814 PyObject * obj0 = 0 ;
7815 PyObject * obj1 = 0 ;
7816 char *kwnames[] = {
7817 (char *) "self",(char *) "list", NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
7821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7822 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7823 if (arg2 == NULL) {
7824 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7825 }
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 (arg1)->ClearPointList(*arg2);
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 Py_INCREF(Py_None); resultobj = Py_None;
7834 return resultobj;
7835 fail:
7836 return NULL;
7837}
7838
7839
7840static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *self, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxPyShape *arg1 = (wxPyShape *) 0 ;
7843 wxPen result;
7844 PyObject * obj0 = 0 ;
7845 char *kwnames[] = {
7846 (char *) "self", NULL
7847 };
7848
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
7850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 result = (arg1)->GetBackgroundPen();
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 {
7859 wxPen * resultptr;
7860 resultptr = new wxPen((wxPen &) result);
7861 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPen, 1);
7862 }
7863 return resultobj;
7864 fail:
7865 return NULL;
7866}
7867
7868
7869static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxPyShape *arg1 = (wxPyShape *) 0 ;
7872 wxBrush result;
7873 PyObject * obj0 = 0 ;
7874 char *kwnames[] = {
7875 (char *) "self", NULL
7876 };
7877
7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
7879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 result = (arg1)->GetBackgroundBrush();
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 {
7888 wxBrush * resultptr;
7889 resultptr = new wxBrush((wxBrush &) result);
7890 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBrush, 1);
7891 }
7892 return resultobj;
7893 fail:
7894 return NULL;
7895}
7896
7897
7898static PyObject *_wrap_PyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxPyShape *arg1 = (wxPyShape *) 0 ;
7901 PyObject * obj0 = 0 ;
7902 char *kwnames[] = {
7903 (char *) "self", NULL
7904 };
7905
7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
7907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 (arg1)->base_OnDelete();
7911
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 Py_INCREF(Py_None); resultobj = Py_None;
7916 return resultobj;
7917 fail:
7918 return NULL;
7919}
7920
7921
7922static PyObject *_wrap_PyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7923 PyObject *resultobj;
7924 wxPyShape *arg1 = (wxPyShape *) 0 ;
7925 wxDC *arg2 = 0 ;
7926 PyObject * obj0 = 0 ;
7927 PyObject * obj1 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self",(char *) "dc", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
7933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7935 if (arg2 == NULL) {
7936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7937 }
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 (arg1)->base_OnDraw(*arg2);
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 Py_INCREF(Py_None); resultobj = Py_None;
7946 return resultobj;
7947 fail:
7948 return NULL;
7949}
7950
7951
7952static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 wxPyShape *arg1 = (wxPyShape *) 0 ;
7955 wxDC *arg2 = 0 ;
7956 PyObject * obj0 = 0 ;
7957 PyObject * obj1 = 0 ;
7958 char *kwnames[] = {
7959 (char *) "self",(char *) "dc", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
7963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7965 if (arg2 == NULL) {
7966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 (arg1)->base_OnDrawContents(*arg2);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 return resultobj;
7977 fail:
7978 return NULL;
7979}
7980
7981
7982static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxPyShape *arg1 = (wxPyShape *) 0 ;
7985 wxDC *arg2 = 0 ;
7986 bool arg3 = (bool) False ;
7987 PyObject * obj0 = 0 ;
7988 PyObject * obj1 = 0 ;
7989 PyObject * obj2 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self",(char *) "dc",(char *) "erase", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
7995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7997 if (arg2 == NULL) {
7998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7999 }
8000 if (obj2) {
83448d71 8001 {
8edf1c75 8002 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
44127b65
RD
8005 }
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 (arg1)->base_OnDrawBranches(*arg2,arg3);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 Py_INCREF(Py_None); resultobj = Py_None;
8014 return resultobj;
8015 fail:
8016 return NULL;
8017}
8018
8019
8020static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj;
8022 wxPyShape *arg1 = (wxPyShape *) 0 ;
8023 wxDC *arg2 = 0 ;
8024 PyObject * obj0 = 0 ;
8025 PyObject * obj1 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self",(char *) "dc", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
8031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8033 if (arg2 == NULL) {
8034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8035 }
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 (arg1)->base_OnMoveLinks(*arg2);
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 Py_INCREF(Py_None); resultobj = Py_None;
8044 return resultobj;
8045 fail:
8046 return NULL;
8047}
8048
8049
8050static PyObject *_wrap_PyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxPyShape *arg1 = (wxPyShape *) 0 ;
8053 wxDC *arg2 = 0 ;
8054 PyObject * obj0 = 0 ;
8055 PyObject * obj1 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self",(char *) "dc", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
8061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8063 if (arg2 == NULL) {
8064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8065 }
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 (arg1)->base_OnErase(*arg2);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 Py_INCREF(Py_None); resultobj = Py_None;
8074 return resultobj;
8075 fail:
8076 return NULL;
8077}
8078
8079
8080static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxPyShape *arg1 = (wxPyShape *) 0 ;
8083 wxDC *arg2 = 0 ;
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "dc", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8093 if (arg2 == NULL) {
8094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8095 }
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 (arg1)->base_OnEraseContents(*arg2);
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 Py_INCREF(Py_None); resultobj = Py_None;
8104 return resultobj;
8105 fail:
8106 return NULL;
8107}
8108
8109
8110static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxPyShape *arg1 = (wxPyShape *) 0 ;
8113 wxDC *arg2 = 0 ;
8114 PyObject * obj0 = 0 ;
8115 PyObject * obj1 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self",(char *) "dc", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8123 if (arg2 == NULL) {
8124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8125 }
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 (arg1)->base_OnHighlight(*arg2);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 Py_INCREF(Py_None); resultobj = Py_None;
8134 return resultobj;
8135 fail:
8136 return NULL;
8137}
8138
8139
8140static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj;
8142 wxPyShape *arg1 = (wxPyShape *) 0 ;
8143 double arg2 ;
8144 double arg3 ;
8145 int arg4 = (int) 0 ;
8146 int arg5 = (int) 0 ;
8147 PyObject * obj0 = 0 ;
8edf1c75
RD
8148 PyObject * obj1 = 0 ;
8149 PyObject * obj2 = 0 ;
8150 PyObject * obj3 = 0 ;
8151 PyObject * obj4 = 0 ;
44127b65
RD
8152 char *kwnames[] = {
8153 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8154 };
8155
8edf1c75 8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 8157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8158 {
8159 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 {
8163 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 if (obj3) {
8167 {
8168 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 }
8172 if (obj4) {
8173 {
8174 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 }
44127b65
RD
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 Py_INCREF(Py_None); resultobj = Py_None;
8186 return resultobj;
8187 fail:
8188 return NULL;
8189}
8190
8191
8192static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxPyShape *arg1 = (wxPyShape *) 0 ;
8195 double arg2 ;
8196 double arg3 ;
8197 int arg4 = (int) 0 ;
8198 int arg5 = (int) 0 ;
8199 PyObject * obj0 = 0 ;
8edf1c75
RD
8200 PyObject * obj1 = 0 ;
8201 PyObject * obj2 = 0 ;
8202 PyObject * obj3 = 0 ;
8203 PyObject * obj4 = 0 ;
44127b65
RD
8204 char *kwnames[] = {
8205 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8206 };
8207
8edf1c75 8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 8209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8210 {
8211 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 {
8215 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 if (obj3) {
8219 {
8220 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
8223 }
8224 if (obj4) {
8225 {
8226 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 }
44127b65
RD
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
8233
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 Py_INCREF(Py_None); resultobj = Py_None;
8238 return resultobj;
8239 fail:
8240 return NULL;
8241}
8242
8243
8244static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8245 PyObject *resultobj;
8246 wxPyShape *arg1 = (wxPyShape *) 0 ;
8247 double arg2 ;
8248 double arg3 ;
8249 int arg4 = (int) 0 ;
8250 int arg5 = (int) 0 ;
8251 PyObject * obj0 = 0 ;
8edf1c75
RD
8252 PyObject * obj1 = 0 ;
8253 PyObject * obj2 = 0 ;
8254 PyObject * obj3 = 0 ;
8255 PyObject * obj4 = 0 ;
44127b65
RD
8256 char *kwnames[] = {
8257 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8258 };
8259
8edf1c75 8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 8261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8262 {
8263 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 {
8267 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 if (obj3) {
8271 {
8272 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 }
8276 if (obj4) {
8277 {
8278 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 }
44127b65
RD
8282 {
8283 PyThreadState* __tstate = wxPyBeginAllowThreads();
8284 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
8285
8286 wxPyEndAllowThreads(__tstate);
8287 if (PyErr_Occurred()) SWIG_fail;
8288 }
8289 Py_INCREF(Py_None); resultobj = Py_None;
8290 return resultobj;
8291 fail:
8292 return NULL;
8293}
8294
8295
8296static PyObject *_wrap_PyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj;
8298 wxPyShape *arg1 = (wxPyShape *) 0 ;
8299 double arg2 ;
8300 double arg3 ;
8301 PyObject * obj0 = 0 ;
8edf1c75
RD
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
44127b65
RD
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "x",(char *) "y", NULL
8306 };
8307
8edf1c75 8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 8309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8310 {
8311 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 }
8314 {
8315 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
44127b65
RD
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 (arg1)->base_OnSize(arg2,arg3);
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 Py_INCREF(Py_None); resultobj = Py_None;
8326 return resultobj;
8327 fail:
8328 return NULL;
8329}
8330
8331
8332static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxPyShape *arg1 = (wxPyShape *) 0 ;
8335 wxDC *arg2 = 0 ;
8336 double arg3 ;
8337 double arg4 ;
8338 double arg5 ;
8339 double arg6 ;
8340 bool arg7 = (bool) True ;
8341 bool result;
8342 PyObject * obj0 = 0 ;
8343 PyObject * obj1 = 0 ;
8edf1c75
RD
8344 PyObject * obj2 = 0 ;
8345 PyObject * obj3 = 0 ;
8346 PyObject * obj4 = 0 ;
8347 PyObject * obj5 = 0 ;
44127b65
RD
8348 PyObject * obj6 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8351 };
8352
8edf1c75 8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
8354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8356 if (arg2 == NULL) {
8357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8358 }
8edf1c75
RD
8359 {
8360 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 {
8364 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 {
8368 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 {
8372 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
44127b65 8375 if (obj6) {
83448d71 8376 {
8edf1c75 8377 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
44127b65
RD
8380 }
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
8384
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8edf1c75 8388 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
8389 return resultobj;
8390 fail:
8391 return NULL;
8392}
8393
8394
8395static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxPyShape *arg1 = (wxPyShape *) 0 ;
8398 wxDC *arg2 = 0 ;
8399 double arg3 ;
8400 double arg4 ;
8401 double arg5 ;
8402 double arg6 ;
8403 bool arg7 = (bool) True ;
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8edf1c75
RD
8406 PyObject * obj2 = 0 ;
8407 PyObject * obj3 = 0 ;
8408 PyObject * obj4 = 0 ;
8409 PyObject * obj5 = 0 ;
44127b65
RD
8410 PyObject * obj6 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8413 };
8414
8edf1c75 8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
8416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8418 if (arg2 == NULL) {
8419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8420 }
8edf1c75
RD
8421 {
8422 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 {
8426 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 {
8430 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
8431 if (PyErr_Occurred()) SWIG_fail;
8432 }
8433 {
8434 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
44127b65 8437 if (obj6) {
83448d71 8438 {
8edf1c75 8439 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
8440 if (PyErr_Occurred()) SWIG_fail;
8441 }
44127b65
RD
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454}
8455
8456
8457static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxPyShape *arg1 = (wxPyShape *) 0 ;
8460 bool arg2 ;
8461 double arg3 ;
8462 double arg4 ;
8463 int arg5 = (int) 0 ;
8464 int arg6 = (int) 0 ;
8465 PyObject * obj0 = 0 ;
8466 PyObject * obj1 = 0 ;
8edf1c75
RD
8467 PyObject * obj2 = 0 ;
8468 PyObject * obj3 = 0 ;
8469 PyObject * obj4 = 0 ;
8470 PyObject * obj5 = 0 ;
44127b65
RD
8471 char *kwnames[] = {
8472 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8473 };
8474
8edf1c75 8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 8476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 8477 {
8edf1c75
RD
8478 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 {
8482 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 {
8486 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8edf1c75
RD
8489 if (obj4) {
8490 {
8491 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 }
8495 if (obj5) {
8496 {
8497 arg6 = (int) SWIG_PyObj_AsInt(obj5);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 }
44127b65
RD
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 Py_INCREF(Py_None); resultobj = Py_None;
8509 return resultobj;
8510 fail:
8511 return NULL;
8512}
8513
8514
8515static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8516 PyObject *resultobj;
8517 wxPyShape *arg1 = (wxPyShape *) 0 ;
8518 double arg2 ;
8519 double arg3 ;
8520 int arg4 = (int) 0 ;
8521 int arg5 = (int) 0 ;
8522 PyObject * obj0 = 0 ;
8edf1c75
RD
8523 PyObject * obj1 = 0 ;
8524 PyObject * obj2 = 0 ;
8525 PyObject * obj3 = 0 ;
8526 PyObject * obj4 = 0 ;
44127b65
RD
8527 char *kwnames[] = {
8528 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8529 };
8530
8edf1c75 8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 8532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8533 {
8534 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 {
8538 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 if (obj3) {
8542 {
8543 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 }
8547 if (obj4) {
8548 {
8549 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 }
44127b65
RD
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 Py_INCREF(Py_None); resultobj = Py_None;
8561 return resultobj;
8562 fail:
8563 return NULL;
8564}
8565
8566
8567static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj;
8569 wxPyShape *arg1 = (wxPyShape *) 0 ;
8570 double arg2 ;
8571 double arg3 ;
8572 int arg4 = (int) 0 ;
8573 int arg5 = (int) 0 ;
8574 PyObject * obj0 = 0 ;
8edf1c75
RD
8575 PyObject * obj1 = 0 ;
8576 PyObject * obj2 = 0 ;
8577 PyObject * obj3 = 0 ;
8578 PyObject * obj4 = 0 ;
44127b65
RD
8579 char *kwnames[] = {
8580 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8581 };
8582
8edf1c75 8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 8584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8585 {
8586 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 {
8590 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 if (obj3) {
8594 {
8595 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 }
8599 if (obj4) {
8600 {
8601 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 }
44127b65
RD
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 Py_INCREF(Py_None); resultobj = Py_None;
8613 return resultobj;
8614 fail:
8615 return NULL;
8616}
8617
8618
8619static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxPyShape *arg1 = (wxPyShape *) 0 ;
8622 bool arg2 ;
8623 double arg3 ;
8624 double arg4 ;
8625 int arg5 = (int) 0 ;
8626 int arg6 = (int) 0 ;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8edf1c75
RD
8629 PyObject * obj2 = 0 ;
8630 PyObject * obj3 = 0 ;
8631 PyObject * obj4 = 0 ;
8632 PyObject * obj5 = 0 ;
44127b65
RD
8633 char *kwnames[] = {
8634 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8635 };
8636
8edf1c75 8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 8638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 8639 {
8edf1c75 8640 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8edf1c75
RD
8643 {
8644 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 {
8648 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 if (obj4) {
8652 {
8653 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 }
8657 if (obj5) {
8658 {
8659 arg6 = (int) SWIG_PyObj_AsInt(obj5);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 }
44127b65
RD
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 Py_INCREF(Py_None); resultobj = Py_None;
8671 return resultobj;
8672 fail:
8673 return NULL;
8674}
8675
8676
8677static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxPyShape *arg1 = (wxPyShape *) 0 ;
8680 double arg2 ;
8681 double arg3 ;
8682 int arg4 = (int) 0 ;
8683 int arg5 = (int) 0 ;
8684 PyObject * obj0 = 0 ;
8edf1c75
RD
8685 PyObject * obj1 = 0 ;
8686 PyObject * obj2 = 0 ;
8687 PyObject * obj3 = 0 ;
8688 PyObject * obj4 = 0 ;
44127b65
RD
8689 char *kwnames[] = {
8690 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8691 };
8692
8edf1c75 8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 8694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8695 {
8696 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 {
8700 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 if (obj3) {
8704 {
8705 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 }
8709 if (obj4) {
8710 {
8711 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 }
44127b65
RD
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 Py_INCREF(Py_None); resultobj = Py_None;
8723 return resultobj;
8724 fail:
8725 return NULL;
8726}
8727
8728
8729static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8730 PyObject *resultobj;
8731 wxPyShape *arg1 = (wxPyShape *) 0 ;
8732 double arg2 ;
8733 double arg3 ;
8734 int arg4 = (int) 0 ;
8735 int arg5 = (int) 0 ;
8736 PyObject * obj0 = 0 ;
8edf1c75
RD
8737 PyObject * obj1 = 0 ;
8738 PyObject * obj2 = 0 ;
8739 PyObject * obj3 = 0 ;
8740 PyObject * obj4 = 0 ;
44127b65
RD
8741 char *kwnames[] = {
8742 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8743 };
8744
8edf1c75 8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 8746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8747 {
8748 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 {
8752 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 if (obj3) {
8756 {
8757 arg4 = (int) SWIG_PyObj_AsInt(obj3);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 }
8761 if (obj4) {
8762 {
8763 arg5 = (int) SWIG_PyObj_AsInt(obj4);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
8766 }
44127b65
RD
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 Py_INCREF(Py_None); resultobj = Py_None;
8775 return resultobj;
8776 fail:
8777 return NULL;
8778}
8779
8780
8781static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj;
8783 wxPyShape *arg1 = (wxPyShape *) 0 ;
8784 wxDC *arg2 = 0 ;
8785 double arg3 ;
8786 double arg4 ;
8787 double arg5 ;
8788 double arg6 ;
8789 PyObject * obj0 = 0 ;
8790 PyObject * obj1 = 0 ;
8edf1c75
RD
8791 PyObject * obj2 = 0 ;
8792 PyObject * obj3 = 0 ;
8793 PyObject * obj4 = 0 ;
8794 PyObject * obj5 = 0 ;
44127b65
RD
8795 char *kwnames[] = {
8796 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8797 };
8798
8edf1c75 8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
8800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8802 if (arg2 == NULL) {
8803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8804 }
8edf1c75
RD
8805 {
8806 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 }
8809 {
8810 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 {
8814 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 {
8818 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
44127b65
RD
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 Py_INCREF(Py_None); resultobj = Py_None;
8829 return resultobj;
8830 fail:
8831 return NULL;
8832}
8833
8834
8835static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxPyShape *arg1 = (wxPyShape *) 0 ;
8838 wxDC *arg2 = 0 ;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self",(char *) "dc", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8848 if (arg2 == NULL) {
8849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8850 }
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 (arg1)->base_OnDrawControlPoints(*arg2);
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 Py_INCREF(Py_None); resultobj = Py_None;
8859 return resultobj;
8860 fail:
8861 return NULL;
8862}
8863
8864
8865static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxPyShape *arg1 = (wxPyShape *) 0 ;
8868 wxDC *arg2 = 0 ;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8871 char *kwnames[] = {
8872 (char *) "self",(char *) "dc", NULL
8873 };
8874
8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
8876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8878 if (arg2 == NULL) {
8879 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8880 }
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 (arg1)->base_OnEraseControlPoints(*arg2);
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 Py_INCREF(Py_None); resultobj = Py_None;
8889 return resultobj;
8890 fail:
8891 return NULL;
8892}
8893
8894
8895static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxPyShape *arg1 = (wxPyShape *) 0 ;
8898 wxDC *arg2 = 0 ;
8899 bool arg3 = (bool) True ;
8900 PyObject * obj0 = 0 ;
8901 PyObject * obj1 = 0 ;
8902 PyObject * obj2 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8910 if (arg2 == NULL) {
8911 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8912 }
8913 if (obj2) {
83448d71 8914 {
8edf1c75 8915 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
44127b65
RD
8918 }
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->base_OnMoveLink(*arg2,arg3);
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 Py_INCREF(Py_None); resultobj = Py_None;
8927 return resultobj;
8928 fail:
8929 return NULL;
8930}
8931
8932
8933static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxPyShape *arg1 = (wxPyShape *) 0 ;
8936 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8937 bool arg3 ;
8938 double arg4 ;
8939 double arg5 ;
8940 int arg6 = (int) 0 ;
8941 int arg7 = (int) 0 ;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 PyObject * obj2 = 0 ;
8edf1c75
RD
8945 PyObject * obj3 = 0 ;
8946 PyObject * obj4 = 0 ;
8947 PyObject * obj5 = 0 ;
8948 PyObject * obj6 = 0 ;
44127b65
RD
8949 char *kwnames[] = {
8950 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8951 };
8952
8edf1c75 8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
8954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 8956 {
8edf1c75
RD
8957 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 {
8961 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 {
8965 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8edf1c75
RD
8968 if (obj5) {
8969 {
8970 arg6 = (int) SWIG_PyObj_AsInt(obj5);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 }
8974 if (obj6) {
8975 {
8976 arg7 = (int) SWIG_PyObj_AsInt(obj6);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 }
44127b65
RD
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
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
8994static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj;
8996 wxPyShape *arg1 = (wxPyShape *) 0 ;
8997 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
8998 double arg3 ;
8999 double arg4 ;
9000 int arg5 = (int) 0 ;
9001 int arg6 = (int) 0 ;
9002 PyObject * obj0 = 0 ;
9003 PyObject * obj1 = 0 ;
8edf1c75
RD
9004 PyObject * obj2 = 0 ;
9005 PyObject * obj3 = 0 ;
9006 PyObject * obj4 = 0 ;
9007 PyObject * obj5 = 0 ;
44127b65
RD
9008 char *kwnames[] = {
9009 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9010 };
9011
8edf1c75 9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
9013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9015 {
9016 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 {
9020 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 if (obj4) {
9024 {
9025 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 }
9029 if (obj5) {
9030 {
9031 arg6 = (int) SWIG_PyObj_AsInt(obj5);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 }
44127b65
RD
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
9038
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 Py_INCREF(Py_None); resultobj = Py_None;
9043 return resultobj;
9044 fail:
9045 return NULL;
9046}
9047
9048
9049static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj;
9051 wxPyShape *arg1 = (wxPyShape *) 0 ;
9052 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
9053 double arg3 ;
9054 double arg4 ;
9055 int arg5 = (int) 0 ;
9056 int arg6 = (int) 0 ;
9057 PyObject * obj0 = 0 ;
9058 PyObject * obj1 = 0 ;
8edf1c75
RD
9059 PyObject * obj2 = 0 ;
9060 PyObject * obj3 = 0 ;
9061 PyObject * obj4 = 0 ;
9062 PyObject * obj5 = 0 ;
44127b65
RD
9063 char *kwnames[] = {
9064 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9065 };
9066
8edf1c75 9067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
9068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9070 {
9071 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 {
9075 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 if (obj4) {
9079 {
9080 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 }
9084 if (obj5) {
9085 {
9086 arg6 = (int) SWIG_PyObj_AsInt(obj5);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 }
44127b65
RD
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 Py_INCREF(Py_None); resultobj = Py_None;
9098 return resultobj;
9099 fail:
9100 return NULL;
9101}
9102
9103
9104static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj;
9106 wxPyShape *arg1 = (wxPyShape *) 0 ;
9107 double arg2 ;
9108 double arg3 ;
9109 PyObject * obj0 = 0 ;
8edf1c75
RD
9110 PyObject * obj1 = 0 ;
9111 PyObject * obj2 = 0 ;
44127b65
RD
9112 char *kwnames[] = {
9113 (char *) "self",(char *) "w",(char *) "h", NULL
9114 };
9115
8edf1c75 9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 9117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9118 {
9119 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 {
9123 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
44127b65
RD
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 (arg1)->base_OnBeginSize(arg2,arg3);
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 Py_INCREF(Py_None); resultobj = Py_None;
9134 return resultobj;
9135 fail:
9136 return NULL;
9137}
9138
9139
9140static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj;
9142 wxPyShape *arg1 = (wxPyShape *) 0 ;
9143 double arg2 ;
9144 double arg3 ;
9145 PyObject * obj0 = 0 ;
8edf1c75
RD
9146 PyObject * obj1 = 0 ;
9147 PyObject * obj2 = 0 ;
44127b65
RD
9148 char *kwnames[] = {
9149 (char *) "self",(char *) "w",(char *) "h", NULL
9150 };
9151
8edf1c75 9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 9153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9154 {
9155 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 {
9159 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
44127b65
RD
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 (arg1)->base_OnEndSize(arg2,arg3);
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 Py_INCREF(Py_None); resultobj = Py_None;
9170 return resultobj;
9171 fail:
9172 return NULL;
9173}
9174
9175
9176static PyObject * PyShape_swigregister(PyObject *self, PyObject *args) {
9177 PyObject *obj;
9178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9179 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
9180 Py_INCREF(obj);
9181 return Py_BuildValue((char *)"");
9182}
9183static PyObject *_wrap_new_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxPseudoMetaFile *result;
9186 char *kwnames[] = {
9187 NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
9194
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 {
9199 resultobj = wxPyMake_wxObject(result);
9200 }
9201 return resultobj;
9202 fail:
9203 return NULL;
9204}
9205
9206
9207static PyObject *_wrap_delete_PseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj;
9209 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
9216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 delete arg1;
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 Py_INCREF(Py_None); resultobj = Py_None;
9225 return resultobj;
9226 fail:
9227 return NULL;
9228}
9229
9230
9231static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
9232 PyObject *resultobj;
9233 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9234 wxDC *arg2 = 0 ;
9235 double arg3 ;
9236 double arg4 ;
9237 PyObject * obj0 = 0 ;
9238 PyObject * obj1 = 0 ;
8edf1c75
RD
9239 PyObject * obj2 = 0 ;
9240 PyObject * obj3 = 0 ;
44127b65
RD
9241 char *kwnames[] = {
9242 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9243 };
9244
8edf1c75 9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65
RD
9246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9248 if (arg2 == NULL) {
9249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9250 }
8edf1c75
RD
9251 {
9252 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 {
9256 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
44127b65
RD
9259 {
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 (arg1)->Draw(*arg2,arg3,arg4);
9262
9263 wxPyEndAllowThreads(__tstate);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 Py_INCREF(Py_None); resultobj = Py_None;
9267 return resultobj;
9268 fail:
9269 return NULL;
9270}
9271
9272
9273static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9274 PyObject *resultobj;
9275 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9276 PyObject * obj0 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "self", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
9282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 (arg1)->Clear();
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 Py_INCREF(Py_None); resultobj = Py_None;
9291 return resultobj;
9292 fail:
9293 return NULL;
9294}
9295
9296
9297static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9300 wxPseudoMetaFile *arg2 = 0 ;
9301 PyObject * obj0 = 0 ;
9302 PyObject * obj1 = 0 ;
9303 char *kwnames[] = {
9304 (char *) "self",(char *) "copy", NULL
9305 };
9306
9307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
9308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9310 if (arg2 == NULL) {
9311 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9312 }
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 (arg1)->Copy(*arg2);
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 Py_INCREF(Py_None); resultobj = Py_None;
9321 return resultobj;
9322 fail:
9323 return NULL;
9324}
9325
9326
9327static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj;
9329 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9330 double arg2 ;
9331 double arg3 ;
9332 PyObject * obj0 = 0 ;
8edf1c75
RD
9333 PyObject * obj1 = 0 ;
9334 PyObject * obj2 = 0 ;
44127b65
RD
9335 char *kwnames[] = {
9336 (char *) "self",(char *) "sx",(char *) "sy", NULL
9337 };
9338
8edf1c75 9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 9340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9341 {
9342 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 }
9345 {
9346 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
44127b65
RD
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 (arg1)->Scale(arg2,arg3);
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 Py_INCREF(Py_None); resultobj = Py_None;
9357 return resultobj;
9358 fail:
9359 return NULL;
9360}
9361
9362
9363static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9366 double arg2 ;
9367 double arg3 ;
9368 PyObject * obj0 = 0 ;
8edf1c75
RD
9369 PyObject * obj1 = 0 ;
9370 PyObject * obj2 = 0 ;
44127b65
RD
9371 char *kwnames[] = {
9372 (char *) "self",(char *) "w",(char *) "h", NULL
9373 };
9374
8edf1c75 9375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 9376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9377 {
9378 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 {
9382 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
44127b65
RD
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 (arg1)->ScaleTo(arg2,arg3);
9388
9389 wxPyEndAllowThreads(__tstate);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 }
9392 Py_INCREF(Py_None); resultobj = Py_None;
9393 return resultobj;
9394 fail:
9395 return NULL;
9396}
9397
9398
9399static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
9400 PyObject *resultobj;
9401 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9402 double arg2 ;
9403 double arg3 ;
9404 PyObject * obj0 = 0 ;
8edf1c75
RD
9405 PyObject * obj1 = 0 ;
9406 PyObject * obj2 = 0 ;
44127b65
RD
9407 char *kwnames[] = {
9408 (char *) "self",(char *) "x",(char *) "y", NULL
9409 };
9410
8edf1c75 9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 9412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9413 {
9414 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 {
9418 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
44127b65
RD
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 (arg1)->Translate(arg2,arg3);
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 Py_INCREF(Py_None); resultobj = Py_None;
9429 return resultobj;
9430 fail:
9431 return NULL;
9432}
9433
9434
9435static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj;
9437 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9438 double arg2 ;
9439 double arg3 ;
9440 double arg4 ;
9441 PyObject * obj0 = 0 ;
8edf1c75
RD
9442 PyObject * obj1 = 0 ;
9443 PyObject * obj2 = 0 ;
9444 PyObject * obj3 = 0 ;
44127b65
RD
9445 char *kwnames[] = {
9446 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9447 };
9448
8edf1c75 9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 9450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9451 {
9452 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 {
9456 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 {
9460 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
44127b65
RD
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 (arg1)->Rotate(arg2,arg3,arg4);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 Py_INCREF(Py_None); resultobj = Py_None;
9471 return resultobj;
9472 fail:
9473 return NULL;
9474}
9475
9476
9477static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9480 wxString *arg2 = 0 ;
9481 double *arg3 = (double *) 0 ;
9482 double *arg4 = (double *) 0 ;
9483 bool result;
9484 bool temp2 = False ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 PyObject * obj2 = 0 ;
9488 PyObject * obj3 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9495 {
9496 arg2 = wxString_in_helper(obj1);
9497 if (arg2 == NULL) SWIG_fail;
9498 temp2 = True;
9499 }
9500 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9501 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
8edf1c75 9509 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
9510 {
9511 if (temp2)
9512 delete arg2;
9513 }
9514 return resultobj;
9515 fail:
9516 {
9517 if (temp2)
9518 delete arg2;
9519 }
9520 return NULL;
9521}
9522
9523
9524static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj;
9526 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9527 double *arg2 = (double *) 0 ;
9528 double *arg3 = (double *) 0 ;
9529 double *arg4 = (double *) 0 ;
9530 double *arg5 = (double *) 0 ;
9531 PyObject * obj0 = 0 ;
9532 PyObject * obj1 = 0 ;
9533 PyObject * obj2 = 0 ;
9534 PyObject * obj3 = 0 ;
9535 PyObject * obj4 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9543 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9544 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9545 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_double,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 Py_INCREF(Py_None); resultobj = Py_None;
9554 return resultobj;
9555 fail:
9556 return NULL;
9557}
9558
9559
9560static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9563 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
9564 PyObject * obj0 = 0 ;
9565 PyObject * obj1 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self",(char *) "shape", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
9571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 (arg1)->CalculateSize(arg2);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 Py_INCREF(Py_None); resultobj = Py_None;
9581 return resultobj;
9582 fail:
9583 return NULL;
9584}
9585
9586
9587static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9590 bool arg2 ;
9591 PyObject * obj0 = 0 ;
9592 PyObject * obj1 = 0 ;
9593 char *kwnames[] = {
9594 (char *) "self",(char *) "rot", NULL
9595 };
9596
9597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
9598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9599 {
8edf1c75 9600 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
44127b65
RD
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 (arg1)->SetRotateable(arg2);
9606
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 Py_INCREF(Py_None); resultobj = Py_None;
9611 return resultobj;
9612 fail:
9613 return NULL;
9614}
9615
9616
9617static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
9618 PyObject *resultobj;
9619 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9620 bool result;
9621 PyObject * obj0 = 0 ;
9622 char *kwnames[] = {
9623 (char *) "self", NULL
9624 };
9625
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
9627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (bool)(arg1)->GetRotateable();
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
8edf1c75 9635 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
9636 return resultobj;
9637 fail:
9638 return NULL;
9639}
9640
9641
9642static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject *resultobj;
9644 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9645 double arg2 ;
9646 double arg3 ;
9647 PyObject * obj0 = 0 ;
8edf1c75
RD
9648 PyObject * obj1 = 0 ;
9649 PyObject * obj2 = 0 ;
44127b65
RD
9650 char *kwnames[] = {
9651 (char *) "self",(char *) "w",(char *) "h", NULL
9652 };
9653
8edf1c75 9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 9655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9656 {
9657 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 {
9661 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
44127b65
RD
9664 {
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 (arg1)->SetSize(arg2,arg3);
9667
9668 wxPyEndAllowThreads(__tstate);
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
9671 Py_INCREF(Py_None); resultobj = Py_None;
9672 return resultobj;
9673 fail:
9674 return NULL;
9675}
9676
9677
9678static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9681 wxBrush *arg2 = (wxBrush *) 0 ;
9682 PyObject * obj0 = 0 ;
9683 PyObject * obj1 = 0 ;
9684 char *kwnames[] = {
9685 (char *) "self",(char *) "brush", NULL
9686 };
9687
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
9689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9690 {
9691 wxBrush* temp;
9692 if (obj1) {
9693 if (obj1 == Py_None) {
9694 temp = NULL;
9695 }
9696 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
9697 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
9698 return NULL;
9699 }
9700 }
9701 if (temp)
9702 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
9703 else
9704 arg2 = NULL;
9705 }
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 (arg1)->SetFillBrush(arg2);
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 Py_INCREF(Py_None); resultobj = Py_None;
9714 return resultobj;
9715 fail:
9716 return NULL;
9717}
9718
9719
9720static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj;
9722 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9723 wxBrush *result;
9724 PyObject * obj0 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
9730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 result = (wxBrush *)(arg1)->GetFillBrush();
9734
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBrush, 0);
9739 return resultobj;
9740 fail:
9741 return NULL;
9742}
9743
9744
9745static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj;
9747 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9748 wxPen *arg2 = (wxPen *) 0 ;
9749 PyObject * obj0 = 0 ;
9750 PyObject * obj1 = 0 ;
9751 char *kwnames[] = {
9752 (char *) "self",(char *) "pen", NULL
9753 };
9754
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
9756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9757 {
9758 wxPen* temp;
9759 if (obj1) {
9760 if (obj1 == Py_None) {
9761 temp = NULL;
9762 }
9763 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
9764 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
9765 return NULL;
9766 }
9767 }
9768 if (temp)
9769 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
9770 temp->GetWidth(),
9771 temp->GetStyle());
9772 else
9773 arg2 = NULL;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 (arg1)->SetOutlinePen(arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 Py_INCREF(Py_None); resultobj = Py_None;
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
9789static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject *resultobj;
9791 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9792 wxPen *result;
9793 PyObject * obj0 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 result = (wxPen *)(arg1)->GetOutlinePen();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
9808 return resultobj;
9809 fail:
9810 return NULL;
9811}
9812
9813
9814static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj;
9816 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9817 int arg2 ;
9818 PyObject * obj0 = 0 ;
8edf1c75 9819 PyObject * obj1 = 0 ;
44127b65
RD
9820 char *kwnames[] = {
9821 (char *) "self",(char *) "op", NULL
9822 };
9823
8edf1c75 9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
44127b65 9825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9826 {
9827 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
44127b65
RD
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 (arg1)->SetOutlineOp(arg2);
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 Py_INCREF(Py_None); resultobj = Py_None;
9838 return resultobj;
9839 fail:
9840 return NULL;
9841}
9842
9843
9844static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9847 int result;
9848 PyObject * obj0 = 0 ;
9849 char *kwnames[] = {
9850 (char *) "self", NULL
9851 };
9852
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
9854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = (int)(arg1)->GetOutlineOp();
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
8edf1c75 9862 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
9863 return resultobj;
9864 fail:
9865 return NULL;
9866}
9867
9868
9869static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9872 bool result;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (bool)(arg1)->IsValid();
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
8edf1c75 9887 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
9888 return resultobj;
9889 fail:
9890 return NULL;
9891}
9892
9893
9894static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9895 PyObject *resultobj;
9896 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9897 wxPoint *arg2 = 0 ;
9898 wxPoint *arg3 = 0 ;
9899 wxPoint temp2 ;
9900 wxPoint temp3 ;
9901 PyObject * obj0 = 0 ;
9902 PyObject * obj1 = 0 ;
9903 PyObject * obj2 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9910 {
9911 arg2 = &temp2;
9912 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9913 }
9914 {
9915 arg3 = &temp3;
9916 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 Py_INCREF(Py_None); resultobj = Py_None;
9926 return resultobj;
9927 fail:
9928 return NULL;
9929}
9930
9931
9932static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj;
9934 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9935 wxRect *arg2 = 0 ;
9936 wxRect temp2 ;
9937 PyObject * obj0 = 0 ;
9938 PyObject * obj1 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self",(char *) "rect", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9945 {
9946 arg2 = &temp2;
9947 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9948 }
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 (arg1)->DrawRectangle((wxRect const &)*arg2);
9952
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 Py_INCREF(Py_None); resultobj = Py_None;
9957 return resultobj;
9958 fail:
9959 return NULL;
9960}
9961
9962
9963static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj;
9965 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
9966 wxRect *arg2 = 0 ;
9967 double arg3 ;
9968 wxRect temp2 ;
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
8edf1c75 9971 PyObject * obj2 = 0 ;
44127b65
RD
9972 char *kwnames[] = {
9973 (char *) "self",(char *) "rect",(char *) "radius", NULL
9974 };
9975
8edf1c75 9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65
RD
9977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9978 {
9979 arg2 = &temp2;
9980 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9981 }
8edf1c75
RD
9982 {
9983 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
44127b65
RD
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 Py_INCREF(Py_None); resultobj = Py_None;
9994 return resultobj;
9995 fail:
9996 return NULL;
9997}
9998
9999
10000static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj;
10002 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10003 wxPoint *arg2 = 0 ;
10004 wxPoint *arg3 = 0 ;
10005 wxPoint *arg4 = 0 ;
10006 wxPoint temp2 ;
10007 wxPoint temp3 ;
10008 wxPoint temp4 ;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj1 = 0 ;
10011 PyObject * obj2 = 0 ;
10012 PyObject * obj3 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10019 {
10020 arg2 = &temp2;
10021 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10022 }
10023 {
10024 arg3 = &temp3;
10025 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10026 }
10027 {
10028 arg4 = &temp4;
10029 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10030 }
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10034
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 Py_INCREF(Py_None); resultobj = Py_None;
10039 return resultobj;
10040 fail:
10041 return NULL;
10042}
10043
10044
10045static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj;
10047 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10048 wxRect *arg2 = 0 ;
10049 double arg3 ;
10050 double arg4 ;
10051 wxRect temp2 ;
10052 PyObject * obj0 = 0 ;
10053 PyObject * obj1 = 0 ;
8edf1c75
RD
10054 PyObject * obj2 = 0 ;
10055 PyObject * obj3 = 0 ;
44127b65
RD
10056 char *kwnames[] = {
10057 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10058 };
10059
8edf1c75 10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65
RD
10061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10062 {
10063 arg2 = &temp2;
10064 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10065 }
8edf1c75
RD
10066 {
10067 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 {
10071 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
44127b65
RD
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 Py_INCREF(Py_None); resultobj = Py_None;
10082 return resultobj;
10083 fail:
10084 return NULL;
10085}
10086
10087
10088static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10091 wxRect *arg2 = 0 ;
10092 wxRect temp2 ;
10093 PyObject * obj0 = 0 ;
10094 PyObject * obj1 = 0 ;
10095 char *kwnames[] = {
10096 (char *) "self",(char *) "rect", NULL
10097 };
10098
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
10100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10101 {
10102 arg2 = &temp2;
10103 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10104 }
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 (arg1)->DrawEllipse((wxRect const &)*arg2);
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 Py_INCREF(Py_None); resultobj = Py_None;
10113 return resultobj;
10114 fail:
10115 return NULL;
10116}
10117
10118
10119static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10120 PyObject *resultobj;
10121 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10122 wxPoint *arg2 = 0 ;
10123 wxPoint temp2 ;
10124 PyObject * obj0 = 0 ;
10125 PyObject * obj1 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self",(char *) "pt", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
10131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10132 {
10133 arg2 = &temp2;
10134 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10135 }
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 (arg1)->DrawPoint((wxPoint const &)*arg2);
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 Py_INCREF(Py_None); resultobj = Py_None;
10144 return resultobj;
10145 fail:
10146 return NULL;
10147}
10148
10149
10150static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10153 wxString *arg2 = 0 ;
10154 wxPoint *arg3 = 0 ;
10155 bool temp2 = False ;
10156 wxPoint temp3 ;
10157 PyObject * obj0 = 0 ;
10158 PyObject * obj1 = 0 ;
10159 PyObject * obj2 = 0 ;
10160 char *kwnames[] = {
10161 (char *) "self",(char *) "text",(char *) "pt", NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10166 {
10167 arg2 = wxString_in_helper(obj1);
10168 if (arg2 == NULL) SWIG_fail;
10169 temp2 = True;
10170 }
10171 {
10172 arg3 = &temp3;
10173 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10174 }
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 Py_INCREF(Py_None); resultobj = Py_None;
10183 {
10184 if (temp2)
10185 delete arg2;
10186 }
10187 return resultobj;
10188 fail:
10189 {
10190 if (temp2)
10191 delete arg2;
10192 }
10193 return NULL;
10194}
10195
10196
10197static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10198 PyObject *resultobj;
10199 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10200 int arg2 ;
10201 wxPoint *arg3 = (wxPoint *) 0 ;
10202 PyObject * obj0 = 0 ;
8edf1c75 10203 PyObject * obj1 = 0 ;
44127b65
RD
10204 PyObject * obj2 = 0 ;
10205 char *kwnames[] = {
10206 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10207 };
10208
8edf1c75 10209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 10210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10211 {
10212 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
44127b65
RD
10215 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->DrawLines(arg2,arg3);
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 Py_INCREF(Py_None); resultobj = Py_None;
10224 return resultobj;
10225 fail:
10226 return NULL;
10227}
10228
10229
10230static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj;
10232 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10233 int arg2 ;
10234 wxPoint *arg3 = (wxPoint *) 0 ;
10235 int arg4 = (int) 0 ;
10236 PyObject * obj0 = 0 ;
8edf1c75 10237 PyObject * obj1 = 0 ;
44127b65 10238 PyObject * obj2 = 0 ;
8edf1c75 10239 PyObject * obj3 = 0 ;
44127b65
RD
10240 char *kwnames[] = {
10241 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
10242 };
10243
8edf1c75 10244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 10245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10246 {
10247 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10248 if (PyErr_Occurred()) SWIG_fail;
10249 }
44127b65 10250 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10251 if (obj3) {
10252 {
10253 arg4 = (int) SWIG_PyObj_AsInt(obj3);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 }
44127b65
RD
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 (arg1)->DrawPolygon(arg2,arg3,arg4);
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 Py_INCREF(Py_None); resultobj = Py_None;
10265 return resultobj;
10266 fail:
10267 return NULL;
10268}
10269
10270
10271static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj;
10273 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10274 int arg2 ;
10275 wxPoint *arg3 = (wxPoint *) 0 ;
10276 PyObject * obj0 = 0 ;
8edf1c75 10277 PyObject * obj1 = 0 ;
44127b65
RD
10278 PyObject * obj2 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
10281 };
10282
8edf1c75 10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 10284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10285 {
10286 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
44127b65
RD
10289 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 (arg1)->DrawSpline(arg2,arg3);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 Py_INCREF(Py_None); resultobj = Py_None;
10298 return resultobj;
10299 fail:
10300 return NULL;
10301}
10302
10303
10304static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj;
10306 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10307 wxRect *arg2 = 0 ;
10308 wxRect temp2 ;
10309 PyObject * obj0 = 0 ;
10310 PyObject * obj1 = 0 ;
10311 char *kwnames[] = {
10312 (char *) "self",(char *) "rect", NULL
10313 };
10314
10315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
10316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10317 {
10318 arg2 = &temp2;
10319 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10320 }
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 (arg1)->SetClippingRect((wxRect const &)*arg2);
10324
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 Py_INCREF(Py_None); resultobj = Py_None;
10329 return resultobj;
10330 fail:
10331 return NULL;
10332}
10333
10334
10335static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj;
10337 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10338 PyObject * obj0 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 (arg1)->DestroyClippingRect();
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 Py_INCREF(Py_None); resultobj = Py_None;
10353 return resultobj;
10354 fail:
10355 return NULL;
10356}
10357
10358
10359static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj;
10361 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10362 wxPen *arg2 = (wxPen *) 0 ;
10363 bool arg3 = (bool) FALSE ;
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
10366 PyObject * obj2 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
10372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10373 {
10374 wxPen* temp;
10375 if (obj1) {
10376 if (obj1 == Py_None) {
10377 temp = NULL;
10378 }
10379 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
10380 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
10381 return NULL;
10382 }
10383 }
10384 if (temp)
10385 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
10386 temp->GetWidth(),
10387 temp->GetStyle());
10388 else
10389 arg2 = NULL;
10390 }
10391 if (obj2) {
83448d71 10392 {
8edf1c75 10393 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
44127b65
RD
10396 }
10397 {
10398 PyThreadState* __tstate = wxPyBeginAllowThreads();
10399 (arg1)->SetPen(arg2,arg3);
10400
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 Py_INCREF(Py_None); resultobj = Py_None;
10405 return resultobj;
10406 fail:
10407 return NULL;
10408}
10409
10410
10411static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
10412 PyObject *resultobj;
10413 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10414 wxBrush *arg2 = (wxBrush *) 0 ;
10415 bool arg3 = (bool) FALSE ;
10416 PyObject * obj0 = 0 ;
10417 PyObject * obj1 = 0 ;
10418 PyObject * obj2 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
10424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10425 {
10426 wxBrush* temp;
10427 if (obj1) {
10428 if (obj1 == Py_None) {
10429 temp = NULL;
10430 }
10431 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
10432 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
10433 return NULL;
10434 }
10435 }
10436 if (temp)
10437 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
10438 else
10439 arg2 = NULL;
10440 }
10441 if (obj2) {
83448d71 10442 {
8edf1c75 10443 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
44127b65
RD
10446 }
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 (arg1)->SetBrush(arg2,arg3);
10450
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 Py_INCREF(Py_None); resultobj = Py_None;
10455 return resultobj;
10456 fail:
10457 return NULL;
10458}
10459
10460
10461static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10462 PyObject *resultobj;
10463 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10464 wxFont *arg2 = (wxFont *) 0 ;
10465 PyObject * obj0 = 0 ;
10466 PyObject * obj1 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self",(char *) "font", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10473 {
10474 wxFont* temp;
10475 if (obj1) {
10476 if (obj1 == Py_None) {
10477 temp = NULL;
10478 }
10479 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
10480 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
10481 return NULL;
10482 }
10483 }
10484 if (temp)
10485 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
10486 temp->GetFamily(),
10487 temp->GetStyle(),
10488 temp->GetWeight(),
10489 temp->GetUnderlined(),
10490 temp->GetFaceName(),
10491 temp->GetEncoding());
10492 else
10493 arg2 = NULL;
10494 }
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 (arg1)->SetFont(arg2);
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 Py_INCREF(Py_None); resultobj = Py_None;
10503 return resultobj;
10504 fail:
10505 return NULL;
10506}
10507
10508
10509static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10512 wxColour *arg2 = 0 ;
10513 wxColour temp2 ;
10514 PyObject * obj0 = 0 ;
10515 PyObject * obj1 = 0 ;
10516 char *kwnames[] = {
10517 (char *) "self",(char *) "colour", NULL
10518 };
10519
10520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
10521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10522 {
10523 arg2 = &temp2;
10524 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10525 }
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 (arg1)->SetTextColour((wxColour const &)*arg2);
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 Py_INCREF(Py_None); resultobj = Py_None;
10534 return resultobj;
10535 fail:
10536 return NULL;
10537}
10538
10539
10540static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10543 wxColour *arg2 = 0 ;
10544 wxColour temp2 ;
10545 PyObject * obj0 = 0 ;
10546 PyObject * obj1 = 0 ;
10547 char *kwnames[] = {
10548 (char *) "self",(char *) "colour", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
10552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10553 {
10554 arg2 = &temp2;
10555 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10556 }
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 return resultobj;
10566 fail:
10567 return NULL;
10568}
10569
10570
10571static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10574 int arg2 ;
10575 PyObject * obj0 = 0 ;
8edf1c75 10576 PyObject * obj1 = 0 ;
44127b65
RD
10577 char *kwnames[] = {
10578 (char *) "self",(char *) "mode", NULL
10579 };
10580
8edf1c75 10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
44127b65 10582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10583 {
10584 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
44127b65
RD
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 (arg1)->SetBackgroundMode(arg2);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 Py_INCREF(Py_None); resultobj = Py_None;
10595 return resultobj;
10596 fail:
10597 return NULL;
10598}
10599
10600
10601static PyObject * PseudoMetaFile_swigregister(PyObject *self, PyObject *args) {
10602 PyObject *obj;
10603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10604 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
10605 Py_INCREF(obj);
10606 return Py_BuildValue((char *)"");
10607}
10608static PyObject *_wrap_new_PyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 double arg1 = (double) 0.0 ;
10611 double arg2 = (double) 0.0 ;
10612 wxPyRectangleShape *result;
8edf1c75
RD
10613 PyObject * obj0 = 0 ;
10614 PyObject * obj1 = 0 ;
44127b65
RD
10615 char *kwnames[] = {
10616 (char *) "width",(char *) "height", NULL
10617 };
10618
8edf1c75
RD
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
10620 if (obj0) {
10621 {
10622 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 }
10626 if (obj1) {
10627 {
10628 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 }
44127b65
RD
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyRectangleShape, 1);
10640 return resultobj;
10641 fail:
10642 return NULL;
10643}
10644
10645
10646static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10647 PyObject *resultobj;
10648 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10649 PyObject *arg2 = (PyObject *) 0 ;
10650 PyObject *arg3 = (PyObject *) 0 ;
10651 PyObject * obj0 = 0 ;
10652 PyObject * obj1 = 0 ;
10653 PyObject * obj2 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self",(char *) "self",(char *) "_class", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10660 arg2 = obj1;
10661 arg3 = obj2;
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 (arg1)->_setCallbackInfo(arg2,arg3);
10665
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 Py_INCREF(Py_None); resultobj = Py_None;
10670 return resultobj;
10671 fail:
10672 return NULL;
10673}
10674
10675
10676static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10679 double arg2 ;
10680 PyObject * obj0 = 0 ;
8edf1c75 10681 PyObject * obj1 = 0 ;
44127b65
RD
10682 char *kwnames[] = {
10683 (char *) "self",(char *) "radius", NULL
10684 };
10685
8edf1c75 10686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
44127b65 10687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10688 {
10689 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
44127b65
RD
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 (arg1)->SetCornerRadius(arg2);
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 Py_INCREF(Py_None); resultobj = Py_None;
10700 return resultobj;
10701 fail:
10702 return NULL;
10703}
10704
10705
7a0a63ae
RD
10706static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj;
10708 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10709 double result;
10710 PyObject * obj0 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
10716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (double)(arg1)->GetCornerRadius();
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
8edf1c75 10724 resultobj = SWIG_PyObj_FromDouble((double)result);
7a0a63ae
RD
10725 return resultobj;
10726 fail:
10727 return NULL;
10728}
10729
10730
44127b65
RD
10731static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj;
10733 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10734 PyObject * obj0 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
10740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 (arg1)->base_OnDelete();
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 Py_INCREF(Py_None); resultobj = Py_None;
10749 return resultobj;
10750 fail:
10751 return NULL;
10752}
10753
10754
10755static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
10756 PyObject *resultobj;
10757 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10758 wxDC *arg2 = 0 ;
10759 PyObject * obj0 = 0 ;
10760 PyObject * obj1 = 0 ;
10761 char *kwnames[] = {
10762 (char *) "self",(char *) "dc", NULL
10763 };
10764
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
10766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10767 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10768 if (arg2 == NULL) {
10769 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10770 }
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 (arg1)->base_OnDraw(*arg2);
10774
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
10778 Py_INCREF(Py_None); resultobj = Py_None;
10779 return resultobj;
10780 fail:
10781 return NULL;
10782}
10783
10784
10785static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10786 PyObject *resultobj;
10787 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10788 wxDC *arg2 = 0 ;
10789 PyObject * obj0 = 0 ;
10790 PyObject * obj1 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self",(char *) "dc", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
10796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10798 if (arg2 == NULL) {
10799 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10800 }
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 (arg1)->base_OnDrawContents(*arg2);
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
10815static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10816 PyObject *resultobj;
10817 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10818 wxDC *arg2 = 0 ;
10819 bool arg3 = (bool) FALSE ;
10820 PyObject * obj0 = 0 ;
10821 PyObject * obj1 = 0 ;
10822 PyObject * obj2 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self",(char *) "dc",(char *) "erase", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10830 if (arg2 == NULL) {
10831 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10832 }
10833 if (obj2) {
83448d71 10834 {
8edf1c75 10835 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
44127b65
RD
10838 }
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 (arg1)->base_OnDrawBranches(*arg2,arg3);
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 Py_INCREF(Py_None); resultobj = Py_None;
10847 return resultobj;
10848 fail:
10849 return NULL;
10850}
10851
10852
10853static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10856 wxDC *arg2 = 0 ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self",(char *) "dc", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10865 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10866 if (arg2 == NULL) {
10867 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 (arg1)->base_OnMoveLinks(*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
10883static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10886 wxDC *arg2 = 0 ;
10887 PyObject * obj0 = 0 ;
10888 PyObject * obj1 = 0 ;
10889 char *kwnames[] = {
10890 (char *) "self",(char *) "dc", NULL
10891 };
10892
10893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
10894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10896 if (arg2 == NULL) {
10897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10898 }
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 (arg1)->base_OnErase(*arg2);
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 Py_INCREF(Py_None); resultobj = Py_None;
10907 return resultobj;
10908 fail:
10909 return NULL;
10910}
10911
10912
10913static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj;
10915 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10916 wxDC *arg2 = 0 ;
10917 PyObject * obj0 = 0 ;
10918 PyObject * obj1 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self",(char *) "dc", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
10924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10926 if (arg2 == NULL) {
10927 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10928 }
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 (arg1)->base_OnEraseContents(*arg2);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 Py_INCREF(Py_None); resultobj = Py_None;
10937 return resultobj;
10938 fail:
10939 return NULL;
10940}
10941
10942
10943static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10944 PyObject *resultobj;
10945 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10946 wxDC *arg2 = 0 ;
10947 PyObject * obj0 = 0 ;
10948 PyObject * obj1 = 0 ;
10949 char *kwnames[] = {
10950 (char *) "self",(char *) "dc", NULL
10951 };
10952
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
10954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10956 if (arg2 == NULL) {
10957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10958 }
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 (arg1)->base_OnHighlight(*arg2);
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 Py_INCREF(Py_None); resultobj = Py_None;
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
10973static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
10976 double arg2 ;
10977 double arg3 ;
10978 int arg4 = (int) 0 ;
10979 int arg5 = (int) 0 ;
10980 PyObject * obj0 = 0 ;
8edf1c75
RD
10981 PyObject * obj1 = 0 ;
10982 PyObject * obj2 = 0 ;
10983 PyObject * obj3 = 0 ;
10984 PyObject * obj4 = 0 ;
44127b65
RD
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10987 };
10988
8edf1c75 10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 10990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10991 {
10992 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
10995 {
10996 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
10997 if (PyErr_Occurred()) SWIG_fail;
10998 }
10999 if (obj3) {
11000 {
11001 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 }
11005 if (obj4) {
11006 {
11007 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 }
44127b65
RD
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
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
11025static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11028 double arg2 ;
11029 double arg3 ;
11030 int arg4 = (int) 0 ;
11031 int arg5 = (int) 0 ;
11032 PyObject * obj0 = 0 ;
8edf1c75
RD
11033 PyObject * obj1 = 0 ;
11034 PyObject * obj2 = 0 ;
11035 PyObject * obj3 = 0 ;
11036 PyObject * obj4 = 0 ;
44127b65
RD
11037 char *kwnames[] = {
11038 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11039 };
11040
8edf1c75 11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 11042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11043 {
11044 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 if (obj3) {
11052 {
11053 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 }
11057 if (obj4) {
11058 {
11059 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 }
44127b65
RD
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
11066
11067 wxPyEndAllowThreads(__tstate);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 }
11070 Py_INCREF(Py_None); resultobj = Py_None;
11071 return resultobj;
11072 fail:
11073 return NULL;
11074}
11075
11076
11077static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11078 PyObject *resultobj;
11079 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11080 double arg2 ;
11081 double arg3 ;
11082 int arg4 = (int) 0 ;
11083 int arg5 = (int) 0 ;
11084 PyObject * obj0 = 0 ;
8edf1c75
RD
11085 PyObject * obj1 = 0 ;
11086 PyObject * obj2 = 0 ;
11087 PyObject * obj3 = 0 ;
11088 PyObject * obj4 = 0 ;
44127b65
RD
11089 char *kwnames[] = {
11090 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11091 };
11092
8edf1c75 11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
11094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11095 {
8edf1c75 11096 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
44127b65
RD
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
8edf1c75
RD
11099 {
11100 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 if (obj3) {
11104 {
11105 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 }
11109 if (obj4) {
11110 {
11111 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 }
11114 }
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
11118
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 Py_INCREF(Py_None); resultobj = Py_None;
11123 return resultobj;
11124 fail:
11125 return NULL;
11126}
11127
11128
11129static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11130 PyObject *resultobj;
11131 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
44127b65
RD
11132 double arg2 ;
11133 double arg3 ;
11134 PyObject * obj0 = 0 ;
8edf1c75
RD
11135 PyObject * obj1 = 0 ;
11136 PyObject * obj2 = 0 ;
44127b65
RD
11137 char *kwnames[] = {
11138 (char *) "self",(char *) "x",(char *) "y", NULL
11139 };
11140
8edf1c75 11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 11142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11143 {
11144 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 {
11148 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
44127b65
RD
11151 {
11152 PyThreadState* __tstate = wxPyBeginAllowThreads();
11153 (arg1)->base_OnSize(arg2,arg3);
11154
11155 wxPyEndAllowThreads(__tstate);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 Py_INCREF(Py_None); resultobj = Py_None;
11159 return resultobj;
11160 fail:
11161 return NULL;
11162}
11163
11164
11165static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11166 PyObject *resultobj;
11167 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11168 wxDC *arg2 = 0 ;
11169 double arg3 ;
11170 double arg4 ;
11171 double arg5 ;
11172 double arg6 ;
11173 bool arg7 = (bool) True ;
11174 bool result;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
8edf1c75
RD
11177 PyObject * obj2 = 0 ;
11178 PyObject * obj3 = 0 ;
11179 PyObject * obj4 = 0 ;
11180 PyObject * obj5 = 0 ;
44127b65
RD
11181 PyObject * obj6 = 0 ;
11182 char *kwnames[] = {
11183 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11184 };
11185
8edf1c75 11186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
11187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11189 if (arg2 == NULL) {
11190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11191 }
8edf1c75
RD
11192 {
11193 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 {
11197 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 {
11201 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 {
11205 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 }
44127b65 11208 if (obj6) {
83448d71 11209 {
8edf1c75 11210 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
44127b65
RD
11213 }
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
8edf1c75 11221 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
11222 return resultobj;
11223 fail:
11224 return NULL;
11225}
11226
11227
11228static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11231 wxDC *arg2 = 0 ;
11232 double arg3 ;
11233 double arg4 ;
11234 double arg5 ;
11235 double arg6 ;
11236 bool arg7 = (bool) True ;
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_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
11249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11251 if (arg2 == NULL) {
11252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11253 }
8edf1c75
RD
11254 {
11255 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 {
11259 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 {
11263 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 {
11267 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
44127b65 11270 if (obj6) {
83448d71 11271 {
8edf1c75 11272 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
44127b65
RD
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 Py_INCREF(Py_None); resultobj = Py_None;
11284 return resultobj;
11285 fail:
11286 return NULL;
11287}
11288
11289
11290static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11293 bool arg2 ;
11294 double arg3 ;
11295 double arg4 ;
11296 int arg5 = (int) 0 ;
11297 int arg6 = (int) 0 ;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
8edf1c75
RD
11300 PyObject * obj2 = 0 ;
11301 PyObject * obj3 = 0 ;
11302 PyObject * obj4 = 0 ;
11303 PyObject * obj5 = 0 ;
44127b65
RD
11304 char *kwnames[] = {
11305 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11306 };
11307
8edf1c75 11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 11309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 11310 {
8edf1c75
RD
11311 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 }
11314 {
11315 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 {
11319 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
8edf1c75
RD
11322 if (obj4) {
11323 {
11324 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 }
11328 if (obj5) {
11329 {
11330 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 }
44127b65
RD
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 Py_INCREF(Py_None); resultobj = Py_None;
11342 return resultobj;
11343 fail:
11344 return NULL;
11345}
11346
11347
11348static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11349 PyObject *resultobj;
11350 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11351 double arg2 ;
11352 double arg3 ;
11353 int arg4 = (int) 0 ;
11354 int arg5 = (int) 0 ;
11355 PyObject * obj0 = 0 ;
8edf1c75
RD
11356 PyObject * obj1 = 0 ;
11357 PyObject * obj2 = 0 ;
11358 PyObject * obj3 = 0 ;
11359 PyObject * obj4 = 0 ;
44127b65
RD
11360 char *kwnames[] = {
11361 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11362 };
11363
8edf1c75 11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 11365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11366 {
11367 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 {
11371 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 if (obj3) {
11375 {
11376 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 }
11380 if (obj4) {
11381 {
11382 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 }
44127b65
RD
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 Py_INCREF(Py_None); resultobj = Py_None;
11394 return resultobj;
11395 fail:
11396 return NULL;
11397}
11398
11399
11400static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11403 double arg2 ;
11404 double arg3 ;
11405 int arg4 = (int) 0 ;
11406 int arg5 = (int) 0 ;
11407 PyObject * obj0 = 0 ;
8edf1c75
RD
11408 PyObject * obj1 = 0 ;
11409 PyObject * obj2 = 0 ;
11410 PyObject * obj3 = 0 ;
11411 PyObject * obj4 = 0 ;
44127b65
RD
11412 char *kwnames[] = {
11413 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11414 };
11415
8edf1c75 11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 11417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11418 {
11419 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 {
11423 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 if (obj3) {
11427 {
11428 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 }
11432 if (obj4) {
11433 {
11434 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 }
44127b65
RD
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
11440 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 Py_INCREF(Py_None); resultobj = Py_None;
11446 return resultobj;
11447 fail:
11448 return NULL;
11449}
11450
11451
11452static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj;
11454 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11455 bool arg2 ;
11456 double arg3 ;
11457 double arg4 ;
11458 int arg5 = (int) 0 ;
11459 int arg6 = (int) 0 ;
11460 PyObject * obj0 = 0 ;
11461 PyObject * obj1 = 0 ;
8edf1c75
RD
11462 PyObject * obj2 = 0 ;
11463 PyObject * obj3 = 0 ;
11464 PyObject * obj4 = 0 ;
11465 PyObject * obj5 = 0 ;
44127b65
RD
11466 char *kwnames[] = {
11467 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11468 };
11469
8edf1c75 11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 11471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 11472 {
8edf1c75
RD
11473 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 {
11477 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
83448d71
RD
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
8edf1c75
RD
11480 {
11481 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 if (obj4) {
11485 {
11486 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 }
11490 if (obj5) {
11491 {
11492 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 }
44127b65
RD
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 Py_INCREF(Py_None); resultobj = Py_None;
11504 return resultobj;
11505 fail:
11506 return NULL;
11507}
11508
11509
11510static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11513 double arg2 ;
11514 double arg3 ;
11515 int arg4 = (int) 0 ;
11516 int arg5 = (int) 0 ;
11517 PyObject * obj0 = 0 ;
8edf1c75
RD
11518 PyObject * obj1 = 0 ;
11519 PyObject * obj2 = 0 ;
11520 PyObject * obj3 = 0 ;
11521 PyObject * obj4 = 0 ;
44127b65
RD
11522 char *kwnames[] = {
11523 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11524 };
11525
8edf1c75 11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 11527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11528 {
11529 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 if (obj3) {
11537 {
11538 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 }
11542 if (obj4) {
11543 {
11544 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 }
44127b65
RD
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 Py_INCREF(Py_None); resultobj = Py_None;
11556 return resultobj;
11557 fail:
11558 return NULL;
11559}
11560
11561
11562static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj;
11564 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11565 double arg2 ;
11566 double arg3 ;
11567 int arg4 = (int) 0 ;
11568 int arg5 = (int) 0 ;
11569 PyObject * obj0 = 0 ;
8edf1c75
RD
11570 PyObject * obj1 = 0 ;
11571 PyObject * obj2 = 0 ;
11572 PyObject * obj3 = 0 ;
11573 PyObject * obj4 = 0 ;
44127b65
RD
11574 char *kwnames[] = {
11575 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11576 };
11577
8edf1c75 11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 11579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11580 {
11581 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 {
11585 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 if (obj3) {
11589 {
11590 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 }
11594 if (obj4) {
11595 {
11596 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 }
44127b65
RD
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 Py_INCREF(Py_None); resultobj = Py_None;
11608 return resultobj;
11609 fail:
11610 return NULL;
11611}
11612
11613
11614static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj;
11616 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11617 wxDC *arg2 = 0 ;
11618 double arg3 ;
11619 double arg4 ;
11620 double arg5 ;
11621 double arg6 ;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj1 = 0 ;
8edf1c75
RD
11624 PyObject * obj2 = 0 ;
11625 PyObject * obj3 = 0 ;
11626 PyObject * obj4 = 0 ;
11627 PyObject * obj5 = 0 ;
44127b65
RD
11628 char *kwnames[] = {
11629 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11630 };
11631
8edf1c75 11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
11633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11635 if (arg2 == NULL) {
11636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11637 }
8edf1c75
RD
11638 {
11639 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
11642 {
11643 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 {
11647 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
11648 if (PyErr_Occurred()) SWIG_fail;
11649 }
11650 {
11651 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
44127b65
RD
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
11657
11658 wxPyEndAllowThreads(__tstate);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 Py_INCREF(Py_None); resultobj = Py_None;
11662 return resultobj;
11663 fail:
11664 return NULL;
11665}
11666
11667
11668static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject *resultobj;
11670 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11671 wxDC *arg2 = 0 ;
11672 PyObject * obj0 = 0 ;
11673 PyObject * obj1 = 0 ;
11674 char *kwnames[] = {
11675 (char *) "self",(char *) "dc", NULL
11676 };
11677
11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
11679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11681 if (arg2 == NULL) {
11682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11683 }
11684 {
11685 PyThreadState* __tstate = wxPyBeginAllowThreads();
11686 (arg1)->base_OnDrawControlPoints(*arg2);
11687
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 Py_INCREF(Py_None); resultobj = Py_None;
11692 return resultobj;
11693 fail:
11694 return NULL;
11695}
11696
11697
11698static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11699 PyObject *resultobj;
11700 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11701 wxDC *arg2 = 0 ;
11702 PyObject * obj0 = 0 ;
11703 PyObject * obj1 = 0 ;
11704 char *kwnames[] = {
11705 (char *) "self",(char *) "dc", NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
11709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11711 if (arg2 == NULL) {
11712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 (arg1)->base_OnEraseControlPoints(*arg2);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 Py_INCREF(Py_None); resultobj = Py_None;
11722 return resultobj;
11723 fail:
11724 return NULL;
11725}
11726
11727
11728static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
11729 PyObject *resultobj;
11730 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11731 wxDC *arg2 = 0 ;
11732 bool arg3 = (bool) True ;
11733 PyObject * obj0 = 0 ;
11734 PyObject * obj1 = 0 ;
11735 PyObject * obj2 = 0 ;
11736 char *kwnames[] = {
11737 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11738 };
11739
11740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
11741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11742 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11743 if (arg2 == NULL) {
11744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11745 }
11746 if (obj2) {
83448d71 11747 {
8edf1c75 11748 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
44127b65
RD
11751 }
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 (arg1)->base_OnMoveLink(*arg2,arg3);
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 Py_INCREF(Py_None); resultobj = Py_None;
11760 return resultobj;
11761 fail:
11762 return NULL;
11763}
11764
11765
11766static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11769 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11770 bool arg3 ;
11771 double arg4 ;
11772 double arg5 ;
11773 int arg6 = (int) 0 ;
11774 int arg7 = (int) 0 ;
11775 PyObject * obj0 = 0 ;
11776 PyObject * obj1 = 0 ;
11777 PyObject * obj2 = 0 ;
8edf1c75
RD
11778 PyObject * obj3 = 0 ;
11779 PyObject * obj4 = 0 ;
11780 PyObject * obj5 = 0 ;
11781 PyObject * obj6 = 0 ;
44127b65
RD
11782 char *kwnames[] = {
11783 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11784 };
11785
8edf1c75 11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
11787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 11789 {
8edf1c75
RD
11790 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 }
11793 {
11794 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 {
11798 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
8edf1c75
RD
11801 if (obj5) {
11802 {
11803 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 }
11807 if (obj6) {
11808 {
11809 arg7 = (int) SWIG_PyObj_AsInt(obj6);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 }
44127b65
RD
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 Py_INCREF(Py_None); resultobj = Py_None;
11821 return resultobj;
11822 fail:
11823 return NULL;
11824}
11825
11826
11827static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11830 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11831 double arg3 ;
11832 double arg4 ;
11833 int arg5 = (int) 0 ;
11834 int arg6 = (int) 0 ;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
8edf1c75
RD
11837 PyObject * obj2 = 0 ;
11838 PyObject * obj3 = 0 ;
11839 PyObject * obj4 = 0 ;
11840 PyObject * obj5 = 0 ;
44127b65
RD
11841 char *kwnames[] = {
11842 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11843 };
11844
8edf1c75 11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
11846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11848 {
11849 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11850 if (PyErr_Occurred()) SWIG_fail;
11851 }
11852 {
11853 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 if (obj4) {
11857 {
11858 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 }
11862 if (obj5) {
11863 {
11864 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 }
44127b65
RD
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
11871
11872 wxPyEndAllowThreads(__tstate);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
11875 Py_INCREF(Py_None); resultobj = Py_None;
11876 return resultobj;
11877 fail:
11878 return NULL;
11879}
11880
11881
11882static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11885 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
11886 double arg3 ;
11887 double arg4 ;
11888 int arg5 = (int) 0 ;
11889 int arg6 = (int) 0 ;
11890 PyObject * obj0 = 0 ;
11891 PyObject * obj1 = 0 ;
8edf1c75
RD
11892 PyObject * obj2 = 0 ;
11893 PyObject * obj3 = 0 ;
11894 PyObject * obj4 = 0 ;
11895 PyObject * obj5 = 0 ;
44127b65
RD
11896 char *kwnames[] = {
11897 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11898 };
11899
8edf1c75 11900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
11901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11903 {
11904 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 {
11908 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 }
11911 if (obj4) {
11912 {
11913 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11914 if (PyErr_Occurred()) SWIG_fail;
11915 }
11916 }
11917 if (obj5) {
11918 {
11919 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 }
44127b65
RD
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 Py_INCREF(Py_None); resultobj = Py_None;
11931 return resultobj;
11932 fail:
11933 return NULL;
11934}
11935
11936
11937static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11940 double arg2 ;
11941 double arg3 ;
11942 PyObject * obj0 = 0 ;
8edf1c75
RD
11943 PyObject * obj1 = 0 ;
11944 PyObject * obj2 = 0 ;
44127b65
RD
11945 char *kwnames[] = {
11946 (char *) "self",(char *) "w",(char *) "h", NULL
11947 };
11948
8edf1c75 11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 11950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11951 {
11952 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 {
11956 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
44127b65
RD
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 (arg1)->base_OnBeginSize(arg2,arg3);
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 Py_INCREF(Py_None); resultobj = Py_None;
11967 return resultobj;
11968 fail:
11969 return NULL;
11970}
11971
11972
11973static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
11976 double arg2 ;
11977 double arg3 ;
11978 PyObject * obj0 = 0 ;
8edf1c75
RD
11979 PyObject * obj1 = 0 ;
11980 PyObject * obj2 = 0 ;
44127b65
RD
11981 char *kwnames[] = {
11982 (char *) "self",(char *) "w",(char *) "h", NULL
11983 };
11984
8edf1c75 11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 11986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyRectangleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11987 {
11988 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 {
11992 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
44127b65
RD
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 (arg1)->base_OnEndSize(arg2,arg3);
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 Py_INCREF(Py_None); resultobj = Py_None;
12003 return resultobj;
12004 fail:
12005 return NULL;
12006}
12007
12008
12009static PyObject * PyRectangleShape_swigregister(PyObject *self, PyObject *args) {
12010 PyObject *obj;
12011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12012 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
12013 Py_INCREF(obj);
12014 return Py_BuildValue((char *)"");
12015}
12016static PyObject *_wrap_new_PyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
12017 PyObject *resultobj;
12018 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
12019 wxPyShape *arg2 = (wxPyShape *) NULL ;
12020 double arg3 = (double) 0.0 ;
12021 double arg4 = (double) 0.0 ;
12022 double arg5 = (double) 0.0 ;
12023 int arg6 = (int) 0 ;
12024 wxPyControlPoint *result;
12025 PyObject * obj0 = 0 ;
12026 PyObject * obj1 = 0 ;
8edf1c75
RD
12027 PyObject * obj2 = 0 ;
12028 PyObject * obj3 = 0 ;
12029 PyObject * obj4 = 0 ;
12030 PyObject * obj5 = 0 ;
44127b65
RD
12031 char *kwnames[] = {
12032 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12033 };
12034
8edf1c75 12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
12036 if (obj0) {
12037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12038 }
12039 if (obj1) {
12040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12041 }
8edf1c75
RD
12042 if (obj2) {
12043 {
12044 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 }
12048 if (obj3) {
12049 {
12050 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 }
12054 if (obj4) {
12055 {
12056 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 }
12060 if (obj5) {
12061 {
12062 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 }
44127b65
RD
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
12069
12070 wxPyEndAllowThreads(__tstate);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControlPoint, 1);
12074 return resultobj;
12075 fail:
12076 return NULL;
12077}
12078
12079
12080static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12081 PyObject *resultobj;
12082 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12083 PyObject *arg2 = (PyObject *) 0 ;
12084 PyObject *arg3 = (PyObject *) 0 ;
12085 PyObject * obj0 = 0 ;
12086 PyObject * obj1 = 0 ;
12087 PyObject * obj2 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self",(char *) "self",(char *) "_class", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12094 arg2 = obj1;
12095 arg3 = obj2;
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 (arg1)->_setCallbackInfo(arg2,arg3);
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 Py_INCREF(Py_None); resultobj = Py_None;
12104 return resultobj;
12105 fail:
12106 return NULL;
12107}
12108
12109
12110static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12113 double arg2 ;
12114 PyObject * obj0 = 0 ;
8edf1c75 12115 PyObject * obj1 = 0 ;
44127b65
RD
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "radius", NULL
12118 };
12119
8edf1c75 12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
44127b65 12121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12122 {
12123 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
44127b65
RD
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 (arg1)->SetCornerRadius(arg2);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 Py_INCREF(Py_None); resultobj = Py_None;
12134 return resultobj;
12135 fail:
12136 return NULL;
12137}
12138
12139
12140static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12143 PyObject * obj0 = 0 ;
12144 char *kwnames[] = {
12145 (char *) "self", NULL
12146 };
12147
12148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
12149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 (arg1)->base_OnDelete();
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 Py_INCREF(Py_None); resultobj = Py_None;
12158 return resultobj;
12159 fail:
12160 return NULL;
12161}
12162
12163
12164static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
12165 PyObject *resultobj;
12166 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12167 wxDC *arg2 = 0 ;
12168 PyObject * obj0 = 0 ;
12169 PyObject * obj1 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self",(char *) "dc", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
12175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12177 if (arg2 == NULL) {
12178 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12179 }
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 (arg1)->base_OnDraw(*arg2);
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 Py_INCREF(Py_None); resultobj = Py_None;
12188 return resultobj;
12189 fail:
12190 return NULL;
12191}
12192
12193
12194static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj;
12196 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12197 wxDC *arg2 = 0 ;
12198 PyObject * obj0 = 0 ;
12199 PyObject * obj1 = 0 ;
12200 char *kwnames[] = {
12201 (char *) "self",(char *) "dc", NULL
12202 };
12203
12204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
12205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12207 if (arg2 == NULL) {
12208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12209 }
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 (arg1)->base_OnDrawContents(*arg2);
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
12217 Py_INCREF(Py_None); resultobj = Py_None;
12218 return resultobj;
12219 fail:
12220 return NULL;
12221}
12222
12223
12224static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj;
12226 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12227 wxDC *arg2 = 0 ;
12228 bool arg3 = (bool) FALSE ;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj1 = 0 ;
12231 PyObject * obj2 = 0 ;
12232 char *kwnames[] = {
12233 (char *) "self",(char *) "dc",(char *) "erase", NULL
12234 };
12235
12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
12237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12239 if (arg2 == NULL) {
12240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12241 }
12242 if (obj2) {
83448d71 12243 {
8edf1c75 12244 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
44127b65
RD
12247 }
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 (arg1)->base_OnDrawBranches(*arg2,arg3);
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 Py_INCREF(Py_None); resultobj = Py_None;
12256 return resultobj;
12257 fail:
12258 return NULL;
12259}
12260
12261
12262static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj;
12264 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12265 wxDC *arg2 = 0 ;
12266 PyObject * obj0 = 0 ;
12267 PyObject * obj1 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self",(char *) "dc", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
12273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12275 if (arg2 == NULL) {
12276 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12277 }
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 (arg1)->base_OnMoveLinks(*arg2);
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 Py_INCREF(Py_None); resultobj = Py_None;
12286 return resultobj;
12287 fail:
12288 return NULL;
12289}
12290
12291
12292static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj;
12294 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12295 wxDC *arg2 = 0 ;
12296 PyObject * obj0 = 0 ;
12297 PyObject * obj1 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self",(char *) "dc", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
12303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12305 if (arg2 == NULL) {
12306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12307 }
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 (arg1)->base_OnErase(*arg2);
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 Py_INCREF(Py_None); resultobj = Py_None;
12316 return resultobj;
12317 fail:
12318 return NULL;
12319}
12320
12321
12322static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12325 wxDC *arg2 = 0 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "dc", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12335 if (arg2 == NULL) {
12336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12337 }
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 (arg1)->base_OnEraseContents(*arg2);
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
12345 Py_INCREF(Py_None); resultobj = Py_None;
12346 return resultobj;
12347 fail:
12348 return NULL;
12349}
12350
12351
12352static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12355 wxDC *arg2 = 0 ;
12356 PyObject * obj0 = 0 ;
12357 PyObject * obj1 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self",(char *) "dc", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
12363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12365 if (arg2 == NULL) {
12366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12367 }
12368 {
12369 PyThreadState* __tstate = wxPyBeginAllowThreads();
12370 (arg1)->base_OnHighlight(*arg2);
12371
12372 wxPyEndAllowThreads(__tstate);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 }
12375 Py_INCREF(Py_None); resultobj = Py_None;
12376 return resultobj;
12377 fail:
12378 return NULL;
12379}
12380
12381
12382static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12383 PyObject *resultobj;
12384 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12385 double arg2 ;
12386 double arg3 ;
12387 int arg4 = (int) 0 ;
12388 int arg5 = (int) 0 ;
12389 PyObject * obj0 = 0 ;
8edf1c75
RD
12390 PyObject * obj1 = 0 ;
12391 PyObject * obj2 = 0 ;
12392 PyObject * obj3 = 0 ;
12393 PyObject * obj4 = 0 ;
44127b65
RD
12394 char *kwnames[] = {
12395 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12396 };
12397
8edf1c75 12398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 12399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12400 {
12401 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 {
12405 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 if (obj3) {
12409 {
12410 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 }
12414 if (obj4) {
12415 {
12416 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12417 if (PyErr_Occurred()) SWIG_fail;
12418 }
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
12434static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
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;
44127b65 12451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12452 {
12453 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 {
12457 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 if (obj3) {
12461 {
12462 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 }
12466 if (obj4) {
12467 {
12468 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 }
44127b65
RD
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12475
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 Py_INCREF(Py_None); resultobj = Py_None;
12480 return resultobj;
12481 fail:
12482 return NULL;
12483}
12484
12485
12486static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj;
12488 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12489 double arg2 ;
12490 double arg3 ;
12491 int arg4 = (int) 0 ;
12492 int arg5 = (int) 0 ;
12493 PyObject * obj0 = 0 ;
8edf1c75
RD
12494 PyObject * obj1 = 0 ;
12495 PyObject * obj2 = 0 ;
12496 PyObject * obj3 = 0 ;
12497 PyObject * obj4 = 0 ;
44127b65
RD
12498 char *kwnames[] = {
12499 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12500 };
12501
8edf1c75 12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 12503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12504 {
12505 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 {
12509 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12510 if (PyErr_Occurred()) SWIG_fail;
12511 }
12512 if (obj3) {
12513 {
12514 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 }
12518 if (obj4) {
12519 {
12520 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 }
44127b65
RD
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
12527
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 Py_INCREF(Py_None); resultobj = Py_None;
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
12538static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12539 PyObject *resultobj;
12540 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12541 double arg2 ;
12542 double arg3 ;
12543 PyObject * obj0 = 0 ;
8edf1c75
RD
12544 PyObject * obj1 = 0 ;
12545 PyObject * obj2 = 0 ;
44127b65
RD
12546 char *kwnames[] = {
12547 (char *) "self",(char *) "x",(char *) "y", NULL
12548 };
12549
8edf1c75 12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 12551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12552 {
12553 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 {
12557 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
44127b65
RD
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 (arg1)->base_OnSize(arg2,arg3);
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 Py_INCREF(Py_None); resultobj = Py_None;
12568 return resultobj;
12569 fail:
12570 return NULL;
12571}
12572
12573
12574static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj;
12576 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12577 wxDC *arg2 = 0 ;
12578 double arg3 ;
12579 double arg4 ;
12580 double arg5 ;
12581 double arg6 ;
12582 bool arg7 = (bool) True ;
12583 bool result;
12584 PyObject * obj0 = 0 ;
12585 PyObject * obj1 = 0 ;
8edf1c75
RD
12586 PyObject * obj2 = 0 ;
12587 PyObject * obj3 = 0 ;
12588 PyObject * obj4 = 0 ;
12589 PyObject * obj5 = 0 ;
44127b65
RD
12590 PyObject * obj6 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12593 };
12594
8edf1c75 12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
12596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12598 if (arg2 == NULL) {
12599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12600 }
8edf1c75
RD
12601 {
12602 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 {
12606 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 }
12609 {
12610 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 {
12614 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
44127b65 12617 if (obj6) {
83448d71 12618 {
8edf1c75 12619 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
12620 if (PyErr_Occurred()) SWIG_fail;
12621 }
44127b65
RD
12622 }
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
12626
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
8edf1c75 12630 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
12631 return resultobj;
12632 fail:
12633 return NULL;
12634}
12635
12636
12637static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
12638 PyObject *resultobj;
12639 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12640 wxDC *arg2 = 0 ;
12641 double arg3 ;
12642 double arg4 ;
12643 double arg5 ;
12644 double arg6 ;
12645 bool arg7 = (bool) True ;
12646 PyObject * obj0 = 0 ;
12647 PyObject * obj1 = 0 ;
8edf1c75
RD
12648 PyObject * obj2 = 0 ;
12649 PyObject * obj3 = 0 ;
12650 PyObject * obj4 = 0 ;
12651 PyObject * obj5 = 0 ;
44127b65
RD
12652 PyObject * obj6 = 0 ;
12653 char *kwnames[] = {
12654 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12655 };
12656
8edf1c75 12657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
12658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12660 if (arg2 == NULL) {
12661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12662 }
8edf1c75
RD
12663 {
12664 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 {
12668 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 {
12672 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 {
12676 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
44127b65 12679 if (obj6) {
83448d71 12680 {
8edf1c75 12681 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
44127b65
RD
12684 }
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 Py_INCREF(Py_None); resultobj = Py_None;
12693 return resultobj;
12694 fail:
12695 return NULL;
12696}
12697
12698
12699static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj;
12701 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12702 bool arg2 ;
12703 double arg3 ;
12704 double arg4 ;
12705 int arg5 = (int) 0 ;
12706 int arg6 = (int) 0 ;
12707 PyObject * obj0 = 0 ;
12708 PyObject * obj1 = 0 ;
8edf1c75
RD
12709 PyObject * obj2 = 0 ;
12710 PyObject * obj3 = 0 ;
12711 PyObject * obj4 = 0 ;
12712 PyObject * obj5 = 0 ;
44127b65
RD
12713 char *kwnames[] = {
12714 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12715 };
12716
8edf1c75 12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 12718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 12719 {
8edf1c75
RD
12720 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 {
12724 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
83448d71
RD
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
8edf1c75
RD
12727 {
12728 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 if (obj4) {
12732 {
12733 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12734 if (PyErr_Occurred()) SWIG_fail;
12735 }
12736 }
12737 if (obj5) {
12738 {
12739 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 }
44127b65
RD
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
12746
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 Py_INCREF(Py_None); resultobj = Py_None;
12751 return resultobj;
12752 fail:
12753 return NULL;
12754}
12755
12756
12757static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj;
12759 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12760 double arg2 ;
12761 double arg3 ;
12762 int arg4 = (int) 0 ;
12763 int arg5 = (int) 0 ;
12764 PyObject * obj0 = 0 ;
8edf1c75
RD
12765 PyObject * obj1 = 0 ;
12766 PyObject * obj2 = 0 ;
12767 PyObject * obj3 = 0 ;
12768 PyObject * obj4 = 0 ;
44127b65
RD
12769 char *kwnames[] = {
12770 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12771 };
12772
8edf1c75 12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 12774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12775 {
12776 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 {
12780 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 if (obj3) {
12784 {
12785 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 }
12789 if (obj4) {
12790 {
12791 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 }
44127b65
RD
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
12797 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
12798
12799 wxPyEndAllowThreads(__tstate);
12800 if (PyErr_Occurred()) SWIG_fail;
12801 }
12802 Py_INCREF(Py_None); resultobj = Py_None;
12803 return resultobj;
12804 fail:
12805 return NULL;
12806}
12807
12808
12809static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj;
12811 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12812 double arg2 ;
12813 double arg3 ;
12814 int arg4 = (int) 0 ;
12815 int arg5 = (int) 0 ;
12816 PyObject * obj0 = 0 ;
8edf1c75
RD
12817 PyObject * obj1 = 0 ;
12818 PyObject * obj2 = 0 ;
12819 PyObject * obj3 = 0 ;
12820 PyObject * obj4 = 0 ;
44127b65
RD
12821 char *kwnames[] = {
12822 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12823 };
12824
8edf1c75 12825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 12826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12827 {
12828 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 {
12832 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
12835 if (obj3) {
12836 {
12837 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 }
12841 if (obj4) {
12842 {
12843 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 }
44127b65
RD
12847 {
12848 PyThreadState* __tstate = wxPyBeginAllowThreads();
12849 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
12850
12851 wxPyEndAllowThreads(__tstate);
12852 if (PyErr_Occurred()) SWIG_fail;
12853 }
12854 Py_INCREF(Py_None); resultobj = Py_None;
12855 return resultobj;
12856 fail:
12857 return NULL;
12858}
12859
12860
12861static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj;
12863 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12864 bool arg2 ;
12865 double arg3 ;
12866 double arg4 ;
12867 int arg5 = (int) 0 ;
12868 int arg6 = (int) 0 ;
12869 PyObject * obj0 = 0 ;
12870 PyObject * obj1 = 0 ;
8edf1c75
RD
12871 PyObject * obj2 = 0 ;
12872 PyObject * obj3 = 0 ;
12873 PyObject * obj4 = 0 ;
12874 PyObject * obj5 = 0 ;
44127b65
RD
12875 char *kwnames[] = {
12876 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12877 };
12878
8edf1c75 12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 12880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 12881 {
8edf1c75
RD
12882 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 {
12886 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 {
12890 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
8edf1c75
RD
12893 if (obj4) {
12894 {
12895 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 }
12899 if (obj5) {
12900 {
12901 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12902 if (PyErr_Occurred()) SWIG_fail;
12903 }
12904 }
44127b65
RD
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
12908
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 Py_INCREF(Py_None); resultobj = Py_None;
12913 return resultobj;
12914 fail:
12915 return NULL;
12916}
12917
12918
12919static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj;
12921 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12922 double arg2 ;
12923 double arg3 ;
12924 int arg4 = (int) 0 ;
12925 int arg5 = (int) 0 ;
12926 PyObject * obj0 = 0 ;
8edf1c75
RD
12927 PyObject * obj1 = 0 ;
12928 PyObject * obj2 = 0 ;
12929 PyObject * obj3 = 0 ;
12930 PyObject * obj4 = 0 ;
44127b65
RD
12931 char *kwnames[] = {
12932 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12933 };
12934
8edf1c75 12935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 12936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12937 {
12938 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 {
12942 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
12945 if (obj3) {
12946 {
12947 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 }
12951 if (obj4) {
12952 {
12953 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 }
44127b65
RD
12957 {
12958 PyThreadState* __tstate = wxPyBeginAllowThreads();
12959 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
12960
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 Py_INCREF(Py_None); resultobj = Py_None;
12965 return resultobj;
12966 fail:
12967 return NULL;
12968}
12969
12970
12971static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12972 PyObject *resultobj;
12973 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
12974 double arg2 ;
12975 double arg3 ;
12976 int arg4 = (int) 0 ;
12977 int arg5 = (int) 0 ;
12978 PyObject * obj0 = 0 ;
8edf1c75
RD
12979 PyObject * obj1 = 0 ;
12980 PyObject * obj2 = 0 ;
12981 PyObject * obj3 = 0 ;
12982 PyObject * obj4 = 0 ;
44127b65
RD
12983 char *kwnames[] = {
12984 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12985 };
12986
8edf1c75 12987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 12988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12989 {
12990 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
12993 {
12994 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 if (obj3) {
12998 {
12999 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 }
13003 if (obj4) {
13004 {
13005 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 }
44127b65
RD
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 Py_INCREF(Py_None); resultobj = Py_None;
13017 return resultobj;
13018 fail:
13019 return NULL;
13020}
13021
13022
13023static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj;
13025 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13026 wxDC *arg2 = 0 ;
13027 double arg3 ;
13028 double arg4 ;
13029 double arg5 ;
13030 double arg6 ;
13031 PyObject * obj0 = 0 ;
13032 PyObject * obj1 = 0 ;
8edf1c75
RD
13033 PyObject * obj2 = 0 ;
13034 PyObject * obj3 = 0 ;
13035 PyObject * obj4 = 0 ;
13036 PyObject * obj5 = 0 ;
44127b65
RD
13037 char *kwnames[] = {
13038 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13039 };
13040
8edf1c75 13041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
13042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13044 if (arg2 == NULL) {
13045 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13046 }
8edf1c75
RD
13047 {
13048 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
13051 {
13052 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 {
13056 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 {
13060 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
44127b65
RD
13063 {
13064 PyThreadState* __tstate = wxPyBeginAllowThreads();
13065 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
13066
13067 wxPyEndAllowThreads(__tstate);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
13070 Py_INCREF(Py_None); resultobj = Py_None;
13071 return resultobj;
13072 fail:
13073 return NULL;
13074}
13075
13076
13077static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13078 PyObject *resultobj;
13079 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13080 wxDC *arg2 = 0 ;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self",(char *) "dc", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
13088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13090 if (arg2 == NULL) {
13091 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13092 }
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 (arg1)->base_OnDrawControlPoints(*arg2);
13096
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 Py_INCREF(Py_None); resultobj = Py_None;
13101 return resultobj;
13102 fail:
13103 return NULL;
13104}
13105
13106
13107static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13110 wxDC *arg2 = 0 ;
13111 PyObject * obj0 = 0 ;
13112 PyObject * obj1 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self",(char *) "dc", NULL
13115 };
13116
13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
13118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13120 if (arg2 == NULL) {
13121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13122 }
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 (arg1)->base_OnEraseControlPoints(*arg2);
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 Py_INCREF(Py_None); resultobj = Py_None;
13131 return resultobj;
13132 fail:
13133 return NULL;
13134}
13135
13136
13137static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj;
13139 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13140 wxDC *arg2 = 0 ;
13141 bool arg3 = (bool) True ;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 PyObject * obj2 = 0 ;
13145 char *kwnames[] = {
13146 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13147 };
13148
13149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
13150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13152 if (arg2 == NULL) {
13153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13154 }
13155 if (obj2) {
83448d71 13156 {
8edf1c75 13157 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
44127b65
RD
13160 }
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 (arg1)->base_OnMoveLink(*arg2,arg3);
13164
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 Py_INCREF(Py_None); resultobj = Py_None;
13169 return resultobj;
13170 fail:
13171 return NULL;
13172}
13173
13174
13175static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13178 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13179 bool arg3 ;
13180 double arg4 ;
13181 double arg5 ;
13182 int arg6 = (int) 0 ;
13183 int arg7 = (int) 0 ;
13184 PyObject * obj0 = 0 ;
13185 PyObject * obj1 = 0 ;
13186 PyObject * obj2 = 0 ;
8edf1c75
RD
13187 PyObject * obj3 = 0 ;
13188 PyObject * obj4 = 0 ;
13189 PyObject * obj5 = 0 ;
13190 PyObject * obj6 = 0 ;
44127b65
RD
13191 char *kwnames[] = {
13192 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13193 };
13194
8edf1c75 13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
13196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 13198 {
8edf1c75
RD
13199 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 }
13202 {
13203 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
8edf1c75
RD
13210 if (obj5) {
13211 {
13212 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 }
13216 if (obj6) {
13217 {
13218 arg7 = (int) SWIG_PyObj_AsInt(obj6);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 }
44127b65
RD
13222 {
13223 PyThreadState* __tstate = wxPyBeginAllowThreads();
13224 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13225
13226 wxPyEndAllowThreads(__tstate);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 Py_INCREF(Py_None); resultobj = Py_None;
13230 return resultobj;
13231 fail:
13232 return NULL;
13233}
13234
13235
13236static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj;
13238 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13239 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13240 double arg3 ;
13241 double arg4 ;
13242 int arg5 = (int) 0 ;
13243 int arg6 = (int) 0 ;
13244 PyObject * obj0 = 0 ;
13245 PyObject * obj1 = 0 ;
8edf1c75
RD
13246 PyObject * obj2 = 0 ;
13247 PyObject * obj3 = 0 ;
13248 PyObject * obj4 = 0 ;
13249 PyObject * obj5 = 0 ;
44127b65
RD
13250 char *kwnames[] = {
13251 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13252 };
13253
8edf1c75 13254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
13255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13256 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13257 {
13258 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 {
13262 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
13263 if (PyErr_Occurred()) SWIG_fail;
13264 }
13265 if (obj4) {
13266 {
13267 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 }
13271 if (obj5) {
13272 {
13273 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 }
44127b65
RD
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 Py_INCREF(Py_None); resultobj = Py_None;
13285 return resultobj;
13286 fail:
13287 return NULL;
13288}
13289
13290
13291static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13294 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13295 double arg3 ;
13296 double arg4 ;
13297 int arg5 = (int) 0 ;
13298 int arg6 = (int) 0 ;
13299 PyObject * obj0 = 0 ;
13300 PyObject * obj1 = 0 ;
8edf1c75
RD
13301 PyObject * obj2 = 0 ;
13302 PyObject * obj3 = 0 ;
13303 PyObject * obj4 = 0 ;
13304 PyObject * obj5 = 0 ;
44127b65
RD
13305 char *kwnames[] = {
13306 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13307 };
13308
8edf1c75 13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
13310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13312 {
13313 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 {
13317 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 if (obj4) {
13321 {
13322 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
13325 }
13326 if (obj5) {
13327 {
13328 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 }
44127b65
RD
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 Py_INCREF(Py_None); resultobj = Py_None;
13340 return resultobj;
13341 fail:
13342 return NULL;
13343}
13344
13345
13346static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13349 double arg2 ;
13350 double arg3 ;
13351 PyObject * obj0 = 0 ;
8edf1c75
RD
13352 PyObject * obj1 = 0 ;
13353 PyObject * obj2 = 0 ;
44127b65
RD
13354 char *kwnames[] = {
13355 (char *) "self",(char *) "w",(char *) "h", NULL
13356 };
13357
8edf1c75 13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 13359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13360 {
13361 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 {
13365 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
44127b65
RD
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->base_OnBeginSize(arg2,arg3);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 Py_INCREF(Py_None); resultobj = Py_None;
13376 return resultobj;
13377 fail:
13378 return NULL;
13379}
13380
13381
13382static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
13385 double arg2 ;
13386 double arg3 ;
13387 PyObject * obj0 = 0 ;
8edf1c75
RD
13388 PyObject * obj1 = 0 ;
13389 PyObject * obj2 = 0 ;
44127b65
RD
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "w",(char *) "h", NULL
13392 };
13393
8edf1c75 13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13396 {
13397 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 {
13401 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
44127b65
RD
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 (arg1)->base_OnEndSize(arg2,arg3);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 Py_INCREF(Py_None); resultobj = Py_None;
13412 return resultobj;
13413 fail:
13414 return NULL;
13415}
13416
13417
13418static PyObject * PyControlPoint_swigregister(PyObject *self, PyObject *args) {
13419 PyObject *obj;
13420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13421 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
13422 Py_INCREF(obj);
13423 return Py_BuildValue((char *)"");
13424}
13425static PyObject *_wrap_new_PyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxPyBitmapShape *result;
13428 char *kwnames[] = {
13429 NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 result = (wxPyBitmapShape *)new wxPyBitmapShape();
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapShape, 1);
13441 return resultobj;
13442 fail:
13443 return NULL;
13444}
13445
13446
13447static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj;
13449 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13450 PyObject *arg2 = (PyObject *) 0 ;
13451 PyObject *arg3 = (PyObject *) 0 ;
13452 PyObject * obj0 = 0 ;
13453 PyObject * obj1 = 0 ;
13454 PyObject * obj2 = 0 ;
13455 char *kwnames[] = {
13456 (char *) "self",(char *) "self",(char *) "_class", NULL
13457 };
13458
13459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13461 arg2 = obj1;
13462 arg3 = obj2;
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 (arg1)->_setCallbackInfo(arg2,arg3);
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 Py_INCREF(Py_None); resultobj = Py_None;
13471 return resultobj;
13472 fail:
13473 return NULL;
13474}
13475
13476
13477static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13478 PyObject *resultobj;
13479 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13480 wxBitmap *result;
13481 PyObject * obj0 = 0 ;
13482 char *kwnames[] = {
13483 (char *) "self", NULL
13484 };
13485
13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
13487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 {
13491 wxBitmap &_result_ref = (arg1)->GetBitmap();
13492 result = (wxBitmap *) &_result_ref;
13493 }
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13499 return resultobj;
13500 fail:
13501 return NULL;
13502}
13503
13504
13505static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13508 wxString result;
13509 PyObject * obj0 = 0 ;
13510 char *kwnames[] = {
13511 (char *) "self", NULL
13512 };
13513
13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
13515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (arg1)->GetFilename();
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524#if wxUSE_UNICODE
13525 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13526#else
13527 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13528#endif
13529 }
13530 return resultobj;
13531 fail:
13532 return NULL;
13533}
13534
13535
13536static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj;
13538 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13539 wxBitmap *arg2 = 0 ;
13540 PyObject * obj0 = 0 ;
13541 PyObject * obj1 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self",(char *) "bitmap", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
13547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13549 if (arg2 == NULL) {
13550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13551 }
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 (arg1)->SetBitmap((wxBitmap const &)*arg2);
13555
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 Py_INCREF(Py_None); resultobj = Py_None;
13560 return resultobj;
13561 fail:
13562 return NULL;
13563}
13564
13565
13566static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13569 wxString *arg2 = 0 ;
13570 bool temp2 = False ;
13571 PyObject * obj0 = 0 ;
13572 PyObject * obj1 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self",(char *) "filename", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
13578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13579 {
13580 arg2 = wxString_in_helper(obj1);
13581 if (arg2 == NULL) SWIG_fail;
13582 temp2 = True;
13583 }
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->SetFilename((wxString const &)*arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 Py_INCREF(Py_None); resultobj = Py_None;
13592 {
13593 if (temp2)
13594 delete arg2;
13595 }
13596 return resultobj;
13597 fail:
13598 {
13599 if (temp2)
13600 delete arg2;
13601 }
13602 return NULL;
13603}
13604
13605
13606static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
13615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 (arg1)->base_OnDelete();
13619
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 Py_INCREF(Py_None); resultobj = Py_None;
13624 return resultobj;
13625 fail:
13626 return NULL;
13627}
13628
13629
13630static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj;
13632 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13633 wxDC *arg2 = 0 ;
13634 PyObject * obj0 = 0 ;
13635 PyObject * obj1 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self",(char *) "dc", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
13641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13643 if (arg2 == NULL) {
13644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 (arg1)->base_OnDraw(*arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 Py_INCREF(Py_None); resultobj = Py_None;
13654 return resultobj;
13655 fail:
13656 return NULL;
13657}
13658
13659
13660static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13663 wxDC *arg2 = 0 ;
13664 PyObject * obj0 = 0 ;
13665 PyObject * obj1 = 0 ;
13666 char *kwnames[] = {
13667 (char *) "self",(char *) "dc", NULL
13668 };
13669
13670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
13671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13673 if (arg2 == NULL) {
13674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13675 }
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 (arg1)->base_OnDrawContents(*arg2);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 Py_INCREF(Py_None); resultobj = Py_None;
13684 return resultobj;
13685 fail:
13686 return NULL;
13687}
13688
13689
13690static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
13691 PyObject *resultobj;
13692 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13693 wxDC *arg2 = 0 ;
13694 bool arg3 = (bool) FALSE ;
13695 PyObject * obj0 = 0 ;
13696 PyObject * obj1 = 0 ;
13697 PyObject * obj2 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self",(char *) "dc",(char *) "erase", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705 if (arg2 == NULL) {
13706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13707 }
13708 if (obj2) {
83448d71 13709 {
8edf1c75 13710 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
44127b65
RD
13713 }
13714 {
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 (arg1)->base_OnDrawBranches(*arg2,arg3);
13717
13718 wxPyEndAllowThreads(__tstate);
13719 if (PyErr_Occurred()) SWIG_fail;
13720 }
13721 Py_INCREF(Py_None); resultobj = Py_None;
13722 return resultobj;
13723 fail:
13724 return NULL;
13725}
13726
13727
13728static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
13729 PyObject *resultobj;
13730 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13731 wxDC *arg2 = 0 ;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self",(char *) "dc", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
13739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13741 if (arg2 == NULL) {
13742 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13743 }
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 (arg1)->base_OnMoveLinks(*arg2);
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 Py_INCREF(Py_None); resultobj = Py_None;
13752 return resultobj;
13753 fail:
13754 return NULL;
13755}
13756
13757
13758static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
13759 PyObject *resultobj;
13760 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13761 wxDC *arg2 = 0 ;
13762 PyObject * obj0 = 0 ;
13763 PyObject * obj1 = 0 ;
13764 char *kwnames[] = {
13765 (char *) "self",(char *) "dc", NULL
13766 };
13767
13768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
13769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13771 if (arg2 == NULL) {
13772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13773 }
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 (arg1)->base_OnErase(*arg2);
13777
13778 wxPyEndAllowThreads(__tstate);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 Py_INCREF(Py_None); resultobj = Py_None;
13782 return resultobj;
13783 fail:
13784 return NULL;
13785}
13786
13787
13788static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
13789 PyObject *resultobj;
13790 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13791 wxDC *arg2 = 0 ;
13792 PyObject * obj0 = 0 ;
13793 PyObject * obj1 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "self",(char *) "dc", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
13799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13801 if (arg2 == NULL) {
13802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13803 }
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 (arg1)->base_OnEraseContents(*arg2);
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 Py_INCREF(Py_None); resultobj = Py_None;
13812 return resultobj;
13813 fail:
13814 return NULL;
13815}
13816
13817
13818static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj;
13820 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13821 wxDC *arg2 = 0 ;
13822 PyObject * obj0 = 0 ;
13823 PyObject * obj1 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self",(char *) "dc", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
13829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13830 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13831 if (arg2 == NULL) {
13832 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13833 }
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 (arg1)->base_OnHighlight(*arg2);
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 Py_INCREF(Py_None); resultobj = Py_None;
13842 return resultobj;
13843 fail:
13844 return NULL;
13845}
13846
13847
13848static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13851 double arg2 ;
13852 double arg3 ;
13853 int arg4 = (int) 0 ;
13854 int arg5 = (int) 0 ;
13855 PyObject * obj0 = 0 ;
8edf1c75
RD
13856 PyObject * obj1 = 0 ;
13857 PyObject * obj2 = 0 ;
13858 PyObject * obj3 = 0 ;
13859 PyObject * obj4 = 0 ;
44127b65
RD
13860 char *kwnames[] = {
13861 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13862 };
13863
8edf1c75 13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 13865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13866 {
13867 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 {
13871 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 if (obj3) {
13875 {
13876 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 }
13880 if (obj4) {
13881 {
13882 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13883 if (PyErr_Occurred()) SWIG_fail;
13884 }
13885 }
44127b65
RD
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 Py_INCREF(Py_None); resultobj = Py_None;
13894 return resultobj;
13895 fail:
13896 return NULL;
13897}
13898
13899
13900static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13903 double arg2 ;
13904 double arg3 ;
13905 int arg4 = (int) 0 ;
13906 int arg5 = (int) 0 ;
13907 PyObject * obj0 = 0 ;
8edf1c75
RD
13908 PyObject * obj1 = 0 ;
13909 PyObject * obj2 = 0 ;
13910 PyObject * obj3 = 0 ;
13911 PyObject * obj4 = 0 ;
44127b65
RD
13912 char *kwnames[] = {
13913 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13914 };
13915
8edf1c75 13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 13917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13918 {
13919 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 {
13923 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 if (obj3) {
13927 {
13928 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
13931 }
13932 if (obj4) {
13933 {
13934 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 }
44127b65
RD
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
13941
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 Py_INCREF(Py_None); resultobj = Py_None;
13946 return resultobj;
13947 fail:
13948 return NULL;
13949}
13950
13951
13952static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
13955 double arg2 ;
13956 double arg3 ;
13957 int arg4 = (int) 0 ;
13958 int arg5 = (int) 0 ;
13959 PyObject * obj0 = 0 ;
8edf1c75
RD
13960 PyObject * obj1 = 0 ;
13961 PyObject * obj2 = 0 ;
13962 PyObject * obj3 = 0 ;
13963 PyObject * obj4 = 0 ;
44127b65
RD
13964 char *kwnames[] = {
13965 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13966 };
13967
8edf1c75 13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 13969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13970 {
13971 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 {
13975 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 if (obj3) {
13979 {
13980 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 }
13984 if (obj4) {
13985 {
13986 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 }
44127b65
RD
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13993
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 Py_INCREF(Py_None); resultobj = Py_None;
13998 return resultobj;
13999 fail:
14000 return NULL;
14001}
14002
14003
14004static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj;
14006 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14007 double arg2 ;
14008 double arg3 ;
14009 PyObject * obj0 = 0 ;
8edf1c75
RD
14010 PyObject * obj1 = 0 ;
14011 PyObject * obj2 = 0 ;
44127b65
RD
14012 char *kwnames[] = {
14013 (char *) "self",(char *) "x",(char *) "y", NULL
14014 };
14015
8edf1c75 14016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 14017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14018 {
14019 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 {
14023 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
44127b65
RD
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 (arg1)->base_OnSize(arg2,arg3);
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 Py_INCREF(Py_None); resultobj = Py_None;
14034 return resultobj;
14035 fail:
14036 return NULL;
14037}
14038
14039
14040static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14043 wxDC *arg2 = 0 ;
14044 double arg3 ;
14045 double arg4 ;
14046 double arg5 ;
14047 double arg6 ;
14048 bool arg7 = (bool) True ;
14049 bool result;
14050 PyObject * obj0 = 0 ;
14051 PyObject * obj1 = 0 ;
8edf1c75
RD
14052 PyObject * obj2 = 0 ;
14053 PyObject * obj3 = 0 ;
14054 PyObject * obj4 = 0 ;
14055 PyObject * obj5 = 0 ;
44127b65
RD
14056 PyObject * obj6 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14059 };
14060
8edf1c75 14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
14062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14064 if (arg2 == NULL) {
14065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14066 }
8edf1c75
RD
14067 {
14068 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 {
14076 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 {
14080 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
44127b65 14083 if (obj6) {
83448d71 14084 {
8edf1c75 14085 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
44127b65
RD
14088 }
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
8edf1c75 14096 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
14097 return resultobj;
14098 fail:
14099 return NULL;
14100}
14101
14102
14103static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
14104 PyObject *resultobj;
14105 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14106 wxDC *arg2 = 0 ;
14107 double arg3 ;
14108 double arg4 ;
14109 double arg5 ;
14110 double arg6 ;
14111 bool arg7 = (bool) True ;
14112 PyObject * obj0 = 0 ;
14113 PyObject * obj1 = 0 ;
8edf1c75
RD
14114 PyObject * obj2 = 0 ;
14115 PyObject * obj3 = 0 ;
14116 PyObject * obj4 = 0 ;
14117 PyObject * obj5 = 0 ;
44127b65
RD
14118 PyObject * obj6 = 0 ;
14119 char *kwnames[] = {
14120 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14121 };
14122
8edf1c75 14123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
14124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14126 if (arg2 == NULL) {
14127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14128 }
8edf1c75
RD
14129 {
14130 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 {
14134 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 {
14138 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 {
14142 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
44127b65 14145 if (obj6) {
83448d71 14146 {
8edf1c75 14147 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
44127b65
RD
14150 }
14151 {
14152 PyThreadState* __tstate = wxPyBeginAllowThreads();
14153 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14154
14155 wxPyEndAllowThreads(__tstate);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
14158 Py_INCREF(Py_None); resultobj = Py_None;
14159 return resultobj;
14160 fail:
14161 return NULL;
14162}
14163
14164
14165static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14166 PyObject *resultobj;
14167 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14168 bool arg2 ;
14169 double arg3 ;
14170 double arg4 ;
14171 int arg5 = (int) 0 ;
14172 int arg6 = (int) 0 ;
14173 PyObject * obj0 = 0 ;
14174 PyObject * obj1 = 0 ;
8edf1c75
RD
14175 PyObject * obj2 = 0 ;
14176 PyObject * obj3 = 0 ;
14177 PyObject * obj4 = 0 ;
14178 PyObject * obj5 = 0 ;
44127b65
RD
14179 char *kwnames[] = {
14180 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14181 };
14182
8edf1c75 14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 14184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 14185 {
8edf1c75
RD
14186 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 {
14190 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 {
14194 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
8edf1c75
RD
14197 if (obj4) {
14198 {
14199 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 }
14203 if (obj5) {
14204 {
14205 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 }
44127b65
RD
14209 {
14210 PyThreadState* __tstate = wxPyBeginAllowThreads();
14211 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14212
14213 wxPyEndAllowThreads(__tstate);
14214 if (PyErr_Occurred()) SWIG_fail;
14215 }
14216 Py_INCREF(Py_None); resultobj = Py_None;
14217 return resultobj;
14218 fail:
14219 return NULL;
14220}
14221
14222
14223static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj;
14225 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14226 double arg2 ;
14227 double arg3 ;
14228 int arg4 = (int) 0 ;
14229 int arg5 = (int) 0 ;
14230 PyObject * obj0 = 0 ;
8edf1c75
RD
14231 PyObject * obj1 = 0 ;
14232 PyObject * obj2 = 0 ;
14233 PyObject * obj3 = 0 ;
14234 PyObject * obj4 = 0 ;
44127b65
RD
14235 char *kwnames[] = {
14236 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14237 };
14238
8edf1c75 14239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 14240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14241 {
14242 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 {
14246 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 if (obj3) {
14250 {
14251 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 }
14255 if (obj4) {
14256 {
14257 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14258 if (PyErr_Occurred()) SWIG_fail;
14259 }
14260 }
44127b65
RD
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 Py_INCREF(Py_None); resultobj = Py_None;
14269 return resultobj;
14270 fail:
14271 return NULL;
14272}
14273
14274
14275static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14278 double arg2 ;
14279 double arg3 ;
14280 int arg4 = (int) 0 ;
14281 int arg5 = (int) 0 ;
14282 PyObject * obj0 = 0 ;
8edf1c75
RD
14283 PyObject * obj1 = 0 ;
14284 PyObject * obj2 = 0 ;
14285 PyObject * obj3 = 0 ;
14286 PyObject * obj4 = 0 ;
44127b65
RD
14287 char *kwnames[] = {
14288 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14289 };
14290
8edf1c75 14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 14292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14293 {
14294 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 {
14298 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 if (obj3) {
14302 {
14303 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 }
14307 if (obj4) {
14308 {
14309 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 }
44127b65
RD
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14316
14317 wxPyEndAllowThreads(__tstate);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 }
14320 Py_INCREF(Py_None); resultobj = Py_None;
14321 return resultobj;
14322 fail:
14323 return NULL;
14324}
14325
14326
14327static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj;
14329 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14330 bool arg2 ;
14331 double arg3 ;
14332 double arg4 ;
14333 int arg5 = (int) 0 ;
14334 int arg6 = (int) 0 ;
14335 PyObject * obj0 = 0 ;
14336 PyObject * obj1 = 0 ;
8edf1c75
RD
14337 PyObject * obj2 = 0 ;
14338 PyObject * obj3 = 0 ;
14339 PyObject * obj4 = 0 ;
14340 PyObject * obj5 = 0 ;
44127b65
RD
14341 char *kwnames[] = {
14342 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14343 };
14344
8edf1c75 14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 14346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 14347 {
8edf1c75
RD
14348 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 {
14352 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 {
14356 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
8edf1c75
RD
14359 if (obj4) {
14360 {
14361 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 }
14365 if (obj5) {
14366 {
14367 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 }
44127b65
RD
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14374
14375 wxPyEndAllowThreads(__tstate);
14376 if (PyErr_Occurred()) SWIG_fail;
14377 }
14378 Py_INCREF(Py_None); resultobj = Py_None;
14379 return resultobj;
14380 fail:
14381 return NULL;
14382}
14383
14384
14385static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14386 PyObject *resultobj;
14387 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14388 double arg2 ;
14389 double arg3 ;
14390 int arg4 = (int) 0 ;
14391 int arg5 = (int) 0 ;
14392 PyObject * obj0 = 0 ;
8edf1c75
RD
14393 PyObject * obj1 = 0 ;
14394 PyObject * obj2 = 0 ;
14395 PyObject * obj3 = 0 ;
14396 PyObject * obj4 = 0 ;
44127b65
RD
14397 char *kwnames[] = {
14398 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14399 };
14400
8edf1c75 14401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 14402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14403 {
14404 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 {
14408 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 if (obj3) {
14412 {
14413 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 }
14417 if (obj4) {
14418 {
14419 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 }
44127b65
RD
14423 {
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14426
14427 wxPyEndAllowThreads(__tstate);
14428 if (PyErr_Occurred()) SWIG_fail;
14429 }
14430 Py_INCREF(Py_None); resultobj = Py_None;
14431 return resultobj;
14432 fail:
14433 return NULL;
14434}
14435
14436
14437static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj;
14439 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14440 double arg2 ;
14441 double arg3 ;
14442 int arg4 = (int) 0 ;
14443 int arg5 = (int) 0 ;
14444 PyObject * obj0 = 0 ;
8edf1c75
RD
14445 PyObject * obj1 = 0 ;
14446 PyObject * obj2 = 0 ;
14447 PyObject * obj3 = 0 ;
14448 PyObject * obj4 = 0 ;
44127b65
RD
14449 char *kwnames[] = {
14450 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14451 };
14452
8edf1c75 14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 14454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14455 {
14456 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 if (obj3) {
14464 {
14465 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 }
14469 if (obj4) {
14470 {
14471 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 }
44127b65
RD
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 Py_INCREF(Py_None); resultobj = Py_None;
14483 return resultobj;
14484 fail:
14485 return NULL;
14486}
14487
14488
14489static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14492 wxDC *arg2 = 0 ;
14493 double arg3 ;
14494 double arg4 ;
14495 double arg5 ;
14496 double arg6 ;
14497 PyObject * obj0 = 0 ;
14498 PyObject * obj1 = 0 ;
8edf1c75
RD
14499 PyObject * obj2 = 0 ;
14500 PyObject * obj3 = 0 ;
14501 PyObject * obj4 = 0 ;
14502 PyObject * obj5 = 0 ;
44127b65
RD
14503 char *kwnames[] = {
14504 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14505 };
14506
8edf1c75 14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
14508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14510 if (arg2 == NULL) {
14511 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14512 }
8edf1c75
RD
14513 {
14514 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 {
14518 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 {
14522 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 {
14526 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
44127b65
RD
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
14532
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 Py_INCREF(Py_None); resultobj = Py_None;
14537 return resultobj;
14538 fail:
14539 return NULL;
14540}
14541
14542
14543static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14546 wxDC *arg2 = 0 ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj1 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self",(char *) "dc", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
14554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14556 if (arg2 == NULL) {
14557 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14558 }
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 (arg1)->base_OnDrawControlPoints(*arg2);
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 Py_INCREF(Py_None); resultobj = Py_None;
14567 return resultobj;
14568 fail:
14569 return NULL;
14570}
14571
14572
14573static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14576 wxDC *arg2 = 0 ;
14577 PyObject * obj0 = 0 ;
14578 PyObject * obj1 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self",(char *) "dc", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14586 if (arg2 == NULL) {
14587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14588 }
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 (arg1)->base_OnEraseControlPoints(*arg2);
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 Py_INCREF(Py_None); resultobj = Py_None;
14597 return resultobj;
14598 fail:
14599 return NULL;
14600}
14601
14602
14603static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj;
14605 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14606 wxDC *arg2 = 0 ;
14607 bool arg3 = (bool) True ;
14608 PyObject * obj0 = 0 ;
14609 PyObject * obj1 = 0 ;
14610 PyObject * obj2 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
14616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14618 if (arg2 == NULL) {
14619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14620 }
14621 if (obj2) {
83448d71 14622 {
8edf1c75 14623 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
44127b65
RD
14626 }
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 (arg1)->base_OnMoveLink(*arg2,arg3);
14630
14631 wxPyEndAllowThreads(__tstate);
14632 if (PyErr_Occurred()) SWIG_fail;
14633 }
14634 Py_INCREF(Py_None); resultobj = Py_None;
14635 return resultobj;
14636 fail:
14637 return NULL;
14638}
14639
14640
14641static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14642 PyObject *resultobj;
14643 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14644 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14645 bool arg3 ;
14646 double arg4 ;
14647 double arg5 ;
14648 int arg6 = (int) 0 ;
14649 int arg7 = (int) 0 ;
14650 PyObject * obj0 = 0 ;
14651 PyObject * obj1 = 0 ;
14652 PyObject * obj2 = 0 ;
8edf1c75
RD
14653 PyObject * obj3 = 0 ;
14654 PyObject * obj4 = 0 ;
14655 PyObject * obj5 = 0 ;
14656 PyObject * obj6 = 0 ;
44127b65
RD
14657 char *kwnames[] = {
14658 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14659 };
14660
8edf1c75 14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
14662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 14664 {
8edf1c75
RD
14665 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 {
14669 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 {
14673 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
14674 if (PyErr_Occurred()) SWIG_fail;
14675 }
8edf1c75
RD
14676 if (obj5) {
14677 {
14678 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14679 if (PyErr_Occurred()) SWIG_fail;
14680 }
14681 }
14682 if (obj6) {
14683 {
14684 arg7 = (int) SWIG_PyObj_AsInt(obj6);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 }
44127b65
RD
14688 {
14689 PyThreadState* __tstate = wxPyBeginAllowThreads();
14690 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
14691
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 Py_INCREF(Py_None); resultobj = Py_None;
14696 return resultobj;
14697 fail:
14698 return NULL;
14699}
14700
14701
14702static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj;
14704 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14705 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14706 double arg3 ;
14707 double arg4 ;
14708 int arg5 = (int) 0 ;
14709 int arg6 = (int) 0 ;
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
8edf1c75
RD
14712 PyObject * obj2 = 0 ;
14713 PyObject * obj3 = 0 ;
14714 PyObject * obj4 = 0 ;
14715 PyObject * obj5 = 0 ;
44127b65
RD
14716 char *kwnames[] = {
14717 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14718 };
14719
8edf1c75 14720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
14721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14723 {
14724 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 {
14728 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 if (obj4) {
14732 {
14733 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 }
14737 if (obj5) {
14738 {
14739 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 }
44127b65
RD
14743 {
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
14746
14747 wxPyEndAllowThreads(__tstate);
14748 if (PyErr_Occurred()) SWIG_fail;
14749 }
14750 Py_INCREF(Py_None); resultobj = Py_None;
14751 return resultobj;
14752 fail:
14753 return NULL;
14754}
14755
14756
14757static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
14758 PyObject *resultobj;
14759 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14760 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
14761 double arg3 ;
14762 double arg4 ;
14763 int arg5 = (int) 0 ;
14764 int arg6 = (int) 0 ;
14765 PyObject * obj0 = 0 ;
14766 PyObject * obj1 = 0 ;
8edf1c75
RD
14767 PyObject * obj2 = 0 ;
14768 PyObject * obj3 = 0 ;
14769 PyObject * obj4 = 0 ;
14770 PyObject * obj5 = 0 ;
44127b65
RD
14771 char *kwnames[] = {
14772 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14773 };
14774
8edf1c75 14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
14776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14778 {
14779 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 {
14783 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 if (obj4) {
14787 {
14788 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 }
14792 if (obj5) {
14793 {
14794 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 }
44127b65
RD
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 Py_INCREF(Py_None); resultobj = Py_None;
14806 return resultobj;
14807 fail:
14808 return NULL;
14809}
14810
14811
14812static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14815 double arg2 ;
14816 double arg3 ;
14817 PyObject * obj0 = 0 ;
8edf1c75
RD
14818 PyObject * obj1 = 0 ;
14819 PyObject * obj2 = 0 ;
44127b65
RD
14820 char *kwnames[] = {
14821 (char *) "self",(char *) "w",(char *) "h", NULL
14822 };
14823
8edf1c75 14824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 14825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14826 {
14827 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 {
14831 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
44127b65
RD
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 (arg1)->base_OnBeginSize(arg2,arg3);
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 Py_INCREF(Py_None); resultobj = Py_None;
14842 return resultobj;
14843 fail:
14844 return NULL;
14845}
14846
14847
14848static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
14851 double arg2 ;
14852 double arg3 ;
14853 PyObject * obj0 = 0 ;
8edf1c75
RD
14854 PyObject * obj1 = 0 ;
14855 PyObject * obj2 = 0 ;
44127b65
RD
14856 char *kwnames[] = {
14857 (char *) "self",(char *) "w",(char *) "h", NULL
14858 };
14859
8edf1c75 14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 14861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14862 {
14863 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 {
14867 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14868 if (PyErr_Occurred()) SWIG_fail;
14869 }
44127b65
RD
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 (arg1)->base_OnEndSize(arg2,arg3);
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 Py_INCREF(Py_None); resultobj = Py_None;
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
14884static PyObject * PyBitmapShape_swigregister(PyObject *self, PyObject *args) {
14885 PyObject *obj;
14886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14887 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
14888 Py_INCREF(obj);
14889 return Py_BuildValue((char *)"");
14890}
14891static PyObject *_wrap_new_PyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxPyDrawnShape *result;
14894 char *kwnames[] = {
14895 NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (wxPyDrawnShape *)new wxPyDrawnShape();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDrawnShape, 1);
14907 return resultobj;
14908 fail:
14909 return NULL;
14910}
14911
14912
14913static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14914 PyObject *resultobj;
14915 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14916 PyObject *arg2 = (PyObject *) 0 ;
14917 PyObject *arg3 = (PyObject *) 0 ;
14918 PyObject * obj0 = 0 ;
14919 PyObject * obj1 = 0 ;
14920 PyObject * obj2 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "self",(char *) "self",(char *) "_class", NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14927 arg2 = obj1;
14928 arg3 = obj2;
14929 {
14930 PyThreadState* __tstate = wxPyBeginAllowThreads();
14931 (arg1)->_setCallbackInfo(arg2,arg3);
14932
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 Py_INCREF(Py_None); resultobj = Py_None;
14937 return resultobj;
14938 fail:
14939 return NULL;
14940}
14941
14942
14943static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14944 PyObject *resultobj;
14945 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14946 PyObject * obj0 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "self", NULL
14949 };
14950
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
14952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14953 {
14954 PyThreadState* __tstate = wxPyBeginAllowThreads();
14955 (arg1)->CalculateSize();
14956
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
14960 Py_INCREF(Py_None); resultobj = Py_None;
14961 return resultobj;
14962 fail:
14963 return NULL;
14964}
14965
14966
14967static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14968 PyObject *resultobj;
14969 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14970 PyObject * obj0 = 0 ;
14971 char *kwnames[] = {
14972 (char *) "self", NULL
14973 };
14974
14975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
14976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14977 {
14978 PyThreadState* __tstate = wxPyBeginAllowThreads();
14979 (arg1)->DestroyClippingRect();
14980
14981 wxPyEndAllowThreads(__tstate);
14982 if (PyErr_Occurred()) SWIG_fail;
14983 }
14984 Py_INCREF(Py_None); resultobj = Py_None;
14985 return resultobj;
14986 fail:
14987 return NULL;
14988}
14989
14990
14991static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
14994 wxPoint *arg2 = 0 ;
14995 wxPoint *arg3 = 0 ;
14996 wxPoint *arg4 = 0 ;
14997 wxPoint temp2 ;
14998 wxPoint temp3 ;
14999 wxPoint temp4 ;
15000 PyObject * obj0 = 0 ;
15001 PyObject * obj1 = 0 ;
15002 PyObject * obj2 = 0 ;
15003 PyObject * obj3 = 0 ;
15004 char *kwnames[] = {
15005 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
15006 };
15007
15008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15010 {
15011 arg2 = &temp2;
15012 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15013 }
15014 {
15015 arg3 = &temp3;
15016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15017 }
15018 {
15019 arg4 = &temp4;
15020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15021 }
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 Py_INCREF(Py_None); resultobj = Py_None;
15030 return resultobj;
15031 fail:
15032 return NULL;
15033}
15034
15035
15036static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15039 int arg2 ;
15040 PyObject * obj0 = 0 ;
8edf1c75 15041 PyObject * obj1 = 0 ;
44127b65
RD
15042 char *kwnames[] = {
15043 (char *) "self",(char *) "angle", NULL
15044 };
15045
8edf1c75 15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
44127b65 15047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15048 {
15049 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
44127b65
RD
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 (arg1)->DrawAtAngle(arg2);
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 Py_INCREF(Py_None); resultobj = Py_None;
15060 return resultobj;
15061 fail:
15062 return NULL;
15063}
15064
15065
15066static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
15067 PyObject *resultobj;
15068 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15069 wxRect *arg2 = 0 ;
15070 double arg3 ;
15071 double arg4 ;
15072 wxRect temp2 ;
15073 PyObject * obj0 = 0 ;
15074 PyObject * obj1 = 0 ;
8edf1c75
RD
15075 PyObject * obj2 = 0 ;
15076 PyObject * obj3 = 0 ;
44127b65
RD
15077 char *kwnames[] = {
15078 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
15079 };
15080
8edf1c75 15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65
RD
15082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15083 {
15084 arg2 = &temp2;
15085 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15086 }
8edf1c75
RD
15087 {
15088 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 {
15092 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
44127b65
RD
15095 {
15096 PyThreadState* __tstate = wxPyBeginAllowThreads();
15097 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
15098
15099 wxPyEndAllowThreads(__tstate);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 Py_INCREF(Py_None); resultobj = Py_None;
15103 return resultobj;
15104 fail:
15105 return NULL;
15106}
15107
15108
15109static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
15110 PyObject *resultobj;
15111 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15112 wxPoint *arg2 = 0 ;
15113 wxPoint *arg3 = 0 ;
15114 wxPoint temp2 ;
15115 wxPoint temp3 ;
15116 PyObject * obj0 = 0 ;
15117 PyObject * obj1 = 0 ;
15118 PyObject * obj2 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self",(char *) "point1",(char *) "point2", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
15124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15125 {
15126 arg2 = &temp2;
15127 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15128 }
15129 {
15130 arg3 = &temp3;
15131 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15132 }
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144}
15145
15146
15147static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15150 int arg2 ;
15151 wxPoint *arg3 = (wxPoint *) 0 ;
15152 PyObject * obj0 = 0 ;
8edf1c75 15153 PyObject * obj1 = 0 ;
44127b65
RD
15154 PyObject * obj2 = 0 ;
15155 char *kwnames[] = {
15156 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15157 };
15158
8edf1c75 15159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 15160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15161 {
15162 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
44127b65
RD
15165 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 (arg1)->DrawLines(arg2,arg3);
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 Py_INCREF(Py_None); resultobj = Py_None;
15174 return resultobj;
15175 fail:
15176 return NULL;
15177}
15178
15179
15180static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
15181 PyObject *resultobj;
15182 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15183 wxPoint *arg2 = 0 ;
15184 wxPoint temp2 ;
15185 PyObject * obj0 = 0 ;
15186 PyObject * obj1 = 0 ;
15187 char *kwnames[] = {
15188 (char *) "self",(char *) "point", NULL
15189 };
15190
15191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
15192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15193 {
15194 arg2 = &temp2;
15195 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15196 }
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 (arg1)->DrawPoint((wxPoint const &)*arg2);
15200
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 Py_INCREF(Py_None); resultobj = Py_None;
15205 return resultobj;
15206 fail:
15207 return NULL;
15208}
15209
15210
15211static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
15212 PyObject *resultobj;
15213 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15214 int arg2 ;
15215 wxPoint *arg3 = (wxPoint *) 0 ;
15216 int arg4 = (int) 0 ;
15217 PyObject * obj0 = 0 ;
8edf1c75 15218 PyObject * obj1 = 0 ;
44127b65 15219 PyObject * obj2 = 0 ;
8edf1c75 15220 PyObject * obj3 = 0 ;
44127b65
RD
15221 char *kwnames[] = {
15222 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
15223 };
15224
8edf1c75 15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 15226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15227 {
15228 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
44127b65 15231 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15232 if (obj3) {
15233 {
15234 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 }
44127b65
RD
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 (arg1)->DrawPolygon(arg2,arg3,arg4);
15241
15242 wxPyEndAllowThreads(__tstate);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 }
15245 Py_INCREF(Py_None); resultobj = Py_None;
15246 return resultobj;
15247 fail:
15248 return NULL;
15249}
15250
15251
15252static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15253 PyObject *resultobj;
15254 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15255 wxRect *arg2 = 0 ;
15256 wxRect temp2 ;
15257 PyObject * obj0 = 0 ;
15258 PyObject * obj1 = 0 ;
15259 char *kwnames[] = {
15260 (char *) "self",(char *) "rect", NULL
15261 };
15262
15263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
15264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15265 {
15266 arg2 = &temp2;
15267 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15268 }
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 (arg1)->DrawRectangle((wxRect const &)*arg2);
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 Py_INCREF(Py_None); resultobj = Py_None;
15277 return resultobj;
15278 fail:
15279 return NULL;
15280}
15281
15282
15283static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15286 wxRect *arg2 = 0 ;
15287 double arg3 ;
15288 wxRect temp2 ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
8edf1c75 15291 PyObject * obj2 = 0 ;
44127b65
RD
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "rect",(char *) "radius", NULL
15294 };
15295
8edf1c75 15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65
RD
15297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15298 {
15299 arg2 = &temp2;
15300 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15301 }
8edf1c75
RD
15302 {
15303 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
44127b65
RD
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 Py_INCREF(Py_None); resultobj = Py_None;
15314 return resultobj;
15315 fail:
15316 return NULL;
15317}
15318
15319
15320static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj;
15322 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15323 int arg2 ;
15324 wxPoint *arg3 = (wxPoint *) 0 ;
15325 PyObject * obj0 = 0 ;
8edf1c75 15326 PyObject * obj1 = 0 ;
44127b65
RD
15327 PyObject * obj2 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
15330 };
15331
8edf1c75 15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 15333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15334 {
15335 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
44127b65
RD
15338 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 (arg1)->DrawSpline(arg2,arg3);
15342
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 Py_INCREF(Py_None); resultobj = Py_None;
15347 return resultobj;
15348 fail:
15349 return NULL;
15350}
15351
15352
15353static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj;
15355 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15356 wxString *arg2 = 0 ;
15357 wxPoint *arg3 = 0 ;
15358 bool temp2 = False ;
15359 wxPoint temp3 ;
15360 PyObject * obj0 = 0 ;
15361 PyObject * obj1 = 0 ;
15362 PyObject * obj2 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "self",(char *) "text",(char *) "point", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15369 {
15370 arg2 = wxString_in_helper(obj1);
15371 if (arg2 == NULL) SWIG_fail;
15372 temp2 = True;
15373 }
15374 {
15375 arg3 = &temp3;
15376 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15377 }
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 Py_INCREF(Py_None); resultobj = Py_None;
15386 {
15387 if (temp2)
15388 delete arg2;
15389 }
15390 return resultobj;
15391 fail:
15392 {
15393 if (temp2)
15394 delete arg2;
15395 }
15396 return NULL;
15397}
15398
15399
15400static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15403 int result;
15404 PyObject * obj0 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
15410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15411 {
15412 PyThreadState* __tstate = wxPyBeginAllowThreads();
15413 result = (int)(arg1)->GetAngle();
15414
15415 wxPyEndAllowThreads(__tstate);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
8edf1c75 15418 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
15419 return resultobj;
15420 fail:
15421 return NULL;
15422}
15423
15424
15425static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15428 wxPseudoMetaFile *result;
15429 PyObject * obj0 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 {
15439 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
15440 result = (wxPseudoMetaFile *) &_result_ref;
15441 }
15442
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPseudoMetaFile, 0);
15447 return resultobj;
15448 fail:
15449 return NULL;
15450}
15451
15452
15453static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj;
15455 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15456 double result;
15457 PyObject * obj0 = 0 ;
15458 char *kwnames[] = {
15459 (char *) "self", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
15463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = (double)(arg1)->GetRotation();
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
8edf1c75 15471 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
15472 return resultobj;
15473 fail:
15474 return NULL;
15475}
15476
15477
15478static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj;
15480 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15481 wxString *arg2 = 0 ;
15482 bool result;
15483 bool temp2 = False ;
15484 PyObject * obj0 = 0 ;
15485 PyObject * obj1 = 0 ;
15486 char *kwnames[] = {
15487 (char *) "self",(char *) "filename", NULL
15488 };
15489
15490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
15491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15492 {
15493 arg2 = wxString_in_helper(obj1);
15494 if (arg2 == NULL) SWIG_fail;
15495 temp2 = True;
15496 }
15497 {
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
15500
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
8edf1c75 15504 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
15505 {
15506 if (temp2)
15507 delete arg2;
15508 }
15509 return resultobj;
15510 fail:
15511 {
15512 if (temp2)
15513 delete arg2;
15514 }
15515 return NULL;
15516}
15517
15518
15519static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
15520 PyObject *resultobj;
15521 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15522 double arg2 ;
15523 double arg3 ;
15524 double arg4 ;
15525 PyObject * obj0 = 0 ;
8edf1c75
RD
15526 PyObject * obj1 = 0 ;
15527 PyObject * obj2 = 0 ;
15528 PyObject * obj3 = 0 ;
44127b65
RD
15529 char *kwnames[] = {
15530 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15531 };
15532
8edf1c75 15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 15534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15535 {
15536 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 {
15540 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 {
15544 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
44127b65
RD
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 (arg1)->Rotate(arg2,arg3,arg4);
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 Py_INCREF(Py_None); resultobj = Py_None;
15555 return resultobj;
15556 fail:
15557 return NULL;
15558}
15559
15560
15561static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj;
15563 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15564 wxRect *arg2 = 0 ;
15565 wxRect temp2 ;
15566 PyObject * obj0 = 0 ;
15567 PyObject * obj1 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self",(char *) "rect", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
15573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15574 {
15575 arg2 = &temp2;
15576 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
15577 }
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 (arg1)->SetClippingRect((wxRect const &)*arg2);
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 Py_INCREF(Py_None); resultobj = Py_None;
15586 return resultobj;
15587 fail:
15588 return NULL;
15589}
15590
15591
15592static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15595 wxColour *arg2 = 0 ;
15596 wxColour temp2 ;
15597 PyObject * obj0 = 0 ;
15598 PyObject * obj1 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self",(char *) "colour", NULL
15601 };
15602
15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15605 {
15606 arg2 = &temp2;
15607 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15608 }
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
15612
15613 wxPyEndAllowThreads(__tstate);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 }
15616 Py_INCREF(Py_None); resultobj = Py_None;
15617 return resultobj;
15618 fail:
15619 return NULL;
15620}
15621
15622
15623static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15624 PyObject *resultobj;
15625 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15626 int arg2 ;
15627 PyObject * obj0 = 0 ;
8edf1c75 15628 PyObject * obj1 = 0 ;
44127b65
RD
15629 char *kwnames[] = {
15630 (char *) "self",(char *) "mode", NULL
15631 };
15632
8edf1c75 15633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
44127b65 15634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15635 {
15636 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
44127b65
RD
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 (arg1)->SetDrawnBackgroundMode(arg2);
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 Py_INCREF(Py_None); resultobj = Py_None;
15647 return resultobj;
15648 fail:
15649 return NULL;
15650}
15651
15652
15653static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj;
15655 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15656 wxBrush *arg2 = (wxBrush *) 0 ;
15657 bool arg3 = (bool) FALSE ;
15658 PyObject * obj0 = 0 ;
15659 PyObject * obj1 = 0 ;
15660 PyObject * obj2 = 0 ;
15661 char *kwnames[] = {
15662 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15663 };
15664
15665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15667 {
15668 wxBrush* temp;
15669 if (obj1) {
15670 if (obj1 == Py_None) {
15671 temp = NULL;
15672 }
15673 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
15674 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
15675 return NULL;
15676 }
15677 }
15678 if (temp)
15679 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
15680 else
15681 arg2 = NULL;
15682 }
15683 if (obj2) {
83448d71 15684 {
8edf1c75 15685 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
44127b65
RD
15688 }
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 (arg1)->SetDrawnBrush(arg2,arg3);
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 Py_INCREF(Py_None); resultobj = Py_None;
15697 return resultobj;
15698 fail:
15699 return NULL;
15700}
15701
15702
15703static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15706 wxFont *arg2 = (wxFont *) 0 ;
15707 PyObject * obj0 = 0 ;
15708 PyObject * obj1 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self",(char *) "font", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15715 {
15716 wxFont* temp;
15717 if (obj1) {
15718 if (obj1 == Py_None) {
15719 temp = NULL;
15720 }
15721 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
15722 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
15723 return NULL;
15724 }
15725 }
15726 if (temp)
15727 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
15728 temp->GetFamily(),
15729 temp->GetStyle(),
15730 temp->GetWeight(),
15731 temp->GetUnderlined(),
15732 temp->GetFaceName(),
15733 temp->GetEncoding());
15734 else
15735 arg2 = NULL;
15736 }
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 (arg1)->SetDrawnFont(arg2);
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 Py_INCREF(Py_None); resultobj = Py_None;
15745 return resultobj;
15746 fail:
15747 return NULL;
15748}
15749
15750
15751static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
15752 PyObject *resultobj;
15753 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15754 wxPen *arg2 = (wxPen *) 0 ;
15755 bool arg3 = (bool) FALSE ;
15756 PyObject * obj0 = 0 ;
15757 PyObject * obj1 = 0 ;
15758 PyObject * obj2 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15765 {
15766 wxPen* temp;
15767 if (obj1) {
15768 if (obj1 == Py_None) {
15769 temp = NULL;
15770 }
15771 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
15772 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
15773 return NULL;
15774 }
15775 }
15776 if (temp)
15777 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
15778 temp->GetWidth(),
15779 temp->GetStyle());
15780 else
15781 arg2 = NULL;
15782 }
15783 if (obj2) {
83448d71 15784 {
8edf1c75 15785 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
44127b65
RD
15788 }
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 (arg1)->SetDrawnPen(arg2,arg3);
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 Py_INCREF(Py_None); resultobj = Py_None;
15797 return resultobj;
15798 fail:
15799 return NULL;
15800}
15801
15802
15803static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15806 wxColour *arg2 = 0 ;
15807 wxColour temp2 ;
15808 PyObject * obj0 = 0 ;
15809 PyObject * obj1 = 0 ;
15810 char *kwnames[] = {
15811 (char *) "self",(char *) "colour", NULL
15812 };
15813
15814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
15815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15816 {
15817 arg2 = &temp2;
15818 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15819 }
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 Py_INCREF(Py_None); resultobj = Py_None;
15828 return resultobj;
15829 fail:
15830 return NULL;
15831}
15832
15833
15834static PyObject *_wrap_PyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15837 double arg2 ;
15838 double arg3 ;
15839 PyObject * obj0 = 0 ;
8edf1c75
RD
15840 PyObject * obj1 = 0 ;
15841 PyObject * obj2 = 0 ;
44127b65
RD
15842 char *kwnames[] = {
15843 (char *) "self",(char *) "sx",(char *) "sy", NULL
15844 };
15845
8edf1c75 15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 15847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15848 {
15849 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 {
15853 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
44127b65
RD
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 (arg1)->Scale(arg2,arg3);
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 Py_INCREF(Py_None); resultobj = Py_None;
15864 return resultobj;
15865 fail:
15866 return NULL;
15867}
15868
15869
15870static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj;
15872 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15873 bool arg2 ;
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 char *kwnames[] = {
15877 (char *) "self",(char *) "save", NULL
15878 };
15879
15880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
15881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 15882 {
8edf1c75 15883 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
44127b65
RD
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 (arg1)->SetSaveToFile(arg2);
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 Py_INCREF(Py_None); resultobj = Py_None;
15894 return resultobj;
15895 fail:
15896 return NULL;
15897}
15898
15899
15900static PyObject *_wrap_PyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
15901 PyObject *resultobj;
15902 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15903 double arg2 ;
15904 double arg3 ;
15905 PyObject * obj0 = 0 ;
8edf1c75
RD
15906 PyObject * obj1 = 0 ;
15907 PyObject * obj2 = 0 ;
44127b65
RD
15908 char *kwnames[] = {
15909 (char *) "self",(char *) "x",(char *) "y", NULL
15910 };
15911
8edf1c75 15912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 15913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15914 {
15915 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 {
15919 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
44127b65
RD
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 (arg1)->Translate(arg2,arg3);
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 Py_INCREF(Py_None); resultobj = Py_None;
15930 return resultobj;
15931 fail:
15932 return NULL;
15933}
15934
15935
15936static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15939 PyObject * obj0 = 0 ;
15940 char *kwnames[] = {
15941 (char *) "self", NULL
15942 };
15943
15944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
15945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15946 {
15947 PyThreadState* __tstate = wxPyBeginAllowThreads();
15948 (arg1)->base_OnDelete();
15949
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 Py_INCREF(Py_None); resultobj = Py_None;
15954 return resultobj;
15955 fail:
15956 return NULL;
15957}
15958
15959
15960static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
15961 PyObject *resultobj;
15962 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15963 wxDC *arg2 = 0 ;
15964 PyObject * obj0 = 0 ;
15965 PyObject * obj1 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self",(char *) "dc", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
15971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15973 if (arg2 == NULL) {
15974 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15975 }
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 (arg1)->base_OnDraw(*arg2);
15979
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 Py_INCREF(Py_None); resultobj = Py_None;
15984 return resultobj;
15985 fail:
15986 return NULL;
15987}
15988
15989
15990static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
15993 wxDC *arg2 = 0 ;
15994 PyObject * obj0 = 0 ;
15995 PyObject * obj1 = 0 ;
15996 char *kwnames[] = {
15997 (char *) "self",(char *) "dc", NULL
15998 };
15999
16000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
16001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16003 if (arg2 == NULL) {
16004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16005 }
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 (arg1)->base_OnDrawContents(*arg2);
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 Py_INCREF(Py_None); resultobj = Py_None;
16014 return resultobj;
16015 fail:
16016 return NULL;
16017}
16018
16019
16020static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
16021 PyObject *resultobj;
16022 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16023 wxDC *arg2 = 0 ;
16024 bool arg3 = (bool) FALSE ;
16025 PyObject * obj0 = 0 ;
16026 PyObject * obj1 = 0 ;
16027 PyObject * obj2 = 0 ;
16028 char *kwnames[] = {
16029 (char *) "self",(char *) "dc",(char *) "erase", NULL
16030 };
16031
16032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
16033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16035 if (arg2 == NULL) {
16036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16037 }
16038 if (obj2) {
83448d71 16039 {
8edf1c75 16040 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
16041 if (PyErr_Occurred()) SWIG_fail;
16042 }
44127b65
RD
16043 }
16044 {
16045 PyThreadState* __tstate = wxPyBeginAllowThreads();
16046 (arg1)->base_OnDrawBranches(*arg2,arg3);
16047
16048 wxPyEndAllowThreads(__tstate);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 }
16051 Py_INCREF(Py_None); resultobj = Py_None;
16052 return resultobj;
16053 fail:
16054 return NULL;
16055}
16056
16057
16058static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16061 wxDC *arg2 = 0 ;
16062 PyObject * obj0 = 0 ;
16063 PyObject * obj1 = 0 ;
16064 char *kwnames[] = {
16065 (char *) "self",(char *) "dc", NULL
16066 };
16067
16068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
16069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16071 if (arg2 == NULL) {
16072 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16073 }
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 (arg1)->base_OnMoveLinks(*arg2);
16077
16078 wxPyEndAllowThreads(__tstate);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 Py_INCREF(Py_None); resultobj = Py_None;
16082 return resultobj;
16083 fail:
16084 return NULL;
16085}
16086
16087
16088static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16091 wxDC *arg2 = 0 ;
16092 PyObject * obj0 = 0 ;
16093 PyObject * obj1 = 0 ;
16094 char *kwnames[] = {
16095 (char *) "self",(char *) "dc", NULL
16096 };
16097
16098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
16099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16101 if (arg2 == NULL) {
16102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16103 }
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 (arg1)->base_OnErase(*arg2);
16107
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 Py_INCREF(Py_None); resultobj = Py_None;
16112 return resultobj;
16113 fail:
16114 return NULL;
16115}
16116
16117
16118static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16121 wxDC *arg2 = 0 ;
16122 PyObject * obj0 = 0 ;
16123 PyObject * obj1 = 0 ;
16124 char *kwnames[] = {
16125 (char *) "self",(char *) "dc", NULL
16126 };
16127
16128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
16129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16131 if (arg2 == NULL) {
16132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16133 }
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
16136 (arg1)->base_OnEraseContents(*arg2);
16137
16138 wxPyEndAllowThreads(__tstate);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 }
16141 Py_INCREF(Py_None); resultobj = Py_None;
16142 return resultobj;
16143 fail:
16144 return NULL;
16145}
16146
16147
16148static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16151 wxDC *arg2 = 0 ;
16152 PyObject * obj0 = 0 ;
16153 PyObject * obj1 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self",(char *) "dc", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
16159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16160 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16161 if (arg2 == NULL) {
16162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16163 }
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 (arg1)->base_OnHighlight(*arg2);
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 Py_INCREF(Py_None); resultobj = Py_None;
16172 return resultobj;
16173 fail:
16174 return NULL;
16175}
16176
16177
16178static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj;
16180 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16181 double arg2 ;
16182 double arg3 ;
16183 int arg4 = (int) 0 ;
16184 int arg5 = (int) 0 ;
16185 PyObject * obj0 = 0 ;
8edf1c75
RD
16186 PyObject * obj1 = 0 ;
16187 PyObject * obj2 = 0 ;
16188 PyObject * obj3 = 0 ;
16189 PyObject * obj4 = 0 ;
44127b65
RD
16190 char *kwnames[] = {
16191 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16192 };
16193
8edf1c75 16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 16195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16196 {
16197 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 {
16201 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 if (obj3) {
16205 {
16206 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 }
16210 if (obj4) {
16211 {
16212 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 }
44127b65
RD
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
16219
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 Py_INCREF(Py_None); resultobj = Py_None;
16224 return resultobj;
16225 fail:
16226 return NULL;
16227}
16228
16229
16230static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16233 double arg2 ;
16234 double arg3 ;
16235 int arg4 = (int) 0 ;
16236 int arg5 = (int) 0 ;
16237 PyObject * obj0 = 0 ;
8edf1c75
RD
16238 PyObject * obj1 = 0 ;
16239 PyObject * obj2 = 0 ;
16240 PyObject * obj3 = 0 ;
16241 PyObject * obj4 = 0 ;
44127b65
RD
16242 char *kwnames[] = {
16243 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16244 };
16245
8edf1c75 16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 16247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16248 {
16249 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16250 if (PyErr_Occurred()) SWIG_fail;
16251 }
16252 {
16253 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 if (obj3) {
16257 {
16258 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 }
16262 if (obj4) {
16263 {
16264 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 }
44127b65
RD
16268 {
16269 PyThreadState* __tstate = wxPyBeginAllowThreads();
16270 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16271
16272 wxPyEndAllowThreads(__tstate);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 Py_INCREF(Py_None); resultobj = Py_None;
16276 return resultobj;
16277 fail:
16278 return NULL;
16279}
16280
16281
16282static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
16283 PyObject *resultobj;
16284 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16285 double arg2 ;
16286 double arg3 ;
16287 int arg4 = (int) 0 ;
16288 int arg5 = (int) 0 ;
16289 PyObject * obj0 = 0 ;
8edf1c75
RD
16290 PyObject * obj1 = 0 ;
16291 PyObject * obj2 = 0 ;
16292 PyObject * obj3 = 0 ;
16293 PyObject * obj4 = 0 ;
44127b65
RD
16294 char *kwnames[] = {
16295 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16296 };
16297
8edf1c75 16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 16299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16300 {
16301 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 {
16305 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 if (obj3) {
16309 {
16310 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 }
16313 }
16314 if (obj4) {
16315 {
16316 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 }
44127b65
RD
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16323
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 Py_INCREF(Py_None); resultobj = Py_None;
16328 return resultobj;
16329 fail:
16330 return NULL;
16331}
16332
16333
16334static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16335 PyObject *resultobj;
16336 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16337 double arg2 ;
16338 double arg3 ;
16339 PyObject * obj0 = 0 ;
8edf1c75
RD
16340 PyObject * obj1 = 0 ;
16341 PyObject * obj2 = 0 ;
44127b65
RD
16342 char *kwnames[] = {
16343 (char *) "self",(char *) "x",(char *) "y", NULL
16344 };
16345
8edf1c75 16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 16347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16348 {
16349 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 {
16353 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
44127b65
RD
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 (arg1)->base_OnSize(arg2,arg3);
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 Py_INCREF(Py_None); resultobj = Py_None;
16364 return resultobj;
16365 fail:
16366 return NULL;
16367}
16368
16369
16370static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16373 wxDC *arg2 = 0 ;
16374 double arg3 ;
16375 double arg4 ;
16376 double arg5 ;
16377 double arg6 ;
16378 bool arg7 = (bool) True ;
16379 bool result;
16380 PyObject * obj0 = 0 ;
16381 PyObject * obj1 = 0 ;
8edf1c75
RD
16382 PyObject * obj2 = 0 ;
16383 PyObject * obj3 = 0 ;
16384 PyObject * obj4 = 0 ;
16385 PyObject * obj5 = 0 ;
44127b65
RD
16386 PyObject * obj6 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16389 };
16390
8edf1c75 16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
16392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16394 if (arg2 == NULL) {
16395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16396 }
8edf1c75
RD
16397 {
16398 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 {
16402 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
16407 if (PyErr_Occurred()) SWIG_fail;
16408 }
16409 {
16410 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
44127b65 16413 if (obj6) {
83448d71 16414 {
8edf1c75 16415 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
44127b65
RD
16418 }
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
8edf1c75 16426 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
16427 return resultobj;
16428 fail:
16429 return NULL;
16430}
16431
16432
16433static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16436 wxDC *arg2 = 0 ;
16437 double arg3 ;
16438 double arg4 ;
16439 double arg5 ;
16440 double arg6 ;
16441 bool arg7 = (bool) True ;
16442 PyObject * obj0 = 0 ;
16443 PyObject * obj1 = 0 ;
8edf1c75
RD
16444 PyObject * obj2 = 0 ;
16445 PyObject * obj3 = 0 ;
16446 PyObject * obj4 = 0 ;
16447 PyObject * obj5 = 0 ;
44127b65
RD
16448 PyObject * obj6 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16451 };
16452
8edf1c75 16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
16454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16456 if (arg2 == NULL) {
16457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16458 }
8edf1c75
RD
16459 {
16460 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 {
16464 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 {
16468 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 {
16472 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
44127b65 16475 if (obj6) {
83448d71 16476 {
8edf1c75 16477 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
44127b65
RD
16480 }
16481 {
16482 PyThreadState* __tstate = wxPyBeginAllowThreads();
16483 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16484
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 Py_INCREF(Py_None); resultobj = Py_None;
16489 return resultobj;
16490 fail:
16491 return NULL;
16492}
16493
16494
16495static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj;
16497 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16498 bool arg2 ;
16499 double arg3 ;
16500 double arg4 ;
16501 int arg5 = (int) 0 ;
16502 int arg6 = (int) 0 ;
16503 PyObject * obj0 = 0 ;
16504 PyObject * obj1 = 0 ;
8edf1c75
RD
16505 PyObject * obj2 = 0 ;
16506 PyObject * obj3 = 0 ;
16507 PyObject * obj4 = 0 ;
16508 PyObject * obj5 = 0 ;
44127b65
RD
16509 char *kwnames[] = {
16510 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16511 };
16512
8edf1c75 16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 16514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 16515 {
8edf1c75
RD
16516 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 {
16520 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 {
16524 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
16525 if (PyErr_Occurred()) SWIG_fail;
16526 }
8edf1c75
RD
16527 if (obj4) {
16528 {
16529 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 }
16533 if (obj5) {
16534 {
16535 arg6 = (int) SWIG_PyObj_AsInt(obj5);
16536 if (PyErr_Occurred()) SWIG_fail;
16537 }
16538 }
44127b65
RD
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 Py_INCREF(Py_None); resultobj = Py_None;
16547 return resultobj;
16548 fail:
16549 return NULL;
16550}
16551
16552
16553static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16556 double arg2 ;
16557 double arg3 ;
16558 int arg4 = (int) 0 ;
16559 int arg5 = (int) 0 ;
16560 PyObject * obj0 = 0 ;
8edf1c75
RD
16561 PyObject * obj1 = 0 ;
16562 PyObject * obj2 = 0 ;
16563 PyObject * obj3 = 0 ;
16564 PyObject * obj4 = 0 ;
44127b65
RD
16565 char *kwnames[] = {
16566 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16567 };
16568
8edf1c75 16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 16570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16571 {
16572 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 {
16576 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 if (obj3) {
16580 {
16581 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 }
16585 if (obj4) {
16586 {
16587 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 }
44127b65
RD
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 Py_INCREF(Py_None); resultobj = Py_None;
16599 return resultobj;
16600 fail:
16601 return NULL;
16602}
16603
16604
16605static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj;
16607 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16608 double arg2 ;
16609 double arg3 ;
16610 int arg4 = (int) 0 ;
16611 int arg5 = (int) 0 ;
16612 PyObject * obj0 = 0 ;
8edf1c75
RD
16613 PyObject * obj1 = 0 ;
16614 PyObject * obj2 = 0 ;
16615 PyObject * obj3 = 0 ;
16616 PyObject * obj4 = 0 ;
44127b65
RD
16617 char *kwnames[] = {
16618 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16619 };
16620
8edf1c75 16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 16622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16623 {
16624 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 {
16628 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 if (obj3) {
16632 {
16633 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 }
16637 if (obj4) {
16638 {
16639 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 }
44127b65
RD
16643 {
16644 PyThreadState* __tstate = wxPyBeginAllowThreads();
16645 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16646
16647 wxPyEndAllowThreads(__tstate);
16648 if (PyErr_Occurred()) SWIG_fail;
16649 }
16650 Py_INCREF(Py_None); resultobj = Py_None;
16651 return resultobj;
16652 fail:
16653 return NULL;
16654}
16655
16656
16657static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16660 bool arg2 ;
16661 double arg3 ;
16662 double arg4 ;
16663 int arg5 = (int) 0 ;
16664 int arg6 = (int) 0 ;
16665 PyObject * obj0 = 0 ;
16666 PyObject * obj1 = 0 ;
8edf1c75
RD
16667 PyObject * obj2 = 0 ;
16668 PyObject * obj3 = 0 ;
16669 PyObject * obj4 = 0 ;
16670 PyObject * obj5 = 0 ;
44127b65
RD
16671 char *kwnames[] = {
16672 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16673 };
16674
8edf1c75 16675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 16676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 16677 {
8edf1c75 16678 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
8edf1c75
RD
16681 {
16682 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16683 if (PyErr_Occurred()) SWIG_fail;
16684 }
16685 {
16686 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16687 if (PyErr_Occurred()) SWIG_fail;
16688 }
16689 if (obj4) {
16690 {
16691 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 }
16695 if (obj5) {
16696 {
16697 arg6 = (int) SWIG_PyObj_AsInt(obj5);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
16700 }
44127b65
RD
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 Py_INCREF(Py_None); resultobj = Py_None;
16709 return resultobj;
16710 fail:
16711 return NULL;
16712}
16713
16714
16715static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16718 double arg2 ;
16719 double arg3 ;
16720 int arg4 = (int) 0 ;
16721 int arg5 = (int) 0 ;
16722 PyObject * obj0 = 0 ;
8edf1c75
RD
16723 PyObject * obj1 = 0 ;
16724 PyObject * obj2 = 0 ;
16725 PyObject * obj3 = 0 ;
16726 PyObject * obj4 = 0 ;
44127b65
RD
16727 char *kwnames[] = {
16728 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16729 };
16730
8edf1c75 16731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 16732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16733 {
16734 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 {
16738 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16739 if (PyErr_Occurred()) SWIG_fail;
16740 }
16741 if (obj3) {
16742 {
16743 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 }
16747 if (obj4) {
16748 {
16749 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 }
44127b65
RD
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 Py_INCREF(Py_None); resultobj = Py_None;
16761 return resultobj;
16762 fail:
16763 return NULL;
16764}
16765
16766
16767static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16768 PyObject *resultobj;
16769 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16770 double arg2 ;
16771 double arg3 ;
16772 int arg4 = (int) 0 ;
16773 int arg5 = (int) 0 ;
16774 PyObject * obj0 = 0 ;
8edf1c75
RD
16775 PyObject * obj1 = 0 ;
16776 PyObject * obj2 = 0 ;
16777 PyObject * obj3 = 0 ;
16778 PyObject * obj4 = 0 ;
44127b65
RD
16779 char *kwnames[] = {
16780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16781 };
16782
8edf1c75 16783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 16784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16785 {
16786 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 {
16790 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 if (obj3) {
16794 {
16795 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 }
16799 if (obj4) {
16800 {
16801 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 }
16804 }
44127b65
RD
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16808
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 Py_INCREF(Py_None); resultobj = Py_None;
16813 return resultobj;
16814 fail:
16815 return NULL;
16816}
16817
16818
16819static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16822 wxDC *arg2 = 0 ;
16823 double arg3 ;
16824 double arg4 ;
16825 double arg5 ;
16826 double arg6 ;
16827 PyObject * obj0 = 0 ;
16828 PyObject * obj1 = 0 ;
8edf1c75
RD
16829 PyObject * obj2 = 0 ;
16830 PyObject * obj3 = 0 ;
16831 PyObject * obj4 = 0 ;
16832 PyObject * obj5 = 0 ;
44127b65
RD
16833 char *kwnames[] = {
16834 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16835 };
16836
8edf1c75 16837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
16838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16840 if (arg2 == NULL) {
16841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16842 }
8edf1c75
RD
16843 {
16844 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
16845 if (PyErr_Occurred()) SWIG_fail;
16846 }
16847 {
16848 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
16851 {
16852 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 {
16856 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 }
44127b65
RD
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16862
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 Py_INCREF(Py_None); resultobj = Py_None;
16867 return resultobj;
16868 fail:
16869 return NULL;
16870}
16871
16872
16873static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16874 PyObject *resultobj;
16875 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16876 wxDC *arg2 = 0 ;
16877 PyObject * obj0 = 0 ;
16878 PyObject * obj1 = 0 ;
16879 char *kwnames[] = {
16880 (char *) "self",(char *) "dc", NULL
16881 };
16882
16883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
16884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16886 if (arg2 == NULL) {
16887 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16888 }
16889 {
16890 PyThreadState* __tstate = wxPyBeginAllowThreads();
16891 (arg1)->base_OnDrawControlPoints(*arg2);
16892
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 Py_INCREF(Py_None); resultobj = Py_None;
16897 return resultobj;
16898 fail:
16899 return NULL;
16900}
16901
16902
16903static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16906 wxDC *arg2 = 0 ;
16907 PyObject * obj0 = 0 ;
16908 PyObject * obj1 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self",(char *) "dc", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16916 if (arg2 == NULL) {
16917 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16918 }
16919 {
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 (arg1)->base_OnEraseControlPoints(*arg2);
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 Py_INCREF(Py_None); resultobj = Py_None;
16927 return resultobj;
16928 fail:
16929 return NULL;
16930}
16931
16932
16933static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
16934 PyObject *resultobj;
16935 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16936 wxDC *arg2 = 0 ;
16937 bool arg3 = (bool) True ;
16938 PyObject * obj0 = 0 ;
16939 PyObject * obj1 = 0 ;
16940 PyObject * obj2 = 0 ;
16941 char *kwnames[] = {
16942 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16943 };
16944
16945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
16946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16948 if (arg2 == NULL) {
16949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16950 }
16951 if (obj2) {
83448d71 16952 {
8edf1c75 16953 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
16954 if (PyErr_Occurred()) SWIG_fail;
16955 }
44127b65
RD
16956 }
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 (arg1)->base_OnMoveLink(*arg2,arg3);
16960
16961 wxPyEndAllowThreads(__tstate);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
16964 Py_INCREF(Py_None); resultobj = Py_None;
16965 return resultobj;
16966 fail:
16967 return NULL;
16968}
16969
16970
16971static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16972 PyObject *resultobj;
16973 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
16974 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16975 bool arg3 ;
16976 double arg4 ;
16977 double arg5 ;
16978 int arg6 = (int) 0 ;
16979 int arg7 = (int) 0 ;
16980 PyObject * obj0 = 0 ;
16981 PyObject * obj1 = 0 ;
16982 PyObject * obj2 = 0 ;
8edf1c75
RD
16983 PyObject * obj3 = 0 ;
16984 PyObject * obj4 = 0 ;
16985 PyObject * obj5 = 0 ;
16986 PyObject * obj6 = 0 ;
44127b65
RD
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16989 };
16990
8edf1c75 16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
16992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 16994 {
8edf1c75
RD
16995 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 {
16999 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 {
17003 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
8edf1c75
RD
17006 if (obj5) {
17007 {
17008 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 }
17012 if (obj6) {
17013 {
17014 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 }
44127b65
RD
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 Py_INCREF(Py_None); resultobj = Py_None;
17026 return resultobj;
17027 fail:
17028 return NULL;
17029}
17030
17031
17032static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17035 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17036 double arg3 ;
17037 double arg4 ;
17038 int arg5 = (int) 0 ;
17039 int arg6 = (int) 0 ;
17040 PyObject * obj0 = 0 ;
17041 PyObject * obj1 = 0 ;
8edf1c75
RD
17042 PyObject * obj2 = 0 ;
17043 PyObject * obj3 = 0 ;
17044 PyObject * obj4 = 0 ;
17045 PyObject * obj5 = 0 ;
44127b65
RD
17046 char *kwnames[] = {
17047 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17048 };
17049
8edf1c75 17050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
17051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17053 {
17054 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 {
17058 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 if (obj4) {
17062 {
17063 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 }
17067 if (obj5) {
17068 {
17069 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 }
44127b65
RD
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
17075 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
17076
17077 wxPyEndAllowThreads(__tstate);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 }
17080 Py_INCREF(Py_None); resultobj = Py_None;
17081 return resultobj;
17082 fail:
17083 return NULL;
17084}
17085
17086
17087static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17088 PyObject *resultobj;
17089 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17090 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
17091 double arg3 ;
17092 double arg4 ;
17093 int arg5 = (int) 0 ;
17094 int arg6 = (int) 0 ;
17095 PyObject * obj0 = 0 ;
17096 PyObject * obj1 = 0 ;
8edf1c75
RD
17097 PyObject * obj2 = 0 ;
17098 PyObject * obj3 = 0 ;
17099 PyObject * obj4 = 0 ;
17100 PyObject * obj5 = 0 ;
44127b65
RD
17101 char *kwnames[] = {
17102 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17103 };
17104
8edf1c75 17105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
17106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17108 {
17109 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 {
17113 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
17114 if (PyErr_Occurred()) SWIG_fail;
17115 }
17116 if (obj4) {
17117 {
17118 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 }
17121 }
17122 if (obj5) {
17123 {
17124 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 }
44127b65
RD
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 Py_INCREF(Py_None); resultobj = Py_None;
17136 return resultobj;
17137 fail:
17138 return NULL;
17139}
17140
17141
17142static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17145 double arg2 ;
17146 double arg3 ;
17147 PyObject * obj0 = 0 ;
8edf1c75
RD
17148 PyObject * obj1 = 0 ;
17149 PyObject * obj2 = 0 ;
44127b65
RD
17150 char *kwnames[] = {
17151 (char *) "self",(char *) "w",(char *) "h", NULL
17152 };
17153
8edf1c75 17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 17155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17156 {
17157 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 {
17161 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
44127b65
RD
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 (arg1)->base_OnBeginSize(arg2,arg3);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 Py_INCREF(Py_None); resultobj = Py_None;
17172 return resultobj;
17173 fail:
17174 return NULL;
17175}
17176
17177
17178static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj;
17180 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17181 double arg2 ;
17182 double arg3 ;
17183 PyObject * obj0 = 0 ;
8edf1c75
RD
17184 PyObject * obj1 = 0 ;
17185 PyObject * obj2 = 0 ;
44127b65
RD
17186 char *kwnames[] = {
17187 (char *) "self",(char *) "w",(char *) "h", NULL
17188 };
17189
8edf1c75 17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 17191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDrawnShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17192 {
17193 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 {
17197 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
44127b65
RD
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 (arg1)->base_OnEndSize(arg2,arg3);
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 Py_INCREF(Py_None); resultobj = Py_None;
17208 return resultobj;
17209 fail:
17210 return NULL;
17211}
17212
17213
17214static PyObject * PyDrawnShape_swigregister(PyObject *self, PyObject *args) {
17215 PyObject *obj;
17216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17217 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
17218 Py_INCREF(obj);
17219 return Py_BuildValue((char *)"");
17220}
17221static PyObject *_wrap_new_OGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17222 PyObject *resultobj;
17223 int arg1 ;
17224 wxPyShape *arg2 = (wxPyShape *) 0 ;
17225 PyObject *arg3 = (PyObject *) 0 ;
17226 wxOGLConstraint *result;
8edf1c75 17227 PyObject * obj0 = 0 ;
44127b65
RD
17228 PyObject * obj1 = 0 ;
17229 PyObject * obj2 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17232 };
17233
8edf1c75
RD
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
17235 {
17236 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17237 if (PyErr_Occurred()) SWIG_fail;
17238 }
44127b65
RD
17239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17240 arg3 = obj2;
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 {
17249 resultobj = wxPyMake_wxObject(result);
17250 }
17251 return resultobj;
17252 fail:
17253 return NULL;
17254}
17255
17256
17257static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17260 bool result;
17261 PyObject * obj0 = 0 ;
17262 char *kwnames[] = {
17263 (char *) "self", NULL
17264 };
17265
17266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
17267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 result = (bool)(arg1)->Evaluate();
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
8edf1c75 17275 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
17276 return resultobj;
17277 fail:
17278 return NULL;
17279}
17280
17281
17282static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj;
17284 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17285 double arg2 ;
17286 double arg3 ;
17287 PyObject * obj0 = 0 ;
8edf1c75
RD
17288 PyObject * obj1 = 0 ;
17289 PyObject * obj2 = 0 ;
44127b65
RD
17290 char *kwnames[] = {
17291 (char *) "self",(char *) "x",(char *) "y", NULL
17292 };
17293
8edf1c75 17294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 17295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17296 {
17297 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
17300 {
17301 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
44127b65
RD
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 (arg1)->SetSpacing(arg2,arg3);
17307
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 Py_INCREF(Py_None); resultobj = Py_None;
17312 return resultobj;
17313 fail:
17314 return NULL;
17315}
17316
17317
17318static PyObject *_wrap_OGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
17321 double arg2 ;
17322 double arg3 ;
17323 bool result;
17324 PyObject * obj0 = 0 ;
8edf1c75
RD
17325 PyObject * obj1 = 0 ;
17326 PyObject * obj2 = 0 ;
44127b65
RD
17327 char *kwnames[] = {
17328 (char *) "self",(char *) "a",(char *) "b", NULL
17329 };
17330
8edf1c75 17331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 17332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17333 {
17334 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 {
17338 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
44127b65
RD
17341 {
17342 PyThreadState* __tstate = wxPyBeginAllowThreads();
17343 result = (bool)(arg1)->Equals(arg2,arg3);
17344
17345 wxPyEndAllowThreads(__tstate);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 }
8edf1c75 17348 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
17349 return resultobj;
17350 fail:
17351 return NULL;
17352}
17353
17354
17355static PyObject * OGLConstraint_swigregister(PyObject *self, PyObject *args) {
17356 PyObject *obj;
17357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17358 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
17359 Py_INCREF(obj);
17360 return Py_BuildValue((char *)"");
17361}
17362static PyObject *_wrap_new_PyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
17363 PyObject *resultobj;
17364 wxPyCompositeShape *result;
17365 char *kwnames[] = {
17366 NULL
17367 };
17368
17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 result = (wxPyCompositeShape *)new wxPyCompositeShape();
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCompositeShape, 1);
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
17384static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17387 PyObject *arg2 = (PyObject *) 0 ;
17388 PyObject *arg3 = (PyObject *) 0 ;
17389 PyObject * obj0 = 0 ;
17390 PyObject * obj1 = 0 ;
17391 PyObject * obj2 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self",(char *) "self",(char *) "_class", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17398 arg2 = obj1;
17399 arg3 = obj2;
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 (arg1)->_setCallbackInfo(arg2,arg3);
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 Py_INCREF(Py_None); resultobj = Py_None;
17408 return resultobj;
17409 fail:
17410 return NULL;
17411}
17412
17413
17414static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj;
17416 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17417 wxPyShape *arg2 = (wxPyShape *) 0 ;
17418 wxPyShape *arg3 = (wxPyShape *) NULL ;
17419 PyObject * obj0 = 0 ;
17420 PyObject * obj1 = 0 ;
17421 PyObject * obj2 = 0 ;
17422 char *kwnames[] = {
17423 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17424 };
17425
17426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
17427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17429 if (obj2) {
17430 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17431 }
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 (arg1)->AddChild(arg2,arg3);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 Py_INCREF(Py_None); resultobj = Py_None;
17440 return resultobj;
17441 fail:
17442 return NULL;
17443}
17444
17445
17446static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17449 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17450 wxOGLConstraint *result;
17451 PyObject * obj0 = 0 ;
17452 PyObject * obj1 = 0 ;
17453 char *kwnames[] = {
17454 (char *) "self",(char *) "constraint", NULL
17455 };
17456
17457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
17458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17460 {
17461 PyThreadState* __tstate = wxPyBeginAllowThreads();
17462 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
17463
17464 wxPyEndAllowThreads(__tstate);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 }
17467 {
17468 resultobj = wxPyMake_wxObject(result);
17469 }
17470 return resultobj;
17471 fail:
17472 return NULL;
17473}
17474
17475
17476static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
17477 PyObject *resultobj;
17478 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17479 int arg2 ;
17480 wxPyShape *arg3 = (wxPyShape *) 0 ;
17481 PyObject *arg4 = (PyObject *) 0 ;
17482 wxOGLConstraint *result;
17483 PyObject * obj0 = 0 ;
8edf1c75 17484 PyObject * obj1 = 0 ;
44127b65
RD
17485 PyObject * obj2 = 0 ;
17486 PyObject * obj3 = 0 ;
17487 char *kwnames[] = {
17488 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17489 };
17490
8edf1c75 17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 17492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17493 {
17494 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
44127b65
RD
17497 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17498 arg4 = obj3;
17499 {
17500 PyThreadState* __tstate = wxPyBeginAllowThreads();
17501 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
17502
17503 wxPyEndAllowThreads(__tstate);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 {
17507 resultobj = wxPyMake_wxObject(result);
17508 }
17509 return resultobj;
17510 fail:
17511 return NULL;
17512}
17513
17514
17515static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17516 PyObject *resultobj;
17517 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17518 int arg2 ;
17519 wxPyShape *arg3 = (wxPyShape *) 0 ;
17520 wxPyShape *arg4 = (wxPyShape *) 0 ;
17521 wxOGLConstraint *result;
17522 PyObject * obj0 = 0 ;
8edf1c75 17523 PyObject * obj1 = 0 ;
44127b65
RD
17524 PyObject * obj2 = 0 ;
17525 PyObject * obj3 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17528 };
17529
8edf1c75 17530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 17531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17532 {
17533 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17534 if (PyErr_Occurred()) SWIG_fail;
17535 }
44127b65
RD
17536 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17537 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 {
17546 resultobj = wxPyMake_wxObject(result);
17547 }
17548 return resultobj;
17549 fail:
17550 return NULL;
17551}
17552
17553
17554static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj;
17556 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17557 PyObject * obj0 = 0 ;
17558 char *kwnames[] = {
17559 (char *) "self", NULL
17560 };
17561
17562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
17563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17564 {
17565 PyThreadState* __tstate = wxPyBeginAllowThreads();
17566 (arg1)->CalculateSize();
17567
17568 wxPyEndAllowThreads(__tstate);
17569 if (PyErr_Occurred()) SWIG_fail;
17570 }
17571 Py_INCREF(Py_None); resultobj = Py_None;
17572 return resultobj;
17573 fail:
17574 return NULL;
17575}
17576
17577
17578static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
17579 PyObject *resultobj;
17580 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17581 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
17582 bool result;
17583 PyObject * obj0 = 0 ;
17584 PyObject * obj1 = 0 ;
17585 char *kwnames[] = {
17586 (char *) "self",(char *) "division", NULL
17587 };
17588
17589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
17590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 result = (bool)(arg1)->ContainsDivision(arg2);
17595
17596 wxPyEndAllowThreads(__tstate);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
8edf1c75 17599 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
17600 return resultobj;
17601 fail:
17602 return NULL;
17603}
17604
17605
17606static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17609 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
17610 PyObject * obj0 = 0 ;
17611 PyObject * obj1 = 0 ;
17612 char *kwnames[] = {
17613 (char *) "self",(char *) "constraint", NULL
17614 };
17615
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
17617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOGLConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17619 {
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 (arg1)->DeleteConstraint(arg2);
17622
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 Py_INCREF(Py_None); resultobj = Py_None;
17627 return resultobj;
17628 fail:
17629 return NULL;
17630}
17631
17632
17633static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj;
17635 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17636 wxPyShape *arg2 = (wxPyShape *) 0 ;
17637 PyObject * obj0 = 0 ;
17638 PyObject * obj1 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self",(char *) "child", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 (arg1)->DeleteConstraintsInvolvingChild(arg2);
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 Py_INCREF(Py_None); resultobj = Py_None;
17654 return resultobj;
17655 fail:
17656 return NULL;
17657}
17658
17659
17660static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17663 wxPyShape *result;
17664 PyObject * obj0 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
17670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 result = (wxPyShape *)(arg1)->FindContainerImage();
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 {
17679 resultobj = wxPyMake_wxShapeEvtHandler(result);
17680 }
17681 return resultobj;
17682 fail:
17683 return NULL;
17684}
17685
17686
17687static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj;
17689 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17690 PyObject *result;
17691 PyObject * obj0 = 0 ;
17692 char *kwnames[] = {
17693 (char *) "self", NULL
17694 };
17695
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 resultobj = result;
17706 return resultobj;
17707 fail:
17708 return NULL;
17709}
17710
17711
17712static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17715 PyObject *result;
17716 PyObject * obj0 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 resultobj = result;
17731 return resultobj;
17732 fail:
17733 return NULL;
17734}
17735
17736
17737static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
17738 PyObject *resultobj;
17739 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17740 PyObject * obj0 = 0 ;
17741 char *kwnames[] = {
17742 (char *) "self", NULL
17743 };
17744
17745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
17746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 (arg1)->MakeContainer();
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 Py_INCREF(Py_None); resultobj = Py_None;
17755 return resultobj;
17756 fail:
17757 return NULL;
17758}
17759
17760
17761static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17764 bool result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (bool)(arg1)->Recompute();
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
8edf1c75 17779 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
17780 return resultobj;
17781 fail:
17782 return NULL;
17783}
17784
17785
17786static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17789 wxPyShape *arg2 = (wxPyShape *) 0 ;
17790 PyObject * obj0 = 0 ;
17791 PyObject * obj1 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self",(char *) "child", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 (arg1)->RemoveChild(arg2);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 Py_INCREF(Py_None); resultobj = Py_None;
17807 return resultobj;
17808 fail:
17809 return NULL;
17810}
17811
17812
17813static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj;
17815 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 (arg1)->base_OnDelete();
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 Py_INCREF(Py_None); resultobj = Py_None;
17831 return resultobj;
17832 fail:
17833 return NULL;
17834}
17835
17836
17837static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17840 wxDC *arg2 = 0 ;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self",(char *) "dc", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17850 if (arg2 == NULL) {
17851 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17852 }
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->base_OnDraw(*arg2);
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 return resultobj;
17862 fail:
17863 return NULL;
17864}
17865
17866
17867static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17870 wxDC *arg2 = 0 ;
17871 PyObject * obj0 = 0 ;
17872 PyObject * obj1 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self",(char *) "dc", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
17878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17880 if (arg2 == NULL) {
17881 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17882 }
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 (arg1)->base_OnDrawContents(*arg2);
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 Py_INCREF(Py_None); resultobj = Py_None;
17891 return resultobj;
17892 fail:
17893 return NULL;
17894}
17895
17896
17897static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17900 wxDC *arg2 = 0 ;
17901 bool arg3 = (bool) FALSE ;
17902 PyObject * obj0 = 0 ;
17903 PyObject * obj1 = 0 ;
17904 PyObject * obj2 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self",(char *) "dc",(char *) "erase", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 if (arg2 == NULL) {
17913 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17914 }
17915 if (obj2) {
83448d71 17916 {
8edf1c75 17917 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
44127b65
RD
17920 }
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 (arg1)->base_OnDrawBranches(*arg2,arg3);
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 Py_INCREF(Py_None); resultobj = Py_None;
17929 return resultobj;
17930 fail:
17931 return NULL;
17932}
17933
17934
17935static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17938 wxDC *arg2 = 0 ;
17939 PyObject * obj0 = 0 ;
17940 PyObject * obj1 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self",(char *) "dc", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 if (arg2 == NULL) {
17949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17950 }
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 (arg1)->base_OnMoveLinks(*arg2);
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 Py_INCREF(Py_None); resultobj = Py_None;
17959 return resultobj;
17960 fail:
17961 return NULL;
17962}
17963
17964
17965static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17968 wxDC *arg2 = 0 ;
17969 PyObject * obj0 = 0 ;
17970 PyObject * obj1 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self",(char *) "dc", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
17976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17978 if (arg2 == NULL) {
17979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17980 }
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 (arg1)->base_OnErase(*arg2);
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 Py_INCREF(Py_None); resultobj = Py_None;
17989 return resultobj;
17990 fail:
17991 return NULL;
17992}
17993
17994
17995static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
17998 wxDC *arg2 = 0 ;
17999 PyObject * obj0 = 0 ;
18000 PyObject * obj1 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "self",(char *) "dc", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
18006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18008 if (arg2 == NULL) {
18009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18010 }
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 (arg1)->base_OnEraseContents(*arg2);
18014
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 Py_INCREF(Py_None); resultobj = Py_None;
18019 return resultobj;
18020 fail:
18021 return NULL;
18022}
18023
18024
18025static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
18026 PyObject *resultobj;
18027 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18028 wxDC *arg2 = 0 ;
18029 PyObject * obj0 = 0 ;
18030 PyObject * obj1 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "self",(char *) "dc", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
18036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18038 if (arg2 == NULL) {
18039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18040 }
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 (arg1)->base_OnHighlight(*arg2);
18044
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 Py_INCREF(Py_None); resultobj = Py_None;
18049 return resultobj;
18050 fail:
18051 return NULL;
18052}
18053
18054
18055static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18056 PyObject *resultobj;
18057 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18058 double arg2 ;
18059 double arg3 ;
18060 int arg4 = (int) 0 ;
18061 int arg5 = (int) 0 ;
18062 PyObject * obj0 = 0 ;
8edf1c75
RD
18063 PyObject * obj1 = 0 ;
18064 PyObject * obj2 = 0 ;
18065 PyObject * obj3 = 0 ;
18066 PyObject * obj4 = 0 ;
44127b65
RD
18067 char *kwnames[] = {
18068 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18069 };
18070
8edf1c75 18071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 18072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18073 {
18074 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 {
18078 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 if (obj3) {
18082 {
18083 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18084 if (PyErr_Occurred()) SWIG_fail;
18085 }
18086 }
18087 if (obj4) {
18088 {
18089 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 }
44127b65
RD
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 Py_INCREF(Py_None); resultobj = Py_None;
18101 return resultobj;
18102 fail:
18103 return NULL;
18104}
18105
18106
18107static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18108 PyObject *resultobj;
18109 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18110 double arg2 ;
18111 double arg3 ;
18112 int arg4 = (int) 0 ;
18113 int arg5 = (int) 0 ;
18114 PyObject * obj0 = 0 ;
8edf1c75
RD
18115 PyObject * obj1 = 0 ;
18116 PyObject * obj2 = 0 ;
18117 PyObject * obj3 = 0 ;
18118 PyObject * obj4 = 0 ;
44127b65
RD
18119 char *kwnames[] = {
18120 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18121 };
18122
8edf1c75 18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 18124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18125 {
18126 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 {
18130 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 if (obj3) {
18134 {
18135 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 }
18139 if (obj4) {
18140 {
18141 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18142 if (PyErr_Occurred()) SWIG_fail;
18143 }
18144 }
44127b65
RD
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 Py_INCREF(Py_None); resultobj = Py_None;
18153 return resultobj;
18154 fail:
18155 return NULL;
18156}
18157
18158
18159static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18162 double arg2 ;
18163 double arg3 ;
18164 int arg4 = (int) 0 ;
18165 int arg5 = (int) 0 ;
18166 PyObject * obj0 = 0 ;
8edf1c75
RD
18167 PyObject * obj1 = 0 ;
18168 PyObject * obj2 = 0 ;
18169 PyObject * obj3 = 0 ;
18170 PyObject * obj4 = 0 ;
44127b65
RD
18171 char *kwnames[] = {
18172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18173 };
18174
8edf1c75 18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 18176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18177 {
18178 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 {
18182 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 if (obj3) {
18186 {
18187 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 }
18191 if (obj4) {
18192 {
18193 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 }
44127b65
RD
18197 {
18198 PyThreadState* __tstate = wxPyBeginAllowThreads();
18199 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18200
18201 wxPyEndAllowThreads(__tstate);
18202 if (PyErr_Occurred()) SWIG_fail;
18203 }
18204 Py_INCREF(Py_None); resultobj = Py_None;
18205 return resultobj;
18206 fail:
18207 return NULL;
18208}
18209
18210
18211static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18212 PyObject *resultobj;
18213 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18214 double arg2 ;
18215 double arg3 ;
18216 PyObject * obj0 = 0 ;
8edf1c75
RD
18217 PyObject * obj1 = 0 ;
18218 PyObject * obj2 = 0 ;
44127b65
RD
18219 char *kwnames[] = {
18220 (char *) "self",(char *) "x",(char *) "y", NULL
18221 };
18222
8edf1c75 18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 18224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18225 {
18226 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18227 if (PyErr_Occurred()) SWIG_fail;
18228 }
18229 {
18230 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
44127b65
RD
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 (arg1)->base_OnSize(arg2,arg3);
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 Py_INCREF(Py_None); resultobj = Py_None;
18241 return resultobj;
18242 fail:
18243 return NULL;
18244}
18245
18246
18247static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
18248 PyObject *resultobj;
18249 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18250 wxDC *arg2 = 0 ;
18251 double arg3 ;
18252 double arg4 ;
18253 double arg5 ;
18254 double arg6 ;
18255 bool arg7 = (bool) True ;
18256 bool result;
18257 PyObject * obj0 = 0 ;
18258 PyObject * obj1 = 0 ;
8edf1c75
RD
18259 PyObject * obj2 = 0 ;
18260 PyObject * obj3 = 0 ;
18261 PyObject * obj4 = 0 ;
18262 PyObject * obj5 = 0 ;
44127b65
RD
18263 PyObject * obj6 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18266 };
18267
8edf1c75 18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
18269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18271 if (arg2 == NULL) {
18272 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18273 }
8edf1c75
RD
18274 {
18275 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 {
18279 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 {
18283 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
18284 if (PyErr_Occurred()) SWIG_fail;
18285 }
18286 {
18287 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 }
44127b65 18290 if (obj6) {
83448d71 18291 {
8edf1c75 18292 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
18293 if (PyErr_Occurred()) SWIG_fail;
18294 }
44127b65
RD
18295 }
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
8edf1c75 18303 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
18304 return resultobj;
18305 fail:
18306 return NULL;
18307}
18308
18309
18310static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
18311 PyObject *resultobj;
18312 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18313 wxDC *arg2 = 0 ;
18314 double arg3 ;
18315 double arg4 ;
18316 double arg5 ;
18317 double arg6 ;
18318 bool arg7 = (bool) True ;
18319 PyObject * obj0 = 0 ;
18320 PyObject * obj1 = 0 ;
8edf1c75
RD
18321 PyObject * obj2 = 0 ;
18322 PyObject * obj3 = 0 ;
18323 PyObject * obj4 = 0 ;
18324 PyObject * obj5 = 0 ;
44127b65
RD
18325 PyObject * obj6 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18328 };
18329
8edf1c75 18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
18331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18333 if (arg2 == NULL) {
18334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18335 }
8edf1c75
RD
18336 {
18337 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 {
18341 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18342 if (PyErr_Occurred()) SWIG_fail;
18343 }
18344 {
18345 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 {
18349 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
44127b65 18352 if (obj6) {
83448d71 18353 {
8edf1c75 18354 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
44127b65
RD
18357 }
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 Py_INCREF(Py_None); resultobj = Py_None;
18366 return resultobj;
18367 fail:
18368 return NULL;
18369}
18370
18371
18372static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj;
18374 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18375 bool arg2 ;
18376 double arg3 ;
18377 double arg4 ;
18378 int arg5 = (int) 0 ;
18379 int arg6 = (int) 0 ;
18380 PyObject * obj0 = 0 ;
18381 PyObject * obj1 = 0 ;
8edf1c75
RD
18382 PyObject * obj2 = 0 ;
18383 PyObject * obj3 = 0 ;
18384 PyObject * obj4 = 0 ;
18385 PyObject * obj5 = 0 ;
44127b65
RD
18386 char *kwnames[] = {
18387 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18388 };
18389
8edf1c75 18390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 18391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 18392 {
8edf1c75 18393 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
8edf1c75
RD
18396 {
18397 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18398 if (PyErr_Occurred()) SWIG_fail;
18399 }
18400 {
18401 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 if (obj4) {
18405 {
18406 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 }
18410 if (obj5) {
18411 {
18412 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 }
44127b65
RD
18416 {
18417 PyThreadState* __tstate = wxPyBeginAllowThreads();
18418 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18419
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 Py_INCREF(Py_None); resultobj = Py_None;
18424 return resultobj;
18425 fail:
18426 return NULL;
18427}
18428
18429
18430static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18431 PyObject *resultobj;
18432 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18433 double arg2 ;
18434 double arg3 ;
18435 int arg4 = (int) 0 ;
18436 int arg5 = (int) 0 ;
18437 PyObject * obj0 = 0 ;
8edf1c75
RD
18438 PyObject * obj1 = 0 ;
18439 PyObject * obj2 = 0 ;
18440 PyObject * obj3 = 0 ;
18441 PyObject * obj4 = 0 ;
44127b65
RD
18442 char *kwnames[] = {
18443 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18444 };
18445
8edf1c75 18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 18447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18448 {
18449 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 {
18453 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 if (obj3) {
18457 {
18458 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 }
18462 if (obj4) {
18463 {
18464 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 }
44127b65
RD
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 Py_INCREF(Py_None); resultobj = Py_None;
18476 return resultobj;
18477 fail:
18478 return NULL;
18479}
18480
18481
18482static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18485 double arg2 ;
18486 double arg3 ;
18487 int arg4 = (int) 0 ;
18488 int arg5 = (int) 0 ;
18489 PyObject * obj0 = 0 ;
8edf1c75
RD
18490 PyObject * obj1 = 0 ;
18491 PyObject * obj2 = 0 ;
18492 PyObject * obj3 = 0 ;
18493 PyObject * obj4 = 0 ;
44127b65
RD
18494 char *kwnames[] = {
18495 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18496 };
18497
8edf1c75 18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 18499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18500 {
18501 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 {
18505 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 if (obj3) {
18509 {
18510 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 }
18514 if (obj4) {
18515 {
18516 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 }
44127b65
RD
18520 {
18521 PyThreadState* __tstate = wxPyBeginAllowThreads();
18522 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18523
18524 wxPyEndAllowThreads(__tstate);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 }
18527 Py_INCREF(Py_None); resultobj = Py_None;
18528 return resultobj;
18529 fail:
18530 return NULL;
18531}
18532
18533
18534static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj;
18536 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18537 bool arg2 ;
18538 double arg3 ;
18539 double arg4 ;
18540 int arg5 = (int) 0 ;
18541 int arg6 = (int) 0 ;
18542 PyObject * obj0 = 0 ;
18543 PyObject * obj1 = 0 ;
8edf1c75
RD
18544 PyObject * obj2 = 0 ;
18545 PyObject * obj3 = 0 ;
18546 PyObject * obj4 = 0 ;
18547 PyObject * obj5 = 0 ;
44127b65
RD
18548 char *kwnames[] = {
18549 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18550 };
18551
8edf1c75 18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 18553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 18554 {
8edf1c75
RD
18555 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 {
18559 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 {
18563 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
8edf1c75
RD
18566 if (obj4) {
18567 {
18568 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 }
18572 if (obj5) {
18573 {
18574 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 }
44127b65
RD
18578 {
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 Py_INCREF(Py_None); resultobj = Py_None;
18586 return resultobj;
18587 fail:
18588 return NULL;
18589}
18590
18591
18592static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18593 PyObject *resultobj;
18594 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18595 double arg2 ;
18596 double arg3 ;
18597 int arg4 = (int) 0 ;
18598 int arg5 = (int) 0 ;
18599 PyObject * obj0 = 0 ;
8edf1c75
RD
18600 PyObject * obj1 = 0 ;
18601 PyObject * obj2 = 0 ;
18602 PyObject * obj3 = 0 ;
18603 PyObject * obj4 = 0 ;
44127b65
RD
18604 char *kwnames[] = {
18605 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18606 };
18607
8edf1c75 18608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 18609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18610 {
18611 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 {
18615 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 if (obj3) {
18619 {
18620 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 }
18624 if (obj4) {
18625 {
18626 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18627 if (PyErr_Occurred()) SWIG_fail;
18628 }
18629 }
44127b65
RD
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 Py_INCREF(Py_None); resultobj = Py_None;
18638 return resultobj;
18639 fail:
18640 return NULL;
18641}
18642
18643
18644static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18647 double arg2 ;
18648 double arg3 ;
18649 int arg4 = (int) 0 ;
18650 int arg5 = (int) 0 ;
18651 PyObject * obj0 = 0 ;
8edf1c75
RD
18652 PyObject * obj1 = 0 ;
18653 PyObject * obj2 = 0 ;
18654 PyObject * obj3 = 0 ;
18655 PyObject * obj4 = 0 ;
44127b65
RD
18656 char *kwnames[] = {
18657 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18658 };
18659
8edf1c75 18660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 18661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18662 {
18663 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 {
18667 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 if (obj3) {
18671 {
18672 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 }
18676 if (obj4) {
18677 {
18678 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 }
44127b65
RD
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 Py_INCREF(Py_None); resultobj = Py_None;
18690 return resultobj;
18691 fail:
18692 return NULL;
18693}
18694
18695
18696static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18699 wxDC *arg2 = 0 ;
18700 double arg3 ;
18701 double arg4 ;
18702 double arg5 ;
18703 double arg6 ;
18704 PyObject * obj0 = 0 ;
18705 PyObject * obj1 = 0 ;
8edf1c75
RD
18706 PyObject * obj2 = 0 ;
18707 PyObject * obj3 = 0 ;
18708 PyObject * obj4 = 0 ;
18709 PyObject * obj5 = 0 ;
44127b65
RD
18710 char *kwnames[] = {
18711 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18712 };
18713
8edf1c75 18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
18715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18717 if (arg2 == NULL) {
18718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18719 }
8edf1c75
RD
18720 {
18721 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 {
18725 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 {
18729 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 {
18733 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
44127b65
RD
18736 {
18737 PyThreadState* __tstate = wxPyBeginAllowThreads();
18738 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
18739
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 Py_INCREF(Py_None); resultobj = Py_None;
18744 return resultobj;
18745 fail:
18746 return NULL;
18747}
18748
18749
18750static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18753 wxDC *arg2 = 0 ;
18754 PyObject * obj0 = 0 ;
18755 PyObject * obj1 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self",(char *) "dc", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
18761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18762 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18763 if (arg2 == NULL) {
18764 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18765 }
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 (arg1)->base_OnDrawControlPoints(*arg2);
18769
18770 wxPyEndAllowThreads(__tstate);
18771 if (PyErr_Occurred()) SWIG_fail;
18772 }
18773 Py_INCREF(Py_None); resultobj = Py_None;
18774 return resultobj;
18775 fail:
18776 return NULL;
18777}
18778
18779
18780static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18783 wxDC *arg2 = 0 ;
18784 PyObject * obj0 = 0 ;
18785 PyObject * obj1 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self",(char *) "dc", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18793 if (arg2 == NULL) {
18794 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18795 }
18796 {
18797 PyThreadState* __tstate = wxPyBeginAllowThreads();
18798 (arg1)->base_OnEraseControlPoints(*arg2);
18799
18800 wxPyEndAllowThreads(__tstate);
18801 if (PyErr_Occurred()) SWIG_fail;
18802 }
18803 Py_INCREF(Py_None); resultobj = Py_None;
18804 return resultobj;
18805 fail:
18806 return NULL;
18807}
18808
18809
18810static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
18811 PyObject *resultobj;
18812 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18813 wxDC *arg2 = 0 ;
18814 bool arg3 = (bool) True ;
18815 PyObject * obj0 = 0 ;
18816 PyObject * obj1 = 0 ;
18817 PyObject * obj2 = 0 ;
18818 char *kwnames[] = {
18819 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18820 };
18821
18822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
18823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18825 if (arg2 == NULL) {
18826 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18827 }
18828 if (obj2) {
83448d71 18829 {
8edf1c75 18830 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
44127b65
RD
18833 }
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 (arg1)->base_OnMoveLink(*arg2,arg3);
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 Py_INCREF(Py_None); resultobj = Py_None;
18842 return resultobj;
18843 fail:
18844 return NULL;
18845}
18846
18847
18848static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18851 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18852 bool arg3 ;
18853 double arg4 ;
18854 double arg5 ;
18855 int arg6 = (int) 0 ;
18856 int arg7 = (int) 0 ;
18857 PyObject * obj0 = 0 ;
18858 PyObject * obj1 = 0 ;
18859 PyObject * obj2 = 0 ;
8edf1c75
RD
18860 PyObject * obj3 = 0 ;
18861 PyObject * obj4 = 0 ;
18862 PyObject * obj5 = 0 ;
18863 PyObject * obj6 = 0 ;
44127b65
RD
18864 char *kwnames[] = {
18865 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18866 };
18867
8edf1c75 18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
18869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 18871 {
8edf1c75 18872 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
8edf1c75
RD
18875 {
18876 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 {
18880 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
18883 if (obj5) {
18884 {
18885 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 }
18889 if (obj6) {
18890 {
18891 arg7 = (int) SWIG_PyObj_AsInt(obj6);
18892 if (PyErr_Occurred()) SWIG_fail;
18893 }
18894 }
44127b65
RD
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 Py_INCREF(Py_None); resultobj = Py_None;
18903 return resultobj;
18904 fail:
18905 return NULL;
18906}
18907
18908
18909static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18910 PyObject *resultobj;
18911 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18912 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18913 double arg3 ;
18914 double arg4 ;
18915 int arg5 = (int) 0 ;
18916 int arg6 = (int) 0 ;
18917 PyObject * obj0 = 0 ;
18918 PyObject * obj1 = 0 ;
8edf1c75
RD
18919 PyObject * obj2 = 0 ;
18920 PyObject * obj3 = 0 ;
18921 PyObject * obj4 = 0 ;
18922 PyObject * obj5 = 0 ;
44127b65
RD
18923 char *kwnames[] = {
18924 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18925 };
18926
8edf1c75 18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
18928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18930 {
18931 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18932 if (PyErr_Occurred()) SWIG_fail;
18933 }
18934 {
18935 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 if (obj4) {
18939 {
18940 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 }
18944 if (obj5) {
18945 {
18946 arg6 = (int) SWIG_PyObj_AsInt(obj5);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 }
44127b65
RD
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 Py_INCREF(Py_None); resultobj = Py_None;
18958 return resultobj;
18959 fail:
18960 return NULL;
18961}
18962
18963
18964static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
18967 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
18968 double arg3 ;
18969 double arg4 ;
18970 int arg5 = (int) 0 ;
18971 int arg6 = (int) 0 ;
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
8edf1c75
RD
18974 PyObject * obj2 = 0 ;
18975 PyObject * obj3 = 0 ;
18976 PyObject * obj4 = 0 ;
18977 PyObject * obj5 = 0 ;
44127b65
RD
18978 char *kwnames[] = {
18979 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18980 };
18981
8edf1c75 18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
18983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18985 {
18986 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 {
18990 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 }
18993 if (obj4) {
18994 {
18995 arg5 = (int) SWIG_PyObj_AsInt(obj4);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 }
18999 if (obj5) {
19000 {
19001 arg6 = (int) SWIG_PyObj_AsInt(obj5);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 }
44127b65
RD
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 Py_INCREF(Py_None); resultobj = Py_None;
19013 return resultobj;
19014 fail:
19015 return NULL;
19016}
19017
19018
19019static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19022 double arg2 ;
19023 double arg3 ;
19024 PyObject * obj0 = 0 ;
8edf1c75
RD
19025 PyObject * obj1 = 0 ;
19026 PyObject * obj2 = 0 ;
44127b65
RD
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "w",(char *) "h", NULL
19029 };
19030
8edf1c75 19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 19032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19033 {
19034 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 {
19038 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
44127b65
RD
19041 {
19042 PyThreadState* __tstate = wxPyBeginAllowThreads();
19043 (arg1)->base_OnBeginSize(arg2,arg3);
19044
19045 wxPyEndAllowThreads(__tstate);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 }
19048 Py_INCREF(Py_None); resultobj = Py_None;
19049 return resultobj;
19050 fail:
19051 return NULL;
19052}
19053
19054
19055static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19056 PyObject *resultobj;
19057 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19058 double arg2 ;
19059 double arg3 ;
19060 PyObject * obj0 = 0 ;
8edf1c75
RD
19061 PyObject * obj1 = 0 ;
19062 PyObject * obj2 = 0 ;
44127b65
RD
19063 char *kwnames[] = {
19064 (char *) "self",(char *) "w",(char *) "h", NULL
19065 };
19066
8edf1c75 19067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 19068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCompositeShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19069 {
19070 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 {
19074 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
44127b65
RD
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 (arg1)->base_OnEndSize(arg2,arg3);
19080
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 Py_INCREF(Py_None); resultobj = Py_None;
19085 return resultobj;
19086 fail:
19087 return NULL;
19088}
19089
19090
19091static PyObject * PyCompositeShape_swigregister(PyObject *self, PyObject *args) {
19092 PyObject *obj;
19093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19094 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
19095 Py_INCREF(obj);
19096 return Py_BuildValue((char *)"");
19097}
19098static PyObject *_wrap_new_PyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
19099 PyObject *resultobj;
19100 double arg1 = (double) 0.0 ;
19101 double arg2 = (double) 0.0 ;
19102 wxPyDividedShape *result;
8edf1c75
RD
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
44127b65
RD
19105 char *kwnames[] = {
19106 (char *) "width",(char *) "height", NULL
19107 };
19108
8edf1c75
RD
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
19110 if (obj0) {
19111 {
19112 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 }
19116 if (obj1) {
19117 {
19118 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 }
44127b65
RD
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
19125
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDividedShape, 1);
19130 return resultobj;
19131 fail:
19132 return NULL;
19133}
19134
19135
19136static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19137 PyObject *resultobj;
19138 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19139 PyObject *arg2 = (PyObject *) 0 ;
19140 PyObject *arg3 = (PyObject *) 0 ;
19141 PyObject * obj0 = 0 ;
19142 PyObject * obj1 = 0 ;
19143 PyObject * obj2 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self",(char *) "self",(char *) "_class", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19150 arg2 = obj1;
19151 arg3 = obj2;
19152 {
19153 PyThreadState* __tstate = wxPyBeginAllowThreads();
19154 (arg1)->_setCallbackInfo(arg2,arg3);
19155
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 Py_INCREF(Py_None); resultobj = Py_None;
19160 return resultobj;
19161 fail:
19162 return NULL;
19163}
19164
19165
19166static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
19175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 (arg1)->EditRegions();
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 Py_INCREF(Py_None); resultobj = Py_None;
19184 return resultobj;
19185 fail:
19186 return NULL;
19187}
19188
19189
19190static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19193 PyObject * obj0 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
19199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 (arg1)->SetRegionSizes();
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 return resultobj;
19209 fail:
19210 return NULL;
19211}
19212
19213
19214static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19217 PyObject * obj0 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self", NULL
19220 };
19221
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
19223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 (arg1)->base_OnDelete();
19227
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 Py_INCREF(Py_None); resultobj = Py_None;
19232 return resultobj;
19233 fail:
19234 return NULL;
19235}
19236
19237
19238static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19241 wxDC *arg2 = 0 ;
19242 PyObject * obj0 = 0 ;
19243 PyObject * obj1 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self",(char *) "dc", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
19249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19251 if (arg2 == NULL) {
19252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19253 }
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 (arg1)->base_OnDraw(*arg2);
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 Py_INCREF(Py_None); resultobj = Py_None;
19262 return resultobj;
19263 fail:
19264 return NULL;
19265}
19266
19267
19268static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19269 PyObject *resultobj;
19270 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19271 wxDC *arg2 = 0 ;
19272 PyObject * obj0 = 0 ;
19273 PyObject * obj1 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self",(char *) "dc", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
19279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19281 if (arg2 == NULL) {
19282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19283 }
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 (arg1)->base_OnDrawContents(*arg2);
19287
19288 wxPyEndAllowThreads(__tstate);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 Py_INCREF(Py_None); resultobj = Py_None;
19292 return resultobj;
19293 fail:
19294 return NULL;
19295}
19296
19297
19298static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19301 wxDC *arg2 = 0 ;
19302 bool arg3 = (bool) FALSE ;
19303 PyObject * obj0 = 0 ;
19304 PyObject * obj1 = 0 ;
19305 PyObject * obj2 = 0 ;
19306 char *kwnames[] = {
19307 (char *) "self",(char *) "dc",(char *) "erase", NULL
19308 };
19309
19310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
19311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19313 if (arg2 == NULL) {
19314 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19315 }
19316 if (obj2) {
83448d71 19317 {
8edf1c75 19318 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
44127b65
RD
19321 }
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 (arg1)->base_OnDrawBranches(*arg2,arg3);
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
19329 Py_INCREF(Py_None); resultobj = Py_None;
19330 return resultobj;
19331 fail:
19332 return NULL;
19333}
19334
19335
19336static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj;
19338 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19339 wxDC *arg2 = 0 ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "dc", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 if (arg2 == NULL) {
19350 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19351 }
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 (arg1)->base_OnMoveLinks(*arg2);
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 Py_INCREF(Py_None); resultobj = Py_None;
19360 return resultobj;
19361 fail:
19362 return NULL;
19363}
19364
19365
19366static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19369 wxDC *arg2 = 0 ;
19370 PyObject * obj0 = 0 ;
19371 PyObject * obj1 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self",(char *) "dc", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19379 if (arg2 == NULL) {
19380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19381 }
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 (arg1)->base_OnErase(*arg2);
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
19389 Py_INCREF(Py_None); resultobj = Py_None;
19390 return resultobj;
19391 fail:
19392 return NULL;
19393}
19394
19395
19396static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
19397 PyObject *resultobj;
19398 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19399 wxDC *arg2 = 0 ;
19400 PyObject * obj0 = 0 ;
19401 PyObject * obj1 = 0 ;
19402 char *kwnames[] = {
19403 (char *) "self",(char *) "dc", NULL
19404 };
19405
19406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
19407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19409 if (arg2 == NULL) {
19410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19411 }
19412 {
19413 PyThreadState* __tstate = wxPyBeginAllowThreads();
19414 (arg1)->base_OnEraseContents(*arg2);
19415
19416 wxPyEndAllowThreads(__tstate);
19417 if (PyErr_Occurred()) SWIG_fail;
19418 }
19419 Py_INCREF(Py_None); resultobj = Py_None;
19420 return resultobj;
19421 fail:
19422 return NULL;
19423}
19424
19425
19426static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
19427 PyObject *resultobj;
19428 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19429 wxDC *arg2 = 0 ;
19430 PyObject * obj0 = 0 ;
19431 PyObject * obj1 = 0 ;
19432 char *kwnames[] = {
19433 (char *) "self",(char *) "dc", NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
19437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19439 if (arg2 == NULL) {
19440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19441 }
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 (arg1)->base_OnHighlight(*arg2);
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 Py_INCREF(Py_None); resultobj = Py_None;
19450 return resultobj;
19451 fail:
19452 return NULL;
19453}
19454
19455
19456static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19457 PyObject *resultobj;
19458 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19459 double arg2 ;
19460 double arg3 ;
19461 int arg4 = (int) 0 ;
19462 int arg5 = (int) 0 ;
19463 PyObject * obj0 = 0 ;
8edf1c75
RD
19464 PyObject * obj1 = 0 ;
19465 PyObject * obj2 = 0 ;
19466 PyObject * obj3 = 0 ;
19467 PyObject * obj4 = 0 ;
44127b65
RD
19468 char *kwnames[] = {
19469 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19470 };
19471
8edf1c75 19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 19473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19474 {
19475 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 {
19479 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 if (obj3) {
19483 {
19484 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 }
19487 }
19488 if (obj4) {
19489 {
19490 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 }
44127b65
RD
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
19497
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 Py_INCREF(Py_None); resultobj = Py_None;
19502 return resultobj;
19503 fail:
19504 return NULL;
19505}
19506
19507
19508static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19509 PyObject *resultobj;
19510 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19511 double arg2 ;
19512 double arg3 ;
19513 int arg4 = (int) 0 ;
19514 int arg5 = (int) 0 ;
19515 PyObject * obj0 = 0 ;
8edf1c75
RD
19516 PyObject * obj1 = 0 ;
19517 PyObject * obj2 = 0 ;
19518 PyObject * obj3 = 0 ;
19519 PyObject * obj4 = 0 ;
44127b65
RD
19520 char *kwnames[] = {
19521 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19522 };
19523
8edf1c75 19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 19525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19526 {
19527 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 {
19531 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 if (obj3) {
19535 {
19536 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 }
19540 if (obj4) {
19541 {
19542 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19543 if (PyErr_Occurred()) SWIG_fail;
19544 }
19545 }
44127b65
RD
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 Py_INCREF(Py_None); resultobj = Py_None;
19554 return resultobj;
19555 fail:
19556 return NULL;
19557}
19558
19559
19560static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj;
19562 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19563 double arg2 ;
19564 double arg3 ;
19565 int arg4 = (int) 0 ;
19566 int arg5 = (int) 0 ;
19567 PyObject * obj0 = 0 ;
8edf1c75
RD
19568 PyObject * obj1 = 0 ;
19569 PyObject * obj2 = 0 ;
19570 PyObject * obj3 = 0 ;
19571 PyObject * obj4 = 0 ;
44127b65
RD
19572 char *kwnames[] = {
19573 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19574 };
19575
8edf1c75 19576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 19577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19578 {
19579 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 {
19583 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 if (obj3) {
19587 {
19588 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 }
19591 }
19592 if (obj4) {
19593 {
19594 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 }
44127b65
RD
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 Py_INCREF(Py_None); resultobj = Py_None;
19606 return resultobj;
19607 fail:
19608 return NULL;
19609}
19610
19611
19612static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19615 double arg2 ;
19616 double arg3 ;
19617 PyObject * obj0 = 0 ;
8edf1c75
RD
19618 PyObject * obj1 = 0 ;
19619 PyObject * obj2 = 0 ;
44127b65
RD
19620 char *kwnames[] = {
19621 (char *) "self",(char *) "x",(char *) "y", NULL
19622 };
19623
8edf1c75 19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 19625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19626 {
19627 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 {
19631 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
44127b65
RD
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 (arg1)->base_OnSize(arg2,arg3);
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 Py_INCREF(Py_None); resultobj = Py_None;
19642 return resultobj;
19643 fail:
19644 return NULL;
19645}
19646
19647
19648static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj;
19650 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19651 wxDC *arg2 = 0 ;
19652 double arg3 ;
19653 double arg4 ;
19654 double arg5 ;
19655 double arg6 ;
19656 bool arg7 = (bool) True ;
19657 bool result;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
8edf1c75
RD
19660 PyObject * obj2 = 0 ;
19661 PyObject * obj3 = 0 ;
19662 PyObject * obj4 = 0 ;
19663 PyObject * obj5 = 0 ;
44127b65
RD
19664 PyObject * obj6 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19667 };
19668
8edf1c75 19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
19670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 if (arg2 == NULL) {
19673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19674 }
8edf1c75
RD
19675 {
19676 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19677 if (PyErr_Occurred()) SWIG_fail;
19678 }
19679 {
19680 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 {
19684 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 {
19688 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
44127b65 19691 if (obj6) {
83448d71 19692 {
8edf1c75 19693 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
44127b65
RD
19696 }
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
19700
19701 wxPyEndAllowThreads(__tstate);
19702 if (PyErr_Occurred()) SWIG_fail;
19703 }
8edf1c75 19704 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
19705 return resultobj;
19706 fail:
19707 return NULL;
19708}
19709
19710
19711static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
19712 PyObject *resultobj;
19713 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19714 wxDC *arg2 = 0 ;
19715 double arg3 ;
19716 double arg4 ;
19717 double arg5 ;
19718 double arg6 ;
19719 bool arg7 = (bool) True ;
19720 PyObject * obj0 = 0 ;
19721 PyObject * obj1 = 0 ;
8edf1c75
RD
19722 PyObject * obj2 = 0 ;
19723 PyObject * obj3 = 0 ;
19724 PyObject * obj4 = 0 ;
19725 PyObject * obj5 = 0 ;
44127b65
RD
19726 PyObject * obj6 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19729 };
19730
8edf1c75 19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
19732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19734 if (arg2 == NULL) {
19735 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19736 }
8edf1c75
RD
19737 {
19738 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 {
19742 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 {
19746 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
19747 if (PyErr_Occurred()) SWIG_fail;
19748 }
19749 {
19750 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
44127b65 19753 if (obj6) {
83448d71 19754 {
8edf1c75 19755 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
44127b65
RD
19758 }
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 Py_INCREF(Py_None); resultobj = Py_None;
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
19773static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19776 bool arg2 ;
19777 double arg3 ;
19778 double arg4 ;
19779 int arg5 = (int) 0 ;
19780 int arg6 = (int) 0 ;
19781 PyObject * obj0 = 0 ;
19782 PyObject * obj1 = 0 ;
8edf1c75
RD
19783 PyObject * obj2 = 0 ;
19784 PyObject * obj3 = 0 ;
19785 PyObject * obj4 = 0 ;
19786 PyObject * obj5 = 0 ;
44127b65
RD
19787 char *kwnames[] = {
19788 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19789 };
19790
8edf1c75 19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 19792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19793 {
8edf1c75
RD
19794 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 {
19798 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 {
19802 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
8edf1c75
RD
19805 if (obj4) {
19806 {
19807 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 }
19811 if (obj5) {
19812 {
19813 arg6 = (int) SWIG_PyObj_AsInt(obj5);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 }
44127b65
RD
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 Py_INCREF(Py_None); resultobj = Py_None;
19825 return resultobj;
19826 fail:
19827 return NULL;
19828}
19829
19830
19831static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19832 PyObject *resultobj;
19833 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19834 double arg2 ;
19835 double arg3 ;
19836 int arg4 = (int) 0 ;
19837 int arg5 = (int) 0 ;
19838 PyObject * obj0 = 0 ;
8edf1c75
RD
19839 PyObject * obj1 = 0 ;
19840 PyObject * obj2 = 0 ;
19841 PyObject * obj3 = 0 ;
19842 PyObject * obj4 = 0 ;
44127b65
RD
19843 char *kwnames[] = {
19844 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19845 };
19846
8edf1c75 19847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 19848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19849 {
19850 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 {
19854 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 if (obj3) {
19858 {
19859 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
19862 }
19863 if (obj4) {
19864 {
19865 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 }
44127b65
RD
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 Py_INCREF(Py_None); resultobj = Py_None;
19877 return resultobj;
19878 fail:
19879 return NULL;
19880}
19881
19882
19883static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19886 double arg2 ;
19887 double arg3 ;
19888 int arg4 = (int) 0 ;
19889 int arg5 = (int) 0 ;
19890 PyObject * obj0 = 0 ;
8edf1c75
RD
19891 PyObject * obj1 = 0 ;
19892 PyObject * obj2 = 0 ;
19893 PyObject * obj3 = 0 ;
19894 PyObject * obj4 = 0 ;
44127b65
RD
19895 char *kwnames[] = {
19896 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19897 };
19898
8edf1c75 19899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 19900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19901 {
19902 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 {
19906 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 if (obj3) {
19910 {
19911 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 }
19915 if (obj4) {
19916 {
19917 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 }
19920 }
44127b65
RD
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
19924
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 Py_INCREF(Py_None); resultobj = Py_None;
19929 return resultobj;
19930 fail:
19931 return NULL;
19932}
19933
19934
19935static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19936 PyObject *resultobj;
19937 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19938 bool arg2 ;
19939 double arg3 ;
19940 double arg4 ;
19941 int arg5 = (int) 0 ;
19942 int arg6 = (int) 0 ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
8edf1c75
RD
19945 PyObject * obj2 = 0 ;
19946 PyObject * obj3 = 0 ;
19947 PyObject * obj4 = 0 ;
19948 PyObject * obj5 = 0 ;
44127b65
RD
19949 char *kwnames[] = {
19950 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19951 };
19952
8edf1c75 19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 19954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19955 {
8edf1c75 19956 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
8edf1c75
RD
19959 {
19960 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 {
19964 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 if (obj4) {
19968 {
19969 arg5 = (int) SWIG_PyObj_AsInt(obj4);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 }
19973 if (obj5) {
19974 {
19975 arg6 = (int) SWIG_PyObj_AsInt(obj5);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 }
44127b65
RD
19979 {
19980 PyThreadState* __tstate = wxPyBeginAllowThreads();
19981 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
19982
19983 wxPyEndAllowThreads(__tstate);
19984 if (PyErr_Occurred()) SWIG_fail;
19985 }
19986 Py_INCREF(Py_None); resultobj = Py_None;
19987 return resultobj;
19988 fail:
19989 return NULL;
19990}
19991
19992
19993static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
19996 double arg2 ;
19997 double arg3 ;
19998 int arg4 = (int) 0 ;
19999 int arg5 = (int) 0 ;
20000 PyObject * obj0 = 0 ;
8edf1c75
RD
20001 PyObject * obj1 = 0 ;
20002 PyObject * obj2 = 0 ;
20003 PyObject * obj3 = 0 ;
20004 PyObject * obj4 = 0 ;
44127b65
RD
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20007 };
20008
8edf1c75 20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 20010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20011 {
20012 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 {
20016 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 if (obj3) {
20020 {
20021 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
20024 }
20025 if (obj4) {
20026 {
20027 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 }
44127b65
RD
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 Py_INCREF(Py_None); resultobj = Py_None;
20039 return resultobj;
20040 fail:
20041 return NULL;
20042}
20043
20044
20045static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20048 double arg2 ;
20049 double arg3 ;
20050 int arg4 = (int) 0 ;
20051 int arg5 = (int) 0 ;
20052 PyObject * obj0 = 0 ;
8edf1c75
RD
20053 PyObject * obj1 = 0 ;
20054 PyObject * obj2 = 0 ;
20055 PyObject * obj3 = 0 ;
20056 PyObject * obj4 = 0 ;
44127b65
RD
20057 char *kwnames[] = {
20058 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20059 };
20060
8edf1c75 20061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 20062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20063 {
20064 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 {
20068 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 if (obj3) {
20072 {
20073 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
20076 }
20077 if (obj4) {
20078 {
20079 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 }
44127b65
RD
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
20086
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 Py_INCREF(Py_None); resultobj = Py_None;
20091 return resultobj;
20092 fail:
20093 return NULL;
20094}
20095
20096
20097static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
20098 PyObject *resultobj;
20099 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20100 wxDC *arg2 = 0 ;
20101 double arg3 ;
20102 double arg4 ;
20103 double arg5 ;
20104 double arg6 ;
20105 PyObject * obj0 = 0 ;
20106 PyObject * obj1 = 0 ;
8edf1c75
RD
20107 PyObject * obj2 = 0 ;
20108 PyObject * obj3 = 0 ;
20109 PyObject * obj4 = 0 ;
20110 PyObject * obj5 = 0 ;
44127b65
RD
20111 char *kwnames[] = {
20112 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
20113 };
20114
8edf1c75 20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
20116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20118 if (arg2 == NULL) {
20119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20120 }
8edf1c75
RD
20121 {
20122 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 {
20130 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 {
20134 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
44127b65
RD
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
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
20151static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20154 wxDC *arg2 = 0 ;
20155 PyObject * obj0 = 0 ;
20156 PyObject * obj1 = 0 ;
20157 char *kwnames[] = {
20158 (char *) "self",(char *) "dc", NULL
20159 };
20160
20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
20162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20163 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20164 if (arg2 == NULL) {
20165 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20166 }
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 (arg1)->base_OnDrawControlPoints(*arg2);
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
20174 Py_INCREF(Py_None); resultobj = Py_None;
20175 return resultobj;
20176 fail:
20177 return NULL;
20178}
20179
20180
20181static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
20182 PyObject *resultobj;
20183 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20184 wxDC *arg2 = 0 ;
20185 PyObject * obj0 = 0 ;
20186 PyObject * obj1 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "dc", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20194 if (arg2 == NULL) {
20195 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20196 }
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 (arg1)->base_OnEraseControlPoints(*arg2);
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
20211static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20214 wxDC *arg2 = 0 ;
20215 bool arg3 = (bool) True ;
20216 PyObject * obj0 = 0 ;
20217 PyObject * obj1 = 0 ;
20218 PyObject * obj2 = 0 ;
20219 char *kwnames[] = {
20220 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
20221 };
20222
20223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
20224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20225 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20226 if (arg2 == NULL) {
20227 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20228 }
20229 if (obj2) {
83448d71 20230 {
8edf1c75 20231 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
44127b65
RD
20234 }
20235 {
20236 PyThreadState* __tstate = wxPyBeginAllowThreads();
20237 (arg1)->base_OnMoveLink(*arg2,arg3);
20238
20239 wxPyEndAllowThreads(__tstate);
20240 if (PyErr_Occurred()) SWIG_fail;
20241 }
20242 Py_INCREF(Py_None); resultobj = Py_None;
20243 return resultobj;
20244 fail:
20245 return NULL;
20246}
20247
20248
20249static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20250 PyObject *resultobj;
20251 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20252 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20253 bool arg3 ;
20254 double arg4 ;
20255 double arg5 ;
20256 int arg6 = (int) 0 ;
20257 int arg7 = (int) 0 ;
20258 PyObject * obj0 = 0 ;
20259 PyObject * obj1 = 0 ;
20260 PyObject * obj2 = 0 ;
8edf1c75
RD
20261 PyObject * obj3 = 0 ;
20262 PyObject * obj4 = 0 ;
20263 PyObject * obj5 = 0 ;
20264 PyObject * obj6 = 0 ;
44127b65
RD
20265 char *kwnames[] = {
20266 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20267 };
20268
8edf1c75 20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
20270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 20272 {
8edf1c75
RD
20273 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 }
20276 {
20277 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 {
20281 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
8edf1c75
RD
20284 if (obj5) {
20285 {
20286 arg6 = (int) SWIG_PyObj_AsInt(obj5);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 }
20290 if (obj6) {
20291 {
20292 arg7 = (int) SWIG_PyObj_AsInt(obj6);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 }
44127b65
RD
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
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
20310static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20313 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20314 double arg3 ;
20315 double arg4 ;
20316 int arg5 = (int) 0 ;
20317 int arg6 = (int) 0 ;
20318 PyObject * obj0 = 0 ;
20319 PyObject * obj1 = 0 ;
8edf1c75
RD
20320 PyObject * obj2 = 0 ;
20321 PyObject * obj3 = 0 ;
20322 PyObject * obj4 = 0 ;
20323 PyObject * obj5 = 0 ;
44127b65
RD
20324 char *kwnames[] = {
20325 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20326 };
20327
8edf1c75 20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
20329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20331 {
20332 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 {
20336 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 if (obj4) {
20340 {
20341 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20342 if (PyErr_Occurred()) SWIG_fail;
20343 }
20344 }
20345 if (obj5) {
20346 {
20347 arg6 = (int) SWIG_PyObj_AsInt(obj5);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 }
44127b65
RD
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 Py_INCREF(Py_None); resultobj = Py_None;
20359 return resultobj;
20360 fail:
20361 return NULL;
20362}
20363
20364
20365static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20366 PyObject *resultobj;
20367 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20368 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
20369 double arg3 ;
20370 double arg4 ;
20371 int arg5 = (int) 0 ;
20372 int arg6 = (int) 0 ;
20373 PyObject * obj0 = 0 ;
20374 PyObject * obj1 = 0 ;
8edf1c75
RD
20375 PyObject * obj2 = 0 ;
20376 PyObject * obj3 = 0 ;
20377 PyObject * obj4 = 0 ;
20378 PyObject * obj5 = 0 ;
44127b65
RD
20379 char *kwnames[] = {
20380 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20381 };
20382
8edf1c75 20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
20384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20386 {
20387 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 {
20391 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 if (obj4) {
20395 {
20396 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 }
20400 if (obj5) {
20401 {
20402 arg6 = (int) SWIG_PyObj_AsInt(obj5);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 }
44127b65
RD
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 Py_INCREF(Py_None); resultobj = Py_None;
20414 return resultobj;
20415 fail:
20416 return NULL;
20417}
20418
20419
20420static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj;
20422 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20423 double arg2 ;
20424 double arg3 ;
20425 PyObject * obj0 = 0 ;
8edf1c75
RD
20426 PyObject * obj1 = 0 ;
20427 PyObject * obj2 = 0 ;
44127b65
RD
20428 char *kwnames[] = {
20429 (char *) "self",(char *) "w",(char *) "h", NULL
20430 };
20431
8edf1c75 20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 20433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20434 {
20435 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 {
20439 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
44127b65
RD
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 (arg1)->base_OnBeginSize(arg2,arg3);
20445
20446 wxPyEndAllowThreads(__tstate);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 Py_INCREF(Py_None); resultobj = Py_None;
20450 return resultobj;
20451 fail:
20452 return NULL;
20453}
20454
20455
20456static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20457 PyObject *resultobj;
20458 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
20459 double arg2 ;
20460 double arg3 ;
20461 PyObject * obj0 = 0 ;
8edf1c75
RD
20462 PyObject * obj1 = 0 ;
20463 PyObject * obj2 = 0 ;
44127b65
RD
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "w",(char *) "h", NULL
20466 };
20467
8edf1c75 20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 20469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDividedShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20470 {
20471 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 {
20475 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
44127b65
RD
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 (arg1)->base_OnEndSize(arg2,arg3);
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 Py_INCREF(Py_None); resultobj = Py_None;
20486 return resultobj;
20487 fail:
20488 return NULL;
20489}
20490
20491
20492static PyObject * PyDividedShape_swigregister(PyObject *self, PyObject *args) {
20493 PyObject *obj;
20494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20495 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
20496 Py_INCREF(obj);
20497 return Py_BuildValue((char *)"");
20498}
20499static PyObject *_wrap_new_PyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
20500 PyObject *resultobj;
20501 wxPyDivisionShape *result;
20502 char *kwnames[] = {
20503 NULL
20504 };
20505
20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = (wxPyDivisionShape *)new wxPyDivisionShape();
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 {
20515 resultobj = wxPyMake_wxShapeEvtHandler(result);
20516 }
20517 return resultobj;
20518 fail:
20519 return NULL;
20520}
20521
20522
20523static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20526 PyObject *arg2 = (PyObject *) 0 ;
20527 PyObject *arg3 = (PyObject *) 0 ;
20528 PyObject * obj0 = 0 ;
20529 PyObject * obj1 = 0 ;
20530 PyObject * obj2 = 0 ;
20531 char *kwnames[] = {
20532 (char *) "self",(char *) "self",(char *) "_class", NULL
20533 };
20534
20535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20537 arg2 = obj1;
20538 arg3 = obj2;
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 (arg1)->_setCallbackInfo(arg2,arg3);
20542
20543 wxPyEndAllowThreads(__tstate);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 }
20546 Py_INCREF(Py_None); resultobj = Py_None;
20547 return resultobj;
20548 fail:
20549 return NULL;
20550}
20551
20552
20553static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
20554 PyObject *resultobj;
20555 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20556 double arg2 ;
20557 bool arg3 ;
20558 PyObject * obj0 = 0 ;
8edf1c75 20559 PyObject * obj1 = 0 ;
44127b65
RD
20560 PyObject * obj2 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self",(char *) "bottom",(char *) "test", NULL
20563 };
20564
8edf1c75 20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 20566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 20567 {
8edf1c75
RD
20568 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 {
20572 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
44127b65
RD
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 (arg1)->AdjustBottom(arg2,arg3);
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 Py_INCREF(Py_None); resultobj = Py_None;
20583 return resultobj;
20584 fail:
20585 return NULL;
20586}
20587
20588
20589static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20590 PyObject *resultobj;
20591 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20592 double arg2 ;
20593 bool arg3 ;
20594 PyObject * obj0 = 0 ;
8edf1c75 20595 PyObject * obj1 = 0 ;
44127b65
RD
20596 PyObject * obj2 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self",(char *) "left",(char *) "test", NULL
20599 };
20600
8edf1c75 20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 20602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 20603 {
8edf1c75
RD
20604 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 {
20608 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
44127b65
RD
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 (arg1)->AdjustLeft(arg2,arg3);
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 Py_INCREF(Py_None); resultobj = Py_None;
20619 return resultobj;
20620 fail:
20621 return NULL;
20622}
20623
20624
20625static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20626 PyObject *resultobj;
20627 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20628 double arg2 ;
20629 bool arg3 ;
20630 PyObject * obj0 = 0 ;
8edf1c75 20631 PyObject * obj1 = 0 ;
44127b65
RD
20632 PyObject * obj2 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self",(char *) "right",(char *) "test", NULL
20635 };
20636
8edf1c75 20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 20638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 20639 {
8edf1c75
RD
20640 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 {
20644 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
44127b65
RD
20647 {
20648 PyThreadState* __tstate = wxPyBeginAllowThreads();
20649 (arg1)->AdjustRight(arg2,arg3);
20650
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 Py_INCREF(Py_None); resultobj = Py_None;
20655 return resultobj;
20656 fail:
20657 return NULL;
20658}
20659
20660
20661static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
20662 PyObject *resultobj;
20663 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20664 double arg2 ;
20665 bool arg3 ;
20666 PyObject * obj0 = 0 ;
8edf1c75 20667 PyObject * obj1 = 0 ;
44127b65
RD
20668 PyObject * obj2 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "self",(char *) "top",(char *) "test", NULL
20671 };
20672
8edf1c75 20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 20674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 20675 {
8edf1c75
RD
20676 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
20677 if (PyErr_Occurred()) SWIG_fail;
20678 }
20679 {
20680 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
44127b65
RD
20683 {
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 (arg1)->AdjustTop(arg2,arg3);
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 Py_INCREF(Py_None); resultobj = Py_None;
20691 return resultobj;
20692 fail:
20693 return NULL;
20694}
20695
20696
20697static PyObject *_wrap_PyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
20698 PyObject *resultobj;
20699 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20700 int arg2 ;
20701 PyObject * obj0 = 0 ;
8edf1c75 20702 PyObject * obj1 = 0 ;
44127b65
RD
20703 char *kwnames[] = {
20704 (char *) "self",(char *) "direction", NULL
20705 };
20706
8edf1c75 20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
44127b65 20708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20709 {
20710 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
44127b65
RD
20713 {
20714 PyThreadState* __tstate = wxPyBeginAllowThreads();
20715 (arg1)->Divide(arg2);
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 Py_INCREF(Py_None); resultobj = Py_None;
20721 return resultobj;
20722 fail:
20723 return NULL;
20724}
20725
20726
20727static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
20728 PyObject *resultobj;
20729 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20730 int arg2 ;
20731 PyObject * obj0 = 0 ;
8edf1c75 20732 PyObject * obj1 = 0 ;
44127b65
RD
20733 char *kwnames[] = {
20734 (char *) "self",(char *) "side", NULL
20735 };
20736
8edf1c75 20737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
44127b65 20738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20739 {
20740 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
44127b65
RD
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 (arg1)->EditEdge(arg2);
20746
20747 wxPyEndAllowThreads(__tstate);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 }
20750 Py_INCREF(Py_None); resultobj = Py_None;
20751 return resultobj;
20752 fail:
20753 return NULL;
20754}
20755
20756
20757static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20758 PyObject *resultobj;
20759 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20760 wxPyDivisionShape *result;
20761 PyObject * obj0 = 0 ;
20762 char *kwnames[] = {
20763 (char *) "self", NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
20767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 {
20776 resultobj = wxPyMake_wxShapeEvtHandler(result);
20777 }
20778 return resultobj;
20779 fail:
20780 return NULL;
20781}
20782
20783
20784static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20785 PyObject *resultobj;
20786 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20787 int result;
20788 PyObject * obj0 = 0 ;
20789 char *kwnames[] = {
20790 (char *) "self", NULL
20791 };
20792
20793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
20794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 result = (int)(arg1)->GetHandleSide();
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
8edf1c75 20802 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
20803 return resultobj;
20804 fail:
20805 return NULL;
20806}
20807
20808
20809static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20810 PyObject *resultobj;
20811 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20812 wxPyDivisionShape *result;
20813 PyObject * obj0 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20820 {
20821 PyThreadState* __tstate = wxPyBeginAllowThreads();
20822 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
20823
20824 wxPyEndAllowThreads(__tstate);
20825 if (PyErr_Occurred()) SWIG_fail;
20826 }
20827 {
20828 resultobj = wxPyMake_wxShapeEvtHandler(result);
20829 }
20830 return resultobj;
20831 fail:
20832 return NULL;
20833}
20834
20835
20836static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20839 wxString result;
20840 PyObject * obj0 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 result = (arg1)->GetLeftSideColour();
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 {
20855#if wxUSE_UNICODE
20856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20857#else
20858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20859#endif
20860 }
20861 return resultobj;
20862 fail:
20863 return NULL;
20864}
20865
20866
20867static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj;
20869 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20870 wxPen *result;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
20877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 result = (wxPen *)(arg1)->GetLeftSidePen();
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
20886 return resultobj;
20887 fail:
20888 return NULL;
20889}
20890
20891
20892static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20895 wxPyDivisionShape *result;
20896 PyObject * obj0 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 {
20911 resultobj = wxPyMake_wxShapeEvtHandler(result);
20912 }
20913 return resultobj;
20914 fail:
20915 return NULL;
20916}
20917
20918
20919static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj;
20921 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20922 wxPyDivisionShape *result;
20923 PyObject * obj0 = 0 ;
20924 char *kwnames[] = {
20925 (char *) "self", NULL
20926 };
20927
20928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
20929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 {
20938 resultobj = wxPyMake_wxShapeEvtHandler(result);
20939 }
20940 return resultobj;
20941 fail:
20942 return NULL;
20943}
20944
20945
20946static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20949 wxPen *result;
20950 PyObject * obj0 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
20956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 result = (wxPen *)(arg1)->GetTopSidePen();
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPen, 0);
20965 return resultobj;
20966 fail:
20967 return NULL;
20968}
20969
20970
20971static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
20972 PyObject *resultobj;
20973 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
20974 int arg2 ;
20975 double arg3 ;
20976 bool arg4 ;
20977 PyObject * obj0 = 0 ;
8edf1c75
RD
20978 PyObject * obj1 = 0 ;
20979 PyObject * obj2 = 0 ;
44127b65
RD
20980 PyObject * obj3 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20983 };
20984
8edf1c75 20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 20986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 20987 {
8edf1c75
RD
20988 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 {
20992 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 {
20996 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
83448d71
RD
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
44127b65
RD
20999 {
21000 PyThreadState* __tstate = wxPyBeginAllowThreads();
21001 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
21002
21003 wxPyEndAllowThreads(__tstate);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 Py_INCREF(Py_None); resultobj = Py_None;
21007 return resultobj;
21008 fail:
21009 return NULL;
21010}
21011
21012
21013static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj;
21015 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21016 double arg2 ;
21017 double arg3 ;
21018 PyObject * obj0 = 0 ;
8edf1c75
RD
21019 PyObject * obj1 = 0 ;
21020 PyObject * obj2 = 0 ;
44127b65
RD
21021 char *kwnames[] = {
21022 (char *) "self",(char *) "x",(char *) "y", NULL
21023 };
21024
8edf1c75 21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 21026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21027 {
21028 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21029 if (PyErr_Occurred()) SWIG_fail;
21030 }
21031 {
21032 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 }
44127b65
RD
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 (arg1)->PopupMenu(arg2,arg3);
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 Py_INCREF(Py_None); resultobj = Py_None;
21043 return resultobj;
21044 fail:
21045 return NULL;
21046}
21047
21048
21049static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21052 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
21053 PyObject * obj0 = 0 ;
21054 PyObject * obj1 = 0 ;
21055 char *kwnames[] = {
21056 (char *) "self",(char *) "shape", NULL
21057 };
21058
21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
21060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 (arg1)->SetBottomSide(arg2);
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 Py_INCREF(Py_None); resultobj = Py_None;
21070 return resultobj;
21071 fail:
21072 return NULL;
21073}
21074
21075
21076static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21079 int arg2 ;
21080 PyObject * obj0 = 0 ;
8edf1c75 21081 PyObject * obj1 = 0 ;
44127b65
RD
21082 char *kwnames[] = {
21083 (char *) "self",(char *) "side", NULL
21084 };
21085
8edf1c75 21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
44127b65 21087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21088 {
21089 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21090 if (PyErr_Occurred()) SWIG_fail;
21091 }
44127b65
RD
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 (arg1)->SetHandleSide(arg2);
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 Py_INCREF(Py_None); resultobj = Py_None;
21100 return resultobj;
21101 fail:
21102 return NULL;
21103}
21104
21105
21106static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj;
21108 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21109 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self",(char *) "shape", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
21117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 (arg1)->SetLeftSide(arg2);
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 Py_INCREF(Py_None); resultobj = Py_None;
21127 return resultobj;
21128 fail:
21129 return NULL;
21130}
21131
21132
21133static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21134 PyObject *resultobj;
21135 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21136 wxString *arg2 = 0 ;
21137 bool temp2 = False ;
21138 PyObject * obj0 = 0 ;
21139 PyObject * obj1 = 0 ;
21140 char *kwnames[] = {
21141 (char *) "self",(char *) "colour", NULL
21142 };
21143
21144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
21145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21146 {
21147 arg2 = wxString_in_helper(obj1);
21148 if (arg2 == NULL) SWIG_fail;
21149 temp2 = True;
21150 }
21151 {
21152 PyThreadState* __tstate = wxPyBeginAllowThreads();
21153 (arg1)->SetLeftSideColour((wxString const &)*arg2);
21154
21155 wxPyEndAllowThreads(__tstate);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
21158 Py_INCREF(Py_None); resultobj = Py_None;
21159 {
21160 if (temp2)
21161 delete arg2;
21162 }
21163 return resultobj;
21164 fail:
21165 {
21166 if (temp2)
21167 delete arg2;
21168 }
21169 return NULL;
21170}
21171
21172
21173static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21176 wxPen *arg2 = (wxPen *) 0 ;
21177 PyObject * obj0 = 0 ;
21178 PyObject * obj1 = 0 ;
21179 char *kwnames[] = {
21180 (char *) "self",(char *) "pen", NULL
21181 };
21182
21183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
21184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21185 {
21186 wxPen* temp;
21187 if (obj1) {
21188 if (obj1 == Py_None) {
21189 temp = NULL;
21190 }
21191 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
21192 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
21193 return NULL;
21194 }
21195 }
21196 if (temp)
21197 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
21198 temp->GetWidth(),
21199 temp->GetStyle());
21200 else
21201 arg2 = NULL;
21202 }
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 (arg1)->SetLeftSidePen(arg2);
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 Py_INCREF(Py_None); resultobj = Py_None;
21211 return resultobj;
21212 fail:
21213 return NULL;
21214}
21215
21216
21217static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21218 PyObject *resultobj;
21219 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21220 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
21221 PyObject * obj0 = 0 ;
21222 PyObject * obj1 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self",(char *) "shape", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
21228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21230 {
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 (arg1)->SetRightSide(arg2);
21233
21234 wxPyEndAllowThreads(__tstate);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 }
21237 Py_INCREF(Py_None); resultobj = Py_None;
21238 return resultobj;
21239 fail:
21240 return NULL;
21241}
21242
21243
21244static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
21245 PyObject *resultobj;
21246 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21247 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
21248 PyObject * obj0 = 0 ;
21249 PyObject * obj1 = 0 ;
21250 char *kwnames[] = {
21251 (char *) "self",(char *) "shape", NULL
21252 };
21253
21254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
21255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21256 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21257 {
21258 PyThreadState* __tstate = wxPyBeginAllowThreads();
21259 (arg1)->SetTopSide(arg2);
21260
21261 wxPyEndAllowThreads(__tstate);
21262 if (PyErr_Occurred()) SWIG_fail;
21263 }
21264 Py_INCREF(Py_None); resultobj = Py_None;
21265 return resultobj;
21266 fail:
21267 return NULL;
21268}
21269
21270
21271static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21272 PyObject *resultobj;
21273 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21274 wxString *arg2 = 0 ;
21275 bool temp2 = False ;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 char *kwnames[] = {
21279 (char *) "self",(char *) "colour", NULL
21280 };
21281
21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
21283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21284 {
21285 arg2 = wxString_in_helper(obj1);
21286 if (arg2 == NULL) SWIG_fail;
21287 temp2 = True;
21288 }
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 (arg1)->SetTopSideColour((wxString const &)*arg2);
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 Py_INCREF(Py_None); resultobj = Py_None;
21297 {
21298 if (temp2)
21299 delete arg2;
21300 }
21301 return resultobj;
21302 fail:
21303 {
21304 if (temp2)
21305 delete arg2;
21306 }
21307 return NULL;
21308}
21309
21310
21311static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21314 wxPen *arg2 = (wxPen *) 0 ;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self",(char *) "pen", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21323 {
21324 wxPen* temp;
21325 if (obj1) {
21326 if (obj1 == Py_None) {
21327 temp = NULL;
21328 }
21329 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
21330 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
21331 return NULL;
21332 }
21333 }
21334 if (temp)
21335 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
21336 temp->GetWidth(),
21337 temp->GetStyle());
21338 else
21339 arg2 = NULL;
21340 }
21341 {
21342 PyThreadState* __tstate = wxPyBeginAllowThreads();
21343 (arg1)->SetTopSidePen(arg2);
21344
21345 wxPyEndAllowThreads(__tstate);
21346 if (PyErr_Occurred()) SWIG_fail;
21347 }
21348 Py_INCREF(Py_None); resultobj = Py_None;
21349 return resultobj;
21350 fail:
21351 return NULL;
21352}
21353
21354
21355static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
21356 PyObject *resultobj;
21357 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21358 PyObject * obj0 = 0 ;
21359 char *kwnames[] = {
21360 (char *) "self", NULL
21361 };
21362
21363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
21364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21365 {
21366 PyThreadState* __tstate = wxPyBeginAllowThreads();
21367 (arg1)->base_OnDelete();
21368
21369 wxPyEndAllowThreads(__tstate);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 }
21372 Py_INCREF(Py_None); resultobj = Py_None;
21373 return resultobj;
21374 fail:
21375 return NULL;
21376}
21377
21378
21379static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj;
21381 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21382 wxDC *arg2 = 0 ;
21383 PyObject * obj0 = 0 ;
21384 PyObject * obj1 = 0 ;
21385 char *kwnames[] = {
21386 (char *) "self",(char *) "dc", NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
21390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21392 if (arg2 == NULL) {
21393 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21394 }
21395 {
21396 PyThreadState* __tstate = wxPyBeginAllowThreads();
21397 (arg1)->base_OnDraw(*arg2);
21398
21399 wxPyEndAllowThreads(__tstate);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 Py_INCREF(Py_None); resultobj = Py_None;
21403 return resultobj;
21404 fail:
21405 return NULL;
21406}
21407
21408
21409static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21410 PyObject *resultobj;
21411 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21412 wxDC *arg2 = 0 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "dc", NULL
21417 };
21418
21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
21420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21422 if (arg2 == NULL) {
21423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21424 }
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 (arg1)->base_OnDrawContents(*arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 Py_INCREF(Py_None); resultobj = Py_None;
21433 return resultobj;
21434 fail:
21435 return NULL;
21436}
21437
21438
21439static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj;
21441 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21442 wxDC *arg2 = 0 ;
21443 bool arg3 = (bool) FALSE ;
21444 PyObject * obj0 = 0 ;
21445 PyObject * obj1 = 0 ;
21446 PyObject * obj2 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "dc",(char *) "erase", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
21452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21454 if (arg2 == NULL) {
21455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21456 }
21457 if (obj2) {
83448d71 21458 {
8edf1c75 21459 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
44127b65
RD
21462 }
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 (arg1)->base_OnDrawBranches(*arg2,arg3);
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 Py_INCREF(Py_None); resultobj = Py_None;
21471 return resultobj;
21472 fail:
21473 return NULL;
21474}
21475
21476
21477static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
21478 PyObject *resultobj;
21479 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21480 wxDC *arg2 = 0 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
21483 char *kwnames[] = {
21484 (char *) "self",(char *) "dc", NULL
21485 };
21486
21487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
21488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21490 if (arg2 == NULL) {
21491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21492 }
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 (arg1)->base_OnMoveLinks(*arg2);
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 Py_INCREF(Py_None); resultobj = Py_None;
21501 return resultobj;
21502 fail:
21503 return NULL;
21504}
21505
21506
21507static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
21508 PyObject *resultobj;
21509 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21510 wxDC *arg2 = 0 ;
21511 PyObject * obj0 = 0 ;
21512 PyObject * obj1 = 0 ;
21513 char *kwnames[] = {
21514 (char *) "self",(char *) "dc", NULL
21515 };
21516
21517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
21518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21520 if (arg2 == NULL) {
21521 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21522 }
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 (arg1)->base_OnErase(*arg2);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534}
21535
21536
21537static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21540 wxDC *arg2 = 0 ;
21541 PyObject * obj0 = 0 ;
21542 PyObject * obj1 = 0 ;
21543 char *kwnames[] = {
21544 (char *) "self",(char *) "dc", NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
21548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21550 if (arg2 == NULL) {
21551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21552 }
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 (arg1)->base_OnEraseContents(*arg2);
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 Py_INCREF(Py_None); resultobj = Py_None;
21561 return resultobj;
21562 fail:
21563 return NULL;
21564}
21565
21566
21567static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21570 wxDC *arg2 = 0 ;
21571 PyObject * obj0 = 0 ;
21572 PyObject * obj1 = 0 ;
21573 char *kwnames[] = {
21574 (char *) "self",(char *) "dc", NULL
21575 };
21576
21577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
21578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21580 if (arg2 == NULL) {
21581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21582 }
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 (arg1)->base_OnHighlight(*arg2);
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 Py_INCREF(Py_None); resultobj = Py_None;
21591 return resultobj;
21592 fail:
21593 return NULL;
21594}
21595
21596
21597static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21600 double arg2 ;
21601 double arg3 ;
21602 int arg4 = (int) 0 ;
21603 int arg5 = (int) 0 ;
21604 PyObject * obj0 = 0 ;
8edf1c75
RD
21605 PyObject * obj1 = 0 ;
21606 PyObject * obj2 = 0 ;
21607 PyObject * obj3 = 0 ;
21608 PyObject * obj4 = 0 ;
44127b65
RD
21609 char *kwnames[] = {
21610 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21611 };
21612
8edf1c75 21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 21614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21615 {
21616 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 {
21620 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 if (obj3) {
21624 {
21625 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 }
21629 if (obj4) {
21630 {
21631 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 }
44127b65
RD
21635 {
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
21642 Py_INCREF(Py_None); resultobj = Py_None;
21643 return resultobj;
21644 fail:
21645 return NULL;
21646}
21647
21648
21649static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21650 PyObject *resultobj;
21651 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21652 double arg2 ;
21653 double arg3 ;
21654 int arg4 = (int) 0 ;
21655 int arg5 = (int) 0 ;
21656 PyObject * obj0 = 0 ;
8edf1c75
RD
21657 PyObject * obj1 = 0 ;
21658 PyObject * obj2 = 0 ;
21659 PyObject * obj3 = 0 ;
21660 PyObject * obj4 = 0 ;
44127b65
RD
21661 char *kwnames[] = {
21662 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21663 };
21664
8edf1c75 21665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 21666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21667 {
21668 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21669 if (PyErr_Occurred()) SWIG_fail;
21670 }
21671 {
21672 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 if (obj3) {
21676 {
21677 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 }
21681 if (obj4) {
21682 {
21683 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 }
44127b65
RD
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 (arg1)->base_OnLeftDoubleClick(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
21701static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
21702 PyObject *resultobj;
21703 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21704 double arg2 ;
21705 double arg3 ;
21706 int arg4 = (int) 0 ;
21707 int arg5 = (int) 0 ;
21708 PyObject * obj0 = 0 ;
8edf1c75
RD
21709 PyObject * obj1 = 0 ;
21710 PyObject * obj2 = 0 ;
21711 PyObject * obj3 = 0 ;
21712 PyObject * obj4 = 0 ;
44127b65
RD
21713 char *kwnames[] = {
21714 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21715 };
21716
8edf1c75 21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 21718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21719 {
21720 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 }
21723 {
21724 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 if (obj3) {
21728 {
21729 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 }
21733 if (obj4) {
21734 {
21735 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 }
44127b65
RD
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 Py_INCREF(Py_None); resultobj = Py_None;
21747 return resultobj;
21748 fail:
21749 return NULL;
21750}
21751
21752
21753static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21756 double arg2 ;
21757 double arg3 ;
21758 PyObject * obj0 = 0 ;
8edf1c75
RD
21759 PyObject * obj1 = 0 ;
21760 PyObject * obj2 = 0 ;
44127b65
RD
21761 char *kwnames[] = {
21762 (char *) "self",(char *) "x",(char *) "y", NULL
21763 };
21764
8edf1c75 21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 21766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21767 {
21768 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 {
21772 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
44127b65
RD
21775 {
21776 PyThreadState* __tstate = wxPyBeginAllowThreads();
21777 (arg1)->base_OnSize(arg2,arg3);
21778
21779 wxPyEndAllowThreads(__tstate);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 Py_INCREF(Py_None); resultobj = Py_None;
21783 return resultobj;
21784 fail:
21785 return NULL;
21786}
21787
21788
21789static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
21790 PyObject *resultobj;
21791 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21792 wxDC *arg2 = 0 ;
21793 double arg3 ;
21794 double arg4 ;
21795 double arg5 ;
21796 double arg6 ;
21797 bool arg7 = (bool) True ;
21798 bool result;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
8edf1c75
RD
21801 PyObject * obj2 = 0 ;
21802 PyObject * obj3 = 0 ;
21803 PyObject * obj4 = 0 ;
21804 PyObject * obj5 = 0 ;
44127b65
RD
21805 PyObject * obj6 = 0 ;
21806 char *kwnames[] = {
21807 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21808 };
21809
8edf1c75 21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
21811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21813 if (arg2 == NULL) {
21814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21815 }
8edf1c75
RD
21816 {
21817 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 {
21821 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 {
21825 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
21826 if (PyErr_Occurred()) SWIG_fail;
21827 }
21828 {
21829 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
44127b65 21832 if (obj6) {
83448d71 21833 {
8edf1c75 21834 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
44127b65
RD
21837 }
21838 {
21839 PyThreadState* __tstate = wxPyBeginAllowThreads();
21840 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
21841
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
8edf1c75 21845 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
21846 return resultobj;
21847 fail:
21848 return NULL;
21849}
21850
21851
21852static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
21853 PyObject *resultobj;
21854 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21855 wxDC *arg2 = 0 ;
21856 double arg3 ;
21857 double arg4 ;
21858 double arg5 ;
21859 double arg6 ;
21860 bool arg7 = (bool) True ;
21861 PyObject * obj0 = 0 ;
21862 PyObject * obj1 = 0 ;
8edf1c75
RD
21863 PyObject * obj2 = 0 ;
21864 PyObject * obj3 = 0 ;
21865 PyObject * obj4 = 0 ;
21866 PyObject * obj5 = 0 ;
44127b65
RD
21867 PyObject * obj6 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21870 };
21871
8edf1c75 21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
21873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21875 if (arg2 == NULL) {
21876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21877 }
8edf1c75
RD
21878 {
21879 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 {
21883 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 }
21886 {
21887 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
21888 if (PyErr_Occurred()) SWIG_fail;
21889 }
21890 {
21891 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
44127b65 21894 if (obj6) {
83448d71 21895 {
8edf1c75 21896 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
44127b65
RD
21899 }
21900 {
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
21903
21904 wxPyEndAllowThreads(__tstate);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 }
21907 Py_INCREF(Py_None); resultobj = Py_None;
21908 return resultobj;
21909 fail:
21910 return NULL;
21911}
21912
21913
21914static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21915 PyObject *resultobj;
21916 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21917 bool arg2 ;
21918 double arg3 ;
21919 double arg4 ;
21920 int arg5 = (int) 0 ;
21921 int arg6 = (int) 0 ;
21922 PyObject * obj0 = 0 ;
21923 PyObject * obj1 = 0 ;
8edf1c75
RD
21924 PyObject * obj2 = 0 ;
21925 PyObject * obj3 = 0 ;
21926 PyObject * obj4 = 0 ;
21927 PyObject * obj5 = 0 ;
44127b65
RD
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21930 };
21931
8edf1c75 21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 21934 {
8edf1c75 21935 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
21936 if (PyErr_Occurred()) SWIG_fail;
21937 }
8edf1c75
RD
21938 {
21939 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 {
21943 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 if (obj4) {
21947 {
21948 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 }
21952 if (obj5) {
21953 {
21954 arg6 = (int) SWIG_PyObj_AsInt(obj5);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 }
44127b65
RD
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 Py_INCREF(Py_None); resultobj = Py_None;
21966 return resultobj;
21967 fail:
21968 return NULL;
21969}
21970
21971
21972static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj;
21974 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
21975 double arg2 ;
21976 double arg3 ;
21977 int arg4 = (int) 0 ;
21978 int arg5 = (int) 0 ;
21979 PyObject * obj0 = 0 ;
8edf1c75
RD
21980 PyObject * obj1 = 0 ;
21981 PyObject * obj2 = 0 ;
21982 PyObject * obj3 = 0 ;
21983 PyObject * obj4 = 0 ;
44127b65
RD
21984 char *kwnames[] = {
21985 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21986 };
21987
8edf1c75 21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 21989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21990 {
21991 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
21994 {
21995 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 if (obj3) {
21999 {
22000 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 }
22004 if (obj4) {
22005 {
22006 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 }
44127b65
RD
22010 {
22011 PyThreadState* __tstate = wxPyBeginAllowThreads();
22012 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22013
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 Py_INCREF(Py_None); resultobj = Py_None;
22018 return resultobj;
22019 fail:
22020 return NULL;
22021}
22022
22023
22024static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj;
22026 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22027 double arg2 ;
22028 double arg3 ;
22029 int arg4 = (int) 0 ;
22030 int arg5 = (int) 0 ;
22031 PyObject * obj0 = 0 ;
8edf1c75
RD
22032 PyObject * obj1 = 0 ;
22033 PyObject * obj2 = 0 ;
22034 PyObject * obj3 = 0 ;
22035 PyObject * obj4 = 0 ;
44127b65
RD
22036 char *kwnames[] = {
22037 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22038 };
22039
8edf1c75 22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 22041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22042 {
22043 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 {
22047 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 }
22050 if (obj3) {
22051 {
22052 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 }
22055 }
22056 if (obj4) {
22057 {
22058 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 }
44127b65
RD
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 Py_INCREF(Py_None); resultobj = Py_None;
22070 return resultobj;
22071 fail:
22072 return NULL;
22073}
22074
22075
22076static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22079 bool arg2 ;
22080 double arg3 ;
22081 double arg4 ;
22082 int arg5 = (int) 0 ;
22083 int arg6 = (int) 0 ;
22084 PyObject * obj0 = 0 ;
22085 PyObject * obj1 = 0 ;
8edf1c75
RD
22086 PyObject * obj2 = 0 ;
22087 PyObject * obj3 = 0 ;
22088 PyObject * obj4 = 0 ;
22089 PyObject * obj5 = 0 ;
44127b65
RD
22090 char *kwnames[] = {
22091 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22092 };
22093
8edf1c75 22094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 22095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 22096 {
8edf1c75
RD
22097 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
22098 if (PyErr_Occurred()) SWIG_fail;
22099 }
22100 {
22101 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 {
22105 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
22106 if (PyErr_Occurred()) SWIG_fail;
22107 }
8edf1c75
RD
22108 if (obj4) {
22109 {
22110 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 }
22113 }
22114 if (obj5) {
22115 {
22116 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 }
44127b65
RD
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 Py_INCREF(Py_None); resultobj = Py_None;
22128 return resultobj;
22129 fail:
22130 return NULL;
22131}
22132
22133
22134static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22137 double arg2 ;
22138 double arg3 ;
22139 int arg4 = (int) 0 ;
22140 int arg5 = (int) 0 ;
22141 PyObject * obj0 = 0 ;
8edf1c75
RD
22142 PyObject * obj1 = 0 ;
22143 PyObject * obj2 = 0 ;
22144 PyObject * obj3 = 0 ;
22145 PyObject * obj4 = 0 ;
44127b65
RD
22146 char *kwnames[] = {
22147 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22148 };
22149
8edf1c75 22150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 22151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22152 {
22153 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 {
22157 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
22160 if (obj3) {
22161 {
22162 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22163 if (PyErr_Occurred()) SWIG_fail;
22164 }
22165 }
22166 if (obj4) {
22167 {
22168 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 }
44127b65
RD
22172 {
22173 PyThreadState* __tstate = wxPyBeginAllowThreads();
22174 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22175
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 Py_INCREF(Py_None); resultobj = Py_None;
22180 return resultobj;
22181 fail:
22182 return NULL;
22183}
22184
22185
22186static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22189 double arg2 ;
22190 double arg3 ;
22191 int arg4 = (int) 0 ;
22192 int arg5 = (int) 0 ;
22193 PyObject * obj0 = 0 ;
8edf1c75
RD
22194 PyObject * obj1 = 0 ;
22195 PyObject * obj2 = 0 ;
22196 PyObject * obj3 = 0 ;
22197 PyObject * obj4 = 0 ;
44127b65
RD
22198 char *kwnames[] = {
22199 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22200 };
22201
8edf1c75 22202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 22203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22204 {
22205 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 {
22209 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22210 if (PyErr_Occurred()) SWIG_fail;
22211 }
22212 if (obj3) {
22213 {
22214 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 }
22218 if (obj4) {
22219 {
22220 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 }
44127b65
RD
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22227
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 Py_INCREF(Py_None); resultobj = Py_None;
22232 return resultobj;
22233 fail:
22234 return NULL;
22235}
22236
22237
22238static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
22239 PyObject *resultobj;
22240 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22241 wxDC *arg2 = 0 ;
22242 double arg3 ;
22243 double arg4 ;
22244 double arg5 ;
22245 double arg6 ;
22246 PyObject * obj0 = 0 ;
22247 PyObject * obj1 = 0 ;
8edf1c75
RD
22248 PyObject * obj2 = 0 ;
22249 PyObject * obj3 = 0 ;
22250 PyObject * obj4 = 0 ;
22251 PyObject * obj5 = 0 ;
44127b65
RD
22252 char *kwnames[] = {
22253 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22254 };
22255
8edf1c75 22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
22257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22259 if (arg2 == NULL) {
22260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22261 }
8edf1c75
RD
22262 {
22263 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
22266 {
22267 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 {
22271 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 {
22275 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
44127b65
RD
22278 {
22279 PyThreadState* __tstate = wxPyBeginAllowThreads();
22280 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22281
22282 wxPyEndAllowThreads(__tstate);
22283 if (PyErr_Occurred()) SWIG_fail;
22284 }
22285 Py_INCREF(Py_None); resultobj = Py_None;
22286 return resultobj;
22287 fail:
22288 return NULL;
22289}
22290
22291
22292static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22293 PyObject *resultobj;
22294 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22295 wxDC *arg2 = 0 ;
22296 PyObject * obj0 = 0 ;
22297 PyObject * obj1 = 0 ;
22298 char *kwnames[] = {
22299 (char *) "self",(char *) "dc", NULL
22300 };
22301
22302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
22303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22305 if (arg2 == NULL) {
22306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 (arg1)->base_OnDrawControlPoints(*arg2);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 Py_INCREF(Py_None); resultobj = Py_None;
22316 return resultobj;
22317 fail:
22318 return NULL;
22319}
22320
22321
22322static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
22323 PyObject *resultobj;
22324 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22325 wxDC *arg2 = 0 ;
22326 PyObject * obj0 = 0 ;
22327 PyObject * obj1 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self",(char *) "dc", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22335 if (arg2 == NULL) {
22336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22337 }
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 (arg1)->base_OnEraseControlPoints(*arg2);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 Py_INCREF(Py_None); resultobj = Py_None;
22346 return resultobj;
22347 fail:
22348 return NULL;
22349}
22350
22351
22352static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj;
22354 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22355 wxDC *arg2 = 0 ;
22356 bool arg3 = (bool) True ;
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 PyObject * obj2 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
22365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22367 if (arg2 == NULL) {
22368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22369 }
22370 if (obj2) {
83448d71 22371 {
8edf1c75 22372 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
44127b65
RD
22375 }
22376 {
22377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22378 (arg1)->base_OnMoveLink(*arg2,arg3);
22379
22380 wxPyEndAllowThreads(__tstate);
22381 if (PyErr_Occurred()) SWIG_fail;
22382 }
22383 Py_INCREF(Py_None); resultobj = Py_None;
22384 return resultobj;
22385 fail:
22386 return NULL;
22387}
22388
22389
22390static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22391 PyObject *resultobj;
22392 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22393 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22394 bool arg3 ;
22395 double arg4 ;
22396 double arg5 ;
22397 int arg6 = (int) 0 ;
22398 int arg7 = (int) 0 ;
22399 PyObject * obj0 = 0 ;
22400 PyObject * obj1 = 0 ;
22401 PyObject * obj2 = 0 ;
8edf1c75
RD
22402 PyObject * obj3 = 0 ;
22403 PyObject * obj4 = 0 ;
22404 PyObject * obj5 = 0 ;
22405 PyObject * obj6 = 0 ;
44127b65
RD
22406 char *kwnames[] = {
22407 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22408 };
22409
8edf1c75 22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
22411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 22413 {
8edf1c75 22414 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
8edf1c75
RD
22417 {
22418 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 {
22422 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 if (obj5) {
22426 {
22427 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 }
22431 if (obj6) {
22432 {
22433 arg7 = (int) SWIG_PyObj_AsInt(obj6);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 }
44127b65
RD
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22440
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 Py_INCREF(Py_None); resultobj = Py_None;
22445 return resultobj;
22446 fail:
22447 return NULL;
22448}
22449
22450
22451static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj;
22453 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22454 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22455 double arg3 ;
22456 double arg4 ;
22457 int arg5 = (int) 0 ;
22458 int arg6 = (int) 0 ;
22459 PyObject * obj0 = 0 ;
22460 PyObject * obj1 = 0 ;
8edf1c75
RD
22461 PyObject * obj2 = 0 ;
22462 PyObject * obj3 = 0 ;
22463 PyObject * obj4 = 0 ;
22464 PyObject * obj5 = 0 ;
44127b65
RD
22465 char *kwnames[] = {
22466 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22467 };
22468
8edf1c75 22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
22470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22472 {
22473 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 {
22477 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 if (obj4) {
22481 {
22482 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 }
22486 if (obj5) {
22487 {
22488 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 }
44127b65
RD
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 Py_INCREF(Py_None); resultobj = Py_None;
22500 return resultobj;
22501 fail:
22502 return NULL;
22503}
22504
22505
22506static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22509 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22510 double arg3 ;
22511 double arg4 ;
22512 int arg5 = (int) 0 ;
22513 int arg6 = (int) 0 ;
22514 PyObject * obj0 = 0 ;
22515 PyObject * obj1 = 0 ;
8edf1c75
RD
22516 PyObject * obj2 = 0 ;
22517 PyObject * obj3 = 0 ;
22518 PyObject * obj4 = 0 ;
22519 PyObject * obj5 = 0 ;
44127b65
RD
22520 char *kwnames[] = {
22521 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22522 };
22523
8edf1c75 22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
22525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22527 {
22528 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 {
22532 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 if (obj4) {
22536 {
22537 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 }
22541 if (obj5) {
22542 {
22543 arg6 = (int) SWIG_PyObj_AsInt(obj5);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 }
44127b65
RD
22547 {
22548 PyThreadState* __tstate = wxPyBeginAllowThreads();
22549 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22550
22551 wxPyEndAllowThreads(__tstate);
22552 if (PyErr_Occurred()) SWIG_fail;
22553 }
22554 Py_INCREF(Py_None); resultobj = Py_None;
22555 return resultobj;
22556 fail:
22557 return NULL;
22558}
22559
22560
22561static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22562 PyObject *resultobj;
22563 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22564 double arg2 ;
22565 double arg3 ;
22566 PyObject * obj0 = 0 ;
8edf1c75
RD
22567 PyObject * obj1 = 0 ;
22568 PyObject * obj2 = 0 ;
44127b65
RD
22569 char *kwnames[] = {
22570 (char *) "self",(char *) "w",(char *) "h", NULL
22571 };
22572
8edf1c75 22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 22574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22575 {
22576 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 {
22580 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
44127b65
RD
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->base_OnBeginSize(arg2,arg3);
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 Py_INCREF(Py_None); resultobj = Py_None;
22591 return resultobj;
22592 fail:
22593 return NULL;
22594}
22595
22596
22597static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
22600 double arg2 ;
22601 double arg3 ;
22602 PyObject * obj0 = 0 ;
8edf1c75
RD
22603 PyObject * obj1 = 0 ;
22604 PyObject * obj2 = 0 ;
44127b65
RD
22605 char *kwnames[] = {
22606 (char *) "self",(char *) "w",(char *) "h", NULL
22607 };
22608
8edf1c75 22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 22610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDivisionShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22611 {
22612 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22613 if (PyErr_Occurred()) SWIG_fail;
22614 }
22615 {
22616 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 }
44127b65
RD
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 (arg1)->base_OnEndSize(arg2,arg3);
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 Py_INCREF(Py_None); resultobj = Py_None;
22627 return resultobj;
22628 fail:
22629 return NULL;
22630}
22631
22632
22633static PyObject * PyDivisionShape_swigregister(PyObject *self, PyObject *args) {
22634 PyObject *obj;
22635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22636 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
22637 Py_INCREF(obj);
22638 return Py_BuildValue((char *)"");
22639}
22640static PyObject *_wrap_new_PyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) {
22641 PyObject *resultobj;
22642 double arg1 = (double) 0.0 ;
22643 double arg2 = (double) 0.0 ;
22644 wxPyEllipseShape *result;
8edf1c75
RD
22645 PyObject * obj0 = 0 ;
22646 PyObject * obj1 = 0 ;
44127b65
RD
22647 char *kwnames[] = {
22648 (char *) "width",(char *) "height", NULL
22649 };
22650
8edf1c75
RD
22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
22652 if (obj0) {
22653 {
22654 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 }
22658 if (obj1) {
22659 {
22660 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 }
44127b65
RD
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
22667
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEllipseShape, 1);
22672 return resultobj;
22673 fail:
22674 return NULL;
22675}
22676
22677
22678static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22679 PyObject *resultobj;
22680 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22681 PyObject *arg2 = (PyObject *) 0 ;
22682 PyObject *arg3 = (PyObject *) 0 ;
22683 PyObject * obj0 = 0 ;
22684 PyObject * obj1 = 0 ;
22685 PyObject * obj2 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "self",(char *) "self",(char *) "_class", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22692 arg2 = obj1;
22693 arg3 = obj2;
22694 {
22695 PyThreadState* __tstate = wxPyBeginAllowThreads();
22696 (arg1)->_setCallbackInfo(arg2,arg3);
22697
22698 wxPyEndAllowThreads(__tstate);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 }
22701 Py_INCREF(Py_None); resultobj = Py_None;
22702 return resultobj;
22703 fail:
22704 return NULL;
22705}
22706
22707
22708static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
22709 PyObject *resultobj;
22710 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22711 wxDC *arg2 = 0 ;
22712 PyObject * obj0 = 0 ;
22713 PyObject * obj1 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self",(char *) "dc", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
22719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22721 if (arg2 == NULL) {
22722 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22723 }
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 (arg1)->base_OnDraw(*arg2);
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 Py_INCREF(Py_None); resultobj = Py_None;
22732 return resultobj;
22733 fail:
22734 return NULL;
22735}
22736
22737
22738static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22741 wxDC *arg2 = 0 ;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self",(char *) "dc", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
22749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22751 if (arg2 == NULL) {
22752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22753 }
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 (arg1)->base_OnDrawContents(*arg2);
22757
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 Py_INCREF(Py_None); resultobj = Py_None;
22762 return resultobj;
22763 fail:
22764 return NULL;
22765}
22766
22767
22768static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj;
22770 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22771 wxDC *arg2 = 0 ;
22772 bool arg3 = (bool) FALSE ;
22773 PyObject * obj0 = 0 ;
22774 PyObject * obj1 = 0 ;
22775 PyObject * obj2 = 0 ;
22776 char *kwnames[] = {
22777 (char *) "self",(char *) "dc",(char *) "erase", NULL
22778 };
22779
22780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
22781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22783 if (arg2 == NULL) {
22784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22785 }
22786 if (obj2) {
83448d71 22787 {
8edf1c75 22788 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
22789 if (PyErr_Occurred()) SWIG_fail;
22790 }
44127b65
RD
22791 }
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 (arg1)->base_OnDrawBranches(*arg2,arg3);
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 Py_INCREF(Py_None); resultobj = Py_None;
22800 return resultobj;
22801 fail:
22802 return NULL;
22803}
22804
22805
22806static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22809 wxDC *arg2 = 0 ;
22810 PyObject * obj0 = 0 ;
22811 PyObject * obj1 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "self",(char *) "dc", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
22817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22819 if (arg2 == NULL) {
22820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22821 }
22822 {
22823 PyThreadState* __tstate = wxPyBeginAllowThreads();
22824 (arg1)->base_OnMoveLinks(*arg2);
22825
22826 wxPyEndAllowThreads(__tstate);
22827 if (PyErr_Occurred()) SWIG_fail;
22828 }
22829 Py_INCREF(Py_None); resultobj = Py_None;
22830 return resultobj;
22831 fail:
22832 return NULL;
22833}
22834
22835
22836static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
22837 PyObject *resultobj;
22838 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22839 wxDC *arg2 = 0 ;
22840 PyObject * obj0 = 0 ;
22841 PyObject * obj1 = 0 ;
22842 char *kwnames[] = {
22843 (char *) "self",(char *) "dc", NULL
22844 };
22845
22846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
22847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22849 if (arg2 == NULL) {
22850 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22851 }
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 (arg1)->base_OnErase(*arg2);
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 Py_INCREF(Py_None); resultobj = Py_None;
22860 return resultobj;
22861 fail:
22862 return NULL;
22863}
22864
22865
22866static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
22867 PyObject *resultobj;
22868 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22869 wxDC *arg2 = 0 ;
22870 PyObject * obj0 = 0 ;
22871 PyObject * obj1 = 0 ;
22872 char *kwnames[] = {
22873 (char *) "self",(char *) "dc", NULL
22874 };
22875
22876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
22877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22879 if (arg2 == NULL) {
22880 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22881 }
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 (arg1)->base_OnEraseContents(*arg2);
22885
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 Py_INCREF(Py_None); resultobj = Py_None;
22890 return resultobj;
22891 fail:
22892 return NULL;
22893}
22894
22895
22896static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22899 wxDC *arg2 = 0 ;
22900 PyObject * obj0 = 0 ;
22901 PyObject * obj1 = 0 ;
22902 char *kwnames[] = {
22903 (char *) "self",(char *) "dc", NULL
22904 };
22905
22906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
22907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22908 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22909 if (arg2 == NULL) {
22910 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22911 }
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 (arg1)->base_OnHighlight(*arg2);
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
22919 Py_INCREF(Py_None); resultobj = Py_None;
22920 return resultobj;
22921 fail:
22922 return NULL;
22923}
22924
22925
22926static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj;
22928 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22929 double arg2 ;
22930 double arg3 ;
22931 int arg4 = (int) 0 ;
22932 int arg5 = (int) 0 ;
22933 PyObject * obj0 = 0 ;
8edf1c75
RD
22934 PyObject * obj1 = 0 ;
22935 PyObject * obj2 = 0 ;
22936 PyObject * obj3 = 0 ;
22937 PyObject * obj4 = 0 ;
44127b65
RD
22938 char *kwnames[] = {
22939 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22940 };
22941
8edf1c75 22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 22943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22944 {
22945 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22946 if (PyErr_Occurred()) SWIG_fail;
22947 }
22948 {
22949 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
22950 if (PyErr_Occurred()) SWIG_fail;
22951 }
22952 if (obj3) {
22953 {
22954 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 }
22958 if (obj4) {
22959 {
22960 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 }
44127b65
RD
22964 {
22965 PyThreadState* __tstate = wxPyBeginAllowThreads();
22966 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
22967
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 Py_INCREF(Py_None); resultobj = Py_None;
22972 return resultobj;
22973 fail:
22974 return NULL;
22975}
22976
22977
22978static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
22979 PyObject *resultobj;
22980 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
22981 double arg2 ;
22982 double arg3 ;
22983 int arg4 = (int) 0 ;
22984 int arg5 = (int) 0 ;
22985 PyObject * obj0 = 0 ;
8edf1c75
RD
22986 PyObject * obj1 = 0 ;
22987 PyObject * obj2 = 0 ;
22988 PyObject * obj3 = 0 ;
22989 PyObject * obj4 = 0 ;
44127b65
RD
22990 char *kwnames[] = {
22991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22992 };
22993
8edf1c75 22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 22995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22996 {
22997 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 }
23000 {
23001 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23002 if (PyErr_Occurred()) SWIG_fail;
23003 }
23004 if (obj3) {
23005 {
23006 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 }
23010 if (obj4) {
23011 {
23012 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23013 if (PyErr_Occurred()) SWIG_fail;
23014 }
23015 }
44127b65
RD
23016 {
23017 PyThreadState* __tstate = wxPyBeginAllowThreads();
23018 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
23019
23020 wxPyEndAllowThreads(__tstate);
23021 if (PyErr_Occurred()) SWIG_fail;
23022 }
23023 Py_INCREF(Py_None); resultobj = Py_None;
23024 return resultobj;
23025 fail:
23026 return NULL;
23027}
23028
23029
23030static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
23031 PyObject *resultobj;
23032 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23033 double arg2 ;
23034 double arg3 ;
23035 int arg4 = (int) 0 ;
23036 int arg5 = (int) 0 ;
23037 PyObject * obj0 = 0 ;
8edf1c75
RD
23038 PyObject * obj1 = 0 ;
23039 PyObject * obj2 = 0 ;
23040 PyObject * obj3 = 0 ;
23041 PyObject * obj4 = 0 ;
44127b65
RD
23042 char *kwnames[] = {
23043 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23044 };
23045
8edf1c75 23046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 23047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23048 {
23049 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 {
23053 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 }
23056 if (obj3) {
23057 {
23058 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 }
23061 }
23062 if (obj4) {
23063 {
23064 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 }
44127b65
RD
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
23071
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 Py_INCREF(Py_None); resultobj = Py_None;
23076 return resultobj;
23077 fail:
23078 return NULL;
23079}
23080
23081
23082static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj;
23084 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23085 double arg2 ;
23086 double arg3 ;
23087 PyObject * obj0 = 0 ;
8edf1c75
RD
23088 PyObject * obj1 = 0 ;
23089 PyObject * obj2 = 0 ;
44127b65
RD
23090 char *kwnames[] = {
23091 (char *) "self",(char *) "x",(char *) "y", NULL
23092 };
23093
8edf1c75 23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 23095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23096 {
23097 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 {
23101 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 }
44127b65
RD
23104 {
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 (arg1)->base_OnSize(arg2,arg3);
23107
23108 wxPyEndAllowThreads(__tstate);
23109 if (PyErr_Occurred()) SWIG_fail;
23110 }
23111 Py_INCREF(Py_None); resultobj = Py_None;
23112 return resultobj;
23113 fail:
23114 return NULL;
23115}
23116
23117
23118static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
23119 PyObject *resultobj;
23120 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23121 wxDC *arg2 = 0 ;
23122 double arg3 ;
23123 double arg4 ;
23124 double arg5 ;
23125 double arg6 ;
23126 bool arg7 = (bool) True ;
23127 bool result;
23128 PyObject * obj0 = 0 ;
23129 PyObject * obj1 = 0 ;
8edf1c75
RD
23130 PyObject * obj2 = 0 ;
23131 PyObject * obj3 = 0 ;
23132 PyObject * obj4 = 0 ;
23133 PyObject * obj5 = 0 ;
44127b65
RD
23134 PyObject * obj6 = 0 ;
23135 char *kwnames[] = {
23136 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23137 };
23138
8edf1c75 23139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
23140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23142 if (arg2 == NULL) {
23143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23144 }
8edf1c75
RD
23145 {
23146 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 {
23150 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 {
23154 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 {
23158 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
23159 if (PyErr_Occurred()) SWIG_fail;
23160 }
44127b65 23161 if (obj6) {
83448d71 23162 {
8edf1c75 23163 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
44127b65
RD
23166 }
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
8edf1c75 23174 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
23175 return resultobj;
23176 fail:
23177 return NULL;
23178}
23179
23180
23181static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj;
23183 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23184 wxDC *arg2 = 0 ;
23185 double arg3 ;
23186 double arg4 ;
23187 double arg5 ;
23188 double arg6 ;
23189 bool arg7 = (bool) True ;
23190 PyObject * obj0 = 0 ;
23191 PyObject * obj1 = 0 ;
8edf1c75
RD
23192 PyObject * obj2 = 0 ;
23193 PyObject * obj3 = 0 ;
23194 PyObject * obj4 = 0 ;
23195 PyObject * obj5 = 0 ;
44127b65
RD
23196 PyObject * obj6 = 0 ;
23197 char *kwnames[] = {
23198 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23199 };
23200
8edf1c75 23201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
23202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23204 if (arg2 == NULL) {
23205 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23206 }
8edf1c75
RD
23207 {
23208 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 {
23212 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 {
23216 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 {
23220 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
44127b65 23223 if (obj6) {
83448d71 23224 {
8edf1c75 23225 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
23226 if (PyErr_Occurred()) SWIG_fail;
23227 }
44127b65
RD
23228 }
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 Py_INCREF(Py_None); resultobj = Py_None;
23237 return resultobj;
23238 fail:
23239 return NULL;
23240}
23241
23242
23243static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23246 bool arg2 ;
23247 double arg3 ;
23248 double arg4 ;
23249 int arg5 = (int) 0 ;
23250 int arg6 = (int) 0 ;
23251 PyObject * obj0 = 0 ;
23252 PyObject * obj1 = 0 ;
8edf1c75
RD
23253 PyObject * obj2 = 0 ;
23254 PyObject * obj3 = 0 ;
23255 PyObject * obj4 = 0 ;
23256 PyObject * obj5 = 0 ;
44127b65
RD
23257 char *kwnames[] = {
23258 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23259 };
23260
8edf1c75 23261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 23262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 23263 {
8edf1c75
RD
23264 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 {
23268 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 {
23272 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
8edf1c75
RD
23275 if (obj4) {
23276 {
23277 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 }
23280 }
23281 if (obj5) {
23282 {
23283 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23284 if (PyErr_Occurred()) SWIG_fail;
23285 }
23286 }
44127b65
RD
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
23290
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 Py_INCREF(Py_None); resultobj = Py_None;
23295 return resultobj;
23296 fail:
23297 return NULL;
23298}
23299
23300
23301static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23302 PyObject *resultobj;
23303 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23304 double arg2 ;
23305 double arg3 ;
23306 int arg4 = (int) 0 ;
23307 int arg5 = (int) 0 ;
23308 PyObject * obj0 = 0 ;
8edf1c75
RD
23309 PyObject * obj1 = 0 ;
23310 PyObject * obj2 = 0 ;
23311 PyObject * obj3 = 0 ;
23312 PyObject * obj4 = 0 ;
44127b65
RD
23313 char *kwnames[] = {
23314 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23315 };
23316
8edf1c75 23317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 23318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23319 {
23320 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 {
23324 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 if (obj3) {
23328 {
23329 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 }
23332 }
23333 if (obj4) {
23334 {
23335 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23336 if (PyErr_Occurred()) SWIG_fail;
23337 }
23338 }
44127b65
RD
23339 {
23340 PyThreadState* __tstate = wxPyBeginAllowThreads();
23341 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
23342
23343 wxPyEndAllowThreads(__tstate);
23344 if (PyErr_Occurred()) SWIG_fail;
23345 }
23346 Py_INCREF(Py_None); resultobj = Py_None;
23347 return resultobj;
23348 fail:
23349 return NULL;
23350}
23351
23352
23353static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23354 PyObject *resultobj;
23355 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23356 double arg2 ;
23357 double arg3 ;
23358 int arg4 = (int) 0 ;
23359 int arg5 = (int) 0 ;
23360 PyObject * obj0 = 0 ;
8edf1c75
RD
23361 PyObject * obj1 = 0 ;
23362 PyObject * obj2 = 0 ;
23363 PyObject * obj3 = 0 ;
23364 PyObject * obj4 = 0 ;
44127b65
RD
23365 char *kwnames[] = {
23366 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23367 };
23368
8edf1c75 23369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 23370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23371 {
23372 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 {
23376 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23377 if (PyErr_Occurred()) SWIG_fail;
23378 }
23379 if (obj3) {
23380 {
23381 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 }
23385 if (obj4) {
23386 {
23387 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 }
44127b65
RD
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 Py_INCREF(Py_None); resultobj = Py_None;
23399 return resultobj;
23400 fail:
23401 return NULL;
23402}
23403
23404
23405static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23406 PyObject *resultobj;
23407 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23408 bool arg2 ;
23409 double arg3 ;
23410 double arg4 ;
23411 int arg5 = (int) 0 ;
23412 int arg6 = (int) 0 ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
8edf1c75
RD
23415 PyObject * obj2 = 0 ;
23416 PyObject * obj3 = 0 ;
23417 PyObject * obj4 = 0 ;
23418 PyObject * obj5 = 0 ;
44127b65
RD
23419 char *kwnames[] = {
23420 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23421 };
23422
8edf1c75 23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 23424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 23425 {
8edf1c75 23426 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
8edf1c75
RD
23429 {
23430 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 {
23434 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 if (obj4) {
23438 {
23439 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 }
23443 if (obj5) {
23444 {
23445 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 }
44127b65
RD
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
23452
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 Py_INCREF(Py_None); resultobj = Py_None;
23457 return resultobj;
23458 fail:
23459 return NULL;
23460}
23461
23462
23463static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj;
23465 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23466 double arg2 ;
23467 double arg3 ;
23468 int arg4 = (int) 0 ;
23469 int arg5 = (int) 0 ;
23470 PyObject * obj0 = 0 ;
8edf1c75
RD
23471 PyObject * obj1 = 0 ;
23472 PyObject * obj2 = 0 ;
23473 PyObject * obj3 = 0 ;
23474 PyObject * obj4 = 0 ;
44127b65
RD
23475 char *kwnames[] = {
23476 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23477 };
23478
8edf1c75 23479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 23480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23481 {
23482 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 {
23486 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
23489 if (obj3) {
23490 {
23491 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 }
23495 if (obj4) {
23496 {
23497 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 }
44127b65
RD
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 Py_INCREF(Py_None); resultobj = Py_None;
23509 return resultobj;
23510 fail:
23511 return NULL;
23512}
23513
23514
23515static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
23516 PyObject *resultobj;
23517 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23518 double arg2 ;
23519 double arg3 ;
23520 int arg4 = (int) 0 ;
23521 int arg5 = (int) 0 ;
23522 PyObject * obj0 = 0 ;
8edf1c75
RD
23523 PyObject * obj1 = 0 ;
23524 PyObject * obj2 = 0 ;
23525 PyObject * obj3 = 0 ;
23526 PyObject * obj4 = 0 ;
44127b65
RD
23527 char *kwnames[] = {
23528 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23529 };
23530
8edf1c75 23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 23532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23533 {
23534 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 }
23537 {
23538 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
23541 if (obj3) {
23542 {
23543 arg4 = (int) SWIG_PyObj_AsInt(obj3);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 }
23547 if (obj4) {
23548 {
23549 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 }
44127b65
RD
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
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
23567static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23570 wxDC *arg2 = 0 ;
23571 double arg3 ;
23572 double arg4 ;
23573 double arg5 ;
23574 double arg6 ;
23575 PyObject * obj0 = 0 ;
23576 PyObject * obj1 = 0 ;
8edf1c75
RD
23577 PyObject * obj2 = 0 ;
23578 PyObject * obj3 = 0 ;
23579 PyObject * obj4 = 0 ;
23580 PyObject * obj5 = 0 ;
44127b65
RD
23581 char *kwnames[] = {
23582 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23583 };
23584
8edf1c75 23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
23586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23588 if (arg2 == NULL) {
23589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23590 }
8edf1c75
RD
23591 {
23592 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23593 if (PyErr_Occurred()) SWIG_fail;
23594 }
23595 {
23596 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 {
23600 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
23601 if (PyErr_Occurred()) SWIG_fail;
23602 }
23603 {
23604 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
44127b65
RD
23607 {
23608 PyThreadState* __tstate = wxPyBeginAllowThreads();
23609 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
23610
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
23614 Py_INCREF(Py_None); resultobj = Py_None;
23615 return resultobj;
23616 fail:
23617 return NULL;
23618}
23619
23620
23621static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23622 PyObject *resultobj;
23623 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23624 wxDC *arg2 = 0 ;
23625 PyObject * obj0 = 0 ;
23626 PyObject * obj1 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self",(char *) "dc", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
23632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23634 if (arg2 == NULL) {
23635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23636 }
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 (arg1)->base_OnDrawControlPoints(*arg2);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 Py_INCREF(Py_None); resultobj = Py_None;
23645 return resultobj;
23646 fail:
23647 return NULL;
23648}
23649
23650
23651static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23654 wxDC *arg2 = 0 ;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self",(char *) "dc", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23664 if (arg2 == NULL) {
23665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 (arg1)->base_OnEraseControlPoints(*arg2);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 Py_INCREF(Py_None); resultobj = Py_None;
23675 return resultobj;
23676 fail:
23677 return NULL;
23678}
23679
23680
23681static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23684 wxDC *arg2 = 0 ;
23685 bool arg3 = (bool) True ;
23686 PyObject * obj0 = 0 ;
23687 PyObject * obj1 = 0 ;
23688 PyObject * obj2 = 0 ;
23689 char *kwnames[] = {
23690 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23691 };
23692
23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
23694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23696 if (arg2 == NULL) {
23697 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23698 }
23699 if (obj2) {
83448d71 23700 {
8edf1c75 23701 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
44127b65
RD
23704 }
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 (arg1)->base_OnMoveLink(*arg2,arg3);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 Py_INCREF(Py_None); resultobj = Py_None;
23713 return resultobj;
23714 fail:
23715 return NULL;
23716}
23717
23718
23719static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj;
23721 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23722 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23723 bool arg3 ;
23724 double arg4 ;
23725 double arg5 ;
23726 int arg6 = (int) 0 ;
23727 int arg7 = (int) 0 ;
23728 PyObject * obj0 = 0 ;
23729 PyObject * obj1 = 0 ;
23730 PyObject * obj2 = 0 ;
8edf1c75
RD
23731 PyObject * obj3 = 0 ;
23732 PyObject * obj4 = 0 ;
23733 PyObject * obj5 = 0 ;
23734 PyObject * obj6 = 0 ;
44127b65
RD
23735 char *kwnames[] = {
23736 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23737 };
23738
8edf1c75 23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
23740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 23742 {
8edf1c75
RD
23743 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 {
23747 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 {
23751 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
8edf1c75
RD
23754 if (obj5) {
23755 {
23756 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 }
23760 if (obj6) {
23761 {
23762 arg7 = (int) SWIG_PyObj_AsInt(obj6);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 }
44127b65
RD
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
23769
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 Py_INCREF(Py_None); resultobj = Py_None;
23774 return resultobj;
23775 fail:
23776 return NULL;
23777}
23778
23779
23780static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj;
23782 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23783 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23784 double arg3 ;
23785 double arg4 ;
23786 int arg5 = (int) 0 ;
23787 int arg6 = (int) 0 ;
23788 PyObject * obj0 = 0 ;
23789 PyObject * obj1 = 0 ;
8edf1c75
RD
23790 PyObject * obj2 = 0 ;
23791 PyObject * obj3 = 0 ;
23792 PyObject * obj4 = 0 ;
23793 PyObject * obj5 = 0 ;
44127b65
RD
23794 char *kwnames[] = {
23795 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23796 };
23797
8edf1c75 23798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
23799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23801 {
23802 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 {
23806 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23807 if (PyErr_Occurred()) SWIG_fail;
23808 }
23809 if (obj4) {
23810 {
23811 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 }
23815 if (obj5) {
23816 {
23817 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 }
44127b65
RD
23821 {
23822 PyThreadState* __tstate = wxPyBeginAllowThreads();
23823 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
23824
23825 wxPyEndAllowThreads(__tstate);
23826 if (PyErr_Occurred()) SWIG_fail;
23827 }
23828 Py_INCREF(Py_None); resultobj = Py_None;
23829 return resultobj;
23830 fail:
23831 return NULL;
23832}
23833
23834
23835static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj;
23837 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23838 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
23839 double arg3 ;
23840 double arg4 ;
23841 int arg5 = (int) 0 ;
23842 int arg6 = (int) 0 ;
23843 PyObject * obj0 = 0 ;
23844 PyObject * obj1 = 0 ;
8edf1c75
RD
23845 PyObject * obj2 = 0 ;
23846 PyObject * obj3 = 0 ;
23847 PyObject * obj4 = 0 ;
23848 PyObject * obj5 = 0 ;
44127b65
RD
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23851 };
23852
8edf1c75 23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
23854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23856 {
23857 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
23860 {
23861 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
23862 if (PyErr_Occurred()) SWIG_fail;
23863 }
23864 if (obj4) {
23865 {
23866 arg5 = (int) SWIG_PyObj_AsInt(obj4);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 }
23870 if (obj5) {
23871 {
23872 arg6 = (int) SWIG_PyObj_AsInt(obj5);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 }
44127b65
RD
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
23879
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
23883 Py_INCREF(Py_None); resultobj = Py_None;
23884 return resultobj;
23885 fail:
23886 return NULL;
23887}
23888
23889
23890static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23891 PyObject *resultobj;
23892 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23893 double arg2 ;
23894 double arg3 ;
23895 PyObject * obj0 = 0 ;
8edf1c75
RD
23896 PyObject * obj1 = 0 ;
23897 PyObject * obj2 = 0 ;
44127b65
RD
23898 char *kwnames[] = {
23899 (char *) "self",(char *) "w",(char *) "h", NULL
23900 };
23901
8edf1c75 23902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 23903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23904 {
23905 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
23908 {
23909 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23910 if (PyErr_Occurred()) SWIG_fail;
23911 }
44127b65
RD
23912 {
23913 PyThreadState* __tstate = wxPyBeginAllowThreads();
23914 (arg1)->base_OnBeginSize(arg2,arg3);
23915
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 Py_INCREF(Py_None); resultobj = Py_None;
23920 return resultobj;
23921 fail:
23922 return NULL;
23923}
23924
23925
23926static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23927 PyObject *resultobj;
23928 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
23929 double arg2 ;
23930 double arg3 ;
23931 PyObject * obj0 = 0 ;
8edf1c75
RD
23932 PyObject * obj1 = 0 ;
23933 PyObject * obj2 = 0 ;
44127b65
RD
23934 char *kwnames[] = {
23935 (char *) "self",(char *) "w",(char *) "h", NULL
23936 };
23937
8edf1c75 23938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 23939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEllipseShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
23940 {
23941 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 {
23945 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
44127b65
RD
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 (arg1)->base_OnEndSize(arg2,arg3);
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 Py_INCREF(Py_None); resultobj = Py_None;
23956 return resultobj;
23957 fail:
23958 return NULL;
23959}
23960
23961
23962static PyObject * PyEllipseShape_swigregister(PyObject *self, PyObject *args) {
23963 PyObject *obj;
23964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23965 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
23966 Py_INCREF(obj);
23967 return Py_BuildValue((char *)"");
23968}
23969static PyObject *_wrap_new_PyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj;
23971 double arg1 = (double) 0.0 ;
23972 wxPyCircleShape *result;
8edf1c75 23973 PyObject * obj0 = 0 ;
44127b65
RD
23974 char *kwnames[] = {
23975 (char *) "width", NULL
23976 };
23977
8edf1c75
RD
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
23979 if (obj0) {
23980 {
23981 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 }
44127b65
RD
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
23988
23989 wxPyEndAllowThreads(__tstate);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
23992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCircleShape, 1);
23993 return resultobj;
23994 fail:
23995 return NULL;
23996}
23997
23998
23999static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24000 PyObject *resultobj;
24001 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24002 PyObject *arg2 = (PyObject *) 0 ;
24003 PyObject *arg3 = (PyObject *) 0 ;
24004 PyObject * obj0 = 0 ;
24005 PyObject * obj1 = 0 ;
24006 PyObject * obj2 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self",(char *) "self",(char *) "_class", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24013 arg2 = obj1;
24014 arg3 = obj2;
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 (arg1)->_setCallbackInfo(arg2,arg3);
24018
24019 wxPyEndAllowThreads(__tstate);
24020 if (PyErr_Occurred()) SWIG_fail;
24021 }
24022 Py_INCREF(Py_None); resultobj = Py_None;
24023 return resultobj;
24024 fail:
24025 return NULL;
24026}
24027
24028
24029static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24032 wxDC *arg2 = 0 ;
24033 PyObject * obj0 = 0 ;
24034 PyObject * obj1 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "self",(char *) "dc", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
24040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24042 if (arg2 == NULL) {
24043 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24044 }
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 (arg1)->base_OnDraw(*arg2);
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 Py_INCREF(Py_None); resultobj = Py_None;
24053 return resultobj;
24054 fail:
24055 return NULL;
24056}
24057
24058
24059static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
24060 PyObject *resultobj;
24061 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24062 wxDC *arg2 = 0 ;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "self",(char *) "dc", NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
24070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24072 if (arg2 == NULL) {
24073 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24074 }
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 (arg1)->base_OnDrawContents(*arg2);
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 Py_INCREF(Py_None); resultobj = Py_None;
24083 return resultobj;
24084 fail:
24085 return NULL;
24086}
24087
24088
24089static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
24090 PyObject *resultobj;
24091 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24092 wxDC *arg2 = 0 ;
24093 bool arg3 = (bool) FALSE ;
24094 PyObject * obj0 = 0 ;
24095 PyObject * obj1 = 0 ;
24096 PyObject * obj2 = 0 ;
24097 char *kwnames[] = {
24098 (char *) "self",(char *) "dc",(char *) "erase", NULL
24099 };
24100
24101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
24102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24104 if (arg2 == NULL) {
24105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24106 }
24107 if (obj2) {
83448d71 24108 {
8edf1c75 24109 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
44127b65
RD
24112 }
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 (arg1)->base_OnDrawBranches(*arg2,arg3);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 Py_INCREF(Py_None); resultobj = Py_None;
24121 return resultobj;
24122 fail:
24123 return NULL;
24124}
24125
24126
24127static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24130 wxDC *arg2 = 0 ;
24131 PyObject * obj0 = 0 ;
24132 PyObject * obj1 = 0 ;
24133 char *kwnames[] = {
24134 (char *) "self",(char *) "dc", NULL
24135 };
24136
24137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
24138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24140 if (arg2 == NULL) {
24141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24142 }
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 (arg1)->base_OnMoveLinks(*arg2);
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
24150 Py_INCREF(Py_None); resultobj = Py_None;
24151 return resultobj;
24152 fail:
24153 return NULL;
24154}
24155
24156
24157static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
24158 PyObject *resultobj;
24159 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24160 wxDC *arg2 = 0 ;
24161 PyObject * obj0 = 0 ;
24162 PyObject * obj1 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self",(char *) "dc", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
24168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24170 if (arg2 == NULL) {
24171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24172 }
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 (arg1)->base_OnErase(*arg2);
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 Py_INCREF(Py_None); resultobj = Py_None;
24181 return resultobj;
24182 fail:
24183 return NULL;
24184}
24185
24186
24187static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24190 wxDC *arg2 = 0 ;
24191 PyObject * obj0 = 0 ;
24192 PyObject * obj1 = 0 ;
24193 char *kwnames[] = {
24194 (char *) "self",(char *) "dc", NULL
24195 };
24196
24197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
24198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24200 if (arg2 == NULL) {
24201 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24202 }
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->base_OnEraseContents(*arg2);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 Py_INCREF(Py_None); resultobj = Py_None;
24211 return resultobj;
24212 fail:
24213 return NULL;
24214}
24215
24216
24217static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24220 wxDC *arg2 = 0 ;
24221 PyObject * obj0 = 0 ;
24222 PyObject * obj1 = 0 ;
24223 char *kwnames[] = {
24224 (char *) "self",(char *) "dc", NULL
24225 };
24226
24227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
24228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24230 if (arg2 == NULL) {
24231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24232 }
24233 {
24234 PyThreadState* __tstate = wxPyBeginAllowThreads();
24235 (arg1)->base_OnHighlight(*arg2);
24236
24237 wxPyEndAllowThreads(__tstate);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
24240 Py_INCREF(Py_None); resultobj = Py_None;
24241 return resultobj;
24242 fail:
24243 return NULL;
24244}
24245
24246
24247static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj;
24249 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24250 double arg2 ;
24251 double arg3 ;
24252 int arg4 = (int) 0 ;
24253 int arg5 = (int) 0 ;
24254 PyObject * obj0 = 0 ;
8edf1c75
RD
24255 PyObject * obj1 = 0 ;
24256 PyObject * obj2 = 0 ;
24257 PyObject * obj3 = 0 ;
24258 PyObject * obj4 = 0 ;
44127b65
RD
24259 char *kwnames[] = {
24260 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24261 };
24262
8edf1c75 24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 24264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24265 {
24266 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 {
24270 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
24273 if (obj3) {
24274 {
24275 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 }
24279 if (obj4) {
24280 {
24281 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24282 if (PyErr_Occurred()) SWIG_fail;
24283 }
24284 }
44127b65
RD
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
24288
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 Py_INCREF(Py_None); resultobj = Py_None;
24293 return resultobj;
24294 fail:
24295 return NULL;
24296}
24297
24298
24299static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24302 double arg2 ;
24303 double arg3 ;
24304 int arg4 = (int) 0 ;
24305 int arg5 = (int) 0 ;
24306 PyObject * obj0 = 0 ;
8edf1c75
RD
24307 PyObject * obj1 = 0 ;
24308 PyObject * obj2 = 0 ;
24309 PyObject * obj3 = 0 ;
24310 PyObject * obj4 = 0 ;
44127b65
RD
24311 char *kwnames[] = {
24312 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24313 };
24314
8edf1c75 24315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 24316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24317 {
24318 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 {
24322 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24323 if (PyErr_Occurred()) SWIG_fail;
24324 }
24325 if (obj3) {
24326 {
24327 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 }
24331 if (obj4) {
24332 {
24333 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 }
44127b65
RD
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 Py_INCREF(Py_None); resultobj = Py_None;
24345 return resultobj;
24346 fail:
24347 return NULL;
24348}
24349
24350
24351static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj;
24353 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24354 double arg2 ;
24355 double arg3 ;
24356 int arg4 = (int) 0 ;
24357 int arg5 = (int) 0 ;
24358 PyObject * obj0 = 0 ;
8edf1c75
RD
24359 PyObject * obj1 = 0 ;
24360 PyObject * obj2 = 0 ;
24361 PyObject * obj3 = 0 ;
24362 PyObject * obj4 = 0 ;
44127b65
RD
24363 char *kwnames[] = {
24364 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24365 };
24366
8edf1c75 24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 24368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24369 {
24370 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 }
24373 {
24374 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24375 if (PyErr_Occurred()) SWIG_fail;
24376 }
24377 if (obj3) {
24378 {
24379 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 }
24383 if (obj4) {
24384 {
24385 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 }
44127b65
RD
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 Py_INCREF(Py_None); resultobj = Py_None;
24397 return resultobj;
24398 fail:
24399 return NULL;
24400}
24401
24402
24403static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24406 double arg2 ;
24407 double arg3 ;
24408 PyObject * obj0 = 0 ;
8edf1c75
RD
24409 PyObject * obj1 = 0 ;
24410 PyObject * obj2 = 0 ;
44127b65
RD
24411 char *kwnames[] = {
24412 (char *) "self",(char *) "x",(char *) "y", NULL
24413 };
24414
8edf1c75 24415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 24416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24417 {
24418 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 {
24422 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
44127b65
RD
24425 {
24426 PyThreadState* __tstate = wxPyBeginAllowThreads();
24427 (arg1)->base_OnSize(arg2,arg3);
24428
24429 wxPyEndAllowThreads(__tstate);
24430 if (PyErr_Occurred()) SWIG_fail;
24431 }
24432 Py_INCREF(Py_None); resultobj = Py_None;
24433 return resultobj;
24434 fail:
24435 return NULL;
24436}
24437
24438
24439static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
24440 PyObject *resultobj;
24441 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24442 wxDC *arg2 = 0 ;
24443 double arg3 ;
24444 double arg4 ;
24445 double arg5 ;
24446 double arg6 ;
24447 bool arg7 = (bool) True ;
24448 bool result;
24449 PyObject * obj0 = 0 ;
24450 PyObject * obj1 = 0 ;
8edf1c75
RD
24451 PyObject * obj2 = 0 ;
24452 PyObject * obj3 = 0 ;
24453 PyObject * obj4 = 0 ;
24454 PyObject * obj5 = 0 ;
44127b65
RD
24455 PyObject * obj6 = 0 ;
24456 char *kwnames[] = {
24457 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24458 };
24459
8edf1c75 24460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
24461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24463 if (arg2 == NULL) {
24464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24465 }
8edf1c75
RD
24466 {
24467 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 {
24471 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
24472 if (PyErr_Occurred()) SWIG_fail;
24473 }
24474 {
24475 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 {
24479 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 }
44127b65 24482 if (obj6) {
83448d71 24483 {
8edf1c75 24484 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
44127b65
RD
24487 }
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
8edf1c75 24495 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
24496 return resultobj;
24497 fail:
24498 return NULL;
24499}
24500
24501
24502static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
24503 PyObject *resultobj;
24504 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24505 wxDC *arg2 = 0 ;
24506 double arg3 ;
24507 double arg4 ;
24508 double arg5 ;
24509 double arg6 ;
24510 bool arg7 = (bool) True ;
24511 PyObject * obj0 = 0 ;
24512 PyObject * obj1 = 0 ;
8edf1c75
RD
24513 PyObject * obj2 = 0 ;
24514 PyObject * obj3 = 0 ;
24515 PyObject * obj4 = 0 ;
24516 PyObject * obj5 = 0 ;
44127b65
RD
24517 PyObject * obj6 = 0 ;
24518 char *kwnames[] = {
24519 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24520 };
24521
8edf1c75 24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
24523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24524 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24525 if (arg2 == NULL) {
24526 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24527 }
8edf1c75
RD
24528 {
24529 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 {
24533 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 {
24537 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 {
24541 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
44127b65 24544 if (obj6) {
83448d71 24545 {
8edf1c75 24546 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
24547 if (PyErr_Occurred()) SWIG_fail;
24548 }
44127b65
RD
24549 }
24550 {
24551 PyThreadState* __tstate = wxPyBeginAllowThreads();
24552 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24553
24554 wxPyEndAllowThreads(__tstate);
24555 if (PyErr_Occurred()) SWIG_fail;
24556 }
24557 Py_INCREF(Py_None); resultobj = Py_None;
24558 return resultobj;
24559 fail:
24560 return NULL;
24561}
24562
24563
24564static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24565 PyObject *resultobj;
24566 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24567 bool arg2 ;
24568 double arg3 ;
24569 double arg4 ;
24570 int arg5 = (int) 0 ;
24571 int arg6 = (int) 0 ;
24572 PyObject * obj0 = 0 ;
24573 PyObject * obj1 = 0 ;
8edf1c75
RD
24574 PyObject * obj2 = 0 ;
24575 PyObject * obj3 = 0 ;
24576 PyObject * obj4 = 0 ;
24577 PyObject * obj5 = 0 ;
44127b65
RD
24578 char *kwnames[] = {
24579 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24580 };
24581
8edf1c75 24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 24583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 24584 {
8edf1c75
RD
24585 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 {
24589 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 {
24593 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
8edf1c75
RD
24596 if (obj4) {
24597 {
24598 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
24601 }
24602 if (obj5) {
24603 {
24604 arg6 = (int) SWIG_PyObj_AsInt(obj5);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 }
44127b65
RD
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 Py_INCREF(Py_None); resultobj = Py_None;
24616 return resultobj;
24617 fail:
24618 return NULL;
24619}
24620
24621
24622static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj;
24624 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24625 double arg2 ;
24626 double arg3 ;
24627 int arg4 = (int) 0 ;
24628 int arg5 = (int) 0 ;
24629 PyObject * obj0 = 0 ;
8edf1c75
RD
24630 PyObject * obj1 = 0 ;
24631 PyObject * obj2 = 0 ;
24632 PyObject * obj3 = 0 ;
24633 PyObject * obj4 = 0 ;
44127b65
RD
24634 char *kwnames[] = {
24635 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24636 };
24637
8edf1c75 24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 24639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24640 {
24641 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24642 if (PyErr_Occurred()) SWIG_fail;
24643 }
24644 {
24645 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 if (obj3) {
24649 {
24650 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 }
24653 }
24654 if (obj4) {
24655 {
24656 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 }
44127b65
RD
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 Py_INCREF(Py_None); resultobj = Py_None;
24668 return resultobj;
24669 fail:
24670 return NULL;
24671}
24672
24673
24674static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
24675 PyObject *resultobj;
24676 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24677 double arg2 ;
24678 double arg3 ;
24679 int arg4 = (int) 0 ;
24680 int arg5 = (int) 0 ;
24681 PyObject * obj0 = 0 ;
8edf1c75
RD
24682 PyObject * obj1 = 0 ;
24683 PyObject * obj2 = 0 ;
24684 PyObject * obj3 = 0 ;
24685 PyObject * obj4 = 0 ;
44127b65
RD
24686 char *kwnames[] = {
24687 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24688 };
24689
8edf1c75 24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 24691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24692 {
24693 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 {
24697 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 if (obj3) {
24701 {
24702 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24703 if (PyErr_Occurred()) SWIG_fail;
24704 }
24705 }
24706 if (obj4) {
24707 {
24708 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
24711 }
44127b65
RD
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 Py_INCREF(Py_None); resultobj = Py_None;
24720 return resultobj;
24721 fail:
24722 return NULL;
24723}
24724
24725
24726static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24727 PyObject *resultobj;
24728 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24729 bool arg2 ;
24730 double arg3 ;
24731 double arg4 ;
24732 int arg5 = (int) 0 ;
24733 int arg6 = (int) 0 ;
24734 PyObject * obj0 = 0 ;
24735 PyObject * obj1 = 0 ;
8edf1c75
RD
24736 PyObject * obj2 = 0 ;
24737 PyObject * obj3 = 0 ;
24738 PyObject * obj4 = 0 ;
24739 PyObject * obj5 = 0 ;
44127b65
RD
24740 char *kwnames[] = {
24741 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24742 };
24743
8edf1c75 24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 24745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 24746 {
8edf1c75
RD
24747 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 {
24751 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 {
24755 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
8edf1c75
RD
24758 if (obj4) {
24759 {
24760 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24761 if (PyErr_Occurred()) SWIG_fail;
24762 }
24763 }
24764 if (obj5) {
24765 {
24766 arg6 = (int) SWIG_PyObj_AsInt(obj5);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 }
44127b65
RD
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 Py_INCREF(Py_None); resultobj = Py_None;
24778 return resultobj;
24779 fail:
24780 return NULL;
24781}
24782
24783
24784static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24785 PyObject *resultobj;
24786 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24787 double arg2 ;
24788 double arg3 ;
24789 int arg4 = (int) 0 ;
24790 int arg5 = (int) 0 ;
24791 PyObject * obj0 = 0 ;
8edf1c75
RD
24792 PyObject * obj1 = 0 ;
24793 PyObject * obj2 = 0 ;
24794 PyObject * obj3 = 0 ;
24795 PyObject * obj4 = 0 ;
44127b65
RD
24796 char *kwnames[] = {
24797 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24798 };
24799
8edf1c75 24800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 24801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24802 {
24803 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 {
24807 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 if (obj3) {
24811 {
24812 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 }
24816 if (obj4) {
24817 {
24818 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 }
44127b65
RD
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 Py_INCREF(Py_None); resultobj = Py_None;
24830 return resultobj;
24831 fail:
24832 return NULL;
24833}
24834
24835
24836static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24839 double arg2 ;
24840 double arg3 ;
24841 int arg4 = (int) 0 ;
24842 int arg5 = (int) 0 ;
24843 PyObject * obj0 = 0 ;
8edf1c75
RD
24844 PyObject * obj1 = 0 ;
24845 PyObject * obj2 = 0 ;
24846 PyObject * obj3 = 0 ;
24847 PyObject * obj4 = 0 ;
44127b65
RD
24848 char *kwnames[] = {
24849 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24850 };
24851
8edf1c75 24852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 24853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
24854 {
24855 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 {
24859 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24860 if (PyErr_Occurred()) SWIG_fail;
24861 }
24862 if (obj3) {
24863 {
24864 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 }
24868 if (obj4) {
24869 {
24870 arg5 = (int) SWIG_PyObj_AsInt(obj4);
24871 if (PyErr_Occurred()) SWIG_fail;
24872 }
24873 }
44127b65
RD
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24877
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 Py_INCREF(Py_None); resultobj = Py_None;
24882 return resultobj;
24883 fail:
24884 return NULL;
24885}
24886
24887
24888static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24891 wxDC *arg2 = 0 ;
24892 double arg3 ;
24893 double arg4 ;
24894 double arg5 ;
24895 double arg6 ;
24896 PyObject * obj0 = 0 ;
24897 PyObject * obj1 = 0 ;
8edf1c75
RD
24898 PyObject * obj2 = 0 ;
24899 PyObject * obj3 = 0 ;
24900 PyObject * obj4 = 0 ;
24901 PyObject * obj5 = 0 ;
44127b65
RD
24902 char *kwnames[] = {
24903 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24904 };
24905
8edf1c75 24906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
24907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24908 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24909 if (arg2 == NULL) {
24910 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24911 }
8edf1c75
RD
24912 {
24913 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 {
24917 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 {
24921 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
24922 if (PyErr_Occurred()) SWIG_fail;
24923 }
24924 {
24925 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
44127b65
RD
24928 {
24929 PyThreadState* __tstate = wxPyBeginAllowThreads();
24930 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24931
24932 wxPyEndAllowThreads(__tstate);
24933 if (PyErr_Occurred()) SWIG_fail;
24934 }
24935 Py_INCREF(Py_None); resultobj = Py_None;
24936 return resultobj;
24937 fail:
24938 return NULL;
24939}
24940
24941
24942static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24943 PyObject *resultobj;
24944 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24945 wxDC *arg2 = 0 ;
24946 PyObject * obj0 = 0 ;
24947 PyObject * obj1 = 0 ;
24948 char *kwnames[] = {
24949 (char *) "self",(char *) "dc", NULL
24950 };
24951
24952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
24953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24955 if (arg2 == NULL) {
24956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24957 }
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 (arg1)->base_OnDrawControlPoints(*arg2);
24961
24962 wxPyEndAllowThreads(__tstate);
24963 if (PyErr_Occurred()) SWIG_fail;
24964 }
24965 Py_INCREF(Py_None); resultobj = Py_None;
24966 return resultobj;
24967 fail:
24968 return NULL;
24969}
24970
24971
24972static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
24973 PyObject *resultobj;
24974 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
24975 wxDC *arg2 = 0 ;
24976 PyObject * obj0 = 0 ;
24977 PyObject * obj1 = 0 ;
24978 char *kwnames[] = {
24979 (char *) "self",(char *) "dc", NULL
24980 };
24981
24982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
24983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24985 if (arg2 == NULL) {
24986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24987 }
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 (arg1)->base_OnEraseControlPoints(*arg2);
24991
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 Py_INCREF(Py_None); resultobj = Py_None;
24996 return resultobj;
24997 fail:
24998 return NULL;
24999}
25000
25001
25002static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25003 PyObject *resultobj;
25004 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25005 wxDC *arg2 = 0 ;
25006 bool arg3 = (bool) True ;
25007 PyObject * obj0 = 0 ;
25008 PyObject * obj1 = 0 ;
25009 PyObject * obj2 = 0 ;
25010 char *kwnames[] = {
25011 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
25012 };
25013
25014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
25015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25017 if (arg2 == NULL) {
25018 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25019 }
25020 if (obj2) {
83448d71 25021 {
8edf1c75 25022 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
25023 if (PyErr_Occurred()) SWIG_fail;
25024 }
44127b65
RD
25025 }
25026 {
25027 PyThreadState* __tstate = wxPyBeginAllowThreads();
25028 (arg1)->base_OnMoveLink(*arg2,arg3);
25029
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 Py_INCREF(Py_None); resultobj = Py_None;
25034 return resultobj;
25035 fail:
25036 return NULL;
25037}
25038
25039
25040static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25041 PyObject *resultobj;
25042 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25043 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25044 bool arg3 ;
25045 double arg4 ;
25046 double arg5 ;
25047 int arg6 = (int) 0 ;
25048 int arg7 = (int) 0 ;
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 PyObject * obj2 = 0 ;
8edf1c75
RD
25052 PyObject * obj3 = 0 ;
25053 PyObject * obj4 = 0 ;
25054 PyObject * obj5 = 0 ;
25055 PyObject * obj6 = 0 ;
44127b65
RD
25056 char *kwnames[] = {
25057 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25058 };
25059
8edf1c75 25060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
25061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 25063 {
8edf1c75
RD
25064 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 {
25068 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
25071 {
25072 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
8edf1c75
RD
25075 if (obj5) {
25076 {
25077 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 }
25080 }
25081 if (obj6) {
25082 {
25083 arg7 = (int) SWIG_PyObj_AsInt(obj6);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 }
44127b65
RD
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
25090
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 Py_INCREF(Py_None); resultobj = Py_None;
25095 return resultobj;
25096 fail:
25097 return NULL;
25098}
25099
25100
25101static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj;
25103 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25104 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25105 double arg3 ;
25106 double arg4 ;
25107 int arg5 = (int) 0 ;
25108 int arg6 = (int) 0 ;
25109 PyObject * obj0 = 0 ;
25110 PyObject * obj1 = 0 ;
8edf1c75
RD
25111 PyObject * obj2 = 0 ;
25112 PyObject * obj3 = 0 ;
25113 PyObject * obj4 = 0 ;
25114 PyObject * obj5 = 0 ;
44127b65
RD
25115 char *kwnames[] = {
25116 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25117 };
25118
8edf1c75 25119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
25120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25122 {
25123 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 {
25127 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 if (obj4) {
25131 {
25132 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25133 if (PyErr_Occurred()) SWIG_fail;
25134 }
25135 }
25136 if (obj5) {
25137 {
25138 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25139 if (PyErr_Occurred()) SWIG_fail;
25140 }
25141 }
44127b65
RD
25142 {
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
25145
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 Py_INCREF(Py_None); resultobj = Py_None;
25150 return resultobj;
25151 fail:
25152 return NULL;
25153}
25154
25155
25156static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
25157 PyObject *resultobj;
25158 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25159 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25160 double arg3 ;
25161 double arg4 ;
25162 int arg5 = (int) 0 ;
25163 int arg6 = (int) 0 ;
25164 PyObject * obj0 = 0 ;
25165 PyObject * obj1 = 0 ;
8edf1c75
RD
25166 PyObject * obj2 = 0 ;
25167 PyObject * obj3 = 0 ;
25168 PyObject * obj4 = 0 ;
25169 PyObject * obj5 = 0 ;
44127b65
RD
25170 char *kwnames[] = {
25171 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25172 };
25173
8edf1c75 25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
25175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25177 {
25178 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25179 if (PyErr_Occurred()) SWIG_fail;
25180 }
25181 {
25182 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 if (obj4) {
25186 {
25187 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 }
25191 if (obj5) {
25192 {
25193 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25194 if (PyErr_Occurred()) SWIG_fail;
25195 }
25196 }
44127b65
RD
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
25200
25201 wxPyEndAllowThreads(__tstate);
25202 if (PyErr_Occurred()) SWIG_fail;
25203 }
25204 Py_INCREF(Py_None); resultobj = Py_None;
25205 return resultobj;
25206 fail:
25207 return NULL;
25208}
25209
25210
25211static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25212 PyObject *resultobj;
25213 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25214 double arg2 ;
25215 double arg3 ;
25216 PyObject * obj0 = 0 ;
8edf1c75
RD
25217 PyObject * obj1 = 0 ;
25218 PyObject * obj2 = 0 ;
44127b65
RD
25219 char *kwnames[] = {
25220 (char *) "self",(char *) "w",(char *) "h", NULL
25221 };
25222
8edf1c75 25223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 25224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25225 {
25226 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25227 if (PyErr_Occurred()) SWIG_fail;
25228 }
25229 {
25230 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
44127b65
RD
25233 {
25234 PyThreadState* __tstate = wxPyBeginAllowThreads();
25235 (arg1)->base_OnBeginSize(arg2,arg3);
25236
25237 wxPyEndAllowThreads(__tstate);
25238 if (PyErr_Occurred()) SWIG_fail;
25239 }
25240 Py_INCREF(Py_None); resultobj = Py_None;
25241 return resultobj;
25242 fail:
25243 return NULL;
25244}
25245
25246
25247static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25248 PyObject *resultobj;
25249 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
25250 double arg2 ;
25251 double arg3 ;
25252 PyObject * obj0 = 0 ;
8edf1c75
RD
25253 PyObject * obj1 = 0 ;
25254 PyObject * obj2 = 0 ;
44127b65
RD
25255 char *kwnames[] = {
25256 (char *) "self",(char *) "w",(char *) "h", NULL
25257 };
25258
8edf1c75 25259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 25260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCircleShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25261 {
25262 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 {
25266 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25267 if (PyErr_Occurred()) SWIG_fail;
25268 }
44127b65
RD
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 (arg1)->base_OnEndSize(arg2,arg3);
25272
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 Py_INCREF(Py_None); resultobj = Py_None;
25277 return resultobj;
25278 fail:
25279 return NULL;
25280}
25281
25282
25283static PyObject * PyCircleShape_swigregister(PyObject *self, PyObject *args) {
25284 PyObject *obj;
25285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25286 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
25287 Py_INCREF(obj);
25288 return Py_BuildValue((char *)"");
25289}
25290static PyObject *_wrap_new_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25291 PyObject *resultobj;
25292 int arg1 = (int) 0 ;
25293 int arg2 = (int) 0 ;
25294 double arg3 = (double) 0.0 ;
25295 double arg4 = (double) 0.0 ;
25296 wxString const &arg5_defvalue = wxPyEmptyString ;
25297 wxString *arg5 = (wxString *) &arg5_defvalue ;
25298 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
25299 long arg7 = (long) -1 ;
25300 wxArrowHead *result;
25301 bool temp5 = False ;
8edf1c75
RD
25302 PyObject * obj0 = 0 ;
25303 PyObject * obj1 = 0 ;
25304 PyObject * obj2 = 0 ;
25305 PyObject * obj3 = 0 ;
44127b65
RD
25306 PyObject * obj4 = 0 ;
25307 PyObject * obj5 = 0 ;
8edf1c75 25308 PyObject * obj6 = 0 ;
44127b65
RD
25309 char *kwnames[] = {
25310 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25311 };
25312
8edf1c75
RD
25313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25314 if (obj0) {
25315 {
25316 arg1 = (int) SWIG_PyObj_AsInt(obj0);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 }
25320 if (obj1) {
25321 {
25322 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25323 if (PyErr_Occurred()) SWIG_fail;
25324 }
25325 }
25326 if (obj2) {
25327 {
25328 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
25329 if (PyErr_Occurred()) SWIG_fail;
25330 }
25331 }
25332 if (obj3) {
25333 {
25334 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 }
44127b65
RD
25338 if (obj4) {
25339 {
25340 arg5 = wxString_in_helper(obj4);
25341 if (arg5 == NULL) SWIG_fail;
25342 temp5 = True;
25343 }
25344 }
25345 if (obj5) {
25346 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25347 }
8edf1c75
RD
25348 if (obj6) {
25349 {
25350 arg7 = (long) SWIG_PyObj_AsLong(obj6);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 }
44127b65
RD
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 {
25362 resultobj = wxPyMake_wxObject(result);
25363 }
25364 {
25365 if (temp5)
25366 delete arg5;
25367 }
25368 return resultobj;
25369 fail:
25370 {
25371 if (temp5)
25372 delete arg5;
25373 }
25374 return NULL;
25375}
25376
25377
25378static PyObject *_wrap_delete_ArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
25379 PyObject *resultobj;
25380 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25381 PyObject * obj0 = 0 ;
25382 char *kwnames[] = {
25383 (char *) "self", NULL
25384 };
25385
25386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
25387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 delete arg1;
25391
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
25395 Py_INCREF(Py_None); resultobj = Py_None;
25396 return resultobj;
25397 fail:
25398 return NULL;
25399}
25400
25401
25402static PyObject *_wrap_ArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
25403 PyObject *resultobj;
25404 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25405 int result;
25406 PyObject * obj0 = 0 ;
25407 char *kwnames[] = {
25408 (char *) "self", NULL
25409 };
25410
25411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
25412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 result = (int)(arg1)->_GetType();
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
8edf1c75 25420 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
25421 return resultobj;
25422 fail:
25423 return NULL;
25424}
25425
25426
25427static PyObject *_wrap_ArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25428 PyObject *resultobj;
25429 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25430 int result;
25431 PyObject * obj0 = 0 ;
25432 char *kwnames[] = {
25433 (char *) "self", NULL
25434 };
25435
25436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
25437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25438 {
25439 PyThreadState* __tstate = wxPyBeginAllowThreads();
25440 result = (int)(arg1)->GetPosition();
25441
25442 wxPyEndAllowThreads(__tstate);
25443 if (PyErr_Occurred()) SWIG_fail;
25444 }
8edf1c75 25445 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
25446 return resultobj;
25447 fail:
25448 return NULL;
25449}
25450
25451
25452static PyObject *_wrap_ArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25453 PyObject *resultobj;
25454 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25455 int arg2 ;
25456 PyObject * obj0 = 0 ;
8edf1c75 25457 PyObject * obj1 = 0 ;
44127b65
RD
25458 char *kwnames[] = {
25459 (char *) "self",(char *) "pos", NULL
25460 };
25461
8edf1c75 25462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
44127b65 25463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25464 {
25465 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
44127b65
RD
25468 {
25469 PyThreadState* __tstate = wxPyBeginAllowThreads();
25470 (arg1)->SetPosition(arg2);
25471
25472 wxPyEndAllowThreads(__tstate);
25473 if (PyErr_Occurred()) SWIG_fail;
25474 }
25475 Py_INCREF(Py_None); resultobj = Py_None;
25476 return resultobj;
25477 fail:
25478 return NULL;
25479}
25480
25481
25482static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25483 PyObject *resultobj;
25484 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25485 double result;
25486 PyObject * obj0 = 0 ;
25487 char *kwnames[] = {
25488 (char *) "self", NULL
25489 };
25490
25491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
25492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25493 {
25494 PyThreadState* __tstate = wxPyBeginAllowThreads();
25495 result = (double)(arg1)->GetXOffset();
25496
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
8edf1c75 25500 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
25501 return resultobj;
25502 fail:
25503 return NULL;
25504}
25505
25506
25507static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25508 PyObject *resultobj;
25509 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25510 double result;
25511 PyObject * obj0 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
25517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = (double)(arg1)->GetYOffset();
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
8edf1c75 25525 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
25526 return resultobj;
25527 fail:
25528 return NULL;
25529}
25530
25531
25532static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25533 PyObject *resultobj;
25534 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25535 double result;
25536 PyObject * obj0 = 0 ;
25537 char *kwnames[] = {
25538 (char *) "self", NULL
25539 };
25540
25541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
25542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25543 {
25544 PyThreadState* __tstate = wxPyBeginAllowThreads();
25545 result = (double)(arg1)->GetSpacing();
25546
25547 wxPyEndAllowThreads(__tstate);
25548 if (PyErr_Occurred()) SWIG_fail;
25549 }
8edf1c75 25550 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
25551 return resultobj;
25552 fail:
25553 return NULL;
25554}
25555
25556
25557static PyObject *_wrap_ArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25558 PyObject *resultobj;
25559 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25560 double result;
25561 PyObject * obj0 = 0 ;
25562 char *kwnames[] = {
25563 (char *) "self", NULL
25564 };
25565
25566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
25567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 result = (double)(arg1)->GetSize();
25571
25572 wxPyEndAllowThreads(__tstate);
25573 if (PyErr_Occurred()) SWIG_fail;
25574 }
8edf1c75 25575 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
25576 return resultobj;
25577 fail:
25578 return NULL;
25579}
25580
25581
25582static PyObject *_wrap_ArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
25583 PyObject *resultobj;
25584 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25585 wxString result;
25586 PyObject * obj0 = 0 ;
25587 char *kwnames[] = {
25588 (char *) "self", NULL
25589 };
25590
25591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
25592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = (arg1)->GetName();
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 {
25601#if wxUSE_UNICODE
25602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25603#else
25604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25605#endif
25606 }
25607 return resultobj;
25608 fail:
25609 return NULL;
25610}
25611
25612
25613static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25614 PyObject *resultobj;
25615 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25616 double arg2 ;
25617 PyObject * obj0 = 0 ;
8edf1c75 25618 PyObject * obj1 = 0 ;
44127b65
RD
25619 char *kwnames[] = {
25620 (char *) "self",(char *) "x", NULL
25621 };
25622
8edf1c75 25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
44127b65 25624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25625 {
25626 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25627 if (PyErr_Occurred()) SWIG_fail;
25628 }
44127b65
RD
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 (arg1)->SetXOffset(arg2);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 Py_INCREF(Py_None); resultobj = Py_None;
25637 return resultobj;
25638 fail:
25639 return NULL;
25640}
25641
25642
25643static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25646 double arg2 ;
25647 PyObject * obj0 = 0 ;
8edf1c75 25648 PyObject * obj1 = 0 ;
44127b65
RD
25649 char *kwnames[] = {
25650 (char *) "self",(char *) "y", NULL
25651 };
25652
8edf1c75 25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
44127b65 25654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25655 {
25656 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 }
44127b65
RD
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 (arg1)->SetYOffset(arg2);
25662
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 Py_INCREF(Py_None); resultobj = Py_None;
25667 return resultobj;
25668 fail:
25669 return NULL;
25670}
25671
25672
25673static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj;
25675 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25676 wxPseudoMetaFile *result;
25677 PyObject * obj0 = 0 ;
25678 char *kwnames[] = {
25679 (char *) "self", NULL
25680 };
25681
25682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
25683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 {
25692 resultobj = wxPyMake_wxObject(result);
25693 }
25694 return resultobj;
25695 fail:
25696 return NULL;
25697}
25698
25699
25700static PyObject *_wrap_ArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
25701 PyObject *resultobj;
25702 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25703 long result;
25704 PyObject * obj0 = 0 ;
25705 char *kwnames[] = {
25706 (char *) "self", NULL
25707 };
25708
25709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
25710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25711 {
25712 PyThreadState* __tstate = wxPyBeginAllowThreads();
25713 result = (long)(arg1)->GetId();
25714
25715 wxPyEndAllowThreads(__tstate);
25716 if (PyErr_Occurred()) SWIG_fail;
25717 }
8edf1c75 25718 resultobj = SWIG_PyObj_FromLong((long)result);
44127b65
RD
25719 return resultobj;
25720 fail:
25721 return NULL;
25722}
25723
25724
25725static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
25726 PyObject *resultobj;
25727 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25728 int result;
25729 PyObject * obj0 = 0 ;
25730 char *kwnames[] = {
25731 (char *) "self", NULL
25732 };
25733
25734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
25735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25736 {
25737 PyThreadState* __tstate = wxPyBeginAllowThreads();
25738 result = (int)(arg1)->GetArrowEnd();
25739
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
8edf1c75 25743 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
25744 return resultobj;
25745 fail:
25746 return NULL;
25747}
25748
25749
25750static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25751 PyObject *resultobj;
25752 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25753 double result;
25754 PyObject * obj0 = 0 ;
25755 char *kwnames[] = {
25756 (char *) "self", NULL
25757 };
25758
25759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
25760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25761 {
25762 PyThreadState* __tstate = wxPyBeginAllowThreads();
25763 result = (double)(arg1)->GetArrowSize();
25764
25765 wxPyEndAllowThreads(__tstate);
25766 if (PyErr_Occurred()) SWIG_fail;
25767 }
8edf1c75 25768 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
25769 return resultobj;
25770 fail:
25771 return NULL;
25772}
25773
25774
25775static PyObject *_wrap_ArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25776 PyObject *resultobj;
25777 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25778 double arg2 ;
25779 PyObject * obj0 = 0 ;
8edf1c75 25780 PyObject * obj1 = 0 ;
44127b65
RD
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "size", NULL
25783 };
25784
8edf1c75 25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
44127b65 25786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25787 {
25788 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
44127b65
RD
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 (arg1)->SetSize(arg2);
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 Py_INCREF(Py_None); resultobj = Py_None;
25799 return resultobj;
25800 fail:
25801 return NULL;
25802}
25803
25804
25805static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25806 PyObject *resultobj;
25807 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
25808 double arg2 ;
25809 PyObject * obj0 = 0 ;
8edf1c75 25810 PyObject * obj1 = 0 ;
44127b65
RD
25811 char *kwnames[] = {
25812 (char *) "self",(char *) "sp", NULL
25813 };
25814
8edf1c75 25815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
44127b65 25816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25817 {
25818 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
44127b65
RD
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 (arg1)->SetSpacing(arg2);
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 Py_INCREF(Py_None); resultobj = Py_None;
25829 return resultobj;
25830 fail:
25831 return NULL;
25832}
25833
25834
25835static PyObject * ArrowHead_swigregister(PyObject *self, PyObject *args) {
25836 PyObject *obj;
25837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25838 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
25839 Py_INCREF(obj);
25840 return Py_BuildValue((char *)"");
25841}
25842static PyObject *_wrap_new_PyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) {
25843 PyObject *resultobj;
25844 wxPyLineShape *result;
25845 char *kwnames[] = {
25846 NULL
25847 };
25848
25849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 result = (wxPyLineShape *)new wxPyLineShape();
25853
25854 wxPyEndAllowThreads(__tstate);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLineShape, 1);
25858 return resultobj;
25859 fail:
25860 return NULL;
25861}
25862
25863
25864static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25865 PyObject *resultobj;
25866 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25867 PyObject *arg2 = (PyObject *) 0 ;
25868 PyObject *arg3 = (PyObject *) 0 ;
25869 PyObject * obj0 = 0 ;
25870 PyObject * obj1 = 0 ;
25871 PyObject * obj2 = 0 ;
25872 char *kwnames[] = {
25873 (char *) "self",(char *) "self",(char *) "_class", NULL
25874 };
25875
25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25878 arg2 = obj1;
25879 arg3 = obj2;
25880 {
25881 PyThreadState* __tstate = wxPyBeginAllowThreads();
25882 (arg1)->_setCallbackInfo(arg2,arg3);
25883
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 Py_INCREF(Py_None); resultobj = Py_None;
25888 return resultobj;
25889 fail:
25890 return NULL;
25891}
25892
25893
25894static PyObject *_wrap_PyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
25895 PyObject *resultobj;
25896 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25897 int arg2 ;
25898 int arg3 = (int) ARROW_POSITION_END ;
25899 double arg4 = (double) 10.0 ;
25900 double arg5 = (double) 0.0 ;
25901 wxString const &arg6_defvalue = wxPyEmptyString ;
25902 wxString *arg6 = (wxString *) &arg6_defvalue ;
25903 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
25904 long arg8 = (long) -1 ;
25905 bool temp6 = False ;
25906 PyObject * obj0 = 0 ;
8edf1c75
RD
25907 PyObject * obj1 = 0 ;
25908 PyObject * obj2 = 0 ;
25909 PyObject * obj3 = 0 ;
25910 PyObject * obj4 = 0 ;
44127b65
RD
25911 PyObject * obj5 = 0 ;
25912 PyObject * obj6 = 0 ;
8edf1c75 25913 PyObject * obj7 = 0 ;
44127b65
RD
25914 char *kwnames[] = {
25915 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25916 };
25917
8edf1c75 25918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
44127b65 25919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
25920 {
25921 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
25924 if (obj2) {
25925 {
25926 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25927 if (PyErr_Occurred()) SWIG_fail;
25928 }
25929 }
25930 if (obj3) {
25931 {
25932 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 }
25936 if (obj4) {
25937 {
25938 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
25939 if (PyErr_Occurred()) SWIG_fail;
25940 }
25941 }
44127b65
RD
25942 if (obj5) {
25943 {
25944 arg6 = wxString_in_helper(obj5);
25945 if (arg6 == NULL) SWIG_fail;
25946 temp6 = True;
25947 }
25948 }
25949 if (obj6) {
25950 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPseudoMetaFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25951 }
8edf1c75
RD
25952 if (obj7) {
25953 {
25954 arg8 = (long) SWIG_PyObj_AsLong(obj7);
25955 if (PyErr_Occurred()) SWIG_fail;
25956 }
25957 }
44127b65
RD
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
25961
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 Py_INCREF(Py_None); resultobj = Py_None;
25966 {
25967 if (temp6)
25968 delete arg6;
25969 }
25970 return resultobj;
25971 fail:
25972 {
25973 if (temp6)
25974 delete arg6;
25975 }
25976 return NULL;
25977}
25978
25979
25980static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) {
25981 PyObject *resultobj;
25982 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
25983 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
25984 PyObject *arg3 = (PyObject *) 0 ;
25985 int arg4 ;
25986 PyObject * obj0 = 0 ;
25987 PyObject * obj1 = 0 ;
25988 PyObject * obj2 = 0 ;
8edf1c75 25989 PyObject * obj3 = 0 ;
44127b65
RD
25990 char *kwnames[] = {
25991 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25992 };
25993
8edf1c75 25994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65
RD
25995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25997 arg3 = obj2;
8edf1c75
RD
25998 {
25999 arg4 = (int) SWIG_PyObj_AsInt(obj3);
26000 if (PyErr_Occurred()) SWIG_fail;
26001 }
44127b65
RD
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
26005
26006 wxPyEndAllowThreads(__tstate);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
26009 Py_INCREF(Py_None); resultobj = Py_None;
26010 return resultobj;
26011 fail:
26012 return NULL;
26013}
26014
26015
26016static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
26017 PyObject *resultobj;
26018 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26019 wxString *arg2 = 0 ;
26020 bool result;
26021 bool temp2 = False ;
26022 PyObject * obj0 = 0 ;
26023 PyObject * obj1 = 0 ;
26024 char *kwnames[] = {
26025 (char *) "self",(char *) "name", NULL
26026 };
26027
26028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
26029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26030 {
26031 arg2 = wxString_in_helper(obj1);
26032 if (arg2 == NULL) SWIG_fail;
26033 temp2 = True;
26034 }
26035 {
26036 PyThreadState* __tstate = wxPyBeginAllowThreads();
26037 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
26038
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
8edf1c75 26042 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
26043 {
26044 if (temp2)
26045 delete arg2;
26046 }
26047 return resultobj;
26048 fail:
26049 {
26050 if (temp2)
26051 delete arg2;
26052 }
26053 return NULL;
26054}
26055
26056
26057static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26058 PyObject *resultobj;
26059 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26060 int arg2 = (int) -1 ;
26061 PyObject * obj0 = 0 ;
8edf1c75 26062 PyObject * obj1 = 0 ;
44127b65
RD
26063 char *kwnames[] = {
26064 (char *) "self",(char *) "position", NULL
26065 };
26066
8edf1c75 26067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
44127b65 26068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26069 if (obj1) {
26070 {
26071 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26072 if (PyErr_Occurred()) SWIG_fail;
26073 }
26074 }
44127b65
RD
26075 {
26076 PyThreadState* __tstate = wxPyBeginAllowThreads();
26077 (arg1)->ClearArrowsAtPosition(arg2);
26078
26079 wxPyEndAllowThreads(__tstate);
26080 if (PyErr_Occurred()) SWIG_fail;
26081 }
26082 Py_INCREF(Py_None); resultobj = Py_None;
26083 return resultobj;
26084 fail:
26085 return NULL;
26086}
26087
26088
26089static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) {
26090 PyObject *resultobj;
26091 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26092 wxDC *arg2 = 0 ;
26093 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
26094 double arg4 ;
26095 bool arg5 ;
26096 PyObject * obj0 = 0 ;
26097 PyObject * obj1 = 0 ;
26098 PyObject * obj2 = 0 ;
8edf1c75 26099 PyObject * obj3 = 0 ;
44127b65
RD
26100 PyObject * obj4 = 0 ;
26101 char *kwnames[] = {
26102 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
26103 };
26104
8edf1c75 26105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
26106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26108 if (arg2 == NULL) {
26109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26110 }
26111 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxArrowHead,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 26112 {
8edf1c75
RD
26113 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
26114 if (PyErr_Occurred()) SWIG_fail;
26115 }
26116 {
26117 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
83448d71
RD
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
44127b65
RD
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
26123
26124 wxPyEndAllowThreads(__tstate);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 Py_INCREF(Py_None); resultobj = Py_None;
26128 return resultobj;
26129 fail:
26130 return NULL;
26131}
26132
26133
26134static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
26135 PyObject *resultobj;
26136 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26137 long arg2 ;
26138 bool result;
26139 PyObject * obj0 = 0 ;
8edf1c75 26140 PyObject * obj1 = 0 ;
44127b65
RD
26141 char *kwnames[] = {
26142 (char *) "self",(char *) "arrowId", NULL
26143 };
26144
8edf1c75 26145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
44127b65 26146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26147 {
26148 arg2 = (long) SWIG_PyObj_AsLong(obj1);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
44127b65
RD
26151 {
26152 PyThreadState* __tstate = wxPyBeginAllowThreads();
26153 result = (bool)(arg1)->DeleteArrowHead(arg2);
26154
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
8edf1c75 26158 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
26159 return resultobj;
26160 fail:
26161 return NULL;
26162}
26163
26164
26165static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
26166 PyObject *resultobj;
26167 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26168 int arg2 ;
26169 wxString *arg3 = 0 ;
26170 bool result;
26171 bool temp3 = False ;
26172 PyObject * obj0 = 0 ;
8edf1c75 26173 PyObject * obj1 = 0 ;
44127b65
RD
26174 PyObject * obj2 = 0 ;
26175 char *kwnames[] = {
26176 (char *) "self",(char *) "position",(char *) "name", NULL
26177 };
26178
8edf1c75 26179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 26180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26181 {
26182 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 }
44127b65
RD
26185 {
26186 arg3 = wxString_in_helper(obj2);
26187 if (arg3 == NULL) SWIG_fail;
26188 temp3 = True;
26189 }
26190 {
26191 PyThreadState* __tstate = wxPyBeginAllowThreads();
26192 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
26193
26194 wxPyEndAllowThreads(__tstate);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 }
8edf1c75 26197 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
26198 {
26199 if (temp3)
26200 delete arg3;
26201 }
26202 return resultobj;
26203 fail:
26204 {
26205 if (temp3)
26206 delete arg3;
26207 }
26208 return NULL;
26209}
26210
26211
26212static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26213 PyObject *resultobj;
26214 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26215 bool result;
26216 PyObject * obj0 = 0 ;
26217 char *kwnames[] = {
26218 (char *) "self", NULL
26219 };
26220
26221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
26222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26223 {
26224 PyThreadState* __tstate = wxPyBeginAllowThreads();
26225 result = (bool)(arg1)->DeleteLineControlPoint();
26226
26227 wxPyEndAllowThreads(__tstate);
26228 if (PyErr_Occurred()) SWIG_fail;
26229 }
8edf1c75 26230 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
26231 return resultobj;
26232 fail:
26233 return NULL;
26234}
26235
26236
26237static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) {
26238 PyObject *resultobj;
26239 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26240 wxDC *arg2 = 0 ;
26241 PyObject * obj0 = 0 ;
26242 PyObject * obj1 = 0 ;
26243 char *kwnames[] = {
26244 (char *) "self",(char *) "dc", NULL
26245 };
26246
26247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
26248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26250 if (arg2 == NULL) {
26251 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26252 }
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 (arg1)->DrawArrows(*arg2);
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 Py_INCREF(Py_None); resultobj = Py_None;
26261 return resultobj;
26262 fail:
26263 return NULL;
26264}
26265
26266
26267static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
26268 PyObject *resultobj;
26269 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26270 wxDC *arg2 = 0 ;
26271 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
26272 double arg4 ;
26273 double arg5 ;
26274 PyObject * obj0 = 0 ;
26275 PyObject * obj1 = 0 ;
26276 PyObject * obj2 = 0 ;
8edf1c75
RD
26277 PyObject * obj3 = 0 ;
26278 PyObject * obj4 = 0 ;
44127b65
RD
26279 char *kwnames[] = {
26280 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
26281 };
26282
8edf1c75 26283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
26284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26286 if (arg2 == NULL) {
26287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26288 }
26289 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26290 {
26291 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 {
26295 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 }
44127b65
RD
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
26301
26302 wxPyEndAllowThreads(__tstate);
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
26305 Py_INCREF(Py_None); resultobj = Py_None;
26306 return resultobj;
26307 fail:
26308 return NULL;
26309}
26310
26311
26312static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
26313 PyObject *resultobj;
26314 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26315 wxDC *arg2 = 0 ;
26316 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
26317 double arg4 ;
26318 double arg5 ;
26319 PyObject * obj0 = 0 ;
26320 PyObject * obj1 = 0 ;
26321 PyObject * obj2 = 0 ;
8edf1c75
RD
26322 PyObject * obj3 = 0 ;
26323 PyObject * obj4 = 0 ;
44127b65
RD
26324 char *kwnames[] = {
26325 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
26326 };
26327
8edf1c75 26328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
26329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26331 if (arg2 == NULL) {
26332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26333 }
26334 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxShapeRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26335 {
26336 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 {
26340 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
44127b65
RD
26343 {
26344 PyThreadState* __tstate = wxPyBeginAllowThreads();
26345 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
26346
26347 wxPyEndAllowThreads(__tstate);
26348 if (PyErr_Occurred()) SWIG_fail;
26349 }
26350 Py_INCREF(Py_None); resultobj = Py_None;
26351 return resultobj;
26352 fail:
26353 return NULL;
26354}
26355
26356
26357static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) {
26358 PyObject *resultobj;
26359 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26360 long arg2 ;
26361 wxArrowHead *result;
26362 PyObject * obj0 = 0 ;
8edf1c75 26363 PyObject * obj1 = 0 ;
44127b65
RD
26364 char *kwnames[] = {
26365 (char *) "self",(char *) "arrowId", NULL
26366 };
26367
8edf1c75 26368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
44127b65 26369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26370 {
26371 arg2 = (long) SWIG_PyObj_AsLong(obj1);
26372 if (PyErr_Occurred()) SWIG_fail;
26373 }
44127b65
RD
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
26377
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 {
26382 resultobj = wxPyMake_wxObject(result);
26383 }
26384 return resultobj;
26385 fail:
26386 return NULL;
26387}
26388
26389
26390static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) {
26391 PyObject *resultobj;
26392 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26393 int arg2 ;
26394 wxString *arg3 = 0 ;
26395 wxArrowHead *result;
26396 bool temp3 = False ;
26397 PyObject * obj0 = 0 ;
8edf1c75 26398 PyObject * obj1 = 0 ;
44127b65
RD
26399 PyObject * obj2 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "self",(char *) "position",(char *) "name", NULL
26402 };
26403
8edf1c75 26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 26405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26406 {
26407 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
44127b65
RD
26410 {
26411 arg3 = wxString_in_helper(obj2);
26412 if (arg3 == NULL) SWIG_fail;
26413 temp3 = True;
26414 }
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
26418
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 {
26423 resultobj = wxPyMake_wxObject(result);
26424 }
26425 {
26426 if (temp3)
26427 delete arg3;
26428 }
26429 return resultobj;
26430 fail:
26431 {
26432 if (temp3)
26433 delete arg3;
26434 }
26435 return NULL;
26436}
26437
26438
26439static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26440 PyObject *resultobj;
26441 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26442 double *arg2 = (double *) 0 ;
26443 double *arg3 = (double *) 0 ;
26444 double *arg4 = (double *) 0 ;
26445 double *arg5 = (double *) 0 ;
26446 double temp2 ;
26447 double temp3 ;
26448 double temp4 ;
26449 double temp5 ;
26450 PyObject * obj0 = 0 ;
26451 char *kwnames[] = {
26452 (char *) "self", NULL
26453 };
26454
26455 arg2 = &temp2;
26456 arg3 = &temp3;
26457 arg4 = &temp4;
26458 arg5 = &temp5;
26459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
26460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26461 {
26462 PyThreadState* __tstate = wxPyBeginAllowThreads();
26463 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
26464
26465 wxPyEndAllowThreads(__tstate);
26466 if (PyErr_Occurred()) SWIG_fail;
26467 }
26468 Py_INCREF(Py_None); resultobj = Py_None;
26469 {
26470 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26471 resultobj = t_output_helper(resultobj,o);
26472 }
26473 {
26474 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26475 resultobj = t_output_helper(resultobj,o);
26476 }
26477 {
26478 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26479 resultobj = t_output_helper(resultobj,o);
26480 }
26481 {
26482 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26483 resultobj = t_output_helper(resultobj,o);
26484 }
26485 return resultobj;
26486 fail:
26487 return NULL;
26488}
26489
26490
26491static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26492 PyObject *resultobj;
26493 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26494 double arg2 ;
26495 double arg3 ;
26496 int result;
26497 PyObject * obj0 = 0 ;
8edf1c75
RD
26498 PyObject * obj1 = 0 ;
26499 PyObject * obj2 = 0 ;
44127b65
RD
26500 char *kwnames[] = {
26501 (char *) "self",(char *) "x",(char *) "y", NULL
26502 };
26503
8edf1c75 26504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 26505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26506 {
26507 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
26508 if (PyErr_Occurred()) SWIG_fail;
26509 }
26510 {
26511 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
44127b65
RD
26514 {
26515 PyThreadState* __tstate = wxPyBeginAllowThreads();
26516 result = (int)(arg1)->FindLinePosition(arg2,arg3);
26517
26518 wxPyEndAllowThreads(__tstate);
26519 if (PyErr_Occurred()) SWIG_fail;
26520 }
8edf1c75 26521 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
26522 return resultobj;
26523 fail:
26524 return NULL;
26525}
26526
26527
26528static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26529 PyObject *resultobj;
26530 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26531 double result;
26532 PyObject * obj0 = 0 ;
26533 char *kwnames[] = {
26534 (char *) "self", NULL
26535 };
26536
26537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
26538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 result = (double)(arg1)->FindMinimumWidth();
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
8edf1c75 26546 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
26547 return resultobj;
26548 fail:
26549 return NULL;
26550}
26551
26552
26553static PyObject *_wrap_PyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) {
26554 PyObject *resultobj;
26555 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26556 wxPyShape *arg2 = (wxPyShape *) 0 ;
26557 int *arg3 = (int *) 0 ;
26558 int *arg4 = (int *) 0 ;
26559 bool arg5 ;
26560 int temp3 ;
26561 int temp4 ;
26562 PyObject * obj0 = 0 ;
26563 PyObject * obj1 = 0 ;
26564 PyObject * obj2 = 0 ;
26565 char *kwnames[] = {
26566 (char *) "self",(char *) "image",(char *) "incoming", NULL
26567 };
26568
26569 arg3 = &temp3;
26570 arg4 = &temp4;
26571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
26572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26573 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 26574 {
8edf1c75 26575 arg5 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
26576 if (PyErr_Occurred()) SWIG_fail;
26577 }
44127b65
RD
26578 {
26579 PyThreadState* __tstate = wxPyBeginAllowThreads();
26580 (arg1)->FindNth(arg2,arg3,arg4,arg5);
26581
26582 wxPyEndAllowThreads(__tstate);
26583 if (PyErr_Occurred()) SWIG_fail;
26584 }
26585 Py_INCREF(Py_None); resultobj = Py_None;
26586 {
26587 PyObject *o = PyInt_FromLong((long) (*arg3));
26588 resultobj = t_output_helper(resultobj,o);
26589 }
26590 {
26591 PyObject *o = PyInt_FromLong((long) (*arg4));
26592 resultobj = t_output_helper(resultobj,o);
26593 }
26594 return resultobj;
26595 fail:
26596 return NULL;
26597}
26598
26599
26600static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26601 PyObject *resultobj;
26602 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26603 int result;
26604 PyObject * obj0 = 0 ;
26605 char *kwnames[] = {
26606 (char *) "self", NULL
26607 };
26608
26609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
26610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26611 {
26612 PyThreadState* __tstate = wxPyBeginAllowThreads();
26613 result = (int)(arg1)->GetAttachmentFrom();
26614
26615 wxPyEndAllowThreads(__tstate);
26616 if (PyErr_Occurred()) SWIG_fail;
26617 }
8edf1c75 26618 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
26619 return resultobj;
26620 fail:
26621 return NULL;
26622}
26623
26624
26625static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26626 PyObject *resultobj;
26627 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26628 int result;
26629 PyObject * obj0 = 0 ;
26630 char *kwnames[] = {
26631 (char *) "self", NULL
26632 };
26633
26634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
26635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26636 {
26637 PyThreadState* __tstate = wxPyBeginAllowThreads();
26638 result = (int)(arg1)->GetAttachmentTo();
26639
26640 wxPyEndAllowThreads(__tstate);
26641 if (PyErr_Occurred()) SWIG_fail;
26642 }
8edf1c75 26643 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
26644 return resultobj;
26645 fail:
26646 return NULL;
26647}
26648
26649
26650static PyObject *_wrap_PyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
26651 PyObject *resultobj;
26652 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26653 double *arg2 = (double *) 0 ;
26654 double *arg3 = (double *) 0 ;
26655 double *arg4 = (double *) 0 ;
26656 double *arg5 = (double *) 0 ;
26657 double temp2 ;
26658 double temp3 ;
26659 double temp4 ;
26660 double temp5 ;
26661 PyObject * obj0 = 0 ;
26662 char *kwnames[] = {
26663 (char *) "self", NULL
26664 };
26665
26666 arg2 = &temp2;
26667 arg3 = &temp3;
26668 arg4 = &temp4;
26669 arg5 = &temp5;
26670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
26671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26672 {
26673 PyThreadState* __tstate = wxPyBeginAllowThreads();
26674 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
26675
26676 wxPyEndAllowThreads(__tstate);
26677 if (PyErr_Occurred()) SWIG_fail;
26678 }
26679 Py_INCREF(Py_None); resultobj = Py_None;
26680 {
26681 PyObject *o = PyFloat_FromDouble((double) (*arg2));
26682 resultobj = t_output_helper(resultobj,o);
26683 }
26684 {
26685 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26686 resultobj = t_output_helper(resultobj,o);
26687 }
26688 {
26689 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26690 resultobj = t_output_helper(resultobj,o);
26691 }
26692 {
26693 PyObject *o = PyFloat_FromDouble((double) (*arg5));
26694 resultobj = t_output_helper(resultobj,o);
26695 }
26696 return resultobj;
26697 fail:
26698 return NULL;
26699}
26700
26701
26702static PyObject *_wrap_PyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26703 PyObject *resultobj;
26704 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26705 wxPyShape *result;
26706 PyObject * obj0 = 0 ;
26707 char *kwnames[] = {
26708 (char *) "self", NULL
26709 };
26710
26711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
26712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26713 {
26714 PyThreadState* __tstate = wxPyBeginAllowThreads();
26715 result = (wxPyShape *)(arg1)->GetFrom();
26716
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 {
26721 resultobj = wxPyMake_wxShapeEvtHandler(result);
26722 }
26723 return resultobj;
26724 fail:
26725 return NULL;
26726}
26727
26728
26729static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26730 PyObject *resultobj;
26731 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26732 int arg2 ;
26733 double *arg3 = (double *) 0 ;
26734 double *arg4 = (double *) 0 ;
26735 double temp3 ;
26736 double temp4 ;
26737 PyObject * obj0 = 0 ;
8edf1c75 26738 PyObject * obj1 = 0 ;
44127b65
RD
26739 char *kwnames[] = {
26740 (char *) "self",(char *) "position", NULL
26741 };
26742
26743 arg3 = &temp3;
26744 arg4 = &temp4;
8edf1c75 26745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
44127b65 26746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26747 {
26748 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26749 if (PyErr_Occurred()) SWIG_fail;
26750 }
44127b65
RD
26751 {
26752 PyThreadState* __tstate = wxPyBeginAllowThreads();
26753 (arg1)->GetLabelPosition(arg2,arg3,arg4);
26754
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 Py_INCREF(Py_None); resultobj = Py_None;
26759 {
26760 PyObject *o = PyFloat_FromDouble((double) (*arg3));
26761 resultobj = t_output_helper(resultobj,o);
26762 }
26763 {
26764 PyObject *o = PyFloat_FromDouble((double) (*arg4));
26765 resultobj = t_output_helper(resultobj,o);
26766 }
26767 return resultobj;
26768 fail:
26769 return NULL;
26770}
26771
26772
26773static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26774 PyObject *resultobj;
26775 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26776 wxPyShape *arg2 = (wxPyShape *) 0 ;
26777 wxRealPoint *result;
26778 PyObject * obj0 = 0 ;
26779 PyObject * obj1 = 0 ;
26780 char *kwnames[] = {
26781 (char *) "self",(char *) "shape", NULL
26782 };
26783
26784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
26785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26787 {
26788 PyThreadState* __tstate = wxPyBeginAllowThreads();
26789 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
26790
26791 wxPyEndAllowThreads(__tstate);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 }
26794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 0);
26795 return resultobj;
26796 fail:
26797 return NULL;
26798}
26799
26800
26801static PyObject *_wrap_PyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26802 PyObject *resultobj;
26803 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26804 wxPyShape *result;
26805 PyObject * obj0 = 0 ;
26806 char *kwnames[] = {
26807 (char *) "self", NULL
26808 };
26809
26810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
26811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
26814 result = (wxPyShape *)(arg1)->GetTo();
26815
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 {
26820 resultobj = wxPyMake_wxShapeEvtHandler(result);
26821 }
26822 return resultobj;
26823 fail:
26824 return NULL;
26825}
26826
26827
26828static PyObject *_wrap_PyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) {
26829 PyObject *resultobj;
26830 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26831 PyObject * obj0 = 0 ;
26832 char *kwnames[] = {
26833 (char *) "self", NULL
26834 };
26835
26836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
26837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26838 {
26839 PyThreadState* __tstate = wxPyBeginAllowThreads();
26840 (arg1)->Initialise();
26841
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
26845 Py_INCREF(Py_None); resultobj = Py_None;
26846 return resultobj;
26847 fail:
26848 return NULL;
26849}
26850
26851
26852static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26853 PyObject *resultobj;
26854 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26855 wxDC *arg2 = (wxDC *) 0 ;
26856 PyObject * obj0 = 0 ;
26857 PyObject * obj1 = 0 ;
26858 char *kwnames[] = {
26859 (char *) "self",(char *) "dc", NULL
26860 };
26861
26862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
26863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26865 {
26866 PyThreadState* __tstate = wxPyBeginAllowThreads();
26867 (arg1)->InsertLineControlPoint(arg2);
26868
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 Py_INCREF(Py_None); resultobj = Py_None;
26873 return resultobj;
26874 fail:
26875 return NULL;
26876}
26877
26878
26879static PyObject *_wrap_PyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj;
26881 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26882 wxPyShape *arg2 = (wxPyShape *) 0 ;
26883 bool result;
26884 PyObject * obj0 = 0 ;
26885 PyObject * obj1 = 0 ;
26886 char *kwnames[] = {
26887 (char *) "self",(char *) "shape", NULL
26888 };
26889
26890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
26891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26893 {
26894 PyThreadState* __tstate = wxPyBeginAllowThreads();
26895 result = (bool)(arg1)->IsEnd(arg2);
26896
26897 wxPyEndAllowThreads(__tstate);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
8edf1c75 26900 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
26901 return resultobj;
26902 fail:
26903 return NULL;
26904}
26905
26906
26907static PyObject *_wrap_PyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
26908 PyObject *resultobj;
26909 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26910 bool result;
26911 PyObject * obj0 = 0 ;
26912 char *kwnames[] = {
26913 (char *) "self", NULL
26914 };
26915
26916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
26917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 result = (bool)(arg1)->IsSpline();
26921
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
8edf1c75 26925 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
26926 return resultobj;
26927 fail:
26928 return NULL;
26929}
26930
26931
26932static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26933 PyObject *resultobj;
26934 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26935 int arg2 ;
26936 PyObject * obj0 = 0 ;
8edf1c75 26937 PyObject * obj1 = 0 ;
44127b65
RD
26938 char *kwnames[] = {
26939 (char *) "self",(char *) "n", NULL
26940 };
26941
8edf1c75 26942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
44127b65 26943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26944 {
26945 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
44127b65
RD
26948 {
26949 PyThreadState* __tstate = wxPyBeginAllowThreads();
26950 (arg1)->MakeLineControlPoints(arg2);
26951
26952 wxPyEndAllowThreads(__tstate);
26953 if (PyErr_Occurred()) SWIG_fail;
26954 }
26955 Py_INCREF(Py_None); resultobj = Py_None;
26956 return resultobj;
26957 fail:
26958 return NULL;
26959}
26960
26961
26962static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
26963 PyObject *resultobj;
26964 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26965 PyObject *result;
26966 PyObject * obj0 = 0 ;
26967 char *kwnames[] = {
26968 (char *) "self", NULL
26969 };
26970
26971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
26972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26973 {
26974 PyThreadState* __tstate = wxPyBeginAllowThreads();
26975 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
26976
26977 wxPyEndAllowThreads(__tstate);
26978 if (PyErr_Occurred()) SWIG_fail;
26979 }
26980 resultobj = result;
26981 return resultobj;
26982 fail:
26983 return NULL;
26984}
26985
26986
26987static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
26988 PyObject *resultobj;
26989 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
26990 int arg2 ;
26991 PyObject * obj0 = 0 ;
8edf1c75 26992 PyObject * obj1 = 0 ;
44127b65
RD
26993 char *kwnames[] = {
26994 (char *) "self",(char *) "fromAttach", NULL
26995 };
26996
8edf1c75 26997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
44127b65 26998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
26999 {
27000 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27001 if (PyErr_Occurred()) SWIG_fail;
27002 }
44127b65
RD
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 (arg1)->SetAttachmentFrom(arg2);
27006
27007 wxPyEndAllowThreads(__tstate);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 }
27010 Py_INCREF(Py_None); resultobj = Py_None;
27011 return resultobj;
27012 fail:
27013 return NULL;
27014}
27015
27016
27017static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) {
27018 PyObject *resultobj;
27019 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27020 int arg2 ;
27021 int arg3 ;
27022 PyObject * obj0 = 0 ;
8edf1c75
RD
27023 PyObject * obj1 = 0 ;
27024 PyObject * obj2 = 0 ;
44127b65
RD
27025 char *kwnames[] = {
27026 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
27027 };
27028
8edf1c75 27029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 27030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
27031 {
27032 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27033 if (PyErr_Occurred()) SWIG_fail;
27034 }
27035 {
27036 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27037 if (PyErr_Occurred()) SWIG_fail;
27038 }
44127b65
RD
27039 {
27040 PyThreadState* __tstate = wxPyBeginAllowThreads();
27041 (arg1)->SetAttachments(arg2,arg3);
27042
27043 wxPyEndAllowThreads(__tstate);
27044 if (PyErr_Occurred()) SWIG_fail;
27045 }
27046 Py_INCREF(Py_None); resultobj = Py_None;
27047 return resultobj;
27048 fail:
27049 return NULL;
27050}
27051
27052
27053static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27054 PyObject *resultobj;
27055 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27056 int arg2 ;
27057 PyObject * obj0 = 0 ;
8edf1c75 27058 PyObject * obj1 = 0 ;
44127b65
RD
27059 char *kwnames[] = {
27060 (char *) "self",(char *) "toAttach", NULL
27061 };
27062
8edf1c75 27063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
44127b65 27064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
27065 {
27066 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27067 if (PyErr_Occurred()) SWIG_fail;
27068 }
44127b65
RD
27069 {
27070 PyThreadState* __tstate = wxPyBeginAllowThreads();
27071 (arg1)->SetAttachmentTo(arg2);
27072
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 Py_INCREF(Py_None); resultobj = Py_None;
27077 return resultobj;
27078 fail:
27079 return NULL;
27080}
27081
27082
27083static PyObject *_wrap_PyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) {
27084 PyObject *resultobj;
27085 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27086 double arg2 ;
27087 double arg3 ;
27088 double arg4 ;
27089 double arg5 ;
27090 PyObject * obj0 = 0 ;
8edf1c75
RD
27091 PyObject * obj1 = 0 ;
27092 PyObject * obj2 = 0 ;
27093 PyObject * obj3 = 0 ;
27094 PyObject * obj4 = 0 ;
44127b65
RD
27095 char *kwnames[] = {
27096 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
27097 };
27098
8edf1c75 27099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 27100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
27101 {
27102 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27103 if (PyErr_Occurred()) SWIG_fail;
27104 }
27105 {
27106 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 {
27110 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
27113 {
27114 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
44127b65
RD
27117 {
27118 PyThreadState* __tstate = wxPyBeginAllowThreads();
27119 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
27120
27121 wxPyEndAllowThreads(__tstate);
27122 if (PyErr_Occurred()) SWIG_fail;
27123 }
27124 Py_INCREF(Py_None); resultobj = Py_None;
27125 return resultobj;
27126 fail:
27127 return NULL;
27128}
27129
27130
27131static PyObject *_wrap_PyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
27132 PyObject *resultobj;
27133 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27134 wxPyShape *arg2 = (wxPyShape *) 0 ;
27135 PyObject * obj0 = 0 ;
27136 PyObject * obj1 = 0 ;
27137 char *kwnames[] = {
27138 (char *) "self",(char *) "object", NULL
27139 };
27140
27141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
27142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 (arg1)->SetFrom(arg2);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 Py_INCREF(Py_None); resultobj = Py_None;
27152 return resultobj;
27153 fail:
27154 return NULL;
27155}
27156
27157
27158static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) {
27159 PyObject *resultobj;
27160 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27161 bool arg2 ;
27162 PyObject * obj0 = 0 ;
27163 PyObject * obj1 = 0 ;
27164 char *kwnames[] = {
27165 (char *) "self",(char *) "ignore", NULL
27166 };
27167
27168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
27169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 27170 {
8edf1c75 27171 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
44127b65
RD
27174 {
27175 PyThreadState* __tstate = wxPyBeginAllowThreads();
27176 (arg1)->SetIgnoreOffsets(arg2);
27177
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 Py_INCREF(Py_None); resultobj = Py_None;
27182 return resultobj;
27183 fail:
27184 return NULL;
27185}
27186
27187
27188static PyObject *_wrap_PyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
27189 PyObject *resultobj;
27190 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27191 bool arg2 ;
27192 PyObject * obj0 = 0 ;
27193 PyObject * obj1 = 0 ;
27194 char *kwnames[] = {
27195 (char *) "self",(char *) "spline", NULL
27196 };
27197
27198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
27199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 27200 {
8edf1c75 27201 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
27202 if (PyErr_Occurred()) SWIG_fail;
27203 }
44127b65
RD
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 (arg1)->SetSpline(arg2);
27207
27208 wxPyEndAllowThreads(__tstate);
27209 if (PyErr_Occurred()) SWIG_fail;
27210 }
27211 Py_INCREF(Py_None); resultobj = Py_None;
27212 return resultobj;
27213 fail:
27214 return NULL;
27215}
27216
27217
27218static PyObject *_wrap_PyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27219 PyObject *resultobj;
27220 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27221 wxPyShape *arg2 = (wxPyShape *) 0 ;
27222 PyObject * obj0 = 0 ;
27223 PyObject * obj1 = 0 ;
27224 char *kwnames[] = {
27225 (char *) "self",(char *) "object", NULL
27226 };
27227
27228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
27229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27230 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 (arg1)->SetTo(arg2);
27234
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 Py_INCREF(Py_None); resultobj = Py_None;
27239 return resultobj;
27240 fail:
27241 return NULL;
27242}
27243
27244
27245static PyObject *_wrap_PyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) {
27246 PyObject *resultobj;
27247 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27248 wxDC *arg2 = (wxDC *) NULL ;
27249 PyObject * obj0 = 0 ;
27250 PyObject * obj1 = 0 ;
27251 char *kwnames[] = {
27252 (char *) "self",(char *) "dc", NULL
27253 };
27254
27255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
27256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27257 if (obj1) {
27258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27259 }
27260 {
27261 PyThreadState* __tstate = wxPyBeginAllowThreads();
27262 (arg1)->Straighten(arg2);
27263
27264 wxPyEndAllowThreads(__tstate);
27265 if (PyErr_Occurred()) SWIG_fail;
27266 }
27267 Py_INCREF(Py_None); resultobj = Py_None;
27268 return resultobj;
27269 fail:
27270 return NULL;
27271}
27272
27273
27274static PyObject *_wrap_PyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) {
27275 PyObject *resultobj;
27276 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27277 PyObject * obj0 = 0 ;
27278 char *kwnames[] = {
27279 (char *) "self", NULL
27280 };
27281
27282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
27283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 (arg1)->Unlink();
27287
27288 wxPyEndAllowThreads(__tstate);
27289 if (PyErr_Occurred()) SWIG_fail;
27290 }
27291 Py_INCREF(Py_None); resultobj = Py_None;
27292 return resultobj;
27293 fail:
27294 return NULL;
27295}
27296
27297
7a0a63ae
RD
27298static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
27299 PyObject *resultobj;
27300 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27301 bool arg2 ;
27302 bool arg3 ;
27303 PyObject * obj0 = 0 ;
27304 PyObject * obj1 = 0 ;
27305 PyObject * obj2 = 0 ;
27306 char *kwnames[] = {
27307 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
27308 };
27309
27310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
27311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 27312 {
8edf1c75 27313 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
27314 if (PyErr_Occurred()) SWIG_fail;
27315 }
27316 {
8edf1c75 27317 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
7a0a63ae
RD
27320 {
27321 PyThreadState* __tstate = wxPyBeginAllowThreads();
27322 (arg1)->SetAlignmentOrientation(arg2,arg3);
27323
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 Py_INCREF(Py_None); resultobj = Py_None;
27328 return resultobj;
27329 fail:
27330 return NULL;
27331}
27332
27333
27334static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
27335 PyObject *resultobj;
27336 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27337 bool arg2 ;
27338 int arg3 ;
27339 PyObject * obj0 = 0 ;
27340 PyObject * obj1 = 0 ;
8edf1c75 27341 PyObject * obj2 = 0 ;
7a0a63ae
RD
27342 char *kwnames[] = {
27343 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
27344 };
27345
8edf1c75 27346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
7a0a63ae 27347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 27348 {
8edf1c75
RD
27349 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 {
27353 arg3 = (int) SWIG_PyObj_AsInt(obj2);
83448d71
RD
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
7a0a63ae
RD
27356 {
27357 PyThreadState* __tstate = wxPyBeginAllowThreads();
27358 (arg1)->SetAlignmentType(arg2,arg3);
27359
27360 wxPyEndAllowThreads(__tstate);
27361 if (PyErr_Occurred()) SWIG_fail;
27362 }
27363 Py_INCREF(Py_None); resultobj = Py_None;
27364 return resultobj;
27365 fail:
27366 return NULL;
27367}
27368
27369
27370static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
27371 PyObject *resultobj;
27372 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27373 bool arg2 ;
27374 bool result;
27375 PyObject * obj0 = 0 ;
27376 PyObject * obj1 = 0 ;
27377 char *kwnames[] = {
27378 (char *) "self",(char *) "isEnd", NULL
27379 };
27380
27381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
27382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 27383 {
8edf1c75 27384 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
7a0a63ae
RD
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
27390
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
8edf1c75 27394 resultobj = SWIG_PyObj_FromBool((bool)result);
7a0a63ae
RD
27395 return resultobj;
27396 fail:
27397 return NULL;
27398}
27399
27400
27401static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *self, PyObject *args, PyObject *kwargs) {
27402 PyObject *resultobj;
27403 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27404 bool arg2 ;
27405 int result;
27406 PyObject * obj0 = 0 ;
27407 PyObject * obj1 = 0 ;
27408 char *kwnames[] = {
27409 (char *) "self",(char *) "isEnd", NULL
27410 };
27411
27412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
27413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 27414 {
8edf1c75 27415 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
27416 if (PyErr_Occurred()) SWIG_fail;
27417 }
7a0a63ae
RD
27418 {
27419 PyThreadState* __tstate = wxPyBeginAllowThreads();
27420 result = (int)(arg1)->GetAlignmentType(arg2);
27421
27422 wxPyEndAllowThreads(__tstate);
27423 if (PyErr_Occurred()) SWIG_fail;
27424 }
8edf1c75 27425 resultobj = SWIG_PyObj_FromInt((int)result);
7a0a63ae
RD
27426 return resultobj;
27427 fail:
27428 return NULL;
27429}
27430
27431
27432static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
27433 PyObject *resultobj;
27434 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27435 int result;
27436 PyObject * obj0 = 0 ;
27437 char *kwnames[] = {
27438 (char *) "self", NULL
27439 };
27440
27441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
27442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27443 {
27444 PyThreadState* __tstate = wxPyBeginAllowThreads();
27445 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
27446
27447 wxPyEndAllowThreads(__tstate);
27448 if (PyErr_Occurred()) SWIG_fail;
27449 }
8edf1c75 27450 resultobj = SWIG_PyObj_FromInt((int)result);
7a0a63ae
RD
27451 return resultobj;
27452 fail:
27453 return NULL;
27454}
27455
27456
27457static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
27458 PyObject *resultobj;
27459 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27460 int result;
27461 PyObject * obj0 = 0 ;
27462 char *kwnames[] = {
27463 (char *) "self", NULL
27464 };
27465
27466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
27467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27468 {
27469 PyThreadState* __tstate = wxPyBeginAllowThreads();
27470 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
27471
27472 wxPyEndAllowThreads(__tstate);
27473 if (PyErr_Occurred()) SWIG_fail;
27474 }
8edf1c75 27475 resultobj = SWIG_PyObj_FromInt((int)result);
7a0a63ae
RD
27476 return resultobj;
27477 fail:
27478 return NULL;
27479}
27480
27481
44127b65
RD
27482static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
27483 PyObject *resultobj;
27484 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27485 wxDC *arg2 = 0 ;
27486 PyObject * obj0 = 0 ;
27487 PyObject * obj1 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self",(char *) "dc", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
27493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27495 if (arg2 == NULL) {
27496 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27497 }
27498 {
27499 PyThreadState* __tstate = wxPyBeginAllowThreads();
27500 (arg1)->base_OnDraw(*arg2);
27501
27502 wxPyEndAllowThreads(__tstate);
27503 if (PyErr_Occurred()) SWIG_fail;
27504 }
27505 Py_INCREF(Py_None); resultobj = Py_None;
27506 return resultobj;
27507 fail:
27508 return NULL;
27509}
27510
27511
27512static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
27513 PyObject *resultobj;
27514 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27515 wxDC *arg2 = 0 ;
27516 PyObject * obj0 = 0 ;
27517 PyObject * obj1 = 0 ;
27518 char *kwnames[] = {
27519 (char *) "self",(char *) "dc", NULL
27520 };
27521
27522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
27523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27524 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27525 if (arg2 == NULL) {
27526 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27527 }
27528 {
27529 PyThreadState* __tstate = wxPyBeginAllowThreads();
27530 (arg1)->base_OnDrawContents(*arg2);
27531
27532 wxPyEndAllowThreads(__tstate);
27533 if (PyErr_Occurred()) SWIG_fail;
27534 }
27535 Py_INCREF(Py_None); resultobj = Py_None;
27536 return resultobj;
27537 fail:
27538 return NULL;
27539}
27540
27541
27542static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
27543 PyObject *resultobj;
27544 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27545 wxDC *arg2 = 0 ;
27546 bool arg3 = (bool) FALSE ;
27547 PyObject * obj0 = 0 ;
27548 PyObject * obj1 = 0 ;
27549 PyObject * obj2 = 0 ;
27550 char *kwnames[] = {
27551 (char *) "self",(char *) "dc",(char *) "erase", NULL
27552 };
27553
27554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
27555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27557 if (arg2 == NULL) {
27558 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27559 }
27560 if (obj2) {
83448d71 27561 {
8edf1c75 27562 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
44127b65
RD
27565 }
27566 {
27567 PyThreadState* __tstate = wxPyBeginAllowThreads();
27568 (arg1)->base_OnDrawBranches(*arg2,arg3);
27569
27570 wxPyEndAllowThreads(__tstate);
27571 if (PyErr_Occurred()) SWIG_fail;
27572 }
27573 Py_INCREF(Py_None); resultobj = Py_None;
27574 return resultobj;
27575 fail:
27576 return NULL;
27577}
27578
27579
27580static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
27581 PyObject *resultobj;
27582 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27583 wxDC *arg2 = 0 ;
27584 PyObject * obj0 = 0 ;
27585 PyObject * obj1 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "self",(char *) "dc", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
27591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27593 if (arg2 == NULL) {
27594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27595 }
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 (arg1)->base_OnMoveLinks(*arg2);
27599
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
27603 Py_INCREF(Py_None); resultobj = Py_None;
27604 return resultobj;
27605 fail:
27606 return NULL;
27607}
27608
27609
27610static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
27611 PyObject *resultobj;
27612 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27613 wxDC *arg2 = 0 ;
27614 PyObject * obj0 = 0 ;
27615 PyObject * obj1 = 0 ;
27616 char *kwnames[] = {
27617 (char *) "self",(char *) "dc", NULL
27618 };
27619
27620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
27621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27623 if (arg2 == NULL) {
27624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27625 }
27626 {
27627 PyThreadState* __tstate = wxPyBeginAllowThreads();
27628 (arg1)->base_OnErase(*arg2);
27629
27630 wxPyEndAllowThreads(__tstate);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 Py_INCREF(Py_None); resultobj = Py_None;
27634 return resultobj;
27635 fail:
27636 return NULL;
27637}
27638
27639
27640static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
27641 PyObject *resultobj;
27642 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27643 wxDC *arg2 = 0 ;
27644 PyObject * obj0 = 0 ;
27645 PyObject * obj1 = 0 ;
27646 char *kwnames[] = {
27647 (char *) "self",(char *) "dc", NULL
27648 };
27649
27650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
27651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27653 if (arg2 == NULL) {
27654 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27655 }
27656 {
27657 PyThreadState* __tstate = wxPyBeginAllowThreads();
27658 (arg1)->base_OnEraseContents(*arg2);
27659
27660 wxPyEndAllowThreads(__tstate);
27661 if (PyErr_Occurred()) SWIG_fail;
27662 }
27663 Py_INCREF(Py_None); resultobj = Py_None;
27664 return resultobj;
27665 fail:
27666 return NULL;
27667}
27668
27669
27670static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
27671 PyObject *resultobj;
27672 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27673 wxDC *arg2 = 0 ;
27674 PyObject * obj0 = 0 ;
27675 PyObject * obj1 = 0 ;
27676 char *kwnames[] = {
27677 (char *) "self",(char *) "dc", NULL
27678 };
27679
27680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
27681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27683 if (arg2 == NULL) {
27684 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27685 }
27686 {
27687 PyThreadState* __tstate = wxPyBeginAllowThreads();
27688 (arg1)->base_OnHighlight(*arg2);
27689
27690 wxPyEndAllowThreads(__tstate);
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
27693 Py_INCREF(Py_None); resultobj = Py_None;
27694 return resultobj;
27695 fail:
27696 return NULL;
27697}
27698
27699
27700static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27701 PyObject *resultobj;
27702 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27703 double arg2 ;
27704 double arg3 ;
27705 int arg4 = (int) 0 ;
27706 int arg5 = (int) 0 ;
27707 PyObject * obj0 = 0 ;
8edf1c75
RD
27708 PyObject * obj1 = 0 ;
27709 PyObject * obj2 = 0 ;
27710 PyObject * obj3 = 0 ;
27711 PyObject * obj4 = 0 ;
44127b65
RD
27712 char *kwnames[] = {
27713 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27714 };
27715
8edf1c75 27716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 27717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
27718 {
27719 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27720 if (PyErr_Occurred()) SWIG_fail;
27721 }
27722 {
27723 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27724 if (PyErr_Occurred()) SWIG_fail;
27725 }
27726 if (obj3) {
27727 {
27728 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27729 if (PyErr_Occurred()) SWIG_fail;
27730 }
27731 }
27732 if (obj4) {
27733 {
27734 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 }
44127b65
RD
27738 {
27739 PyThreadState* __tstate = wxPyBeginAllowThreads();
27740 (arg1)->base_OnLeftClick(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
27752static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27753 PyObject *resultobj;
27754 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27755 double arg2 ;
27756 double arg3 ;
27757 int arg4 = (int) 0 ;
27758 int arg5 = (int) 0 ;
27759 PyObject * obj0 = 0 ;
8edf1c75
RD
27760 PyObject * obj1 = 0 ;
27761 PyObject * obj2 = 0 ;
27762 PyObject * obj3 = 0 ;
27763 PyObject * obj4 = 0 ;
44127b65
RD
27764 char *kwnames[] = {
27765 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27766 };
27767
8edf1c75 27768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 27769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
27770 {
27771 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27772 if (PyErr_Occurred()) SWIG_fail;
27773 }
27774 {
27775 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27776 if (PyErr_Occurred()) SWIG_fail;
27777 }
27778 if (obj3) {
27779 {
27780 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27781 if (PyErr_Occurred()) SWIG_fail;
27782 }
27783 }
27784 if (obj4) {
27785 {
27786 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27787 if (PyErr_Occurred()) SWIG_fail;
27788 }
27789 }
44127b65
RD
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
27792 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27793
27794 wxPyEndAllowThreads(__tstate);
27795 if (PyErr_Occurred()) SWIG_fail;
27796 }
27797 Py_INCREF(Py_None); resultobj = Py_None;
27798 return resultobj;
27799 fail:
27800 return NULL;
27801}
27802
27803
27804static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
27805 PyObject *resultobj;
27806 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27807 double arg2 ;
27808 double arg3 ;
27809 int arg4 = (int) 0 ;
27810 int arg5 = (int) 0 ;
27811 PyObject * obj0 = 0 ;
8edf1c75
RD
27812 PyObject * obj1 = 0 ;
27813 PyObject * obj2 = 0 ;
27814 PyObject * obj3 = 0 ;
27815 PyObject * obj4 = 0 ;
44127b65
RD
27816 char *kwnames[] = {
27817 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27818 };
27819
8edf1c75 27820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 27821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
27822 {
27823 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 {
27827 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27828 if (PyErr_Occurred()) SWIG_fail;
27829 }
27830 if (obj3) {
27831 {
27832 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27833 if (PyErr_Occurred()) SWIG_fail;
27834 }
27835 }
27836 if (obj4) {
27837 {
27838 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27839 if (PyErr_Occurred()) SWIG_fail;
27840 }
27841 }
44127b65
RD
27842 {
27843 PyThreadState* __tstate = wxPyBeginAllowThreads();
27844 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27845
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 Py_INCREF(Py_None); resultobj = Py_None;
27850 return resultobj;
27851 fail:
27852 return NULL;
27853}
27854
27855
27856static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27857 PyObject *resultobj;
27858 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27859 double arg2 ;
27860 double arg3 ;
27861 PyObject * obj0 = 0 ;
8edf1c75
RD
27862 PyObject * obj1 = 0 ;
27863 PyObject * obj2 = 0 ;
44127b65
RD
27864 char *kwnames[] = {
27865 (char *) "self",(char *) "x",(char *) "y", NULL
27866 };
27867
8edf1c75 27868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 27869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
27870 {
27871 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
27872 if (PyErr_Occurred()) SWIG_fail;
27873 }
27874 {
27875 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27876 if (PyErr_Occurred()) SWIG_fail;
27877 }
44127b65
RD
27878 {
27879 PyThreadState* __tstate = wxPyBeginAllowThreads();
27880 (arg1)->base_OnSize(arg2,arg3);
27881
27882 wxPyEndAllowThreads(__tstate);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 Py_INCREF(Py_None); resultobj = Py_None;
27886 return resultobj;
27887 fail:
27888 return NULL;
27889}
27890
27891
27892static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
27893 PyObject *resultobj;
27894 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27895 wxDC *arg2 = 0 ;
27896 double arg3 ;
27897 double arg4 ;
27898 double arg5 ;
27899 double arg6 ;
27900 bool arg7 = (bool) True ;
27901 bool result;
27902 PyObject * obj0 = 0 ;
27903 PyObject * obj1 = 0 ;
8edf1c75
RD
27904 PyObject * obj2 = 0 ;
27905 PyObject * obj3 = 0 ;
27906 PyObject * obj4 = 0 ;
27907 PyObject * obj5 = 0 ;
44127b65
RD
27908 PyObject * obj6 = 0 ;
27909 char *kwnames[] = {
27910 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27911 };
27912
8edf1c75 27913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
27914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27916 if (arg2 == NULL) {
27917 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27918 }
8edf1c75
RD
27919 {
27920 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27921 if (PyErr_Occurred()) SWIG_fail;
27922 }
27923 {
27924 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
27925 if (PyErr_Occurred()) SWIG_fail;
27926 }
27927 {
27928 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
27929 if (PyErr_Occurred()) SWIG_fail;
27930 }
27931 {
27932 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
44127b65 27935 if (obj6) {
83448d71 27936 {
8edf1c75 27937 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
27938 if (PyErr_Occurred()) SWIG_fail;
27939 }
44127b65
RD
27940 }
27941 {
27942 PyThreadState* __tstate = wxPyBeginAllowThreads();
27943 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27944
27945 wxPyEndAllowThreads(__tstate);
27946 if (PyErr_Occurred()) SWIG_fail;
27947 }
8edf1c75 27948 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
27949 return resultobj;
27950 fail:
27951 return NULL;
27952}
27953
27954
27955static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
27956 PyObject *resultobj;
27957 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
27958 wxDC *arg2 = 0 ;
27959 double arg3 ;
27960 double arg4 ;
27961 double arg5 ;
27962 double arg6 ;
27963 bool arg7 = (bool) True ;
27964 PyObject * obj0 = 0 ;
27965 PyObject * obj1 = 0 ;
8edf1c75
RD
27966 PyObject * obj2 = 0 ;
27967 PyObject * obj3 = 0 ;
27968 PyObject * obj4 = 0 ;
27969 PyObject * obj5 = 0 ;
44127b65
RD
27970 PyObject * obj6 = 0 ;
27971 char *kwnames[] = {
27972 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27973 };
27974
8edf1c75 27975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
27976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27978 if (arg2 == NULL) {
27979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27980 }
8edf1c75
RD
27981 {
27982 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
27983 if (PyErr_Occurred()) SWIG_fail;
27984 }
27985 {
27986 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
27987 if (PyErr_Occurred()) SWIG_fail;
27988 }
27989 {
27990 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
27991 if (PyErr_Occurred()) SWIG_fail;
27992 }
27993 {
27994 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
27995 if (PyErr_Occurred()) SWIG_fail;
27996 }
44127b65 27997 if (obj6) {
83448d71 27998 {
8edf1c75 27999 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
28000 if (PyErr_Occurred()) SWIG_fail;
28001 }
44127b65
RD
28002 }
28003 {
28004 PyThreadState* __tstate = wxPyBeginAllowThreads();
28005 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
28006
28007 wxPyEndAllowThreads(__tstate);
28008 if (PyErr_Occurred()) SWIG_fail;
28009 }
28010 Py_INCREF(Py_None); resultobj = Py_None;
28011 return resultobj;
28012 fail:
28013 return NULL;
28014}
28015
28016
28017static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28018 PyObject *resultobj;
28019 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28020 bool arg2 ;
28021 double arg3 ;
28022 double arg4 ;
28023 int arg5 = (int) 0 ;
28024 int arg6 = (int) 0 ;
28025 PyObject * obj0 = 0 ;
28026 PyObject * obj1 = 0 ;
8edf1c75
RD
28027 PyObject * obj2 = 0 ;
28028 PyObject * obj3 = 0 ;
28029 PyObject * obj4 = 0 ;
28030 PyObject * obj5 = 0 ;
44127b65
RD
28031 char *kwnames[] = {
28032 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28033 };
28034
8edf1c75 28035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 28036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 28037 {
8edf1c75 28038 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
28039 if (PyErr_Occurred()) SWIG_fail;
28040 }
8edf1c75
RD
28041 {
28042 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
28045 {
28046 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 if (obj4) {
28050 {
28051 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28052 if (PyErr_Occurred()) SWIG_fail;
28053 }
28054 }
28055 if (obj5) {
28056 {
28057 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28058 if (PyErr_Occurred()) SWIG_fail;
28059 }
28060 }
44127b65
RD
28061 {
28062 PyThreadState* __tstate = wxPyBeginAllowThreads();
28063 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
28064
28065 wxPyEndAllowThreads(__tstate);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 }
28068 Py_INCREF(Py_None); resultobj = Py_None;
28069 return resultobj;
28070 fail:
28071 return NULL;
28072}
28073
28074
28075static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28076 PyObject *resultobj;
28077 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28078 double arg2 ;
28079 double arg3 ;
28080 int arg4 = (int) 0 ;
28081 int arg5 = (int) 0 ;
28082 PyObject * obj0 = 0 ;
8edf1c75
RD
28083 PyObject * obj1 = 0 ;
28084 PyObject * obj2 = 0 ;
28085 PyObject * obj3 = 0 ;
28086 PyObject * obj4 = 0 ;
44127b65
RD
28087 char *kwnames[] = {
28088 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28089 };
28090
8edf1c75 28091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 28092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28093 {
28094 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 }
28097 {
28098 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 }
28101 if (obj3) {
28102 {
28103 arg4 = (int) SWIG_PyObj_AsInt(obj3);
28104 if (PyErr_Occurred()) SWIG_fail;
28105 }
28106 }
28107 if (obj4) {
28108 {
28109 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28110 if (PyErr_Occurred()) SWIG_fail;
28111 }
28112 }
44127b65
RD
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
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
28127static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28128 PyObject *resultobj;
28129 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28130 double arg2 ;
28131 double arg3 ;
28132 int arg4 = (int) 0 ;
28133 int arg5 = (int) 0 ;
28134 PyObject * obj0 = 0 ;
8edf1c75
RD
28135 PyObject * obj1 = 0 ;
28136 PyObject * obj2 = 0 ;
28137 PyObject * obj3 = 0 ;
28138 PyObject * obj4 = 0 ;
44127b65
RD
28139 char *kwnames[] = {
28140 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28141 };
28142
8edf1c75 28143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 28144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28145 {
28146 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
28149 {
28150 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28151 if (PyErr_Occurred()) SWIG_fail;
28152 }
28153 if (obj3) {
28154 {
28155 arg4 = (int) SWIG_PyObj_AsInt(obj3);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 }
28158 }
28159 if (obj4) {
28160 {
28161 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28162 if (PyErr_Occurred()) SWIG_fail;
28163 }
28164 }
44127b65
RD
28165 {
28166 PyThreadState* __tstate = wxPyBeginAllowThreads();
28167 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
28168
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 Py_INCREF(Py_None); resultobj = Py_None;
28173 return resultobj;
28174 fail:
28175 return NULL;
28176}
28177
28178
28179static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
28180 PyObject *resultobj;
28181 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28182 bool arg2 ;
28183 double arg3 ;
28184 double arg4 ;
28185 int arg5 = (int) 0 ;
28186 int arg6 = (int) 0 ;
28187 PyObject * obj0 = 0 ;
28188 PyObject * obj1 = 0 ;
8edf1c75
RD
28189 PyObject * obj2 = 0 ;
28190 PyObject * obj3 = 0 ;
28191 PyObject * obj4 = 0 ;
28192 PyObject * obj5 = 0 ;
44127b65
RD
28193 char *kwnames[] = {
28194 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28195 };
28196
8edf1c75 28197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 28198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 28199 {
8edf1c75
RD
28200 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28201 if (PyErr_Occurred()) SWIG_fail;
28202 }
28203 {
28204 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28205 if (PyErr_Occurred()) SWIG_fail;
28206 }
28207 {
28208 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
28209 if (PyErr_Occurred()) SWIG_fail;
28210 }
8edf1c75
RD
28211 if (obj4) {
28212 {
28213 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28214 if (PyErr_Occurred()) SWIG_fail;
28215 }
28216 }
28217 if (obj5) {
28218 {
28219 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28220 if (PyErr_Occurred()) SWIG_fail;
28221 }
28222 }
44127b65
RD
28223 {
28224 PyThreadState* __tstate = wxPyBeginAllowThreads();
28225 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
28226
28227 wxPyEndAllowThreads(__tstate);
28228 if (PyErr_Occurred()) SWIG_fail;
28229 }
28230 Py_INCREF(Py_None); resultobj = Py_None;
28231 return resultobj;
28232 fail:
28233 return NULL;
28234}
28235
28236
28237static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
28238 PyObject *resultobj;
28239 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28240 double arg2 ;
28241 double arg3 ;
28242 int arg4 = (int) 0 ;
28243 int arg5 = (int) 0 ;
28244 PyObject * obj0 = 0 ;
8edf1c75
RD
28245 PyObject * obj1 = 0 ;
28246 PyObject * obj2 = 0 ;
28247 PyObject * obj3 = 0 ;
28248 PyObject * obj4 = 0 ;
44127b65
RD
28249 char *kwnames[] = {
28250 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28251 };
28252
8edf1c75 28253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 28254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28255 {
28256 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28257 if (PyErr_Occurred()) SWIG_fail;
28258 }
28259 {
28260 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28261 if (PyErr_Occurred()) SWIG_fail;
28262 }
28263 if (obj3) {
28264 {
28265 arg4 = (int) SWIG_PyObj_AsInt(obj3);
28266 if (PyErr_Occurred()) SWIG_fail;
28267 }
28268 }
28269 if (obj4) {
28270 {
28271 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28272 if (PyErr_Occurred()) SWIG_fail;
28273 }
28274 }
44127b65
RD
28275 {
28276 PyThreadState* __tstate = wxPyBeginAllowThreads();
28277 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
28278
28279 wxPyEndAllowThreads(__tstate);
28280 if (PyErr_Occurred()) SWIG_fail;
28281 }
28282 Py_INCREF(Py_None); resultobj = Py_None;
28283 return resultobj;
28284 fail:
28285 return NULL;
28286}
28287
28288
28289static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
28290 PyObject *resultobj;
28291 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28292 double arg2 ;
28293 double arg3 ;
28294 int arg4 = (int) 0 ;
28295 int arg5 = (int) 0 ;
28296 PyObject * obj0 = 0 ;
8edf1c75
RD
28297 PyObject * obj1 = 0 ;
28298 PyObject * obj2 = 0 ;
28299 PyObject * obj3 = 0 ;
28300 PyObject * obj4 = 0 ;
44127b65
RD
28301 char *kwnames[] = {
28302 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28303 };
28304
8edf1c75 28305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 28306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28307 {
28308 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28309 if (PyErr_Occurred()) SWIG_fail;
28310 }
28311 {
28312 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 }
28315 if (obj3) {
28316 {
28317 arg4 = (int) SWIG_PyObj_AsInt(obj3);
28318 if (PyErr_Occurred()) SWIG_fail;
28319 }
28320 }
28321 if (obj4) {
28322 {
28323 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28324 if (PyErr_Occurred()) SWIG_fail;
28325 }
28326 }
44127b65
RD
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
28330
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 Py_INCREF(Py_None); resultobj = Py_None;
28335 return resultobj;
28336 fail:
28337 return NULL;
28338}
28339
28340
28341static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
28342 PyObject *resultobj;
28343 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28344 wxDC *arg2 = 0 ;
28345 double arg3 ;
28346 double arg4 ;
28347 double arg5 ;
28348 double arg6 ;
28349 PyObject * obj0 = 0 ;
28350 PyObject * obj1 = 0 ;
8edf1c75
RD
28351 PyObject * obj2 = 0 ;
28352 PyObject * obj3 = 0 ;
28353 PyObject * obj4 = 0 ;
28354 PyObject * obj5 = 0 ;
44127b65
RD
28355 char *kwnames[] = {
28356 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28357 };
28358
8edf1c75 28359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
28360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28362 if (arg2 == NULL) {
28363 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28364 }
8edf1c75
RD
28365 {
28366 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28367 if (PyErr_Occurred()) SWIG_fail;
28368 }
28369 {
28370 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28371 if (PyErr_Occurred()) SWIG_fail;
28372 }
28373 {
28374 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 }
28377 {
28378 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
28379 if (PyErr_Occurred()) SWIG_fail;
28380 }
44127b65
RD
28381 {
28382 PyThreadState* __tstate = wxPyBeginAllowThreads();
28383 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
28384
28385 wxPyEndAllowThreads(__tstate);
28386 if (PyErr_Occurred()) SWIG_fail;
28387 }
28388 Py_INCREF(Py_None); resultobj = Py_None;
28389 return resultobj;
28390 fail:
28391 return NULL;
28392}
28393
28394
28395static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28396 PyObject *resultobj;
28397 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28398 wxDC *arg2 = 0 ;
28399 PyObject * obj0 = 0 ;
28400 PyObject * obj1 = 0 ;
28401 char *kwnames[] = {
28402 (char *) "self",(char *) "dc", NULL
28403 };
28404
28405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
28406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28408 if (arg2 == NULL) {
28409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28410 }
28411 {
28412 PyThreadState* __tstate = wxPyBeginAllowThreads();
28413 (arg1)->base_OnDrawControlPoints(*arg2);
28414
28415 wxPyEndAllowThreads(__tstate);
28416 if (PyErr_Occurred()) SWIG_fail;
28417 }
28418 Py_INCREF(Py_None); resultobj = Py_None;
28419 return resultobj;
28420 fail:
28421 return NULL;
28422}
28423
28424
28425static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28426 PyObject *resultobj;
28427 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28428 wxDC *arg2 = 0 ;
28429 PyObject * obj0 = 0 ;
28430 PyObject * obj1 = 0 ;
28431 char *kwnames[] = {
28432 (char *) "self",(char *) "dc", NULL
28433 };
28434
28435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
28436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28437 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28438 if (arg2 == NULL) {
28439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28440 }
28441 {
28442 PyThreadState* __tstate = wxPyBeginAllowThreads();
28443 (arg1)->base_OnEraseControlPoints(*arg2);
28444
28445 wxPyEndAllowThreads(__tstate);
28446 if (PyErr_Occurred()) SWIG_fail;
28447 }
28448 Py_INCREF(Py_None); resultobj = Py_None;
28449 return resultobj;
28450 fail:
28451 return NULL;
28452}
28453
28454
28455static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28456 PyObject *resultobj;
28457 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28458 wxDC *arg2 = 0 ;
28459 bool arg3 = (bool) True ;
28460 PyObject * obj0 = 0 ;
28461 PyObject * obj1 = 0 ;
28462 PyObject * obj2 = 0 ;
28463 char *kwnames[] = {
28464 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
28465 };
28466
28467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
28468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28470 if (arg2 == NULL) {
28471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28472 }
28473 if (obj2) {
83448d71 28474 {
8edf1c75 28475 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
28476 if (PyErr_Occurred()) SWIG_fail;
28477 }
44127b65
RD
28478 }
28479 {
28480 PyThreadState* __tstate = wxPyBeginAllowThreads();
28481 (arg1)->base_OnMoveLink(*arg2,arg3);
28482
28483 wxPyEndAllowThreads(__tstate);
28484 if (PyErr_Occurred()) SWIG_fail;
28485 }
28486 Py_INCREF(Py_None); resultobj = Py_None;
28487 return resultobj;
28488 fail:
28489 return NULL;
28490}
28491
28492
28493static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28494 PyObject *resultobj;
28495 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28496 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28497 bool arg3 ;
28498 double arg4 ;
28499 double arg5 ;
28500 int arg6 = (int) 0 ;
28501 int arg7 = (int) 0 ;
28502 PyObject * obj0 = 0 ;
28503 PyObject * obj1 = 0 ;
28504 PyObject * obj2 = 0 ;
8edf1c75
RD
28505 PyObject * obj3 = 0 ;
28506 PyObject * obj4 = 0 ;
28507 PyObject * obj5 = 0 ;
28508 PyObject * obj6 = 0 ;
44127b65
RD
28509 char *kwnames[] = {
28510 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28511 };
28512
8edf1c75 28513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
28514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 28516 {
8edf1c75 28517 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
28518 if (PyErr_Occurred()) SWIG_fail;
28519 }
8edf1c75
RD
28520 {
28521 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28522 if (PyErr_Occurred()) SWIG_fail;
28523 }
28524 {
28525 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
28526 if (PyErr_Occurred()) SWIG_fail;
28527 }
28528 if (obj5) {
28529 {
28530 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28531 if (PyErr_Occurred()) SWIG_fail;
28532 }
28533 }
28534 if (obj6) {
28535 {
28536 arg7 = (int) SWIG_PyObj_AsInt(obj6);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
28539 }
44127b65
RD
28540 {
28541 PyThreadState* __tstate = wxPyBeginAllowThreads();
28542 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
28543
28544 wxPyEndAllowThreads(__tstate);
28545 if (PyErr_Occurred()) SWIG_fail;
28546 }
28547 Py_INCREF(Py_None); resultobj = Py_None;
28548 return resultobj;
28549 fail:
28550 return NULL;
28551}
28552
28553
28554static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28555 PyObject *resultobj;
28556 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28557 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28558 double arg3 ;
28559 double arg4 ;
28560 int arg5 = (int) 0 ;
28561 int arg6 = (int) 0 ;
28562 PyObject * obj0 = 0 ;
28563 PyObject * obj1 = 0 ;
8edf1c75
RD
28564 PyObject * obj2 = 0 ;
28565 PyObject * obj3 = 0 ;
28566 PyObject * obj4 = 0 ;
28567 PyObject * obj5 = 0 ;
44127b65
RD
28568 char *kwnames[] = {
28569 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28570 };
28571
8edf1c75 28572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
28573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28575 {
28576 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28577 if (PyErr_Occurred()) SWIG_fail;
28578 }
28579 {
28580 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 if (obj4) {
28584 {
28585 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 }
28588 }
28589 if (obj5) {
28590 {
28591 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28592 if (PyErr_Occurred()) SWIG_fail;
28593 }
28594 }
44127b65
RD
28595 {
28596 PyThreadState* __tstate = wxPyBeginAllowThreads();
28597 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
28598
28599 wxPyEndAllowThreads(__tstate);
28600 if (PyErr_Occurred()) SWIG_fail;
28601 }
28602 Py_INCREF(Py_None); resultobj = Py_None;
28603 return resultobj;
28604 fail:
28605 return NULL;
28606}
28607
28608
28609static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
28610 PyObject *resultobj;
28611 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28612 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
28613 double arg3 ;
28614 double arg4 ;
28615 int arg5 = (int) 0 ;
28616 int arg6 = (int) 0 ;
28617 PyObject * obj0 = 0 ;
28618 PyObject * obj1 = 0 ;
8edf1c75
RD
28619 PyObject * obj2 = 0 ;
28620 PyObject * obj3 = 0 ;
28621 PyObject * obj4 = 0 ;
28622 PyObject * obj5 = 0 ;
44127b65
RD
28623 char *kwnames[] = {
28624 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28625 };
28626
8edf1c75 28627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
28628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28630 {
28631 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28632 if (PyErr_Occurred()) SWIG_fail;
28633 }
28634 {
28635 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 if (obj4) {
28639 {
28640 arg5 = (int) SWIG_PyObj_AsInt(obj4);
28641 if (PyErr_Occurred()) SWIG_fail;
28642 }
28643 }
28644 if (obj5) {
28645 {
28646 arg6 = (int) SWIG_PyObj_AsInt(obj5);
28647 if (PyErr_Occurred()) SWIG_fail;
28648 }
28649 }
44127b65
RD
28650 {
28651 PyThreadState* __tstate = wxPyBeginAllowThreads();
28652 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
28653
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 Py_INCREF(Py_None); resultobj = Py_None;
28658 return resultobj;
28659 fail:
28660 return NULL;
28661}
28662
28663
28664static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28665 PyObject *resultobj;
28666 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28667 double arg2 ;
28668 double arg3 ;
28669 PyObject * obj0 = 0 ;
8edf1c75
RD
28670 PyObject * obj1 = 0 ;
28671 PyObject * obj2 = 0 ;
44127b65
RD
28672 char *kwnames[] = {
28673 (char *) "self",(char *) "w",(char *) "h", NULL
28674 };
28675
8edf1c75 28676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 28677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28678 {
28679 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 {
28683 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28684 if (PyErr_Occurred()) SWIG_fail;
28685 }
44127b65
RD
28686 {
28687 PyThreadState* __tstate = wxPyBeginAllowThreads();
28688 (arg1)->base_OnBeginSize(arg2,arg3);
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
28700static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28701 PyObject *resultobj;
28702 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28703 double arg2 ;
28704 double arg3 ;
28705 PyObject * obj0 = 0 ;
8edf1c75
RD
28706 PyObject * obj1 = 0 ;
28707 PyObject * obj2 = 0 ;
44127b65
RD
28708 char *kwnames[] = {
28709 (char *) "self",(char *) "w",(char *) "h", NULL
28710 };
28711
8edf1c75 28712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 28713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLineShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28714 {
28715 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
28716 if (PyErr_Occurred()) SWIG_fail;
28717 }
28718 {
28719 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
44127b65
RD
28722 {
28723 PyThreadState* __tstate = wxPyBeginAllowThreads();
28724 (arg1)->base_OnEndSize(arg2,arg3);
28725
28726 wxPyEndAllowThreads(__tstate);
28727 if (PyErr_Occurred()) SWIG_fail;
28728 }
28729 Py_INCREF(Py_None); resultobj = Py_None;
28730 return resultobj;
28731 fail:
28732 return NULL;
28733}
28734
28735
28736static PyObject * PyLineShape_swigregister(PyObject *self, PyObject *args) {
28737 PyObject *obj;
28738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28739 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
28740 Py_INCREF(obj);
28741 return Py_BuildValue((char *)"");
28742}
28743static PyObject *_wrap_new_PyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) {
28744 PyObject *resultobj;
28745 wxPyPolygonShape *result;
28746 char *kwnames[] = {
28747 NULL
28748 };
28749
28750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
28751 {
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 result = (wxPyPolygonShape *)new wxPyPolygonShape();
28754
28755 wxPyEndAllowThreads(__tstate);
28756 if (PyErr_Occurred()) SWIG_fail;
28757 }
28758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPolygonShape, 1);
28759 return resultobj;
28760 fail:
28761 return NULL;
28762}
28763
28764
28765static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28766 PyObject *resultobj;
28767 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28768 PyObject *arg2 = (PyObject *) 0 ;
28769 PyObject *arg3 = (PyObject *) 0 ;
28770 PyObject * obj0 = 0 ;
28771 PyObject * obj1 = 0 ;
28772 PyObject * obj2 = 0 ;
28773 char *kwnames[] = {
28774 (char *) "self",(char *) "self",(char *) "_class", NULL
28775 };
28776
28777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28779 arg2 = obj1;
28780 arg3 = obj2;
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 (arg1)->_setCallbackInfo(arg2,arg3);
28784
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 Py_INCREF(Py_None); resultobj = Py_None;
28789 return resultobj;
28790 fail:
28791 return NULL;
28792}
28793
28794
28795static PyObject *_wrap_PyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28796 PyObject *resultobj;
28797 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28798 PyObject *arg2 = (PyObject *) 0 ;
28799 PyObject *result;
28800 PyObject * obj0 = 0 ;
28801 PyObject * obj1 = 0 ;
28802 char *kwnames[] = {
28803 (char *) "self",(char *) "points", NULL
28804 };
28805
28806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
28807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28808 arg2 = obj1;
28809 {
28810 PyThreadState* __tstate = wxPyBeginAllowThreads();
28811 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
28812
28813 wxPyEndAllowThreads(__tstate);
28814 if (PyErr_Occurred()) SWIG_fail;
28815 }
28816 resultobj = result;
28817 return resultobj;
28818 fail:
28819 return NULL;
28820}
28821
28822
28823static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28824 PyObject *resultobj;
28825 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28826 int arg2 = (int) 0 ;
28827 PyObject * obj0 = 0 ;
8edf1c75 28828 PyObject * obj1 = 0 ;
44127b65
RD
28829 char *kwnames[] = {
28830 (char *) "self",(char *) "pos", NULL
28831 };
28832
8edf1c75 28833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
44127b65 28834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28835 if (obj1) {
28836 {
28837 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28838 if (PyErr_Occurred()) SWIG_fail;
28839 }
28840 }
44127b65
RD
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 (arg1)->AddPolygonPoint(arg2);
28844
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 Py_INCREF(Py_None); resultobj = Py_None;
28849 return resultobj;
28850 fail:
28851 return NULL;
28852}
28853
28854
28855static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) {
28856 PyObject *resultobj;
28857 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28858 PyObject * obj0 = 0 ;
28859 char *kwnames[] = {
28860 (char *) "self", NULL
28861 };
28862
28863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
28864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28865 {
28866 PyThreadState* __tstate = wxPyBeginAllowThreads();
28867 (arg1)->CalculatePolygonCentre();
28868
28869 wxPyEndAllowThreads(__tstate);
28870 if (PyErr_Occurred()) SWIG_fail;
28871 }
28872 Py_INCREF(Py_None); resultobj = Py_None;
28873 return resultobj;
28874 fail:
28875 return NULL;
28876}
28877
28878
28879static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
28880 PyObject *resultobj;
28881 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28882 int arg2 = (int) 0 ;
28883 PyObject * obj0 = 0 ;
8edf1c75 28884 PyObject * obj1 = 0 ;
44127b65
RD
28885 char *kwnames[] = {
28886 (char *) "self",(char *) "pos", NULL
28887 };
28888
8edf1c75 28889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
44127b65 28890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
28891 if (obj1) {
28892 {
28893 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28894 if (PyErr_Occurred()) SWIG_fail;
28895 }
28896 }
44127b65
RD
28897 {
28898 PyThreadState* __tstate = wxPyBeginAllowThreads();
28899 (arg1)->DeletePolygonPoint(arg2);
28900
28901 wxPyEndAllowThreads(__tstate);
28902 if (PyErr_Occurred()) SWIG_fail;
28903 }
28904 Py_INCREF(Py_None); resultobj = Py_None;
28905 return resultobj;
28906 fail:
28907 return NULL;
28908}
28909
28910
28911static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28912 PyObject *resultobj;
28913 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28914 PyObject *result;
28915 PyObject * obj0 = 0 ;
28916 char *kwnames[] = {
28917 (char *) "self", NULL
28918 };
28919
28920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
28921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28922 {
28923 PyThreadState* __tstate = wxPyBeginAllowThreads();
28924 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
28925
28926 wxPyEndAllowThreads(__tstate);
28927 if (PyErr_Occurred()) SWIG_fail;
28928 }
28929 resultobj = result;
28930 return resultobj;
28931 fail:
28932 return NULL;
28933}
28934
28935
7a0a63ae
RD
28936static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
28937 PyObject *resultobj;
28938 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28939 PyObject *result;
28940 PyObject * obj0 = 0 ;
28941 char *kwnames[] = {
28942 (char *) "self", NULL
28943 };
28944
28945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
28946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28947 {
28948 PyThreadState* __tstate = wxPyBeginAllowThreads();
28949 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
28950
28951 wxPyEndAllowThreads(__tstate);
28952 if (PyErr_Occurred()) SWIG_fail;
28953 }
28954 resultobj = result;
28955 return resultobj;
28956 fail:
28957 return NULL;
28958}
28959
28960
28961static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28962 PyObject *resultobj;
28963 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28964 double result;
28965 PyObject * obj0 = 0 ;
28966 char *kwnames[] = {
28967 (char *) "self", NULL
28968 };
28969
28970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
28971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28972 {
28973 PyThreadState* __tstate = wxPyBeginAllowThreads();
28974 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
28975
28976 wxPyEndAllowThreads(__tstate);
28977 if (PyErr_Occurred()) SWIG_fail;
28978 }
8edf1c75 28979 resultobj = SWIG_PyObj_FromDouble((double)result);
7a0a63ae
RD
28980 return resultobj;
28981 fail:
28982 return NULL;
28983}
28984
28985
28986static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
28987 PyObject *resultobj;
28988 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
28989 double result;
28990 PyObject * obj0 = 0 ;
28991 char *kwnames[] = {
28992 (char *) "self", NULL
28993 };
28994
28995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
28996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28997 {
28998 PyThreadState* __tstate = wxPyBeginAllowThreads();
28999 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
29000
29001 wxPyEndAllowThreads(__tstate);
29002 if (PyErr_Occurred()) SWIG_fail;
29003 }
8edf1c75 29004 resultobj = SWIG_PyObj_FromDouble((double)result);
7a0a63ae
RD
29005 return resultobj;
29006 fail:
29007 return NULL;
29008}
29009
29010
29011static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
29012 PyObject *resultobj;
29013 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29014 double arg2 ;
29015 PyObject * obj0 = 0 ;
8edf1c75 29016 PyObject * obj1 = 0 ;
7a0a63ae
RD
29017 char *kwnames[] = {
29018 (char *) "self",(char *) "w", NULL
29019 };
29020
8edf1c75 29021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
7a0a63ae 29022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29023 {
29024 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29025 if (PyErr_Occurred()) SWIG_fail;
29026 }
7a0a63ae
RD
29027 {
29028 PyThreadState* __tstate = wxPyBeginAllowThreads();
29029 (arg1)->SetOriginalWidth(arg2);
29030
29031 wxPyEndAllowThreads(__tstate);
29032 if (PyErr_Occurred()) SWIG_fail;
29033 }
29034 Py_INCREF(Py_None); resultobj = Py_None;
29035 return resultobj;
29036 fail:
29037 return NULL;
29038}
29039
29040
29041static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
29042 PyObject *resultobj;
29043 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29044 double arg2 ;
29045 PyObject * obj0 = 0 ;
8edf1c75 29046 PyObject * obj1 = 0 ;
7a0a63ae
RD
29047 char *kwnames[] = {
29048 (char *) "self",(char *) "h", NULL
29049 };
29050
8edf1c75 29051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
7a0a63ae 29052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29053 {
29054 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29055 if (PyErr_Occurred()) SWIG_fail;
29056 }
7a0a63ae
RD
29057 {
29058 PyThreadState* __tstate = wxPyBeginAllowThreads();
29059 (arg1)->SetOriginalHeight(arg2);
29060
29061 wxPyEndAllowThreads(__tstate);
29062 if (PyErr_Occurred()) SWIG_fail;
29063 }
29064 Py_INCREF(Py_None); resultobj = Py_None;
29065 return resultobj;
29066 fail:
29067 return NULL;
29068}
29069
29070
44127b65
RD
29071static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
29072 PyObject *resultobj;
29073 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29074 PyObject * obj0 = 0 ;
29075 char *kwnames[] = {
29076 (char *) "self", NULL
29077 };
29078
29079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
29080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29081 {
29082 PyThreadState* __tstate = wxPyBeginAllowThreads();
29083 (arg1)->UpdateOriginalPoints();
29084
29085 wxPyEndAllowThreads(__tstate);
29086 if (PyErr_Occurred()) SWIG_fail;
29087 }
29088 Py_INCREF(Py_None); resultobj = Py_None;
29089 return resultobj;
29090 fail:
29091 return NULL;
29092}
29093
29094
29095static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
29096 PyObject *resultobj;
29097 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29098 wxDC *arg2 = 0 ;
29099 PyObject * obj0 = 0 ;
29100 PyObject * obj1 = 0 ;
29101 char *kwnames[] = {
29102 (char *) "self",(char *) "dc", NULL
29103 };
29104
29105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
29106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29108 if (arg2 == NULL) {
29109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29110 }
29111 {
29112 PyThreadState* __tstate = wxPyBeginAllowThreads();
29113 (arg1)->base_OnDraw(*arg2);
29114
29115 wxPyEndAllowThreads(__tstate);
29116 if (PyErr_Occurred()) SWIG_fail;
29117 }
29118 Py_INCREF(Py_None); resultobj = Py_None;
29119 return resultobj;
29120 fail:
29121 return NULL;
29122}
29123
29124
29125static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29126 PyObject *resultobj;
29127 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29128 wxDC *arg2 = 0 ;
29129 PyObject * obj0 = 0 ;
29130 PyObject * obj1 = 0 ;
29131 char *kwnames[] = {
29132 (char *) "self",(char *) "dc", NULL
29133 };
29134
29135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
29136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29138 if (arg2 == NULL) {
29139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29140 }
29141 {
29142 PyThreadState* __tstate = wxPyBeginAllowThreads();
29143 (arg1)->base_OnDrawContents(*arg2);
29144
29145 wxPyEndAllowThreads(__tstate);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 Py_INCREF(Py_None); resultobj = Py_None;
29149 return resultobj;
29150 fail:
29151 return NULL;
29152}
29153
29154
29155static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
29156 PyObject *resultobj;
29157 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29158 wxDC *arg2 = 0 ;
29159 bool arg3 = (bool) FALSE ;
29160 PyObject * obj0 = 0 ;
29161 PyObject * obj1 = 0 ;
29162 PyObject * obj2 = 0 ;
29163 char *kwnames[] = {
29164 (char *) "self",(char *) "dc",(char *) "erase", NULL
29165 };
29166
29167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
29168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29170 if (arg2 == NULL) {
29171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29172 }
29173 if (obj2) {
83448d71 29174 {
8edf1c75 29175 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
29176 if (PyErr_Occurred()) SWIG_fail;
29177 }
44127b65
RD
29178 }
29179 {
29180 PyThreadState* __tstate = wxPyBeginAllowThreads();
29181 (arg1)->base_OnDrawBranches(*arg2,arg3);
29182
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 Py_INCREF(Py_None); resultobj = Py_None;
29187 return resultobj;
29188 fail:
29189 return NULL;
29190}
29191
29192
29193static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
29194 PyObject *resultobj;
29195 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29196 wxDC *arg2 = 0 ;
29197 PyObject * obj0 = 0 ;
29198 PyObject * obj1 = 0 ;
29199 char *kwnames[] = {
29200 (char *) "self",(char *) "dc", NULL
29201 };
29202
29203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
29204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29206 if (arg2 == NULL) {
29207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29208 }
29209 {
29210 PyThreadState* __tstate = wxPyBeginAllowThreads();
29211 (arg1)->base_OnMoveLinks(*arg2);
29212
29213 wxPyEndAllowThreads(__tstate);
29214 if (PyErr_Occurred()) SWIG_fail;
29215 }
29216 Py_INCREF(Py_None); resultobj = Py_None;
29217 return resultobj;
29218 fail:
29219 return NULL;
29220}
29221
29222
29223static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
29224 PyObject *resultobj;
29225 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29226 wxDC *arg2 = 0 ;
29227 PyObject * obj0 = 0 ;
29228 PyObject * obj1 = 0 ;
29229 char *kwnames[] = {
29230 (char *) "self",(char *) "dc", NULL
29231 };
29232
29233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
29234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29236 if (arg2 == NULL) {
29237 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29238 }
29239 {
29240 PyThreadState* __tstate = wxPyBeginAllowThreads();
29241 (arg1)->base_OnErase(*arg2);
29242
29243 wxPyEndAllowThreads(__tstate);
29244 if (PyErr_Occurred()) SWIG_fail;
29245 }
29246 Py_INCREF(Py_None); resultobj = Py_None;
29247 return resultobj;
29248 fail:
29249 return NULL;
29250}
29251
29252
29253static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
29254 PyObject *resultobj;
29255 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29256 wxDC *arg2 = 0 ;
29257 PyObject * obj0 = 0 ;
29258 PyObject * obj1 = 0 ;
29259 char *kwnames[] = {
29260 (char *) "self",(char *) "dc", NULL
29261 };
29262
29263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
29264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29266 if (arg2 == NULL) {
29267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29268 }
29269 {
29270 PyThreadState* __tstate = wxPyBeginAllowThreads();
29271 (arg1)->base_OnEraseContents(*arg2);
29272
29273 wxPyEndAllowThreads(__tstate);
29274 if (PyErr_Occurred()) SWIG_fail;
29275 }
29276 Py_INCREF(Py_None); resultobj = Py_None;
29277 return resultobj;
29278 fail:
29279 return NULL;
29280}
29281
29282
29283static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
29284 PyObject *resultobj;
29285 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29286 wxDC *arg2 = 0 ;
29287 PyObject * obj0 = 0 ;
29288 PyObject * obj1 = 0 ;
29289 char *kwnames[] = {
29290 (char *) "self",(char *) "dc", NULL
29291 };
29292
29293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
29294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29296 if (arg2 == NULL) {
29297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29298 }
29299 {
29300 PyThreadState* __tstate = wxPyBeginAllowThreads();
29301 (arg1)->base_OnHighlight(*arg2);
29302
29303 wxPyEndAllowThreads(__tstate);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 }
29306 Py_INCREF(Py_None); resultobj = Py_None;
29307 return resultobj;
29308 fail:
29309 return NULL;
29310}
29311
29312
29313static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29314 PyObject *resultobj;
29315 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29316 double arg2 ;
29317 double arg3 ;
29318 int arg4 = (int) 0 ;
29319 int arg5 = (int) 0 ;
29320 PyObject * obj0 = 0 ;
8edf1c75
RD
29321 PyObject * obj1 = 0 ;
29322 PyObject * obj2 = 0 ;
29323 PyObject * obj3 = 0 ;
29324 PyObject * obj4 = 0 ;
44127b65
RD
29325 char *kwnames[] = {
29326 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29327 };
29328
8edf1c75 29329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 29330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29331 {
29332 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29333 if (PyErr_Occurred()) SWIG_fail;
29334 }
29335 {
29336 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29337 if (PyErr_Occurred()) SWIG_fail;
29338 }
29339 if (obj3) {
29340 {
29341 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29342 if (PyErr_Occurred()) SWIG_fail;
29343 }
29344 }
29345 if (obj4) {
29346 {
29347 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29348 if (PyErr_Occurred()) SWIG_fail;
29349 }
29350 }
44127b65
RD
29351 {
29352 PyThreadState* __tstate = wxPyBeginAllowThreads();
29353 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
29354
29355 wxPyEndAllowThreads(__tstate);
29356 if (PyErr_Occurred()) SWIG_fail;
29357 }
29358 Py_INCREF(Py_None); resultobj = Py_None;
29359 return resultobj;
29360 fail:
29361 return NULL;
29362}
29363
29364
29365static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29366 PyObject *resultobj;
29367 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29368 double arg2 ;
29369 double arg3 ;
29370 int arg4 = (int) 0 ;
29371 int arg5 = (int) 0 ;
29372 PyObject * obj0 = 0 ;
8edf1c75
RD
29373 PyObject * obj1 = 0 ;
29374 PyObject * obj2 = 0 ;
29375 PyObject * obj3 = 0 ;
29376 PyObject * obj4 = 0 ;
44127b65
RD
29377 char *kwnames[] = {
29378 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29379 };
29380
8edf1c75 29381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 29382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29383 {
29384 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29385 if (PyErr_Occurred()) SWIG_fail;
29386 }
29387 {
29388 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29389 if (PyErr_Occurred()) SWIG_fail;
29390 }
29391 if (obj3) {
29392 {
29393 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29394 if (PyErr_Occurred()) SWIG_fail;
29395 }
29396 }
29397 if (obj4) {
29398 {
29399 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29400 if (PyErr_Occurred()) SWIG_fail;
29401 }
29402 }
44127b65
RD
29403 {
29404 PyThreadState* __tstate = wxPyBeginAllowThreads();
29405 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
29406
29407 wxPyEndAllowThreads(__tstate);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 }
29410 Py_INCREF(Py_None); resultobj = Py_None;
29411 return resultobj;
29412 fail:
29413 return NULL;
29414}
29415
29416
29417static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
29418 PyObject *resultobj;
29419 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29420 double arg2 ;
29421 double arg3 ;
29422 int arg4 = (int) 0 ;
29423 int arg5 = (int) 0 ;
29424 PyObject * obj0 = 0 ;
8edf1c75
RD
29425 PyObject * obj1 = 0 ;
29426 PyObject * obj2 = 0 ;
29427 PyObject * obj3 = 0 ;
29428 PyObject * obj4 = 0 ;
44127b65
RD
29429 char *kwnames[] = {
29430 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29431 };
29432
8edf1c75 29433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 29434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29435 {
29436 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29437 if (PyErr_Occurred()) SWIG_fail;
29438 }
29439 {
29440 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29441 if (PyErr_Occurred()) SWIG_fail;
29442 }
29443 if (obj3) {
29444 {
29445 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29446 if (PyErr_Occurred()) SWIG_fail;
29447 }
29448 }
29449 if (obj4) {
29450 {
29451 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29452 if (PyErr_Occurred()) SWIG_fail;
29453 }
29454 }
44127b65
RD
29455 {
29456 PyThreadState* __tstate = wxPyBeginAllowThreads();
29457 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
29458
29459 wxPyEndAllowThreads(__tstate);
29460 if (PyErr_Occurred()) SWIG_fail;
29461 }
29462 Py_INCREF(Py_None); resultobj = Py_None;
29463 return resultobj;
29464 fail:
29465 return NULL;
29466}
29467
29468
29469static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29470 PyObject *resultobj;
29471 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29472 double arg2 ;
29473 double arg3 ;
29474 PyObject * obj0 = 0 ;
8edf1c75
RD
29475 PyObject * obj1 = 0 ;
29476 PyObject * obj2 = 0 ;
44127b65
RD
29477 char *kwnames[] = {
29478 (char *) "self",(char *) "x",(char *) "y", NULL
29479 };
29480
8edf1c75 29481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 29482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29483 {
29484 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29485 if (PyErr_Occurred()) SWIG_fail;
29486 }
29487 {
29488 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29489 if (PyErr_Occurred()) SWIG_fail;
29490 }
44127b65
RD
29491 {
29492 PyThreadState* __tstate = wxPyBeginAllowThreads();
29493 (arg1)->base_OnSize(arg2,arg3);
29494
29495 wxPyEndAllowThreads(__tstate);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 }
29498 Py_INCREF(Py_None); resultobj = Py_None;
29499 return resultobj;
29500 fail:
29501 return NULL;
29502}
29503
29504
29505static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
29506 PyObject *resultobj;
29507 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29508 wxDC *arg2 = 0 ;
29509 double arg3 ;
29510 double arg4 ;
29511 double arg5 ;
29512 double arg6 ;
29513 bool arg7 = (bool) True ;
29514 bool result;
29515 PyObject * obj0 = 0 ;
29516 PyObject * obj1 = 0 ;
8edf1c75
RD
29517 PyObject * obj2 = 0 ;
29518 PyObject * obj3 = 0 ;
29519 PyObject * obj4 = 0 ;
29520 PyObject * obj5 = 0 ;
44127b65
RD
29521 PyObject * obj6 = 0 ;
29522 char *kwnames[] = {
29523 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29524 };
29525
8edf1c75 29526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
29527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29529 if (arg2 == NULL) {
29530 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29531 }
8edf1c75
RD
29532 {
29533 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29534 if (PyErr_Occurred()) SWIG_fail;
29535 }
29536 {
29537 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29538 if (PyErr_Occurred()) SWIG_fail;
29539 }
29540 {
29541 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
29542 if (PyErr_Occurred()) SWIG_fail;
29543 }
29544 {
29545 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
44127b65 29548 if (obj6) {
83448d71 29549 {
8edf1c75 29550 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
44127b65
RD
29553 }
29554 {
29555 PyThreadState* __tstate = wxPyBeginAllowThreads();
29556 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
29557
29558 wxPyEndAllowThreads(__tstate);
29559 if (PyErr_Occurred()) SWIG_fail;
29560 }
8edf1c75 29561 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
29562 return resultobj;
29563 fail:
29564 return NULL;
29565}
29566
29567
29568static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
29569 PyObject *resultobj;
29570 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29571 wxDC *arg2 = 0 ;
29572 double arg3 ;
29573 double arg4 ;
29574 double arg5 ;
29575 double arg6 ;
29576 bool arg7 = (bool) True ;
29577 PyObject * obj0 = 0 ;
29578 PyObject * obj1 = 0 ;
8edf1c75
RD
29579 PyObject * obj2 = 0 ;
29580 PyObject * obj3 = 0 ;
29581 PyObject * obj4 = 0 ;
29582 PyObject * obj5 = 0 ;
44127b65
RD
29583 PyObject * obj6 = 0 ;
29584 char *kwnames[] = {
29585 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29586 };
29587
8edf1c75 29588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
29589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29591 if (arg2 == NULL) {
29592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29593 }
8edf1c75
RD
29594 {
29595 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 }
29598 {
29599 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29600 if (PyErr_Occurred()) SWIG_fail;
29601 }
29602 {
29603 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 {
29607 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
44127b65 29610 if (obj6) {
83448d71 29611 {
8edf1c75 29612 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
29613 if (PyErr_Occurred()) SWIG_fail;
29614 }
44127b65
RD
29615 }
29616 {
29617 PyThreadState* __tstate = wxPyBeginAllowThreads();
29618 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
29619
29620 wxPyEndAllowThreads(__tstate);
29621 if (PyErr_Occurred()) SWIG_fail;
29622 }
29623 Py_INCREF(Py_None); resultobj = Py_None;
29624 return resultobj;
29625 fail:
29626 return NULL;
29627}
29628
29629
29630static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29631 PyObject *resultobj;
29632 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29633 bool arg2 ;
29634 double arg3 ;
29635 double arg4 ;
29636 int arg5 = (int) 0 ;
29637 int arg6 = (int) 0 ;
29638 PyObject * obj0 = 0 ;
29639 PyObject * obj1 = 0 ;
8edf1c75
RD
29640 PyObject * obj2 = 0 ;
29641 PyObject * obj3 = 0 ;
29642 PyObject * obj4 = 0 ;
29643 PyObject * obj5 = 0 ;
44127b65
RD
29644 char *kwnames[] = {
29645 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29646 };
29647
8edf1c75 29648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 29649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 29650 {
8edf1c75
RD
29651 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
29652 if (PyErr_Occurred()) SWIG_fail;
29653 }
29654 {
29655 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29656 if (PyErr_Occurred()) SWIG_fail;
29657 }
29658 {
29659 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
29660 if (PyErr_Occurred()) SWIG_fail;
29661 }
8edf1c75
RD
29662 if (obj4) {
29663 {
29664 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29665 if (PyErr_Occurred()) SWIG_fail;
29666 }
29667 }
29668 if (obj5) {
29669 {
29670 arg6 = (int) SWIG_PyObj_AsInt(obj5);
29671 if (PyErr_Occurred()) SWIG_fail;
29672 }
29673 }
44127b65
RD
29674 {
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
29677
29678 wxPyEndAllowThreads(__tstate);
29679 if (PyErr_Occurred()) SWIG_fail;
29680 }
29681 Py_INCREF(Py_None); resultobj = Py_None;
29682 return resultobj;
29683 fail:
29684 return NULL;
29685}
29686
29687
29688static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29689 PyObject *resultobj;
29690 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29691 double arg2 ;
29692 double arg3 ;
29693 int arg4 = (int) 0 ;
29694 int arg5 = (int) 0 ;
29695 PyObject * obj0 = 0 ;
8edf1c75
RD
29696 PyObject * obj1 = 0 ;
29697 PyObject * obj2 = 0 ;
29698 PyObject * obj3 = 0 ;
29699 PyObject * obj4 = 0 ;
44127b65
RD
29700 char *kwnames[] = {
29701 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29702 };
29703
8edf1c75 29704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 29705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29706 {
29707 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 }
29710 {
29711 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 if (obj3) {
29715 {
29716 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29717 if (PyErr_Occurred()) SWIG_fail;
29718 }
29719 }
29720 if (obj4) {
29721 {
29722 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29723 if (PyErr_Occurred()) SWIG_fail;
29724 }
29725 }
44127b65
RD
29726 {
29727 PyThreadState* __tstate = wxPyBeginAllowThreads();
29728 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
29729
29730 wxPyEndAllowThreads(__tstate);
29731 if (PyErr_Occurred()) SWIG_fail;
29732 }
29733 Py_INCREF(Py_None); resultobj = Py_None;
29734 return resultobj;
29735 fail:
29736 return NULL;
29737}
29738
29739
29740static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
29741 PyObject *resultobj;
29742 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29743 double arg2 ;
29744 double arg3 ;
29745 int arg4 = (int) 0 ;
29746 int arg5 = (int) 0 ;
29747 PyObject * obj0 = 0 ;
8edf1c75
RD
29748 PyObject * obj1 = 0 ;
29749 PyObject * obj2 = 0 ;
29750 PyObject * obj3 = 0 ;
29751 PyObject * obj4 = 0 ;
44127b65
RD
29752 char *kwnames[] = {
29753 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29754 };
29755
8edf1c75 29756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 29757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29758 {
29759 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29760 if (PyErr_Occurred()) SWIG_fail;
29761 }
29762 {
29763 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 if (obj3) {
29767 {
29768 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29769 if (PyErr_Occurred()) SWIG_fail;
29770 }
29771 }
29772 if (obj4) {
29773 {
29774 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
29777 }
44127b65
RD
29778 {
29779 PyThreadState* __tstate = wxPyBeginAllowThreads();
29780 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
29781
29782 wxPyEndAllowThreads(__tstate);
29783 if (PyErr_Occurred()) SWIG_fail;
29784 }
29785 Py_INCREF(Py_None); resultobj = Py_None;
29786 return resultobj;
29787 fail:
29788 return NULL;
29789}
29790
29791
29792static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29793 PyObject *resultobj;
29794 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29795 bool arg2 ;
29796 double arg3 ;
29797 double arg4 ;
29798 int arg5 = (int) 0 ;
29799 int arg6 = (int) 0 ;
29800 PyObject * obj0 = 0 ;
29801 PyObject * obj1 = 0 ;
8edf1c75
RD
29802 PyObject * obj2 = 0 ;
29803 PyObject * obj3 = 0 ;
29804 PyObject * obj4 = 0 ;
29805 PyObject * obj5 = 0 ;
44127b65
RD
29806 char *kwnames[] = {
29807 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29808 };
29809
8edf1c75 29810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 29811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 29812 {
8edf1c75 29813 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
29814 if (PyErr_Occurred()) SWIG_fail;
29815 }
8edf1c75
RD
29816 {
29817 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29818 if (PyErr_Occurred()) SWIG_fail;
29819 }
29820 {
29821 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29822 if (PyErr_Occurred()) SWIG_fail;
29823 }
29824 if (obj4) {
29825 {
29826 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29827 if (PyErr_Occurred()) SWIG_fail;
29828 }
29829 }
29830 if (obj5) {
29831 {
29832 arg6 = (int) SWIG_PyObj_AsInt(obj5);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 }
44127b65
RD
29836 {
29837 PyThreadState* __tstate = wxPyBeginAllowThreads();
29838 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
29839
29840 wxPyEndAllowThreads(__tstate);
29841 if (PyErr_Occurred()) SWIG_fail;
29842 }
29843 Py_INCREF(Py_None); resultobj = Py_None;
29844 return resultobj;
29845 fail:
29846 return NULL;
29847}
29848
29849
29850static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29851 PyObject *resultobj;
29852 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29853 double arg2 ;
29854 double arg3 ;
29855 int arg4 = (int) 0 ;
29856 int arg5 = (int) 0 ;
29857 PyObject * obj0 = 0 ;
8edf1c75
RD
29858 PyObject * obj1 = 0 ;
29859 PyObject * obj2 = 0 ;
29860 PyObject * obj3 = 0 ;
29861 PyObject * obj4 = 0 ;
44127b65
RD
29862 char *kwnames[] = {
29863 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29864 };
29865
8edf1c75 29866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 29867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29868 {
29869 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29870 if (PyErr_Occurred()) SWIG_fail;
29871 }
29872 {
29873 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29874 if (PyErr_Occurred()) SWIG_fail;
29875 }
29876 if (obj3) {
29877 {
29878 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29879 if (PyErr_Occurred()) SWIG_fail;
29880 }
29881 }
29882 if (obj4) {
29883 {
29884 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29885 if (PyErr_Occurred()) SWIG_fail;
29886 }
29887 }
44127b65
RD
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
29891
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 Py_INCREF(Py_None); resultobj = Py_None;
29896 return resultobj;
29897 fail:
29898 return NULL;
29899}
29900
29901
29902static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
29903 PyObject *resultobj;
29904 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29905 double arg2 ;
29906 double arg3 ;
29907 int arg4 = (int) 0 ;
29908 int arg5 = (int) 0 ;
29909 PyObject * obj0 = 0 ;
8edf1c75
RD
29910 PyObject * obj1 = 0 ;
29911 PyObject * obj2 = 0 ;
29912 PyObject * obj3 = 0 ;
29913 PyObject * obj4 = 0 ;
44127b65
RD
29914 char *kwnames[] = {
29915 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29916 };
29917
8edf1c75 29918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 29919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
29920 {
29921 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
29922 if (PyErr_Occurred()) SWIG_fail;
29923 }
29924 {
29925 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29926 if (PyErr_Occurred()) SWIG_fail;
29927 }
29928 if (obj3) {
29929 {
29930 arg4 = (int) SWIG_PyObj_AsInt(obj3);
29931 if (PyErr_Occurred()) SWIG_fail;
29932 }
29933 }
29934 if (obj4) {
29935 {
29936 arg5 = (int) SWIG_PyObj_AsInt(obj4);
29937 if (PyErr_Occurred()) SWIG_fail;
29938 }
29939 }
44127b65
RD
29940 {
29941 PyThreadState* __tstate = wxPyBeginAllowThreads();
29942 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
29943
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 Py_INCREF(Py_None); resultobj = Py_None;
29948 return resultobj;
29949 fail:
29950 return NULL;
29951}
29952
29953
29954static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
29955 PyObject *resultobj;
29956 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
29957 wxDC *arg2 = 0 ;
29958 double arg3 ;
29959 double arg4 ;
29960 double arg5 ;
29961 double arg6 ;
29962 PyObject * obj0 = 0 ;
29963 PyObject * obj1 = 0 ;
8edf1c75
RD
29964 PyObject * obj2 = 0 ;
29965 PyObject * obj3 = 0 ;
29966 PyObject * obj4 = 0 ;
29967 PyObject * obj5 = 0 ;
44127b65
RD
29968 char *kwnames[] = {
29969 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29970 };
29971
8edf1c75 29972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
29973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29975 if (arg2 == NULL) {
29976 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29977 }
8edf1c75
RD
29978 {
29979 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
29980 if (PyErr_Occurred()) SWIG_fail;
29981 }
29982 {
29983 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
29984 if (PyErr_Occurred()) SWIG_fail;
29985 }
29986 {
29987 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
29988 if (PyErr_Occurred()) SWIG_fail;
29989 }
29990 {
29991 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
29992 if (PyErr_Occurred()) SWIG_fail;
29993 }
44127b65
RD
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
29997
29998 wxPyEndAllowThreads(__tstate);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 }
30001 Py_INCREF(Py_None); resultobj = Py_None;
30002 return resultobj;
30003 fail:
30004 return NULL;
30005}
30006
30007
30008static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30009 PyObject *resultobj;
30010 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30011 wxDC *arg2 = 0 ;
30012 PyObject * obj0 = 0 ;
30013 PyObject * obj1 = 0 ;
30014 char *kwnames[] = {
30015 (char *) "self",(char *) "dc", NULL
30016 };
30017
30018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
30019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30021 if (arg2 == NULL) {
30022 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30023 }
30024 {
30025 PyThreadState* __tstate = wxPyBeginAllowThreads();
30026 (arg1)->base_OnDrawControlPoints(*arg2);
30027
30028 wxPyEndAllowThreads(__tstate);
30029 if (PyErr_Occurred()) SWIG_fail;
30030 }
30031 Py_INCREF(Py_None); resultobj = Py_None;
30032 return resultobj;
30033 fail:
30034 return NULL;
30035}
30036
30037
30038static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
30039 PyObject *resultobj;
30040 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30041 wxDC *arg2 = 0 ;
30042 PyObject * obj0 = 0 ;
30043 PyObject * obj1 = 0 ;
30044 char *kwnames[] = {
30045 (char *) "self",(char *) "dc", NULL
30046 };
30047
30048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
30049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30051 if (arg2 == NULL) {
30052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30053 }
30054 {
30055 PyThreadState* __tstate = wxPyBeginAllowThreads();
30056 (arg1)->base_OnEraseControlPoints(*arg2);
30057
30058 wxPyEndAllowThreads(__tstate);
30059 if (PyErr_Occurred()) SWIG_fail;
30060 }
30061 Py_INCREF(Py_None); resultobj = Py_None;
30062 return resultobj;
30063 fail:
30064 return NULL;
30065}
30066
30067
30068static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30069 PyObject *resultobj;
30070 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30071 wxDC *arg2 = 0 ;
30072 bool arg3 = (bool) True ;
30073 PyObject * obj0 = 0 ;
30074 PyObject * obj1 = 0 ;
30075 PyObject * obj2 = 0 ;
30076 char *kwnames[] = {
30077 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30078 };
30079
30080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
30081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30083 if (arg2 == NULL) {
30084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30085 }
30086 if (obj2) {
83448d71 30087 {
8edf1c75 30088 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
30089 if (PyErr_Occurred()) SWIG_fail;
30090 }
44127b65
RD
30091 }
30092 {
30093 PyThreadState* __tstate = wxPyBeginAllowThreads();
30094 (arg1)->base_OnMoveLink(*arg2,arg3);
30095
30096 wxPyEndAllowThreads(__tstate);
30097 if (PyErr_Occurred()) SWIG_fail;
30098 }
30099 Py_INCREF(Py_None); resultobj = Py_None;
30100 return resultobj;
30101 fail:
30102 return NULL;
30103}
30104
30105
30106static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30107 PyObject *resultobj;
30108 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30109 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30110 bool arg3 ;
30111 double arg4 ;
30112 double arg5 ;
30113 int arg6 = (int) 0 ;
30114 int arg7 = (int) 0 ;
30115 PyObject * obj0 = 0 ;
30116 PyObject * obj1 = 0 ;
30117 PyObject * obj2 = 0 ;
8edf1c75
RD
30118 PyObject * obj3 = 0 ;
30119 PyObject * obj4 = 0 ;
30120 PyObject * obj5 = 0 ;
30121 PyObject * obj6 = 0 ;
44127b65
RD
30122 char *kwnames[] = {
30123 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30124 };
30125
8edf1c75 30126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
30127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 30129 {
8edf1c75
RD
30130 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
30131 if (PyErr_Occurred()) SWIG_fail;
30132 }
30133 {
30134 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30135 if (PyErr_Occurred()) SWIG_fail;
30136 }
30137 {
30138 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
83448d71
RD
30139 if (PyErr_Occurred()) SWIG_fail;
30140 }
8edf1c75
RD
30141 if (obj5) {
30142 {
30143 arg6 = (int) SWIG_PyObj_AsInt(obj5);
30144 if (PyErr_Occurred()) SWIG_fail;
30145 }
30146 }
30147 if (obj6) {
30148 {
30149 arg7 = (int) SWIG_PyObj_AsInt(obj6);
30150 if (PyErr_Occurred()) SWIG_fail;
30151 }
30152 }
44127b65
RD
30153 {
30154 PyThreadState* __tstate = wxPyBeginAllowThreads();
30155 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
30156
30157 wxPyEndAllowThreads(__tstate);
30158 if (PyErr_Occurred()) SWIG_fail;
30159 }
30160 Py_INCREF(Py_None); resultobj = Py_None;
30161 return resultobj;
30162 fail:
30163 return NULL;
30164}
30165
30166
30167static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30168 PyObject *resultobj;
30169 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30170 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30171 double arg3 ;
30172 double arg4 ;
30173 int arg5 = (int) 0 ;
30174 int arg6 = (int) 0 ;
30175 PyObject * obj0 = 0 ;
30176 PyObject * obj1 = 0 ;
8edf1c75
RD
30177 PyObject * obj2 = 0 ;
30178 PyObject * obj3 = 0 ;
30179 PyObject * obj4 = 0 ;
30180 PyObject * obj5 = 0 ;
44127b65
RD
30181 char *kwnames[] = {
30182 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30183 };
30184
8edf1c75 30185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
30186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
30188 {
30189 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 {
30193 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
30196 if (obj4) {
30197 {
30198 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30199 if (PyErr_Occurred()) SWIG_fail;
30200 }
30201 }
30202 if (obj5) {
30203 {
30204 arg6 = (int) SWIG_PyObj_AsInt(obj5);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 }
44127b65
RD
30208 {
30209 PyThreadState* __tstate = wxPyBeginAllowThreads();
30210 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
30211
30212 wxPyEndAllowThreads(__tstate);
30213 if (PyErr_Occurred()) SWIG_fail;
30214 }
30215 Py_INCREF(Py_None); resultobj = Py_None;
30216 return resultobj;
30217 fail:
30218 return NULL;
30219}
30220
30221
30222static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30223 PyObject *resultobj;
30224 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30225 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
30226 double arg3 ;
30227 double arg4 ;
30228 int arg5 = (int) 0 ;
30229 int arg6 = (int) 0 ;
30230 PyObject * obj0 = 0 ;
30231 PyObject * obj1 = 0 ;
8edf1c75
RD
30232 PyObject * obj2 = 0 ;
30233 PyObject * obj3 = 0 ;
30234 PyObject * obj4 = 0 ;
30235 PyObject * obj5 = 0 ;
44127b65
RD
30236 char *kwnames[] = {
30237 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30238 };
30239
8edf1c75 30240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
30241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
30243 {
30244 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 }
30247 {
30248 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 }
30251 if (obj4) {
30252 {
30253 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30254 if (PyErr_Occurred()) SWIG_fail;
30255 }
30256 }
30257 if (obj5) {
30258 {
30259 arg6 = (int) SWIG_PyObj_AsInt(obj5);
30260 if (PyErr_Occurred()) SWIG_fail;
30261 }
30262 }
44127b65
RD
30263 {
30264 PyThreadState* __tstate = wxPyBeginAllowThreads();
30265 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
30266
30267 wxPyEndAllowThreads(__tstate);
30268 if (PyErr_Occurred()) SWIG_fail;
30269 }
30270 Py_INCREF(Py_None); resultobj = Py_None;
30271 return resultobj;
30272 fail:
30273 return NULL;
30274}
30275
30276
30277static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30278 PyObject *resultobj;
30279 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30280 double arg2 ;
30281 double arg3 ;
30282 PyObject * obj0 = 0 ;
8edf1c75
RD
30283 PyObject * obj1 = 0 ;
30284 PyObject * obj2 = 0 ;
44127b65
RD
30285 char *kwnames[] = {
30286 (char *) "self",(char *) "w",(char *) "h", NULL
30287 };
30288
8edf1c75 30289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 30290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
30291 {
30292 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30293 if (PyErr_Occurred()) SWIG_fail;
30294 }
30295 {
30296 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30297 if (PyErr_Occurred()) SWIG_fail;
30298 }
44127b65
RD
30299 {
30300 PyThreadState* __tstate = wxPyBeginAllowThreads();
30301 (arg1)->base_OnBeginSize(arg2,arg3);
30302
30303 wxPyEndAllowThreads(__tstate);
30304 if (PyErr_Occurred()) SWIG_fail;
30305 }
30306 Py_INCREF(Py_None); resultobj = Py_None;
30307 return resultobj;
30308 fail:
30309 return NULL;
30310}
30311
30312
30313static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30314 PyObject *resultobj;
30315 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
30316 double arg2 ;
30317 double arg3 ;
30318 PyObject * obj0 = 0 ;
8edf1c75
RD
30319 PyObject * obj1 = 0 ;
30320 PyObject * obj2 = 0 ;
44127b65
RD
30321 char *kwnames[] = {
30322 (char *) "self",(char *) "w",(char *) "h", NULL
30323 };
30324
8edf1c75 30325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 30326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPolygonShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
30327 {
30328 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30329 if (PyErr_Occurred()) SWIG_fail;
30330 }
30331 {
30332 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 }
44127b65
RD
30335 {
30336 PyThreadState* __tstate = wxPyBeginAllowThreads();
30337 (arg1)->base_OnEndSize(arg2,arg3);
30338
30339 wxPyEndAllowThreads(__tstate);
30340 if (PyErr_Occurred()) SWIG_fail;
30341 }
30342 Py_INCREF(Py_None); resultobj = Py_None;
30343 return resultobj;
30344 fail:
30345 return NULL;
30346}
30347
30348
30349static PyObject * PyPolygonShape_swigregister(PyObject *self, PyObject *args) {
30350 PyObject *obj;
30351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30352 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
30353 Py_INCREF(obj);
30354 return Py_BuildValue((char *)"");
30355}
30356static PyObject *_wrap_new_PyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) {
30357 PyObject *resultobj;
30358 double arg1 = (double) 0.0 ;
30359 double arg2 = (double) 0.0 ;
30360 wxPyTextShape *result;
8edf1c75
RD
30361 PyObject * obj0 = 0 ;
30362 PyObject * obj1 = 0 ;
44127b65
RD
30363 char *kwnames[] = {
30364 (char *) "width",(char *) "height", NULL
30365 };
30366
8edf1c75
RD
30367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
30368 if (obj0) {
30369 {
30370 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
30371 if (PyErr_Occurred()) SWIG_fail;
30372 }
30373 }
30374 if (obj1) {
30375 {
30376 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30377 if (PyErr_Occurred()) SWIG_fail;
30378 }
30379 }
44127b65
RD
30380 {
30381 PyThreadState* __tstate = wxPyBeginAllowThreads();
30382 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
30383
30384 wxPyEndAllowThreads(__tstate);
30385 if (PyErr_Occurred()) SWIG_fail;
30386 }
30387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextShape, 1);
30388 return resultobj;
30389 fail:
30390 return NULL;
30391}
30392
30393
30394static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30395 PyObject *resultobj;
30396 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30397 PyObject *arg2 = (PyObject *) 0 ;
30398 PyObject *arg3 = (PyObject *) 0 ;
30399 PyObject * obj0 = 0 ;
30400 PyObject * obj1 = 0 ;
30401 PyObject * obj2 = 0 ;
30402 char *kwnames[] = {
30403 (char *) "self",(char *) "self",(char *) "_class", NULL
30404 };
30405
30406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
30407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30408 arg2 = obj1;
30409 arg3 = obj2;
30410 {
30411 PyThreadState* __tstate = wxPyBeginAllowThreads();
30412 (arg1)->_setCallbackInfo(arg2,arg3);
30413
30414 wxPyEndAllowThreads(__tstate);
30415 if (PyErr_Occurred()) SWIG_fail;
30416 }
30417 Py_INCREF(Py_None); resultobj = Py_None;
30418 return resultobj;
30419 fail:
30420 return NULL;
30421}
30422
30423
30424static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
30425 PyObject *resultobj;
30426 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30427 PyObject * obj0 = 0 ;
30428 char *kwnames[] = {
30429 (char *) "self", NULL
30430 };
30431
30432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
30433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30434 {
30435 PyThreadState* __tstate = wxPyBeginAllowThreads();
30436 (arg1)->base_OnDelete();
30437
30438 wxPyEndAllowThreads(__tstate);
30439 if (PyErr_Occurred()) SWIG_fail;
30440 }
30441 Py_INCREF(Py_None); resultobj = Py_None;
30442 return resultobj;
30443 fail:
30444 return NULL;
30445}
30446
30447
30448static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
30449 PyObject *resultobj;
30450 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30451 wxDC *arg2 = 0 ;
30452 PyObject * obj0 = 0 ;
30453 PyObject * obj1 = 0 ;
30454 char *kwnames[] = {
30455 (char *) "self",(char *) "dc", NULL
30456 };
30457
30458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
30459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30461 if (arg2 == NULL) {
30462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30463 }
30464 {
30465 PyThreadState* __tstate = wxPyBeginAllowThreads();
30466 (arg1)->base_OnDraw(*arg2);
30467
30468 wxPyEndAllowThreads(__tstate);
30469 if (PyErr_Occurred()) SWIG_fail;
30470 }
30471 Py_INCREF(Py_None); resultobj = Py_None;
30472 return resultobj;
30473 fail:
30474 return NULL;
30475}
30476
30477
30478static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
30479 PyObject *resultobj;
30480 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30481 wxDC *arg2 = 0 ;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char *kwnames[] = {
30485 (char *) "self",(char *) "dc", NULL
30486 };
30487
30488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
30489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30491 if (arg2 == NULL) {
30492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30493 }
30494 {
30495 PyThreadState* __tstate = wxPyBeginAllowThreads();
30496 (arg1)->base_OnDrawContents(*arg2);
30497
30498 wxPyEndAllowThreads(__tstate);
30499 if (PyErr_Occurred()) SWIG_fail;
30500 }
30501 Py_INCREF(Py_None); resultobj = Py_None;
30502 return resultobj;
30503 fail:
30504 return NULL;
30505}
30506
30507
30508static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
30509 PyObject *resultobj;
30510 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30511 wxDC *arg2 = 0 ;
30512 bool arg3 = (bool) FALSE ;
30513 PyObject * obj0 = 0 ;
30514 PyObject * obj1 = 0 ;
30515 PyObject * obj2 = 0 ;
30516 char *kwnames[] = {
30517 (char *) "self",(char *) "dc",(char *) "erase", NULL
30518 };
30519
30520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
30521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30523 if (arg2 == NULL) {
30524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30525 }
30526 if (obj2) {
83448d71 30527 {
8edf1c75 30528 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
30529 if (PyErr_Occurred()) SWIG_fail;
30530 }
44127b65
RD
30531 }
30532 {
30533 PyThreadState* __tstate = wxPyBeginAllowThreads();
30534 (arg1)->base_OnDrawBranches(*arg2,arg3);
30535
30536 wxPyEndAllowThreads(__tstate);
30537 if (PyErr_Occurred()) SWIG_fail;
30538 }
30539 Py_INCREF(Py_None); resultobj = Py_None;
30540 return resultobj;
30541 fail:
30542 return NULL;
30543}
30544
30545
30546static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
30547 PyObject *resultobj;
30548 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30549 wxDC *arg2 = 0 ;
30550 PyObject * obj0 = 0 ;
30551 PyObject * obj1 = 0 ;
30552 char *kwnames[] = {
30553 (char *) "self",(char *) "dc", NULL
30554 };
30555
30556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
30557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30559 if (arg2 == NULL) {
30560 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30561 }
30562 {
30563 PyThreadState* __tstate = wxPyBeginAllowThreads();
30564 (arg1)->base_OnMoveLinks(*arg2);
30565
30566 wxPyEndAllowThreads(__tstate);
30567 if (PyErr_Occurred()) SWIG_fail;
30568 }
30569 Py_INCREF(Py_None); resultobj = Py_None;
30570 return resultobj;
30571 fail:
30572 return NULL;
30573}
30574
30575
30576static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
30577 PyObject *resultobj;
30578 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30579 wxDC *arg2 = 0 ;
30580 PyObject * obj0 = 0 ;
30581 PyObject * obj1 = 0 ;
30582 char *kwnames[] = {
30583 (char *) "self",(char *) "dc", NULL
30584 };
30585
30586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
30587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30589 if (arg2 == NULL) {
30590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30591 }
30592 {
30593 PyThreadState* __tstate = wxPyBeginAllowThreads();
30594 (arg1)->base_OnErase(*arg2);
30595
30596 wxPyEndAllowThreads(__tstate);
30597 if (PyErr_Occurred()) SWIG_fail;
30598 }
30599 Py_INCREF(Py_None); resultobj = Py_None;
30600 return resultobj;
30601 fail:
30602 return NULL;
30603}
30604
30605
30606static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
30607 PyObject *resultobj;
30608 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30609 wxDC *arg2 = 0 ;
30610 PyObject * obj0 = 0 ;
30611 PyObject * obj1 = 0 ;
30612 char *kwnames[] = {
30613 (char *) "self",(char *) "dc", NULL
30614 };
30615
30616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
30617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30619 if (arg2 == NULL) {
30620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30621 }
30622 {
30623 PyThreadState* __tstate = wxPyBeginAllowThreads();
30624 (arg1)->base_OnEraseContents(*arg2);
30625
30626 wxPyEndAllowThreads(__tstate);
30627 if (PyErr_Occurred()) SWIG_fail;
30628 }
30629 Py_INCREF(Py_None); resultobj = Py_None;
30630 return resultobj;
30631 fail:
30632 return NULL;
30633}
30634
30635
30636static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
30637 PyObject *resultobj;
30638 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30639 wxDC *arg2 = 0 ;
30640 PyObject * obj0 = 0 ;
30641 PyObject * obj1 = 0 ;
30642 char *kwnames[] = {
30643 (char *) "self",(char *) "dc", NULL
30644 };
30645
30646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
30647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30649 if (arg2 == NULL) {
30650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30651 }
30652 {
30653 PyThreadState* __tstate = wxPyBeginAllowThreads();
30654 (arg1)->base_OnHighlight(*arg2);
30655
30656 wxPyEndAllowThreads(__tstate);
30657 if (PyErr_Occurred()) SWIG_fail;
30658 }
30659 Py_INCREF(Py_None); resultobj = Py_None;
30660 return resultobj;
30661 fail:
30662 return NULL;
30663}
30664
30665
30666static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30667 PyObject *resultobj;
30668 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30669 double arg2 ;
30670 double arg3 ;
30671 int arg4 = (int) 0 ;
30672 int arg5 = (int) 0 ;
30673 PyObject * obj0 = 0 ;
8edf1c75
RD
30674 PyObject * obj1 = 0 ;
30675 PyObject * obj2 = 0 ;
30676 PyObject * obj3 = 0 ;
30677 PyObject * obj4 = 0 ;
44127b65
RD
30678 char *kwnames[] = {
30679 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30680 };
30681
8edf1c75 30682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 30683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
30684 {
30685 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30686 if (PyErr_Occurred()) SWIG_fail;
30687 }
30688 {
30689 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30690 if (PyErr_Occurred()) SWIG_fail;
30691 }
30692 if (obj3) {
30693 {
30694 arg4 = (int) SWIG_PyObj_AsInt(obj3);
30695 if (PyErr_Occurred()) SWIG_fail;
30696 }
30697 }
30698 if (obj4) {
30699 {
30700 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 }
44127b65
RD
30704 {
30705 PyThreadState* __tstate = wxPyBeginAllowThreads();
30706 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
30707
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 Py_INCREF(Py_None); resultobj = Py_None;
30712 return resultobj;
30713 fail:
30714 return NULL;
30715}
30716
30717
30718static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30719 PyObject *resultobj;
30720 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30721 double arg2 ;
30722 double arg3 ;
30723 int arg4 = (int) 0 ;
30724 int arg5 = (int) 0 ;
30725 PyObject * obj0 = 0 ;
8edf1c75
RD
30726 PyObject * obj1 = 0 ;
30727 PyObject * obj2 = 0 ;
30728 PyObject * obj3 = 0 ;
30729 PyObject * obj4 = 0 ;
44127b65
RD
30730 char *kwnames[] = {
30731 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30732 };
30733
8edf1c75 30734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 30735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
30736 {
30737 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30738 if (PyErr_Occurred()) SWIG_fail;
30739 }
30740 {
30741 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30742 if (PyErr_Occurred()) SWIG_fail;
30743 }
30744 if (obj3) {
30745 {
30746 arg4 = (int) SWIG_PyObj_AsInt(obj3);
30747 if (PyErr_Occurred()) SWIG_fail;
30748 }
30749 }
30750 if (obj4) {
30751 {
30752 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30753 if (PyErr_Occurred()) SWIG_fail;
30754 }
30755 }
44127b65
RD
30756 {
30757 PyThreadState* __tstate = wxPyBeginAllowThreads();
30758 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30759
30760 wxPyEndAllowThreads(__tstate);
30761 if (PyErr_Occurred()) SWIG_fail;
30762 }
30763 Py_INCREF(Py_None); resultobj = Py_None;
30764 return resultobj;
30765 fail:
30766 return NULL;
30767}
30768
30769
30770static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
30771 PyObject *resultobj;
30772 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30773 double arg2 ;
30774 double arg3 ;
30775 int arg4 = (int) 0 ;
30776 int arg5 = (int) 0 ;
30777 PyObject * obj0 = 0 ;
8edf1c75
RD
30778 PyObject * obj1 = 0 ;
30779 PyObject * obj2 = 0 ;
30780 PyObject * obj3 = 0 ;
30781 PyObject * obj4 = 0 ;
44127b65
RD
30782 char *kwnames[] = {
30783 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30784 };
30785
8edf1c75 30786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 30787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
30788 {
30789 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30790 if (PyErr_Occurred()) SWIG_fail;
30791 }
30792 {
30793 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30794 if (PyErr_Occurred()) SWIG_fail;
30795 }
30796 if (obj3) {
30797 {
30798 arg4 = (int) SWIG_PyObj_AsInt(obj3);
30799 if (PyErr_Occurred()) SWIG_fail;
30800 }
30801 }
30802 if (obj4) {
30803 {
30804 arg5 = (int) SWIG_PyObj_AsInt(obj4);
30805 if (PyErr_Occurred()) SWIG_fail;
30806 }
30807 }
44127b65
RD
30808 {
30809 PyThreadState* __tstate = wxPyBeginAllowThreads();
30810 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30811
30812 wxPyEndAllowThreads(__tstate);
30813 if (PyErr_Occurred()) SWIG_fail;
30814 }
30815 Py_INCREF(Py_None); resultobj = Py_None;
30816 return resultobj;
30817 fail:
30818 return NULL;
30819}
30820
30821
30822static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30823 PyObject *resultobj;
30824 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30825 double arg2 ;
30826 double arg3 ;
30827 PyObject * obj0 = 0 ;
8edf1c75
RD
30828 PyObject * obj1 = 0 ;
30829 PyObject * obj2 = 0 ;
44127b65
RD
30830 char *kwnames[] = {
30831 (char *) "self",(char *) "x",(char *) "y", NULL
30832 };
30833
8edf1c75 30834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 30835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
30836 {
30837 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
30838 if (PyErr_Occurred()) SWIG_fail;
30839 }
30840 {
30841 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30842 if (PyErr_Occurred()) SWIG_fail;
30843 }
44127b65
RD
30844 {
30845 PyThreadState* __tstate = wxPyBeginAllowThreads();
30846 (arg1)->base_OnSize(arg2,arg3);
30847
30848 wxPyEndAllowThreads(__tstate);
30849 if (PyErr_Occurred()) SWIG_fail;
30850 }
30851 Py_INCREF(Py_None); resultobj = Py_None;
30852 return resultobj;
30853 fail:
30854 return NULL;
30855}
30856
30857
30858static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
30859 PyObject *resultobj;
30860 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30861 wxDC *arg2 = 0 ;
30862 double arg3 ;
30863 double arg4 ;
30864 double arg5 ;
30865 double arg6 ;
30866 bool arg7 = (bool) True ;
30867 bool result;
30868 PyObject * obj0 = 0 ;
30869 PyObject * obj1 = 0 ;
8edf1c75
RD
30870 PyObject * obj2 = 0 ;
30871 PyObject * obj3 = 0 ;
30872 PyObject * obj4 = 0 ;
30873 PyObject * obj5 = 0 ;
44127b65
RD
30874 PyObject * obj6 = 0 ;
30875 char *kwnames[] = {
30876 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30877 };
30878
8edf1c75 30879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
30880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30882 if (arg2 == NULL) {
30883 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30884 }
8edf1c75
RD
30885 {
30886 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30887 if (PyErr_Occurred()) SWIG_fail;
30888 }
30889 {
30890 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30891 if (PyErr_Occurred()) SWIG_fail;
30892 }
30893 {
30894 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
30895 if (PyErr_Occurred()) SWIG_fail;
30896 }
30897 {
30898 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
30899 if (PyErr_Occurred()) SWIG_fail;
30900 }
44127b65 30901 if (obj6) {
83448d71 30902 {
8edf1c75 30903 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
30904 if (PyErr_Occurred()) SWIG_fail;
30905 }
44127b65
RD
30906 }
30907 {
30908 PyThreadState* __tstate = wxPyBeginAllowThreads();
30909 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30910
30911 wxPyEndAllowThreads(__tstate);
30912 if (PyErr_Occurred()) SWIG_fail;
30913 }
8edf1c75 30914 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
30915 return resultobj;
30916 fail:
30917 return NULL;
30918}
30919
30920
30921static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
30922 PyObject *resultobj;
30923 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30924 wxDC *arg2 = 0 ;
30925 double arg3 ;
30926 double arg4 ;
30927 double arg5 ;
30928 double arg6 ;
30929 bool arg7 = (bool) True ;
30930 PyObject * obj0 = 0 ;
30931 PyObject * obj1 = 0 ;
8edf1c75
RD
30932 PyObject * obj2 = 0 ;
30933 PyObject * obj3 = 0 ;
30934 PyObject * obj4 = 0 ;
30935 PyObject * obj5 = 0 ;
44127b65
RD
30936 PyObject * obj6 = 0 ;
30937 char *kwnames[] = {
30938 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30939 };
30940
8edf1c75 30941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
30942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30944 if (arg2 == NULL) {
30945 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
30946 }
8edf1c75
RD
30947 {
30948 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 {
30952 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
30955 {
30956 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
30957 if (PyErr_Occurred()) SWIG_fail;
30958 }
30959 {
30960 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
30961 if (PyErr_Occurred()) SWIG_fail;
30962 }
44127b65 30963 if (obj6) {
83448d71 30964 {
8edf1c75 30965 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
83448d71
RD
30966 if (PyErr_Occurred()) SWIG_fail;
30967 }
44127b65
RD
30968 }
30969 {
30970 PyThreadState* __tstate = wxPyBeginAllowThreads();
30971 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30972
30973 wxPyEndAllowThreads(__tstate);
30974 if (PyErr_Occurred()) SWIG_fail;
30975 }
30976 Py_INCREF(Py_None); resultobj = Py_None;
30977 return resultobj;
30978 fail:
30979 return NULL;
30980}
30981
30982
30983static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
30984 PyObject *resultobj;
30985 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
30986 bool arg2 ;
30987 double arg3 ;
30988 double arg4 ;
30989 int arg5 = (int) 0 ;
30990 int arg6 = (int) 0 ;
30991 PyObject * obj0 = 0 ;
30992 PyObject * obj1 = 0 ;
8edf1c75
RD
30993 PyObject * obj2 = 0 ;
30994 PyObject * obj3 = 0 ;
30995 PyObject * obj4 = 0 ;
30996 PyObject * obj5 = 0 ;
44127b65
RD
30997 char *kwnames[] = {
30998 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30999 };
31000
8edf1c75 31001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 31002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 31003 {
8edf1c75 31004 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
8edf1c75
RD
31007 {
31008 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31009 if (PyErr_Occurred()) SWIG_fail;
31010 }
31011 {
31012 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31013 if (PyErr_Occurred()) SWIG_fail;
31014 }
31015 if (obj4) {
31016 {
31017 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31018 if (PyErr_Occurred()) SWIG_fail;
31019 }
31020 }
31021 if (obj5) {
31022 {
31023 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31024 if (PyErr_Occurred()) SWIG_fail;
31025 }
31026 }
44127b65
RD
31027 {
31028 PyThreadState* __tstate = wxPyBeginAllowThreads();
31029 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
31030
31031 wxPyEndAllowThreads(__tstate);
31032 if (PyErr_Occurred()) SWIG_fail;
31033 }
31034 Py_INCREF(Py_None); resultobj = Py_None;
31035 return resultobj;
31036 fail:
31037 return NULL;
31038}
31039
31040
31041static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31042 PyObject *resultobj;
31043 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31044 double arg2 ;
31045 double arg3 ;
31046 int arg4 = (int) 0 ;
31047 int arg5 = (int) 0 ;
31048 PyObject * obj0 = 0 ;
8edf1c75
RD
31049 PyObject * obj1 = 0 ;
31050 PyObject * obj2 = 0 ;
31051 PyObject * obj3 = 0 ;
31052 PyObject * obj4 = 0 ;
44127b65
RD
31053 char *kwnames[] = {
31054 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31055 };
31056
8edf1c75 31057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 31058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31059 {
31060 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31061 if (PyErr_Occurred()) SWIG_fail;
31062 }
31063 {
31064 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31065 if (PyErr_Occurred()) SWIG_fail;
31066 }
31067 if (obj3) {
31068 {
31069 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31070 if (PyErr_Occurred()) SWIG_fail;
31071 }
31072 }
31073 if (obj4) {
31074 {
31075 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31076 if (PyErr_Occurred()) SWIG_fail;
31077 }
31078 }
44127b65
RD
31079 {
31080 PyThreadState* __tstate = wxPyBeginAllowThreads();
31081 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
31082
31083 wxPyEndAllowThreads(__tstate);
31084 if (PyErr_Occurred()) SWIG_fail;
31085 }
31086 Py_INCREF(Py_None); resultobj = Py_None;
31087 return resultobj;
31088 fail:
31089 return NULL;
31090}
31091
31092
31093static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31094 PyObject *resultobj;
31095 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31096 double arg2 ;
31097 double arg3 ;
31098 int arg4 = (int) 0 ;
31099 int arg5 = (int) 0 ;
31100 PyObject * obj0 = 0 ;
8edf1c75
RD
31101 PyObject * obj1 = 0 ;
31102 PyObject * obj2 = 0 ;
31103 PyObject * obj3 = 0 ;
31104 PyObject * obj4 = 0 ;
44127b65
RD
31105 char *kwnames[] = {
31106 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31107 };
31108
8edf1c75 31109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 31110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31111 {
31112 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31113 if (PyErr_Occurred()) SWIG_fail;
31114 }
31115 {
31116 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31117 if (PyErr_Occurred()) SWIG_fail;
31118 }
31119 if (obj3) {
31120 {
31121 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31122 if (PyErr_Occurred()) SWIG_fail;
31123 }
31124 }
31125 if (obj4) {
31126 {
31127 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31128 if (PyErr_Occurred()) SWIG_fail;
31129 }
31130 }
44127b65
RD
31131 {
31132 PyThreadState* __tstate = wxPyBeginAllowThreads();
31133 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
31134
31135 wxPyEndAllowThreads(__tstate);
31136 if (PyErr_Occurred()) SWIG_fail;
31137 }
31138 Py_INCREF(Py_None); resultobj = Py_None;
31139 return resultobj;
31140 fail:
31141 return NULL;
31142}
31143
31144
31145static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31146 PyObject *resultobj;
31147 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31148 bool arg2 ;
31149 double arg3 ;
31150 double arg4 ;
31151 int arg5 = (int) 0 ;
31152 int arg6 = (int) 0 ;
31153 PyObject * obj0 = 0 ;
31154 PyObject * obj1 = 0 ;
8edf1c75
RD
31155 PyObject * obj2 = 0 ;
31156 PyObject * obj3 = 0 ;
31157 PyObject * obj4 = 0 ;
31158 PyObject * obj5 = 0 ;
44127b65
RD
31159 char *kwnames[] = {
31160 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31161 };
31162
8edf1c75 31163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 31164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 31165 {
8edf1c75
RD
31166 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
31167 if (PyErr_Occurred()) SWIG_fail;
31168 }
31169 {
31170 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
31173 {
31174 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
31175 if (PyErr_Occurred()) SWIG_fail;
31176 }
8edf1c75
RD
31177 if (obj4) {
31178 {
31179 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31180 if (PyErr_Occurred()) SWIG_fail;
31181 }
31182 }
31183 if (obj5) {
31184 {
31185 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31186 if (PyErr_Occurred()) SWIG_fail;
31187 }
31188 }
44127b65
RD
31189 {
31190 PyThreadState* __tstate = wxPyBeginAllowThreads();
31191 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
31192
31193 wxPyEndAllowThreads(__tstate);
31194 if (PyErr_Occurred()) SWIG_fail;
31195 }
31196 Py_INCREF(Py_None); resultobj = Py_None;
31197 return resultobj;
31198 fail:
31199 return NULL;
31200}
31201
31202
31203static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31204 PyObject *resultobj;
31205 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31206 double arg2 ;
31207 double arg3 ;
31208 int arg4 = (int) 0 ;
31209 int arg5 = (int) 0 ;
31210 PyObject * obj0 = 0 ;
8edf1c75
RD
31211 PyObject * obj1 = 0 ;
31212 PyObject * obj2 = 0 ;
31213 PyObject * obj3 = 0 ;
31214 PyObject * obj4 = 0 ;
44127b65
RD
31215 char *kwnames[] = {
31216 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31217 };
31218
8edf1c75 31219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 31220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31221 {
31222 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31223 if (PyErr_Occurred()) SWIG_fail;
31224 }
31225 {
31226 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31227 if (PyErr_Occurred()) SWIG_fail;
31228 }
31229 if (obj3) {
31230 {
31231 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31232 if (PyErr_Occurred()) SWIG_fail;
31233 }
31234 }
31235 if (obj4) {
31236 {
31237 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31238 if (PyErr_Occurred()) SWIG_fail;
31239 }
31240 }
44127b65
RD
31241 {
31242 PyThreadState* __tstate = wxPyBeginAllowThreads();
31243 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
31244
31245 wxPyEndAllowThreads(__tstate);
31246 if (PyErr_Occurred()) SWIG_fail;
31247 }
31248 Py_INCREF(Py_None); resultobj = Py_None;
31249 return resultobj;
31250 fail:
31251 return NULL;
31252}
31253
31254
31255static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
31256 PyObject *resultobj;
31257 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31258 double arg2 ;
31259 double arg3 ;
31260 int arg4 = (int) 0 ;
31261 int arg5 = (int) 0 ;
31262 PyObject * obj0 = 0 ;
8edf1c75
RD
31263 PyObject * obj1 = 0 ;
31264 PyObject * obj2 = 0 ;
31265 PyObject * obj3 = 0 ;
31266 PyObject * obj4 = 0 ;
44127b65
RD
31267 char *kwnames[] = {
31268 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31269 };
31270
8edf1c75 31271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 31272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31273 {
31274 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31275 if (PyErr_Occurred()) SWIG_fail;
31276 }
31277 {
31278 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31279 if (PyErr_Occurred()) SWIG_fail;
31280 }
31281 if (obj3) {
31282 {
31283 arg4 = (int) SWIG_PyObj_AsInt(obj3);
31284 if (PyErr_Occurred()) SWIG_fail;
31285 }
31286 }
31287 if (obj4) {
31288 {
31289 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31290 if (PyErr_Occurred()) SWIG_fail;
31291 }
31292 }
44127b65
RD
31293 {
31294 PyThreadState* __tstate = wxPyBeginAllowThreads();
31295 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
31296
31297 wxPyEndAllowThreads(__tstate);
31298 if (PyErr_Occurred()) SWIG_fail;
31299 }
31300 Py_INCREF(Py_None); resultobj = Py_None;
31301 return resultobj;
31302 fail:
31303 return NULL;
31304}
31305
31306
31307static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
31308 PyObject *resultobj;
31309 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31310 wxDC *arg2 = 0 ;
31311 double arg3 ;
31312 double arg4 ;
31313 double arg5 ;
31314 double arg6 ;
31315 PyObject * obj0 = 0 ;
31316 PyObject * obj1 = 0 ;
8edf1c75
RD
31317 PyObject * obj2 = 0 ;
31318 PyObject * obj3 = 0 ;
31319 PyObject * obj4 = 0 ;
31320 PyObject * obj5 = 0 ;
44127b65
RD
31321 char *kwnames[] = {
31322 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31323 };
31324
8edf1c75 31325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
31326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31328 if (arg2 == NULL) {
31329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31330 }
8edf1c75
RD
31331 {
31332 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31333 if (PyErr_Occurred()) SWIG_fail;
31334 }
31335 {
31336 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31337 if (PyErr_Occurred()) SWIG_fail;
31338 }
31339 {
31340 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
31341 if (PyErr_Occurred()) SWIG_fail;
31342 }
31343 {
31344 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
31345 if (PyErr_Occurred()) SWIG_fail;
31346 }
44127b65
RD
31347 {
31348 PyThreadState* __tstate = wxPyBeginAllowThreads();
31349 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
31350
31351 wxPyEndAllowThreads(__tstate);
31352 if (PyErr_Occurred()) SWIG_fail;
31353 }
31354 Py_INCREF(Py_None); resultobj = Py_None;
31355 return resultobj;
31356 fail:
31357 return NULL;
31358}
31359
31360
31361static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
31362 PyObject *resultobj;
31363 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31364 wxDC *arg2 = 0 ;
31365 PyObject * obj0 = 0 ;
31366 PyObject * obj1 = 0 ;
31367 char *kwnames[] = {
31368 (char *) "self",(char *) "dc", NULL
31369 };
31370
31371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
31372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31374 if (arg2 == NULL) {
31375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31376 }
31377 {
31378 PyThreadState* __tstate = wxPyBeginAllowThreads();
31379 (arg1)->base_OnDrawControlPoints(*arg2);
31380
31381 wxPyEndAllowThreads(__tstate);
31382 if (PyErr_Occurred()) SWIG_fail;
31383 }
31384 Py_INCREF(Py_None); resultobj = Py_None;
31385 return resultobj;
31386 fail:
31387 return NULL;
31388}
31389
31390
31391static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
31392 PyObject *resultobj;
31393 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31394 wxDC *arg2 = 0 ;
31395 PyObject * obj0 = 0 ;
31396 PyObject * obj1 = 0 ;
31397 char *kwnames[] = {
31398 (char *) "self",(char *) "dc", NULL
31399 };
31400
31401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
31402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31404 if (arg2 == NULL) {
31405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31406 }
31407 {
31408 PyThreadState* __tstate = wxPyBeginAllowThreads();
31409 (arg1)->base_OnEraseControlPoints(*arg2);
31410
31411 wxPyEndAllowThreads(__tstate);
31412 if (PyErr_Occurred()) SWIG_fail;
31413 }
31414 Py_INCREF(Py_None); resultobj = Py_None;
31415 return resultobj;
31416 fail:
31417 return NULL;
31418}
31419
31420
31421static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
31422 PyObject *resultobj;
31423 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31424 wxDC *arg2 = 0 ;
31425 bool arg3 = (bool) True ;
31426 PyObject * obj0 = 0 ;
31427 PyObject * obj1 = 0 ;
31428 PyObject * obj2 = 0 ;
31429 char *kwnames[] = {
31430 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
31431 };
31432
31433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
31434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31436 if (arg2 == NULL) {
31437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31438 }
31439 if (obj2) {
83448d71 31440 {
8edf1c75 31441 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
31442 if (PyErr_Occurred()) SWIG_fail;
31443 }
44127b65
RD
31444 }
31445 {
31446 PyThreadState* __tstate = wxPyBeginAllowThreads();
31447 (arg1)->base_OnMoveLink(*arg2,arg3);
31448
31449 wxPyEndAllowThreads(__tstate);
31450 if (PyErr_Occurred()) SWIG_fail;
31451 }
31452 Py_INCREF(Py_None); resultobj = Py_None;
31453 return resultobj;
31454 fail:
31455 return NULL;
31456}
31457
31458
31459static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31460 PyObject *resultobj;
31461 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31462 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31463 bool arg3 ;
31464 double arg4 ;
31465 double arg5 ;
31466 int arg6 = (int) 0 ;
31467 int arg7 = (int) 0 ;
31468 PyObject * obj0 = 0 ;
31469 PyObject * obj1 = 0 ;
31470 PyObject * obj2 = 0 ;
8edf1c75
RD
31471 PyObject * obj3 = 0 ;
31472 PyObject * obj4 = 0 ;
31473 PyObject * obj5 = 0 ;
31474 PyObject * obj6 = 0 ;
44127b65
RD
31475 char *kwnames[] = {
31476 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31477 };
31478
8edf1c75 31479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
44127b65
RD
31480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 31482 {
8edf1c75 31483 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
31484 if (PyErr_Occurred()) SWIG_fail;
31485 }
8edf1c75
RD
31486 {
31487 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31488 if (PyErr_Occurred()) SWIG_fail;
31489 }
31490 {
31491 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
31492 if (PyErr_Occurred()) SWIG_fail;
31493 }
31494 if (obj5) {
31495 {
31496 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31497 if (PyErr_Occurred()) SWIG_fail;
31498 }
31499 }
31500 if (obj6) {
31501 {
31502 arg7 = (int) SWIG_PyObj_AsInt(obj6);
31503 if (PyErr_Occurred()) SWIG_fail;
31504 }
31505 }
44127b65
RD
31506 {
31507 PyThreadState* __tstate = wxPyBeginAllowThreads();
31508 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
31509
31510 wxPyEndAllowThreads(__tstate);
31511 if (PyErr_Occurred()) SWIG_fail;
31512 }
31513 Py_INCREF(Py_None); resultobj = Py_None;
31514 return resultobj;
31515 fail:
31516 return NULL;
31517}
31518
31519
31520static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31521 PyObject *resultobj;
31522 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31523 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31524 double arg3 ;
31525 double arg4 ;
31526 int arg5 = (int) 0 ;
31527 int arg6 = (int) 0 ;
31528 PyObject * obj0 = 0 ;
31529 PyObject * obj1 = 0 ;
8edf1c75
RD
31530 PyObject * obj2 = 0 ;
31531 PyObject * obj3 = 0 ;
31532 PyObject * obj4 = 0 ;
31533 PyObject * obj5 = 0 ;
44127b65
RD
31534 char *kwnames[] = {
31535 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31536 };
31537
8edf1c75 31538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
31539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31541 {
31542 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31543 if (PyErr_Occurred()) SWIG_fail;
31544 }
31545 {
31546 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31547 if (PyErr_Occurred()) SWIG_fail;
31548 }
31549 if (obj4) {
31550 {
31551 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31552 if (PyErr_Occurred()) SWIG_fail;
31553 }
31554 }
31555 if (obj5) {
31556 {
31557 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31558 if (PyErr_Occurred()) SWIG_fail;
31559 }
31560 }
44127b65
RD
31561 {
31562 PyThreadState* __tstate = wxPyBeginAllowThreads();
31563 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
31564
31565 wxPyEndAllowThreads(__tstate);
31566 if (PyErr_Occurred()) SWIG_fail;
31567 }
31568 Py_INCREF(Py_None); resultobj = Py_None;
31569 return resultobj;
31570 fail:
31571 return NULL;
31572}
31573
31574
31575static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
31576 PyObject *resultobj;
31577 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31578 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31579 double arg3 ;
31580 double arg4 ;
31581 int arg5 = (int) 0 ;
31582 int arg6 = (int) 0 ;
31583 PyObject * obj0 = 0 ;
31584 PyObject * obj1 = 0 ;
8edf1c75
RD
31585 PyObject * obj2 = 0 ;
31586 PyObject * obj3 = 0 ;
31587 PyObject * obj4 = 0 ;
31588 PyObject * obj5 = 0 ;
44127b65
RD
31589 char *kwnames[] = {
31590 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31591 };
31592
8edf1c75 31593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
31594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyControlPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31596 {
31597 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31598 if (PyErr_Occurred()) SWIG_fail;
31599 }
31600 {
31601 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31602 if (PyErr_Occurred()) SWIG_fail;
31603 }
31604 if (obj4) {
31605 {
31606 arg5 = (int) SWIG_PyObj_AsInt(obj4);
31607 if (PyErr_Occurred()) SWIG_fail;
31608 }
31609 }
31610 if (obj5) {
31611 {
31612 arg6 = (int) SWIG_PyObj_AsInt(obj5);
31613 if (PyErr_Occurred()) SWIG_fail;
31614 }
31615 }
44127b65
RD
31616 {
31617 PyThreadState* __tstate = wxPyBeginAllowThreads();
31618 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
31619
31620 wxPyEndAllowThreads(__tstate);
31621 if (PyErr_Occurred()) SWIG_fail;
31622 }
31623 Py_INCREF(Py_None); resultobj = Py_None;
31624 return resultobj;
31625 fail:
31626 return NULL;
31627}
31628
31629
31630static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
31631 PyObject *resultobj;
31632 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31633 double arg2 ;
31634 double arg3 ;
31635 PyObject * obj0 = 0 ;
8edf1c75
RD
31636 PyObject * obj1 = 0 ;
31637 PyObject * obj2 = 0 ;
44127b65
RD
31638 char *kwnames[] = {
31639 (char *) "self",(char *) "w",(char *) "h", NULL
31640 };
31641
8edf1c75 31642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 31643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31644 {
31645 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31646 if (PyErr_Occurred()) SWIG_fail;
31647 }
31648 {
31649 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31650 if (PyErr_Occurred()) SWIG_fail;
31651 }
44127b65
RD
31652 {
31653 PyThreadState* __tstate = wxPyBeginAllowThreads();
31654 (arg1)->base_OnBeginSize(arg2,arg3);
31655
31656 wxPyEndAllowThreads(__tstate);
31657 if (PyErr_Occurred()) SWIG_fail;
31658 }
31659 Py_INCREF(Py_None); resultobj = Py_None;
31660 return resultobj;
31661 fail:
31662 return NULL;
31663}
31664
31665
31666static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
31667 PyObject *resultobj;
31668 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
31669 double arg2 ;
31670 double arg3 ;
31671 PyObject * obj0 = 0 ;
8edf1c75
RD
31672 PyObject * obj1 = 0 ;
31673 PyObject * obj2 = 0 ;
44127b65
RD
31674 char *kwnames[] = {
31675 (char *) "self",(char *) "w",(char *) "h", NULL
31676 };
31677
8edf1c75 31678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
44127b65 31679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31680 {
31681 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
31682 if (PyErr_Occurred()) SWIG_fail;
31683 }
31684 {
31685 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31686 if (PyErr_Occurred()) SWIG_fail;
31687 }
44127b65
RD
31688 {
31689 PyThreadState* __tstate = wxPyBeginAllowThreads();
31690 (arg1)->base_OnEndSize(arg2,arg3);
31691
31692 wxPyEndAllowThreads(__tstate);
31693 if (PyErr_Occurred()) SWIG_fail;
31694 }
31695 Py_INCREF(Py_None); resultobj = Py_None;
31696 return resultobj;
31697 fail:
31698 return NULL;
31699}
31700
31701
31702static PyObject * PyTextShape_swigregister(PyObject *self, PyObject *args) {
31703 PyObject *obj;
31704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31705 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
31706 Py_INCREF(obj);
31707 return Py_BuildValue((char *)"");
31708}
31709static PyObject *_wrap_new_Diagram(PyObject *self, PyObject *args, PyObject *kwargs) {
31710 PyObject *resultobj;
31711 wxDiagram *result;
31712 char *kwnames[] = {
31713 NULL
31714 };
31715
31716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
31717 {
31718 PyThreadState* __tstate = wxPyBeginAllowThreads();
31719 result = (wxDiagram *)new wxDiagram();
31720
31721 wxPyEndAllowThreads(__tstate);
31722 if (PyErr_Occurred()) SWIG_fail;
31723 }
31724 {
31725 resultobj = wxPyMake_wxObject(result);
31726 }
31727 return resultobj;
31728 fail:
31729 return NULL;
31730}
31731
31732
31733static PyObject *_wrap_Diagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31734 PyObject *resultobj;
31735 wxDiagram *arg1 = (wxDiagram *) 0 ;
31736 wxPyShape *arg2 = (wxPyShape *) 0 ;
31737 wxPyShape *arg3 = (wxPyShape *) NULL ;
31738 PyObject * obj0 = 0 ;
31739 PyObject * obj1 = 0 ;
31740 PyObject * obj2 = 0 ;
31741 char *kwnames[] = {
31742 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31743 };
31744
31745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
31746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31748 if (obj2) {
31749 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31750 }
31751 {
31752 PyThreadState* __tstate = wxPyBeginAllowThreads();
31753 (arg1)->AddShape(arg2,arg3);
31754
31755 wxPyEndAllowThreads(__tstate);
31756 if (PyErr_Occurred()) SWIG_fail;
31757 }
31758 Py_INCREF(Py_None); resultobj = Py_None;
31759 return resultobj;
31760 fail:
31761 return NULL;
31762}
31763
31764
31765static PyObject *_wrap_Diagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
31766 PyObject *resultobj;
31767 wxDiagram *arg1 = (wxDiagram *) 0 ;
31768 wxDC *arg2 = 0 ;
31769 PyObject * obj0 = 0 ;
31770 PyObject * obj1 = 0 ;
31771 char *kwnames[] = {
31772 (char *) "self",(char *) "dc", NULL
31773 };
31774
31775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
31776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31778 if (arg2 == NULL) {
31779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31780 }
31781 {
31782 PyThreadState* __tstate = wxPyBeginAllowThreads();
31783 (arg1)->Clear(*arg2);
31784
31785 wxPyEndAllowThreads(__tstate);
31786 if (PyErr_Occurred()) SWIG_fail;
31787 }
31788 Py_INCREF(Py_None); resultobj = Py_None;
31789 return resultobj;
31790 fail:
31791 return NULL;
31792}
31793
31794
31795static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
31796 PyObject *resultobj;
31797 wxDiagram *arg1 = (wxDiagram *) 0 ;
31798 PyObject * obj0 = 0 ;
31799 char *kwnames[] = {
31800 (char *) "self", NULL
31801 };
31802
31803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
31804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31805 {
31806 PyThreadState* __tstate = wxPyBeginAllowThreads();
31807 (arg1)->DeleteAllShapes();
31808
31809 wxPyEndAllowThreads(__tstate);
31810 if (PyErr_Occurred()) SWIG_fail;
31811 }
31812 Py_INCREF(Py_None); resultobj = Py_None;
31813 return resultobj;
31814 fail:
31815 return NULL;
31816}
31817
31818
31819static PyObject *_wrap_Diagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
31820 PyObject *resultobj;
31821 wxDiagram *arg1 = (wxDiagram *) 0 ;
31822 wxDC *arg2 = 0 ;
31823 double arg3 ;
31824 double arg4 ;
31825 double arg5 ;
31826 double arg6 ;
31827 PyObject * obj0 = 0 ;
31828 PyObject * obj1 = 0 ;
8edf1c75
RD
31829 PyObject * obj2 = 0 ;
31830 PyObject * obj3 = 0 ;
31831 PyObject * obj4 = 0 ;
31832 PyObject * obj5 = 0 ;
44127b65
RD
31833 char *kwnames[] = {
31834 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31835 };
31836
8edf1c75 31837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
31838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31840 if (arg2 == NULL) {
31841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
31842 }
8edf1c75
RD
31843 {
31844 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
31845 if (PyErr_Occurred()) SWIG_fail;
31846 }
31847 {
31848 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
31849 if (PyErr_Occurred()) SWIG_fail;
31850 }
31851 {
31852 arg5 = (double) SWIG_PyObj_AsDouble(obj4);
31853 if (PyErr_Occurred()) SWIG_fail;
31854 }
31855 {
31856 arg6 = (double) SWIG_PyObj_AsDouble(obj5);
31857 if (PyErr_Occurred()) SWIG_fail;
31858 }
44127b65
RD
31859 {
31860 PyThreadState* __tstate = wxPyBeginAllowThreads();
31861 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
31862
31863 wxPyEndAllowThreads(__tstate);
31864 if (PyErr_Occurred()) SWIG_fail;
31865 }
31866 Py_INCREF(Py_None); resultobj = Py_None;
31867 return resultobj;
31868 fail:
31869 return NULL;
31870}
31871
31872
31873static PyObject *_wrap_Diagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
31874 PyObject *resultobj;
31875 wxDiagram *arg1 = (wxDiagram *) 0 ;
31876 long arg2 ;
31877 wxPyShape *result;
31878 PyObject * obj0 = 0 ;
8edf1c75 31879 PyObject * obj1 = 0 ;
44127b65
RD
31880 char *kwnames[] = {
31881 (char *) "self",(char *) "id", NULL
31882 };
31883
8edf1c75 31884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
44127b65 31885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
31886 {
31887 arg2 = (long) SWIG_PyObj_AsLong(obj1);
31888 if (PyErr_Occurred()) SWIG_fail;
31889 }
44127b65
RD
31890 {
31891 PyThreadState* __tstate = wxPyBeginAllowThreads();
31892 result = (wxPyShape *)(arg1)->FindShape(arg2);
31893
31894 wxPyEndAllowThreads(__tstate);
31895 if (PyErr_Occurred()) SWIG_fail;
31896 }
31897 {
31898 resultobj = wxPyMake_wxShapeEvtHandler(result);
31899 }
31900 return resultobj;
31901 fail:
31902 return NULL;
31903}
31904
31905
31906static PyObject *_wrap_Diagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
31907 PyObject *resultobj;
31908 wxDiagram *arg1 = (wxDiagram *) 0 ;
31909 wxPyShapeCanvas *result;
31910 PyObject * obj0 = 0 ;
31911 char *kwnames[] = {
31912 (char *) "self", NULL
31913 };
31914
31915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
31916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31917 {
31918 PyThreadState* __tstate = wxPyBeginAllowThreads();
31919 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
31920
31921 wxPyEndAllowThreads(__tstate);
31922 if (PyErr_Occurred()) SWIG_fail;
31923 }
31924 {
31925 resultobj = wxPyMake_wxObject(result);
31926 }
31927 return resultobj;
31928 fail:
31929 return NULL;
31930}
31931
31932
31933static PyObject *_wrap_Diagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
31934 PyObject *resultobj;
31935 wxDiagram *arg1 = (wxDiagram *) 0 ;
31936 int result;
31937 PyObject * obj0 = 0 ;
31938 char *kwnames[] = {
31939 (char *) "self", NULL
31940 };
31941
31942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
31943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31944 {
31945 PyThreadState* __tstate = wxPyBeginAllowThreads();
31946 result = (int)(arg1)->GetCount();
31947
31948 wxPyEndAllowThreads(__tstate);
31949 if (PyErr_Occurred()) SWIG_fail;
31950 }
8edf1c75 31951 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
31952 return resultobj;
31953 fail:
31954 return NULL;
31955}
31956
31957
31958static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
31959 PyObject *resultobj;
31960 wxDiagram *arg1 = (wxDiagram *) 0 ;
31961 double result;
31962 PyObject * obj0 = 0 ;
31963 char *kwnames[] = {
31964 (char *) "self", NULL
31965 };
31966
31967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
31968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31969 {
31970 PyThreadState* __tstate = wxPyBeginAllowThreads();
31971 result = (double)(arg1)->GetGridSpacing();
31972
31973 wxPyEndAllowThreads(__tstate);
31974 if (PyErr_Occurred()) SWIG_fail;
31975 }
8edf1c75 31976 resultobj = SWIG_PyObj_FromDouble((double)result);
44127b65
RD
31977 return resultobj;
31978 fail:
31979 return NULL;
31980}
31981
31982
31983static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
31984 PyObject *resultobj;
31985 wxDiagram *arg1 = (wxDiagram *) 0 ;
31986 int result;
31987 PyObject * obj0 = 0 ;
31988 char *kwnames[] = {
31989 (char *) "self", NULL
31990 };
31991
31992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
31993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31994 {
31995 PyThreadState* __tstate = wxPyBeginAllowThreads();
31996 result = (int)(arg1)->GetMouseTolerance();
31997
31998 wxPyEndAllowThreads(__tstate);
31999 if (PyErr_Occurred()) SWIG_fail;
32000 }
8edf1c75 32001 resultobj = SWIG_PyObj_FromInt((int)result);
44127b65
RD
32002 return resultobj;
32003 fail:
32004 return NULL;
32005}
32006
32007
32008static PyObject *_wrap_Diagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
32009 PyObject *resultobj;
32010 wxDiagram *arg1 = (wxDiagram *) 0 ;
32011 PyObject *result;
32012 PyObject * obj0 = 0 ;
32013 char *kwnames[] = {
32014 (char *) "self", NULL
32015 };
32016
32017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
32018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32019 {
32020 PyThreadState* __tstate = wxPyBeginAllowThreads();
32021 result = (PyObject *)wxDiagram_GetShapeList(arg1);
32022
32023 wxPyEndAllowThreads(__tstate);
32024 if (PyErr_Occurred()) SWIG_fail;
32025 }
32026 resultobj = result;
32027 return resultobj;
32028 fail:
32029 return NULL;
32030}
32031
32032
32033static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32034 PyObject *resultobj;
32035 wxDiagram *arg1 = (wxDiagram *) 0 ;
32036 bool result;
32037 PyObject * obj0 = 0 ;
32038 char *kwnames[] = {
32039 (char *) "self", NULL
32040 };
32041
32042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
32043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32044 {
32045 PyThreadState* __tstate = wxPyBeginAllowThreads();
32046 result = (bool)(arg1)->GetQuickEditMode();
32047
32048 wxPyEndAllowThreads(__tstate);
32049 if (PyErr_Occurred()) SWIG_fail;
32050 }
8edf1c75 32051 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
32052 return resultobj;
32053 fail:
32054 return NULL;
32055}
32056
32057
32058static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
32059 PyObject *resultobj;
32060 wxDiagram *arg1 = (wxDiagram *) 0 ;
32061 bool result;
32062 PyObject * obj0 = 0 ;
32063 char *kwnames[] = {
32064 (char *) "self", NULL
32065 };
32066
32067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
32068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32069 {
32070 PyThreadState* __tstate = wxPyBeginAllowThreads();
32071 result = (bool)(arg1)->GetSnapToGrid();
32072
32073 wxPyEndAllowThreads(__tstate);
32074 if (PyErr_Occurred()) SWIG_fail;
32075 }
8edf1c75 32076 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
32077 return resultobj;
32078 fail:
32079 return NULL;
32080}
32081
32082
32083static PyObject *_wrap_Diagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32084 PyObject *resultobj;
32085 wxDiagram *arg1 = (wxDiagram *) 0 ;
32086 wxPyShape *arg2 = (wxPyShape *) 0 ;
32087 PyObject * obj0 = 0 ;
32088 PyObject * obj1 = 0 ;
32089 char *kwnames[] = {
32090 (char *) "self",(char *) "shape", NULL
32091 };
32092
32093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
32094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32096 {
32097 PyThreadState* __tstate = wxPyBeginAllowThreads();
32098 (arg1)->InsertShape(arg2);
32099
32100 wxPyEndAllowThreads(__tstate);
32101 if (PyErr_Occurred()) SWIG_fail;
32102 }
32103 Py_INCREF(Py_None); resultobj = Py_None;
32104 return resultobj;
32105 fail:
32106 return NULL;
32107}
32108
32109
32110static PyObject *_wrap_Diagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
32111 PyObject *resultobj;
32112 wxDiagram *arg1 = (wxDiagram *) 0 ;
32113 wxDC *arg2 = 0 ;
32114 PyObject * obj0 = 0 ;
32115 PyObject * obj1 = 0 ;
32116 char *kwnames[] = {
32117 (char *) "self",(char *) "dc", NULL
32118 };
32119
32120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
32121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32123 if (arg2 == NULL) {
32124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32125 }
32126 {
32127 PyThreadState* __tstate = wxPyBeginAllowThreads();
32128 (arg1)->RecentreAll(*arg2);
32129
32130 wxPyEndAllowThreads(__tstate);
32131 if (PyErr_Occurred()) SWIG_fail;
32132 }
32133 Py_INCREF(Py_None); resultobj = Py_None;
32134 return resultobj;
32135 fail:
32136 return NULL;
32137}
32138
32139
32140static PyObject *_wrap_Diagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
32141 PyObject *resultobj;
32142 wxDiagram *arg1 = (wxDiagram *) 0 ;
32143 wxDC *arg2 = 0 ;
32144 PyObject * obj0 = 0 ;
32145 PyObject * obj1 = 0 ;
32146 char *kwnames[] = {
32147 (char *) "self",(char *) "dc", NULL
32148 };
32149
32150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
32151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32153 if (arg2 == NULL) {
32154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32155 }
32156 {
32157 PyThreadState* __tstate = wxPyBeginAllowThreads();
32158 (arg1)->Redraw(*arg2);
32159
32160 wxPyEndAllowThreads(__tstate);
32161 if (PyErr_Occurred()) SWIG_fail;
32162 }
32163 Py_INCREF(Py_None); resultobj = Py_None;
32164 return resultobj;
32165 fail:
32166 return NULL;
32167}
32168
32169
32170static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
32171 PyObject *resultobj;
32172 wxDiagram *arg1 = (wxDiagram *) 0 ;
32173 PyObject * obj0 = 0 ;
32174 char *kwnames[] = {
32175 (char *) "self", NULL
32176 };
32177
32178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
32179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32180 {
32181 PyThreadState* __tstate = wxPyBeginAllowThreads();
32182 (arg1)->RemoveAllShapes();
32183
32184 wxPyEndAllowThreads(__tstate);
32185 if (PyErr_Occurred()) SWIG_fail;
32186 }
32187 Py_INCREF(Py_None); resultobj = Py_None;
32188 return resultobj;
32189 fail:
32190 return NULL;
32191}
32192
32193
32194static PyObject *_wrap_Diagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32195 PyObject *resultobj;
32196 wxDiagram *arg1 = (wxDiagram *) 0 ;
32197 wxPyShape *arg2 = (wxPyShape *) 0 ;
32198 PyObject * obj0 = 0 ;
32199 PyObject * obj1 = 0 ;
32200 char *kwnames[] = {
32201 (char *) "self",(char *) "shape", NULL
32202 };
32203
32204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
32205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32207 {
32208 PyThreadState* __tstate = wxPyBeginAllowThreads();
32209 (arg1)->RemoveShape(arg2);
32210
32211 wxPyEndAllowThreads(__tstate);
32212 if (PyErr_Occurred()) SWIG_fail;
32213 }
32214 Py_INCREF(Py_None); resultobj = Py_None;
32215 return resultobj;
32216 fail:
32217 return NULL;
32218}
32219
32220
32221static PyObject *_wrap_Diagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
32222 PyObject *resultobj;
32223 wxDiagram *arg1 = (wxDiagram *) 0 ;
32224 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
32225 PyObject * obj0 = 0 ;
32226 PyObject * obj1 = 0 ;
32227 char *kwnames[] = {
32228 (char *) "self",(char *) "canvas", NULL
32229 };
32230
32231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
32232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32234 {
32235 PyThreadState* __tstate = wxPyBeginAllowThreads();
32236 (arg1)->SetCanvas(arg2);
32237
32238 wxPyEndAllowThreads(__tstate);
32239 if (PyErr_Occurred()) SWIG_fail;
32240 }
32241 Py_INCREF(Py_None); resultobj = Py_None;
32242 return resultobj;
32243 fail:
32244 return NULL;
32245}
32246
32247
32248static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
32249 PyObject *resultobj;
32250 wxDiagram *arg1 = (wxDiagram *) 0 ;
32251 double arg2 ;
32252 PyObject * obj0 = 0 ;
8edf1c75 32253 PyObject * obj1 = 0 ;
44127b65
RD
32254 char *kwnames[] = {
32255 (char *) "self",(char *) "spacing", NULL
32256 };
32257
8edf1c75 32258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
44127b65 32259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
32260 {
32261 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32262 if (PyErr_Occurred()) SWIG_fail;
32263 }
44127b65
RD
32264 {
32265 PyThreadState* __tstate = wxPyBeginAllowThreads();
32266 (arg1)->SetGridSpacing(arg2);
32267
32268 wxPyEndAllowThreads(__tstate);
32269 if (PyErr_Occurred()) SWIG_fail;
32270 }
32271 Py_INCREF(Py_None); resultobj = Py_None;
32272 return resultobj;
32273 fail:
32274 return NULL;
32275}
32276
32277
32278static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
32279 PyObject *resultobj;
32280 wxDiagram *arg1 = (wxDiagram *) 0 ;
32281 int arg2 ;
32282 PyObject * obj0 = 0 ;
8edf1c75 32283 PyObject * obj1 = 0 ;
44127b65
RD
32284 char *kwnames[] = {
32285 (char *) "self",(char *) "tolerance", NULL
32286 };
32287
8edf1c75 32288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
44127b65 32289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
32290 {
32291 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32292 if (PyErr_Occurred()) SWIG_fail;
32293 }
44127b65
RD
32294 {
32295 PyThreadState* __tstate = wxPyBeginAllowThreads();
32296 (arg1)->SetMouseTolerance(arg2);
32297
32298 wxPyEndAllowThreads(__tstate);
32299 if (PyErr_Occurred()) SWIG_fail;
32300 }
32301 Py_INCREF(Py_None); resultobj = Py_None;
32302 return resultobj;
32303 fail:
32304 return NULL;
32305}
32306
32307
32308static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32309 PyObject *resultobj;
32310 wxDiagram *arg1 = (wxDiagram *) 0 ;
32311 bool arg2 ;
32312 PyObject * obj0 = 0 ;
32313 PyObject * obj1 = 0 ;
32314 char *kwnames[] = {
32315 (char *) "self",(char *) "mode", NULL
32316 };
32317
32318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
32319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 32320 {
8edf1c75 32321 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
32322 if (PyErr_Occurred()) SWIG_fail;
32323 }
44127b65
RD
32324 {
32325 PyThreadState* __tstate = wxPyBeginAllowThreads();
32326 (arg1)->SetQuickEditMode(arg2);
32327
32328 wxPyEndAllowThreads(__tstate);
32329 if (PyErr_Occurred()) SWIG_fail;
32330 }
32331 Py_INCREF(Py_None); resultobj = Py_None;
32332 return resultobj;
32333 fail:
32334 return NULL;
32335}
32336
32337
32338static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
32339 PyObject *resultobj;
32340 wxDiagram *arg1 = (wxDiagram *) 0 ;
32341 bool arg2 ;
32342 PyObject * obj0 = 0 ;
32343 PyObject * obj1 = 0 ;
32344 char *kwnames[] = {
32345 (char *) "self",(char *) "snap", NULL
32346 };
32347
32348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
32349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 32350 {
8edf1c75 32351 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
32352 if (PyErr_Occurred()) SWIG_fail;
32353 }
44127b65
RD
32354 {
32355 PyThreadState* __tstate = wxPyBeginAllowThreads();
32356 (arg1)->SetSnapToGrid(arg2);
32357
32358 wxPyEndAllowThreads(__tstate);
32359 if (PyErr_Occurred()) SWIG_fail;
32360 }
32361 Py_INCREF(Py_None); resultobj = Py_None;
32362 return resultobj;
32363 fail:
32364 return NULL;
32365}
32366
32367
32368static PyObject *_wrap_Diagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
32369 PyObject *resultobj;
32370 wxDiagram *arg1 = (wxDiagram *) 0 ;
32371 bool arg2 ;
32372 PyObject * obj0 = 0 ;
32373 PyObject * obj1 = 0 ;
32374 char *kwnames[] = {
32375 (char *) "self",(char *) "show", NULL
32376 };
32377
32378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
32379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 32380 {
8edf1c75 32381 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
32382 if (PyErr_Occurred()) SWIG_fail;
32383 }
44127b65
RD
32384 {
32385 PyThreadState* __tstate = wxPyBeginAllowThreads();
32386 (arg1)->ShowAll(arg2);
32387
32388 wxPyEndAllowThreads(__tstate);
32389 if (PyErr_Occurred()) SWIG_fail;
32390 }
32391 Py_INCREF(Py_None); resultobj = Py_None;
32392 return resultobj;
32393 fail:
32394 return NULL;
32395}
32396
32397
32398static PyObject *_wrap_Diagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
32399 PyObject *resultobj;
32400 wxDiagram *arg1 = (wxDiagram *) 0 ;
32401 double *arg2 = (double *) 0 ;
32402 double *arg3 = (double *) 0 ;
32403 double temp2 ;
32404 double temp3 ;
32405 PyObject * obj0 = 0 ;
32406 PyObject * obj1 = 0 ;
32407 PyObject * obj2 = 0 ;
32408 char *kwnames[] = {
32409 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32410 };
32411
32412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
32413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32414 {
32415 temp2 = PyFloat_AsDouble(obj1);
32416 if (PyErr_Occurred()) SWIG_fail;
32417 arg2 = &temp2;
32418 }
32419 {
32420 temp3 = PyFloat_AsDouble(obj2);
32421 if (PyErr_Occurred()) SWIG_fail;
32422 arg3 = &temp3;
32423 }
32424 {
32425 PyThreadState* __tstate = wxPyBeginAllowThreads();
32426 (arg1)->Snap(arg2,arg3);
32427
32428 wxPyEndAllowThreads(__tstate);
32429 if (PyErr_Occurred()) SWIG_fail;
32430 }
32431 Py_INCREF(Py_None); resultobj = Py_None;
32432 {
32433 PyObject *o = PyFloat_FromDouble((double) (*arg2));
32434 resultobj = t_output_helper(resultobj,o);
32435 }
32436 {
32437 PyObject *o = PyFloat_FromDouble((double) (*arg3));
32438 resultobj = t_output_helper(resultobj,o);
32439 }
32440 return resultobj;
32441 fail:
32442 return NULL;
32443}
32444
32445
32446static PyObject * Diagram_swigregister(PyObject *self, PyObject *args) {
32447 PyObject *obj;
32448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32449 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
32450 Py_INCREF(obj);
32451 return Py_BuildValue((char *)"");
32452}
32453static PyObject *_wrap_new_PyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
32454 PyObject *resultobj;
32455 wxWindow *arg1 = (wxWindow *) NULL ;
32456 int arg2 = (int) -1 ;
32457 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32458 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32459 wxSize const &arg4_defvalue = wxDefaultSize ;
32460 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32461 long arg5 = (long) wxBORDER ;
32462 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
32463 wxString *arg6 = (wxString *) &arg6_defvalue ;
32464 wxPyShapeCanvas *result;
32465 wxPoint temp3 ;
32466 wxSize temp4 ;
32467 bool temp6 = False ;
32468 PyObject * obj0 = 0 ;
8edf1c75 32469 PyObject * obj1 = 0 ;
44127b65
RD
32470 PyObject * obj2 = 0 ;
32471 PyObject * obj3 = 0 ;
8edf1c75 32472 PyObject * obj4 = 0 ;
44127b65
RD
32473 PyObject * obj5 = 0 ;
32474 char *kwnames[] = {
32475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32476 };
32477
8edf1c75 32478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65
RD
32479 if (obj0) {
32480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32481 }
8edf1c75
RD
32482 if (obj1) {
32483 {
32484 arg2 = (int) SWIG_PyObj_AsInt(obj1);
32485 if (PyErr_Occurred()) SWIG_fail;
32486 }
32487 }
44127b65
RD
32488 if (obj2) {
32489 {
32490 arg3 = &temp3;
32491 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32492 }
32493 }
32494 if (obj3) {
32495 {
32496 arg4 = &temp4;
32497 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32498 }
32499 }
8edf1c75
RD
32500 if (obj4) {
32501 {
32502 arg5 = (long) SWIG_PyObj_AsLong(obj4);
32503 if (PyErr_Occurred()) SWIG_fail;
32504 }
32505 }
44127b65
RD
32506 if (obj5) {
32507 {
32508 arg6 = wxString_in_helper(obj5);
32509 if (arg6 == NULL) SWIG_fail;
32510 temp6 = True;
32511 }
32512 }
32513 {
32514 PyThreadState* __tstate = wxPyBeginAllowThreads();
32515 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
32516
32517 wxPyEndAllowThreads(__tstate);
32518 if (PyErr_Occurred()) SWIG_fail;
32519 }
32520 {
32521 resultobj = wxPyMake_wxObject(result);
32522 }
32523 {
32524 if (temp6)
32525 delete arg6;
32526 }
32527 return resultobj;
32528 fail:
32529 {
32530 if (temp6)
32531 delete arg6;
32532 }
32533 return NULL;
32534}
32535
32536
32537static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
32538 PyObject *resultobj;
32539 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32540 PyObject *arg2 = (PyObject *) 0 ;
32541 PyObject *arg3 = (PyObject *) 0 ;
32542 PyObject * obj0 = 0 ;
32543 PyObject * obj1 = 0 ;
32544 PyObject * obj2 = 0 ;
32545 char *kwnames[] = {
32546 (char *) "self",(char *) "self",(char *) "_class", NULL
32547 };
32548
32549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32551 arg2 = obj1;
32552 arg3 = obj2;
32553 {
32554 PyThreadState* __tstate = wxPyBeginAllowThreads();
32555 (arg1)->_setCallbackInfo(arg2,arg3);
32556
32557 wxPyEndAllowThreads(__tstate);
32558 if (PyErr_Occurred()) SWIG_fail;
32559 }
32560 Py_INCREF(Py_None); resultobj = Py_None;
32561 return resultobj;
32562 fail:
32563 return NULL;
32564}
32565
32566
32567static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32568 PyObject *resultobj;
32569 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32570 wxPyShape *arg2 = (wxPyShape *) 0 ;
32571 wxPyShape *arg3 = (wxPyShape *) NULL ;
32572 PyObject * obj0 = 0 ;
32573 PyObject * obj1 = 0 ;
32574 PyObject * obj2 = 0 ;
32575 char *kwnames[] = {
32576 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
32577 };
32578
32579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
32580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32582 if (obj2) {
32583 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32584 }
32585 {
32586 PyThreadState* __tstate = wxPyBeginAllowThreads();
32587 (arg1)->AddShape(arg2,arg3);
32588
32589 wxPyEndAllowThreads(__tstate);
32590 if (PyErr_Occurred()) SWIG_fail;
32591 }
32592 Py_INCREF(Py_None); resultobj = Py_None;
32593 return resultobj;
32594 fail:
32595 return NULL;
32596}
32597
32598
32599static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32600 PyObject *resultobj;
32601 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32602 double arg2 ;
32603 double arg3 ;
32604 int *arg4 = (int *) 0 ;
32605 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
32606 wxPyShape *arg6 = (wxPyShape *) NULL ;
32607 wxPyShape *result;
32608 int temp4 ;
32609 PyObject * obj0 = 0 ;
8edf1c75
RD
32610 PyObject * obj1 = 0 ;
32611 PyObject * obj2 = 0 ;
44127b65
RD
32612 PyObject * obj3 = 0 ;
32613 PyObject * obj4 = 0 ;
32614 char *kwnames[] = {
32615 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
32616 };
32617
32618 arg4 = &temp4;
8edf1c75 32619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 32620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
32621 {
32622 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32623 if (PyErr_Occurred()) SWIG_fail;
32624 }
32625 {
32626 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32627 if (PyErr_Occurred()) SWIG_fail;
32628 }
44127b65
RD
32629 if (obj3) {
32630 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxClassInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32631 }
32632 if (obj4) {
32633 if ((SWIG_ConvertPtr(obj4,(void **) &arg6, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32634 }
32635 {
32636 PyThreadState* __tstate = wxPyBeginAllowThreads();
32637 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
32638
32639 wxPyEndAllowThreads(__tstate);
32640 if (PyErr_Occurred()) SWIG_fail;
32641 }
32642 {
32643 resultobj = wxPyMake_wxShapeEvtHandler(result);
32644 }
32645 {
32646 PyObject *o = PyInt_FromLong((long) (*arg4));
32647 resultobj = t_output_helper(resultobj,o);
32648 }
32649 return resultobj;
32650 fail:
32651 return NULL;
32652}
32653
32654
32655static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32656 PyObject *resultobj;
32657 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32658 double arg2 ;
32659 double arg3 ;
32660 int *arg4 = (int *) 0 ;
32661 int arg5 ;
32662 wxPyShape *result;
32663 int temp4 ;
32664 PyObject * obj0 = 0 ;
8edf1c75
RD
32665 PyObject * obj1 = 0 ;
32666 PyObject * obj2 = 0 ;
32667 PyObject * obj3 = 0 ;
44127b65
RD
32668 char *kwnames[] = {
32669 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
32670 };
32671
32672 arg4 = &temp4;
8edf1c75 32673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 32674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
32675 {
32676 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32677 if (PyErr_Occurred()) SWIG_fail;
32678 }
32679 {
32680 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32681 if (PyErr_Occurred()) SWIG_fail;
32682 }
32683 {
32684 arg5 = (int) SWIG_PyObj_AsInt(obj3);
32685 if (PyErr_Occurred()) SWIG_fail;
32686 }
44127b65
RD
32687 {
32688 PyThreadState* __tstate = wxPyBeginAllowThreads();
32689 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
32690
32691 wxPyEndAllowThreads(__tstate);
32692 if (PyErr_Occurred()) SWIG_fail;
32693 }
32694 {
32695 resultobj = wxPyMake_wxShapeEvtHandler(result);
32696 }
32697 {
32698 PyObject *o = PyInt_FromLong((long) (*arg4));
32699 resultobj = t_output_helper(resultobj,o);
32700 }
32701 return resultobj;
32702 fail:
32703 return NULL;
32704}
32705
32706
32707static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
32708 PyObject *resultobj;
32709 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32710 wxDiagram *result;
32711 PyObject * obj0 = 0 ;
32712 char *kwnames[] = {
32713 (char *) "self", NULL
32714 };
32715
32716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
32717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32718 {
32719 PyThreadState* __tstate = wxPyBeginAllowThreads();
32720 result = (wxDiagram *)(arg1)->GetDiagram();
32721
32722 wxPyEndAllowThreads(__tstate);
32723 if (PyErr_Occurred()) SWIG_fail;
32724 }
32725 {
32726 resultobj = wxPyMake_wxObject(result);
32727 }
32728 return resultobj;
32729 fail:
32730 return NULL;
32731}
32732
32733
32734static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32735 PyObject *resultobj;
32736 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32737 bool result;
32738 PyObject * obj0 = 0 ;
32739 char *kwnames[] = {
32740 (char *) "self", NULL
32741 };
32742
32743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
32744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32745 {
32746 PyThreadState* __tstate = wxPyBeginAllowThreads();
32747 result = (bool)(arg1)->GetQuickEditMode();
32748
32749 wxPyEndAllowThreads(__tstate);
32750 if (PyErr_Occurred()) SWIG_fail;
32751 }
8edf1c75 32752 resultobj = SWIG_PyObj_FromBool((bool)result);
44127b65
RD
32753 return resultobj;
32754 fail:
32755 return NULL;
32756}
32757
32758
32759static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
32760 PyObject *resultobj;
32761 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32762 wxPyShape *arg2 = (wxPyShape *) 0 ;
32763 PyObject * obj0 = 0 ;
32764 PyObject * obj1 = 0 ;
32765 char *kwnames[] = {
32766 (char *) "self",(char *) "shape", NULL
32767 };
32768
32769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
32770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32772 {
32773 PyThreadState* __tstate = wxPyBeginAllowThreads();
32774 (arg1)->InsertShape(arg2);
32775
32776 wxPyEndAllowThreads(__tstate);
32777 if (PyErr_Occurred()) SWIG_fail;
32778 }
32779 Py_INCREF(Py_None); resultobj = Py_None;
32780 return resultobj;
32781 fail:
32782 return NULL;
32783}
32784
32785
32786static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32787 PyObject *resultobj;
32788 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32789 double arg2 ;
32790 double arg3 ;
32791 int arg4 = (int) 0 ;
32792 PyObject * obj0 = 0 ;
8edf1c75
RD
32793 PyObject * obj1 = 0 ;
32794 PyObject * obj2 = 0 ;
32795 PyObject * obj3 = 0 ;
44127b65
RD
32796 char *kwnames[] = {
32797 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32798 };
32799
8edf1c75 32800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 32801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
32802 {
32803 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32804 if (PyErr_Occurred()) SWIG_fail;
32805 }
32806 {
32807 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32808 if (PyErr_Occurred()) SWIG_fail;
32809 }
32810 if (obj3) {
32811 {
32812 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32813 if (PyErr_Occurred()) SWIG_fail;
32814 }
32815 }
44127b65
RD
32816 {
32817 PyThreadState* __tstate = wxPyBeginAllowThreads();
32818 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
32819
32820 wxPyEndAllowThreads(__tstate);
32821 if (PyErr_Occurred()) SWIG_fail;
32822 }
32823 Py_INCREF(Py_None); resultobj = Py_None;
32824 return resultobj;
32825 fail:
32826 return NULL;
32827}
32828
32829
32830static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32831 PyObject *resultobj;
32832 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32833 double arg2 ;
32834 double arg3 ;
32835 int arg4 = (int) 0 ;
32836 PyObject * obj0 = 0 ;
8edf1c75
RD
32837 PyObject * obj1 = 0 ;
32838 PyObject * obj2 = 0 ;
32839 PyObject * obj3 = 0 ;
44127b65
RD
32840 char *kwnames[] = {
32841 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32842 };
32843
8edf1c75 32844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 32845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
32846 {
32847 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32848 if (PyErr_Occurred()) SWIG_fail;
32849 }
32850 {
32851 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32852 if (PyErr_Occurred()) SWIG_fail;
32853 }
32854 if (obj3) {
32855 {
32856 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32857 if (PyErr_Occurred()) SWIG_fail;
32858 }
32859 }
44127b65
RD
32860 {
32861 PyThreadState* __tstate = wxPyBeginAllowThreads();
32862 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
32863
32864 wxPyEndAllowThreads(__tstate);
32865 if (PyErr_Occurred()) SWIG_fail;
32866 }
32867 Py_INCREF(Py_None); resultobj = Py_None;
32868 return resultobj;
32869 fail:
32870 return NULL;
32871}
32872
32873
32874static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32875 PyObject *resultobj;
32876 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32877 double arg2 ;
32878 double arg3 ;
32879 int arg4 = (int) 0 ;
32880 PyObject * obj0 = 0 ;
8edf1c75
RD
32881 PyObject * obj1 = 0 ;
32882 PyObject * obj2 = 0 ;
32883 PyObject * obj3 = 0 ;
44127b65
RD
32884 char *kwnames[] = {
32885 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32886 };
32887
8edf1c75 32888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 32889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
32890 {
32891 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32892 if (PyErr_Occurred()) SWIG_fail;
32893 }
32894 {
32895 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32896 if (PyErr_Occurred()) SWIG_fail;
32897 }
32898 if (obj3) {
32899 {
32900 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32901 if (PyErr_Occurred()) SWIG_fail;
32902 }
32903 }
44127b65
RD
32904 {
32905 PyThreadState* __tstate = wxPyBeginAllowThreads();
32906 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
32907
32908 wxPyEndAllowThreads(__tstate);
32909 if (PyErr_Occurred()) SWIG_fail;
32910 }
32911 Py_INCREF(Py_None); resultobj = Py_None;
32912 return resultobj;
32913 fail:
32914 return NULL;
32915}
32916
32917
32918static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
32919 PyObject *resultobj;
32920 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32921 double arg2 ;
32922 double arg3 ;
32923 int arg4 = (int) 0 ;
32924 PyObject * obj0 = 0 ;
8edf1c75
RD
32925 PyObject * obj1 = 0 ;
32926 PyObject * obj2 = 0 ;
32927 PyObject * obj3 = 0 ;
44127b65
RD
32928 char *kwnames[] = {
32929 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32930 };
32931
8edf1c75 32932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 32933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
32934 {
32935 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
32936 if (PyErr_Occurred()) SWIG_fail;
32937 }
32938 {
32939 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32940 if (PyErr_Occurred()) SWIG_fail;
32941 }
32942 if (obj3) {
32943 {
32944 arg4 = (int) SWIG_PyObj_AsInt(obj3);
32945 if (PyErr_Occurred()) SWIG_fail;
32946 }
32947 }
44127b65
RD
32948 {
32949 PyThreadState* __tstate = wxPyBeginAllowThreads();
32950 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
32951
32952 wxPyEndAllowThreads(__tstate);
32953 if (PyErr_Occurred()) SWIG_fail;
32954 }
32955 Py_INCREF(Py_None); resultobj = Py_None;
32956 return resultobj;
32957 fail:
32958 return NULL;
32959}
32960
32961
32962static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
32963 PyObject *resultobj;
32964 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
32965 bool arg2 ;
32966 double arg3 ;
32967 double arg4 ;
32968 int arg5 = (int) 0 ;
32969 PyObject * obj0 = 0 ;
32970 PyObject * obj1 = 0 ;
8edf1c75
RD
32971 PyObject * obj2 = 0 ;
32972 PyObject * obj3 = 0 ;
32973 PyObject * obj4 = 0 ;
44127b65
RD
32974 char *kwnames[] = {
32975 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32976 };
32977
8edf1c75 32978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 32979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 32980 {
8edf1c75
RD
32981 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
32982 if (PyErr_Occurred()) SWIG_fail;
32983 }
32984 {
32985 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
32986 if (PyErr_Occurred()) SWIG_fail;
32987 }
32988 {
32989 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
83448d71
RD
32990 if (PyErr_Occurred()) SWIG_fail;
32991 }
8edf1c75
RD
32992 if (obj4) {
32993 {
32994 arg5 = (int) SWIG_PyObj_AsInt(obj4);
32995 if (PyErr_Occurred()) SWIG_fail;
32996 }
32997 }
44127b65
RD
32998 {
32999 PyThreadState* __tstate = wxPyBeginAllowThreads();
33000 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
33001
33002 wxPyEndAllowThreads(__tstate);
33003 if (PyErr_Occurred()) SWIG_fail;
33004 }
33005 Py_INCREF(Py_None); resultobj = Py_None;
33006 return resultobj;
33007 fail:
33008 return NULL;
33009}
33010
33011
33012static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
33013 PyObject *resultobj;
33014 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33015 bool arg2 ;
33016 double arg3 ;
33017 double arg4 ;
33018 int arg5 = (int) 0 ;
33019 PyObject * obj0 = 0 ;
33020 PyObject * obj1 = 0 ;
8edf1c75
RD
33021 PyObject * obj2 = 0 ;
33022 PyObject * obj3 = 0 ;
33023 PyObject * obj4 = 0 ;
44127b65
RD
33024 char *kwnames[] = {
33025 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
33026 };
33027
8edf1c75 33028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65 33029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 33030 {
8edf1c75
RD
33031 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
33032 if (PyErr_Occurred()) SWIG_fail;
33033 }
33034 {
33035 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
83448d71
RD
33036 if (PyErr_Occurred()) SWIG_fail;
33037 }
8edf1c75
RD
33038 {
33039 arg4 = (double) SWIG_PyObj_AsDouble(obj3);
33040 if (PyErr_Occurred()) SWIG_fail;
33041 }
33042 if (obj4) {
33043 {
33044 arg5 = (int) SWIG_PyObj_AsInt(obj4);
33045 if (PyErr_Occurred()) SWIG_fail;
33046 }
33047 }
44127b65
RD
33048 {
33049 PyThreadState* __tstate = wxPyBeginAllowThreads();
33050 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
33051
33052 wxPyEndAllowThreads(__tstate);
33053 if (PyErr_Occurred()) SWIG_fail;
33054 }
33055 Py_INCREF(Py_None); resultobj = Py_None;
33056 return resultobj;
33057 fail:
33058 return NULL;
33059}
33060
33061
33062static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
33063 PyObject *resultobj;
33064 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33065 double arg2 ;
33066 double arg3 ;
33067 int arg4 = (int) 0 ;
33068 PyObject * obj0 = 0 ;
8edf1c75
RD
33069 PyObject * obj1 = 0 ;
33070 PyObject * obj2 = 0 ;
33071 PyObject * obj3 = 0 ;
44127b65
RD
33072 char *kwnames[] = {
33073 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
33074 };
33075
8edf1c75 33076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 33077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
33078 {
33079 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
33080 if (PyErr_Occurred()) SWIG_fail;
33081 }
33082 {
33083 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
33084 if (PyErr_Occurred()) SWIG_fail;
33085 }
33086 if (obj3) {
33087 {
33088 arg4 = (int) SWIG_PyObj_AsInt(obj3);
33089 if (PyErr_Occurred()) SWIG_fail;
33090 }
33091 }
44127b65
RD
33092 {
33093 PyThreadState* __tstate = wxPyBeginAllowThreads();
33094 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
33095
33096 wxPyEndAllowThreads(__tstate);
33097 if (PyErr_Occurred()) SWIG_fail;
33098 }
33099 Py_INCREF(Py_None); resultobj = Py_None;
33100 return resultobj;
33101 fail:
33102 return NULL;
33103}
33104
33105
33106static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
33107 PyObject *resultobj;
33108 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33109 double arg2 ;
33110 double arg3 ;
33111 int arg4 = (int) 0 ;
33112 PyObject * obj0 = 0 ;
8edf1c75
RD
33113 PyObject * obj1 = 0 ;
33114 PyObject * obj2 = 0 ;
33115 PyObject * obj3 = 0 ;
44127b65
RD
33116 char *kwnames[] = {
33117 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
33118 };
33119
8edf1c75 33120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
44127b65 33121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
33122 {
33123 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
33124 if (PyErr_Occurred()) SWIG_fail;
33125 }
33126 {
33127 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
33128 if (PyErr_Occurred()) SWIG_fail;
33129 }
33130 if (obj3) {
33131 {
33132 arg4 = (int) SWIG_PyObj_AsInt(obj3);
33133 if (PyErr_Occurred()) SWIG_fail;
33134 }
33135 }
44127b65
RD
33136 {
33137 PyThreadState* __tstate = wxPyBeginAllowThreads();
33138 (arg1)->base_OnRightClick(arg2,arg3,arg4);
33139
33140 wxPyEndAllowThreads(__tstate);
33141 if (PyErr_Occurred()) SWIG_fail;
33142 }
33143 Py_INCREF(Py_None); resultobj = Py_None;
33144 return resultobj;
33145 fail:
33146 return NULL;
33147}
33148
33149
33150static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
33151 PyObject *resultobj;
33152 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33153 wxDC *arg2 = 0 ;
33154 PyObject * obj0 = 0 ;
33155 PyObject * obj1 = 0 ;
33156 char *kwnames[] = {
33157 (char *) "self",(char *) "dc", NULL
33158 };
33159
33160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
33161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33163 if (arg2 == NULL) {
33164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33165 }
33166 {
33167 PyThreadState* __tstate = wxPyBeginAllowThreads();
33168 (arg1)->Redraw(*arg2);
33169
33170 wxPyEndAllowThreads(__tstate);
33171 if (PyErr_Occurred()) SWIG_fail;
33172 }
33173 Py_INCREF(Py_None); resultobj = Py_None;
33174 return resultobj;
33175 fail:
33176 return NULL;
33177}
33178
33179
33180static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
33181 PyObject *resultobj;
33182 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33183 wxPyShape *arg2 = (wxPyShape *) 0 ;
33184 PyObject * obj0 = 0 ;
33185 PyObject * obj1 = 0 ;
33186 char *kwnames[] = {
33187 (char *) "self",(char *) "shape", NULL
33188 };
33189
33190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
33191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyShape,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33193 {
33194 PyThreadState* __tstate = wxPyBeginAllowThreads();
33195 (arg1)->RemoveShape(arg2);
33196
33197 wxPyEndAllowThreads(__tstate);
33198 if (PyErr_Occurred()) SWIG_fail;
33199 }
33200 Py_INCREF(Py_None); resultobj = Py_None;
33201 return resultobj;
33202 fail:
33203 return NULL;
33204}
33205
33206
33207static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
33208 PyObject *resultobj;
33209 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33210 wxDiagram *arg2 = (wxDiagram *) 0 ;
33211 PyObject * obj0 = 0 ;
33212 PyObject * obj1 = 0 ;
33213 char *kwnames[] = {
33214 (char *) "self",(char *) "diagram", NULL
33215 };
33216
33217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
33218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDiagram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33220 {
33221 PyThreadState* __tstate = wxPyBeginAllowThreads();
33222 (arg1)->SetDiagram(arg2);
33223
33224 wxPyEndAllowThreads(__tstate);
33225 if (PyErr_Occurred()) SWIG_fail;
33226 }
33227 Py_INCREF(Py_None); resultobj = Py_None;
33228 return resultobj;
33229 fail:
33230 return NULL;
33231}
33232
33233
33234static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
33235 PyObject *resultobj;
33236 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
33237 double *arg2 = (double *) 0 ;
33238 double *arg3 = (double *) 0 ;
33239 double temp2 ;
33240 double temp3 ;
33241 PyObject * obj0 = 0 ;
33242 PyObject * obj1 = 0 ;
33243 PyObject * obj2 = 0 ;
33244 char *kwnames[] = {
33245 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
33246 };
33247
33248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
33249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyShapeCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33250 {
33251 temp2 = PyFloat_AsDouble(obj1);
33252 if (PyErr_Occurred()) SWIG_fail;
33253 arg2 = &temp2;
33254 }
33255 {
33256 temp3 = PyFloat_AsDouble(obj2);
33257 if (PyErr_Occurred()) SWIG_fail;
33258 arg3 = &temp3;
33259 }
33260 {
33261 PyThreadState* __tstate = wxPyBeginAllowThreads();
33262 (arg1)->Snap(arg2,arg3);
33263
33264 wxPyEndAllowThreads(__tstate);
33265 if (PyErr_Occurred()) SWIG_fail;
33266 }
33267 Py_INCREF(Py_None); resultobj = Py_None;
33268 {
33269 PyObject *o = PyFloat_FromDouble((double) (*arg2));
33270 resultobj = t_output_helper(resultobj,o);
33271 }
33272 {
33273 PyObject *o = PyFloat_FromDouble((double) (*arg3));
33274 resultobj = t_output_helper(resultobj,o);
33275 }
33276 return resultobj;
33277 fail:
33278 return NULL;
33279}
33280
33281
33282static PyObject * PyShapeCanvas_swigregister(PyObject *self, PyObject *args) {
33283 PyObject *obj;
33284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33285 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
33286 Py_INCREF(obj);
33287 return Py_BuildValue((char *)"");
33288}
33289static PyObject *_wrap_OGLInitialize(PyObject *self, PyObject *args, PyObject *kwargs) {
33290 PyObject *resultobj;
33291 char *kwnames[] = {
33292 NULL
33293 };
33294
33295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
33296 {
33297 PyThreadState* __tstate = wxPyBeginAllowThreads();
33298 wxOGLInitialize();
33299
33300 wxPyEndAllowThreads(__tstate);
33301 if (PyErr_Occurred()) SWIG_fail;
33302 }
33303 Py_INCREF(Py_None); resultobj = Py_None;
33304 return resultobj;
33305 fail:
33306 return NULL;
33307}
33308
33309
33310static PyObject *_wrap_OGLCleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
33311 PyObject *resultobj;
33312 char *kwnames[] = {
33313 NULL
33314 };
33315
33316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
33317 {
33318 PyThreadState* __tstate = wxPyBeginAllowThreads();
33319 wxOGLCleanUp();
33320
33321 wxPyEndAllowThreads(__tstate);
33322 if (PyErr_Occurred()) SWIG_fail;
33323 }
33324 Py_INCREF(Py_None); resultobj = Py_None;
33325 return resultobj;
33326 fail:
33327 return NULL;
33328}
33329
33330
33331static PyMethodDef SwigMethods[] = {
33332 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS },
33333 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS },
33334 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS },
33335 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS },
33336 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS },
33337 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS },
33338 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS },
33339 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
33340 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS },
33341 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS },
33342 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS },
33343 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS },
33344 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS },
33345 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS },
33346 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS },
33347 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS },
33348 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
33349 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS },
33350 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS },
33351 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS },
33352 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS },
33353 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS },
33354 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS },
33355 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS },
33356 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS },
33357 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS },
33358 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS },
33359 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS },
33360 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS },
33361 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS },
7a0a63ae
RD
33362 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS },
33363 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS },
33364 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS },
33365 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS },
33366 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS },
33367 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS },
33368 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS },
33369 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS },
44127b65
RD
33370 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS },
33371 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33372 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
33373 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS },
33374 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS },
33375 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
33376 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
33377 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
33378 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33379 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33380 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33381 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33382 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33383 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33384 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33385 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33386 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33387 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33388 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33389 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33390 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33391 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33392 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33393 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33394 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33395 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33396 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33397 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33398 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33399 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33400 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33401 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33402 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33403 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33404 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33405 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33406 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33407 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS },
33408 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS },
33409 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33410 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS },
33411 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS },
33412 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS },
33413 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS },
33414 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS },
33415 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS },
33416 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS },
33417 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS },
33418 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS },
33419 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS },
33420 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS },
33421 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS },
33422 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS },
33423 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS },
33424 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS },
33425 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS },
33426 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS },
33427 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS },
33428 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS },
33429 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS },
33430 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS },
33431 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS },
33432 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
33433 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
33434 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
33435 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS },
33436 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS },
33437 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33438 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS },
33439 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS },
33440 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS },
33441 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS },
33442 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS },
33443 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
33444 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS },
33445 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS },
33446 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS },
33447 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS },
33448 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS },
33449 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS },
33450 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
33451 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS },
33452 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS },
33453 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS },
33454 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS },
33455 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS },
33456 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS },
33457 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
33458 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS },
33459 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS },
33460 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS },
33461 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS },
33462 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
33463 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS },
33464 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS },
33465 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS },
33466 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS },
33467 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS },
33468 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS },
33469 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS },
33470 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS },
33471 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS },
33472 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS },
33473 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS },
33474 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS },
33475 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS },
33476 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS },
33477 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS },
33478 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS },
33479 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS },
33480 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS },
33481 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS },
33482 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS },
33483 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS },
33484 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS },
33485 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS },
33486 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS },
33487 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS },
33488 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS },
33489 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS },
33490 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS },
33491 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS },
33492 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS },
33493 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS },
33494 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS },
33495 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS },
33496 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS },
33497 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS },
33498 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS },
33499 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS },
33500 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS },
33501 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS },
33502 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS },
33503 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS },
33504 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS },
33505 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS },
33506 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS },
33507 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS },
33508 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS },
33509 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS },
33510 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS },
7a0a63ae 33511 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS },
44127b65
RD
33512 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS },
33513 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS },
33514 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS },
33515 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS },
33516 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS },
33517 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS },
33518 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS },
33519 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS },
33520 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS },
33521 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS },
33522 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS },
33523 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
33524 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS },
33525 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
33526 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS },
33527 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
33528 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS },
33529 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS },
33530 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS },
33531 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS },
33532 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS },
33533 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS },
33534 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS },
33535 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS },
33536 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS },
33537 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS },
33538 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS },
33539 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
7a0a63ae 33540 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS },
44127b65
RD
33541 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS },
33542 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS },
33543 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS },
33544 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS },
33545 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
33546 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33547 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33548 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33549 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33550 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33551 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33552 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33553 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33554 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33555 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33556 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33557 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33558 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33559 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33560 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33561 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33562 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33563 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33564 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33565 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33566 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33567 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33568 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33569 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33570 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33571 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33572 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33573 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33574 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33575 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS },
33576 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
33577 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
33578 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
33579 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
33580 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
33581 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
33582 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
33583 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
33584 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
33585 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
33586 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
33587 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33588 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
33589 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
33590 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
33591 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
33592 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
33593 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
33594 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
33595 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
33596 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
33597 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
33598 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
33599 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
33600 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
33601 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
33602 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
33603 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
33604 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
33605 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
33606 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
33607 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
33608 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
33609 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
33610 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
33611 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
33612 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
33613 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
33614 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
33615 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
33616 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
33617 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS },
33618 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS },
33619 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33620 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
7a0a63ae 33621 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS },
44127b65
RD
33622 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33623 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33624 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33625 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33626 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33627 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33628 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33629 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33630 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33631 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33632 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33633 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33634 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33635 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33636 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33637 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33638 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33639 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33640 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33641 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33642 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33643 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33644 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33645 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33646 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33647 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33648 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33649 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33650 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33651 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS },
33652 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS },
33653 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33654 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
33655 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33656 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33657 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33658 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33659 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33660 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33661 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33662 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33663 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33664 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33665 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33666 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33667 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33668 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33669 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33670 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33671 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33672 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33673 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33674 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33675 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33676 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33677 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33678 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33679 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33680 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33681 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33682 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33683 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33684 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS },
33685 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS },
33686 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33687 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
33688 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
33689 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
33690 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
33691 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33692 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33693 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33694 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33695 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33696 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33697 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33698 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33699 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33700 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33701 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33702 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33703 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33704 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33705 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33706 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33707 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33708 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33709 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33710 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33711 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33712 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33713 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33714 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33715 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33716 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33717 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33718 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33719 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33720 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS },
33721 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS },
33722 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33723 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33724 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
33725 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
33726 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
33727 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
33728 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
33729 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
33730 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
33731 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
33732 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
33733 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
33734 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
33735 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
33736 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
33737 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33738 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
33739 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
33740 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
33741 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
33742 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
33743 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
33744 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
33745 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
33746 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
33747 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
33748 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
33749 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
33750 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
33751 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33752 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33753 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33754 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33755 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33756 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33757 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33758 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33759 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33760 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33761 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33762 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33763 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33764 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33765 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33766 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33767 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33768 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33769 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33770 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33771 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33772 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33773 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33774 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33775 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33776 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33777 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33778 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33779 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33780 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS },
33781 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS },
33782 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
33783 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
33784 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
33785 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS },
33786 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS },
33787 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33788 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
33789 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
33790 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
33791 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
33792 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
33793 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
33794 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
33795 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
33796 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
33797 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
33798 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
33799 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
33800 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
33801 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
33802 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33803 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33804 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33805 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33806 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33807 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33808 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33809 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33810 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33811 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33812 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33813 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33814 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33815 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33816 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33817 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33818 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33819 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33820 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33821 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33822 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33823 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33824 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33825 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33826 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33827 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33828 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33829 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33830 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33831 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS },
33832 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS },
33833 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33834 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
33835 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
33836 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33837 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33838 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33839 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33840 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33841 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33842 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33843 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33844 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33845 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33846 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33847 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33848 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33849 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33850 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33851 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33852 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33853 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33854 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33855 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33856 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33857 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33858 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33859 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33860 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33861 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33862 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33863 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33864 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33865 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS },
33866 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS },
33867 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33868 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
33869 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
33870 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
33871 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
33872 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
33873 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
33874 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
33875 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
33876 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
33877 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33878 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33879 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
33880 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
33881 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33882 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
33883 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
33884 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
33885 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
33886 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
33887 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
33888 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
33889 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
33890 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
33891 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
33892 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
33893 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
33894 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33895 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33896 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33897 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33898 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33899 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33900 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33901 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33902 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33903 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33904 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33905 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33906 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33907 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33908 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33909 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33910 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33911 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33912 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33913 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33914 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33915 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33916 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33917 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33918 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33919 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33920 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33921 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33922 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS },
33923 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS },
33924 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33925 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33926 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33927 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33928 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33929 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33930 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33931 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33932 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33933 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33934 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33935 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33936 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33937 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33938 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33939 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33940 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33941 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33942 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33943 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33944 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33945 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33946 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33947 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33948 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33949 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33950 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33951 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33952 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33953 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS },
33954 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS },
33955 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
33956 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
33957 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
33958 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
33959 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
33960 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
33961 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
33962 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
33963 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
33964 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
33965 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
33966 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
33967 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
33968 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
33969 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
33970 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33971 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33972 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
33973 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
33974 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
33975 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
33976 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
33977 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
33978 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
33979 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
33980 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
33981 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
33982 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
33983 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
33984 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS },
33985 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33986 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS },
33987 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS },
33988 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS },
33989 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS },
33990 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS },
33991 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS },
33992 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS },
33993 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS },
33994 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS },
33995 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS },
33996 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS },
33997 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
33998 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS },
33999 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS },
34000 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS },
34001 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS },
34002 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS },
34003 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS },
34004 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS },
34005 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
34006 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS },
34007 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS },
34008 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS },
34009 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS },
34010 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS },
34011 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS },
34012 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS },
34013 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS },
34014 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS },
34015 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS },
34016 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS },
34017 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS },
34018 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS },
34019 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS },
34020 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS },
34021 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS },
34022 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS },
34023 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
34024 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
34025 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS },
34026 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS },
34027 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS },
34028 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS },
34029 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS },
34030 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS },
34031 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS },
34032 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS },
34033 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS },
34034 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS },
34035 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS },
34036 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS },
34037 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS },
34038 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS },
34039 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS },
34040 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS },
34041 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS },
34042 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS },
34043 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS },
34044 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS },
34045 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS },
7a0a63ae
RD
34046 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
34047 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS },
34048 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS },
34049 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS },
34050 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS },
34051 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS },
44127b65
RD
34052 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
34053 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
34054 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
34055 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
34056 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
34057 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
34058 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
34059 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
34060 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
34061 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
34062 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
34063 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
34064 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
34065 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
34066 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34067 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34068 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
34069 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
34070 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
34071 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
34072 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
34073 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
34074 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
34075 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
34076 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34077 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34078 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
34079 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
34080 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS },
34081 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS },
34082 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
34083 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS },
34084 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS },
34085 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS },
34086 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS },
34087 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS },
7a0a63ae
RD
34088 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS },
34089 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
34090 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
34091 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS },
34092 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS },
44127b65
RD
34093 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS },
34094 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
34095 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
34096 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
34097 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
34098 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
34099 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
34100 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
34101 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
34102 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
34103 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
34104 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
34105 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
34106 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
34107 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
34108 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34109 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34110 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
34111 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
34112 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
34113 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
34114 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
34115 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
34116 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
34117 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
34118 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34119 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34120 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
34121 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
34122 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS },
34123 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS },
34124 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
34125 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
34126 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
34127 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
34128 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
34129 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
34130 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
34131 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
34132 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
34133 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
34134 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
34135 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
34136 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
34137 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
34138 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
34139 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
34140 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34141 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34142 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
34143 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
34144 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
34145 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
34146 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
34147 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
34148 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
34149 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
34150 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34151 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34152 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
34153 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
34154 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS },
34155 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS },
34156 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS },
34157 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS },
34158 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS },
34159 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS },
34160 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS },
34161 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS },
34162 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS },
34163 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS },
34164 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
34165 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS },
34166 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
34167 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
34168 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS },
34169 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS },
34170 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS },
34171 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS },
34172 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS },
34173 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS },
34174 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS },
34175 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS },
34176 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
34177 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS },
34178 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS },
34179 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS },
34180 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS },
34181 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS },
34182 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
34183 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS },
34184 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS },
34185 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS },
34186 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS },
34187 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS },
34188 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS },
34189 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
34190 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
34191 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
34192 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
34193 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
34194 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
34195 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
34196 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
34197 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS },
34198 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS },
34199 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS },
34200 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS },
34201 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS },
34202 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS },
34203 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS },
34204 { NULL, NULL }
34205};
34206
34207
34208/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34209
34210static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
34211 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
34212}
34213static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
34214 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
34215}
34216static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
34217 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34218}
34219static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
34220 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34221}
34222static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
34223 return (void *)((wxPanel *) ((wxPyPanel *) x));
34224}
34225static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
34226 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
34227}
34228static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
34229 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
34230}
34231static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
34232 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34233}
34234static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
34235 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34236}
34237static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
34238 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
34239}
34240static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
34241 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34242}
34243static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
34244 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34245}
34246static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
34247 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34248}
34249static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
34250 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
34251}
34252static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
34253 return (void *)((wxWindow *) ((wxMenuBar *) x));
34254}
34255static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
34256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34257}
34258static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
34259 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34260}
34261static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
34262 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34263}
34264static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
34265 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34266}
34267static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
34268 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34269}
34270static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
34271 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34272}
34273static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
34274 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34275}
34276static void *_p_wxPanelTo_p_wxWindow(void *x) {
34277 return (void *)((wxWindow *) ((wxPanel *) x));
34278}
34279static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
34280 return (void *)((wxWindow *) ((wxStatusBar *) x));
34281}
34282static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
34283 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
34284}
34285static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
34286 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
34287}
34288static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
34289 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34290}
34291static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
34292 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34293}
34294static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
34295 return (void *)((wxWindow *) ((wxPopupWindow *) x));
34296}
34297static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
34298 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
34299}
34300static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
34301 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
34302}
34303static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
34304 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
34305}
34306static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
34307 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
34308}
34309static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
34310 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
34311}
34312static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
34313 return (void *)((wxWindow *) ((wxSashWindow *) x));
34314}
34315static void *_p_wxControlTo_p_wxWindow(void *x) {
34316 return (void *)((wxWindow *) ((wxControl *) x));
34317}
34318static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
34319 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34320}
34321static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
34322 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34323}
34324static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
34325 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34326}
34327static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
34328 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
34329}
34330static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
34331 return (void *)((wxWindow *) ((wxPyWindow *) x));
34332}
34333static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
34334 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34335}
34336static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
34337 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34338}
34339static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
34340 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34341}
34342static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
34343 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34344}
34345static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
34346 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
34347}
34348static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
34349 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34350}
34351static void *_p_wxFrameTo_p_wxWindow(void *x) {
34352 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
34353}
34354static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
34355 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34356}
34357static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
34358 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34359}
34360static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
34361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34362}
34363static void *_p_wxDialogTo_p_wxWindow(void *x) {
34364 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
34365}
34366static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
34367 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34368}
34369static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
34370 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34371}
34372static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
34373 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34374}
34375static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
34376 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
34377}
34378static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
34379 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34380}
34381static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
34382 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34383}
34384static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
34385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34386}
34387static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
34388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34389}
34390static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
34391 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
34392}
34393static void *_p_wxSizerItemTo_p_wxObject(void *x) {
34394 return (void *)((wxObject *) ((wxSizerItem *) x));
34395}
34396static void *_p_wxScrollEventTo_p_wxObject(void *x) {
34397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
34398}
34399static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
34400 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
34401}
34402static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
34403 return (void *)((wxObject *) ((wxOGLConstraint *) x));
34404}
34405static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
34406 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
34407}
34408static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
34409 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
34410}
34411static void *_p_wxSizerTo_p_wxObject(void *x) {
34412 return (void *)((wxObject *) ((wxSizer *) x));
34413}
34414static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
34415 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34416}
34417static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
34418 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34419}
34420static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
34421 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
34422}
34423static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
34424 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
34425}
34426static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
34427 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
34428}
34429static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
34430 return (void *)((wxObject *) ((wxArrowHead *) x));
34431}
34432static void *_p_wxPyPanelTo_p_wxObject(void *x) {
34433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34434}
34435static void *_p_wxEventTo_p_wxObject(void *x) {
34436 return (void *)((wxObject *) ((wxEvent *) x));
34437}
34438static void *_p_wxFontDataTo_p_wxObject(void *x) {
34439 return (void *)((wxObject *) ((wxFontData *) x));
34440}
34441static void *_p_wxPrintDataTo_p_wxObject(void *x) {
34442 return (void *)((wxObject *) ((wxPrintData *) x));
34443}
34444static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
34445 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
34446}
34447static void *_p_wxGridSizerTo_p_wxObject(void *x) {
34448 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
34449}
34450static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
34451 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
34452}
34453static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
34454 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
34455}
34456static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
34457 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
34458}
34459static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
34460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
34461}
34462static void *_p_wxPaintEventTo_p_wxObject(void *x) {
34463 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
34464}
34465static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
34466 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
34467}
34468static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
34469 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
34470}
34471static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
34472 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
34473}
34474static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
34475 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34476}
34477static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
34478 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
34479}
34480static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
34481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34482}
34483static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
34484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34485}
34486static void *_p_wxControlTo_p_wxObject(void *x) {
34487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
34488}
34489static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
34490 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
34491}
34492static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
34493 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
34494}
34495static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
34496 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
34497}
34498static void *_p_wxFSFileTo_p_wxObject(void *x) {
34499 return (void *)((wxObject *) ((wxFSFile *) x));
34500}
34501static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
34502 return (void *)((wxObject *) ((wxFindReplaceData *) x));
34503}
34504static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
34505 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34506}
34507static void *_p_wxPySizerTo_p_wxObject(void *x) {
34508 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
34509}
34510static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
34511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34512}
34513static void *_p_wxColourDataTo_p_wxObject(void *x) {
34514 return (void *)((wxObject *) ((wxColourData *) x));
34515}
34516static void *_p_wxPyEventTo_p_wxObject(void *x) {
34517 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
34518}
34519static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
34520 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
34521}
34522static void *_p_wxPyWindowTo_p_wxObject(void *x) {
34523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
34524}
34525static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
34526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34527}
34528static void *_p_wxFileDialogTo_p_wxObject(void *x) {
34529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34530}
34531static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
34532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34533}
34534static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
34535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34536}
34537static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
34538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34539}
34540static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
34541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34542}
34543static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
34544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34545}
34546static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
34547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34548}
34549static void *_p_wxShowEventTo_p_wxObject(void *x) {
34550 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
34551}
34552static void *_p_wxPrinterTo_p_wxObject(void *x) {
34553 return (void *)((wxObject *) ((wxPrinter *) x));
34554}
34555static void *_p_wxMenuItemTo_p_wxObject(void *x) {
34556 return (void *)((wxObject *) ((wxMenuItem *) x));
34557}
34558static void *_p_wxIdleEventTo_p_wxObject(void *x) {
34559 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
34560}
34561static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
34562 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
34563}
34564static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
34565 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
34566}
34567static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
34568 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
34569}
34570static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
34571 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
34572}
34573static void *_p_wxSizeEventTo_p_wxObject(void *x) {
34574 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
34575}
34576static void *_p_wxMoveEventTo_p_wxObject(void *x) {
34577 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
34578}
34579static void *_p_wxActivateEventTo_p_wxObject(void *x) {
34580 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
34581}
34582static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
34583 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
34584}
34585static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
34586 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
34587}
34588static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
34589 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
34590}
34591static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
34592 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
34593}
34594static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
34595 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
34596}
34597static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
34598 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
34599}
34600static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
34601 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
34602}
34603static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
34604 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
34605}
34606static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
34607 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
34608}
34609static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
34610 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
34611}
34612static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
34613 return (void *)((wxObject *) ((wxImageHandler *) x));
34614}
34615static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
34616 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
34617}
34618static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
34619 return (void *)((wxObject *) ((wxEvtHandler *) x));
34620}
34621static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
34622 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
34623}
34624static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
34625 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
34626}
34627static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
34628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34629}
34630static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
34631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34632}
34633static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
34634 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34635}
34636static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
34637 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
34638}
34639static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
34640 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34641}
34642static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
34643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34644}
34645static void *_p_wxImageTo_p_wxObject(void *x) {
34646 return (void *)((wxObject *) ((wxImage *) x));
34647}
34648static void *_p_wxFrameTo_p_wxObject(void *x) {
34649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34650}
34651static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
34652 return (void *)((wxObject *) ((wxPyPrintout *) x));
34653}
34654static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
34655 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
34656}
34657static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
34658 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
34659}
34660static void *_p_wxDiagramTo_p_wxObject(void *x) {
34661 return (void *)((wxObject *) ((wxDiagram *) x));
34662}
34663static void *_p_wxStatusBarTo_p_wxObject(void *x) {
34664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
34665}
34666static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
34667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34668}
34669static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
34670 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34671}
34672static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
34673 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
34674}
34675static void *_p_wxKeyEventTo_p_wxObject(void *x) {
34676 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
34677}
44127b65
RD
34678static void *_p_wxWindowTo_p_wxObject(void *x) {
34679 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
34680}
34681static void *_p_wxMenuTo_p_wxObject(void *x) {
34682 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
34683}
34684static void *_p_wxMenuBarTo_p_wxObject(void *x) {
34685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
34686}
41f1cec7
RD
34687static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
34688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34689}
44127b65
RD
34690static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
34691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
34692}
34693static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
34694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
34695}
34696static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
34697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
34698}
34699static void *_p_wxSashWindowTo_p_wxObject(void *x) {
34700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
34701}
34702static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
34703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34704}
34705static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
34706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
34707}
34708static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
34709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34710}
34711static void *_p_wxTipWindowTo_p_wxObject(void *x) {
34712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34713}
34714static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
34715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34716}
34717static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
34718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
34719}
34720static void *_p_wxSashEventTo_p_wxObject(void *x) {
34721 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
34722}
34723static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
34724 return (void *)((wxObject *) ((wxPrintPreview *) x));
34725}
34726static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
34727 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
34728}
34729static void *_p_wxPanelTo_p_wxObject(void *x) {
34730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
34731}
34732static void *_p_wxDialogTo_p_wxObject(void *x) {
34733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34734}
34735static void *_p_wxColourDialogTo_p_wxObject(void *x) {
34736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34737}
34738static void *_p_wxDirDialogTo_p_wxObject(void *x) {
34739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34740}
34741static void *_p_wxFontDialogTo_p_wxObject(void *x) {
34742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34743}
34744static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
34745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
34746}
34747static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
34748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
34749}
7a0a63ae
RD
34750static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
34751 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
34752}
44127b65
RD
34753static void *_p_wxPyShapeTo_p_wxObject(void *x) {
34754 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
34755}
34756static void *_p_wxFileSystemTo_p_wxObject(void *x) {
34757 return (void *)((wxObject *) ((wxFileSystem *) x));
34758}
34759static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
34760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
34761}
34762static void *_p_wxMenuEventTo_p_wxObject(void *x) {
34763 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
34764}
34765static void *_p_wxPyAppTo_p_wxObject(void *x) {
34766 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
34767}
34768static void *_p_wxCloseEventTo_p_wxObject(void *x) {
34769 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
34770}
34771static void *_p_wxMouseEventTo_p_wxObject(void *x) {
34772 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
34773}
34774static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34775 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34776}
34777static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34778 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34779}
34780static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34781 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34782}
34783static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
34784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34785}
34786static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
34787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34788}
34789static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34790 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34791}
34792static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34793 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34794}
34795static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34797}
34798static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
34799 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
34800}
34801static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
34802 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34803}
34804static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
34805 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34806}
34807static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
34808 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
34809}
34810static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
34811 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
34812}
34813static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34815}
34816static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
34817 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
34818}
34819static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
34820 return (void *)((wxObject *) ((wxPrintDialogData *) x));
34821}
34822static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34823 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34824}
34825static void *_p_wxValidatorTo_p_wxObject(void *x) {
34826 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34827}
34828static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
34829 return (void *)((wxObject *) ((wxShapeRegion *) x));
34830}
34831static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34832 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
34833}
34834static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
34835 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
34836}
34837static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
34838 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
34839}
34840static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
34841 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
34842}
34843static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
34844 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
34845}
34846static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
34847 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
34848}
34849static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
34850 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
34851}
34852static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
34853 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
34854}
34855static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
34856 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
34857}
34858static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
34859 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
34860}
34861static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
34862 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
34863}
34864static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
34865 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
34866}
34867static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
34868 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
34869}
34870static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34872}
34873static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34875}
34876static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34877 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34878}
34879static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34880 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34881}
34882static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34883 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34884}
34885static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34886 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34887}
34888static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34889 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34890}
34891static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34892 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34893}
34894static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34895 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34896}
34897static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34898 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34899}
34900static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34901 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34902}
34903static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34904 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34905}
34906static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34907 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34908}
34909static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34910 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34911}
34912static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34913 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34914}
34915static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34916 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34917}
34918static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34919 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34920}
34921static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34922 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
34923}
34924static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34925 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34926}
34927static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34928 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34929}
34930static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34931 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34932}
34933static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34934 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34935}
34936static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34937 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34938}
34939static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34940 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34941}
34942static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34943 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34944}
34945static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34946 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34947}
34948static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34949 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34950}
34951static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34952 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34953}
34954static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34955 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34956}
34957static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34958 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34959}
34960static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34961 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34962}
34963static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34964 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34965}
34966static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34967 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34968}
34969static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34970 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34971}
34972static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34973 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34974}
34975static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34976 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34977}
34978static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
34979 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
34980}
34981static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34982 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34983}
34984static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34985 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34986}
34987static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34988 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34989}
34990static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34991 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34992}
34993static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
34994 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
34995}
34996static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34998}
34999static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
35000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35001}
35002static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
35003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35004}
35005static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
35006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35007}
35008static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
35009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35010}
35011static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
35012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
35013}
35014static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
35015 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
35016}
35017static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
35018 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35019}
35020static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
35021 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
35022}
35023static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
35024 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
35025}
35026static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
35027 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
35028}
35029static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
35030 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
35031}
35032static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
35033 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
35034}
35035static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
35036 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
35037}
35038static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
35039 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
35040}
35041static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
35042 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
35043}
35044static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
35045 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
35046}
35047static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
35048 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
35049}
35050static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
35051 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
35052}
35053static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
35054 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
35055}
35056static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
35057 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
35058}
35059static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
35060 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
35061}
35062static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
35063 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
35064}
35065static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
35066 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
35067}
35068static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
35069 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
35070}
35071static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
35072 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
35073}
35074static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
35075 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
35076}
35077static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
35078 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
35079}
35080static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
35081 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
35082}
35083static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
35084static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
35085static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
35086static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
35087static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
35088static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
35089static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
35090static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
8edf1c75 35091static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
44127b65
RD
35092static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
35093static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
35094static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
35095static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
35096static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
35097static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow},{0}};
35098static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
35099static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
44127b65 35100static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
8edf1c75 35101static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
44127b65
RD
35102static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
35103static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
7a0a63ae 35104static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject},{0}};
44127b65
RD
35105static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
35106static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
35107static swig_type_info _swigt__p_wxPyShapeEvtHandler[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyShapeEvtHandler"},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler},{0}};
35108static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
35109static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape},{"_p_wxPyEllipseShape"},{0}};
35110static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
35111static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
35112static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
35113static swig_type_info _swigt__p_wxPyShape[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape},{"_p_wxPyShape"},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape},{0}};
7a0a63ae 35114static swig_type_info _swigt__p_wxAttachmentPoint[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0},{"_p_wxAttachmentPoint"},{0}};
44127b65
RD
35115static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
35116static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
35117static swig_type_info _swigt__p_wxPyRectangleShape[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0},{"_p_wxPyRectangleShape"},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape},{0}};
35118static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape},{0}};
35119static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
35120static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
35121static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
35122static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
35123static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
35124static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
35125
35126static swig_type_info *swig_types_initial[] = {
35127_swigt__p_wxOGLConstraint,
35128_swigt__p_wxBrush,
35129_swigt__p_wxColour,
35130_swigt__p_wxShapeRegion,
35131_swigt__p_wxDC,
35132_swigt__p_wxRealPoint,
35133_swigt__p_wxPyControlPoint,
35134_swigt__p_wxArrowHead,
8edf1c75 35135_swigt__p_char,
44127b65
RD
35136_swigt__p_wxStringList,
35137_swigt__p_wxPanel,
35138_swigt__p_bool,
35139_swigt__p_wxList,
35140_swigt__p_wxFont,
35141_swigt__p_wxScrolledWindow,
35142_swigt__p_wxWindow,
35143_swigt__p_double,
44127b65 35144_swigt__p_wxPyDrawnShape,
8edf1c75 35145_swigt__p_wxPyDivisionShape,
44127b65
RD
35146_swigt__p_wxPyPolygonShape,
35147_swigt__p_wxBitmap,
35148_swigt__p_wxObject,
35149_swigt__p_wxPyBitmapShape,
35150_swigt__p_wxString,
35151_swigt__p_wxPyShapeEvtHandler,
35152_swigt__p_wxEvtHandler,
35153_swigt__p_wxPyEllipseShape,
35154_swigt__p_wxPyShapeCanvas,
35155_swigt__p_wxPoint,
35156_swigt__p_wxDiagram,
35157_swigt__p_wxPyShape,
7a0a63ae 35158_swigt__p_wxAttachmentPoint,
44127b65
RD
35159_swigt__p_wxClassInfo,
35160_swigt__p_wxPyLineShape,
35161_swigt__p_wxPyRectangleShape,
35162_swigt__p_wxPyCompositeShape,
35163_swigt__p_wxPyCircleShape,
35164_swigt__p_wxPen,
35165_swigt__p_int,
35166_swigt__p_wxPseudoMetaFile,
35167_swigt__p_wxPyTextShape,
35168_swigt__p_wxPyDividedShape,
351690
35170};
35171
35172
35173/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
35174
35175static swig_const_info swig_const_table[] = {
44127b65
RD
35176{0}};
35177
35178#ifdef __cplusplus
35179}
35180#endif
35181
35182#ifdef __cplusplus
35183extern "C"
35184#endif
35185SWIGEXPORT(void) SWIG_init(void) {
35186 static PyObject *SWIG_globals = 0;
35187 static int typeinit = 0;
35188 PyObject *m, *d;
35189 int i;
35190 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
35191 m = Py_InitModule((char *) SWIG_name, SwigMethods);
35192 d = PyModule_GetDict(m);
35193
35194 if (!typeinit) {
35195 for (i = 0; swig_types_initial[i]; i++) {
35196 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
35197 }
35198 typeinit = 1;
35199 }
35200 SWIG_InstallConstants(d,swig_const_table);
35201
8edf1c75
RD
35202 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_PyObj_FromInt((int)oglMETAFLAGS_OUTLINE));
35203 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_PyObj_FromInt((int)oglMETAFLAGS_ATTACHMENTS));
35204 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_PyObj_FromInt((int)KEY_SHIFT));
35205 PyDict_SetItemString(d,"KEY_CTRL", SWIG_PyObj_FromInt((int)KEY_CTRL));
35206 PyDict_SetItemString(d,"ARROW_NONE", SWIG_PyObj_FromInt((int)ARROW_NONE));
35207 PyDict_SetItemString(d,"ARROW_END", SWIG_PyObj_FromInt((int)ARROW_END));
35208 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_PyObj_FromInt((int)ARROW_BOTH));
35209 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_PyObj_FromInt((int)ARROW_MIDDLE));
35210 PyDict_SetItemString(d,"ARROW_START", SWIG_PyObj_FromInt((int)ARROW_START));
35211 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_PyObj_FromInt((int)ARROW_HOLLOW_CIRCLE));
35212 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_PyObj_FromInt((int)ARROW_FILLED_CIRCLE));
35213 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_PyObj_FromInt((int)ARROW_ARROW));
35214 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_PyObj_FromInt((int)ARROW_SINGLE_OBLIQUE));
35215 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_PyObj_FromInt((int)ARROW_DOUBLE_OBLIQUE));
35216 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_PyObj_FromInt((int)ARROW_METAFILE));
35217 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_PyObj_FromInt((int)ARROW_POSITION_END));
35218 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_PyObj_FromInt((int)ARROW_POSITION_START));
35219 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_VERTICAL));
35220 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_HORIZONTAL));
35221 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_PyObj_FromInt((int)CONTROL_POINT_DIAGONAL));
35222 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_PyObj_FromInt((int)CONTROL_POINT_ENDPOINT_TO));
35223 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_PyObj_FromInt((int)CONTROL_POINT_ENDPOINT_FROM));
35224 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_PyObj_FromInt((int)CONTROL_POINT_LINE));
35225 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_PyObj_FromInt((int)FORMAT_NONE));
35226 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_PyObj_FromInt((int)FORMAT_CENTRE_HORIZ));
35227 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_PyObj_FromInt((int)FORMAT_CENTRE_VERT));
35228 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_PyObj_FromInt((int)FORMAT_SIZE_TO_CONTENTS));
35229 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_HORIZ));
35230 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_VERT));
35231 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_TO_NEXT_HANDLE));
35232 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_PyObj_FromInt((int)LINE_ALIGNMENT_NONE));
35233 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_PyObj_FromInt((int)SHADOW_NONE));
35234 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_PyObj_FromInt((int)SHADOW_LEFT));
35235 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_PyObj_FromInt((int)SHADOW_RIGHT));
35236 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_PyObj_FromInt((int)OP_CLICK_LEFT));
35237 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_PyObj_FromInt((int)OP_CLICK_RIGHT));
35238 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_PyObj_FromInt((int)OP_DRAG_LEFT));
35239 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_PyObj_FromInt((int)OP_DRAG_RIGHT));
35240 PyDict_SetItemString(d,"OP_ALL", SWIG_PyObj_FromInt((int)OP_ALL));
35241 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_NONE));
35242 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_EDGE));
35243 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_PyObj_FromInt((int)ATTACHMENT_MODE_BRANCHING));
35244 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_PyObj_FromInt((int)BRANCHING_ATTACHMENT_NORMAL));
35245 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_PyObj_FromInt((int)BRANCHING_ATTACHMENT_BLOB));
35246 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_VERTICALLY));
35247 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_HORIZONTALLY));
35248 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_PyObj_FromInt((int)gyCONSTRAINT_CENTRED_BOTH));
35249 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_PyObj_FromInt((int)gyCONSTRAINT_LEFT_OF));
35250 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_PyObj_FromInt((int)gyCONSTRAINT_RIGHT_OF));
35251 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ABOVE));
35252 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_PyObj_FromInt((int)gyCONSTRAINT_BELOW));
35253 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_TOP));
35254 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_BOTTOM));
35255 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_LEFT));
35256 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_ALIGNED_RIGHT));
35257 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_TOP));
35258 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_BOTTOM));
35259 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_LEFT));
35260 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_PyObj_FromInt((int)gyCONSTRAINT_MIDALIGNED_RIGHT));
35261 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_PyObj_FromInt((int)DIVISION_SIDE_NONE));
35262 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_PyObj_FromInt((int)DIVISION_SIDE_LEFT));
35263 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_PyObj_FromInt((int)DIVISION_SIDE_TOP));
35264 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_PyObj_FromInt((int)DIVISION_SIDE_RIGHT));
35265 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_PyObj_FromInt((int)DIVISION_SIDE_BOTTOM));
44127b65
RD
35266
35267
35268 // initoglbasicc();
35269 // initoglshapesc();
35270 // initoglshapes2c();
35271 // initoglcanvasc();
35272
35273
35274 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
35275 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
35276 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
35277 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
35278 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
35279 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
35280 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
35281 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
35282 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
35283 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
35284 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
35285 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
35286 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
35287 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
35288
35289
35290}
35291